arXiv Statistics ML

Algebraic Invariants of Lightning Self-Attention

The paper investigates the polynomial coefficients of lightning self‑attention, treating them as coordinates of an algebraic variety. In the single‑token case it identifies the coefficient variety as a rank‑constrained Chow‑type variety and derives algebraic equations; for multiple tokens it shows that linear relations reduce the geometry to coefficients involving interactions between distinct tokens, characterized by a common linear factor and a low‑rank condition. The authors provide explicit families of determinantal, Veronese‑type, and Sylvester resultant‑based invariants, and in the rank‑one case give pencil and flattening equations that define the variety set‑theoretically, with small‑dimension computations confirming the theoretical generators.

arXiv Statistics ML
5d ago

Defining equations for two-block shallow ReLU pattern varieties

The paper provides a full algebraic description of two‑block shallow ReLU pattern varieties. It proves that the determinantal equations derived from rank constraints imposed by activation patterns generate the defining ideals, confirming a conjecture by Alexandr‑Montúfar. The proof employs a set‑theoretic approach that characterizes orbit closures of matrix pencils via the Kronecker canonical form.

By Yulia Alexandr, Moritz Grillo, Thiago Holleben, Guido Mont\'ufar, Teresa Yu
arXiv Machine Learning
Jun 16

Constraining the outputs of ReLU neural networks

arXiv:2508. 03867v2 Announce Type: replace-cross Abstract: We introduce a class of algebraic varieties naturally associated with ReLU neural networks, arising from the piecewise linear structure of their outputs across activation regions in input space, and the piecewise multilinear structure in parameter space.

By Yulia Alexandr, Guido Mont\'ufar
arXiv Machine Learning
Nov 16

Toric geometry of ReLU neural networks

The paper establishes a link between toric geometry and ReLU neural networks, introducing concepts such as the ReLU fan, ReLU toric variety, and ReLU Cartier divisor for networks with rational weights. It shows how tropical geometry captures combinatorial aspects while toric geometry reveals the underlying geometric structure. Using these tools, the authors fully characterize the functions realizable by unbiased shallow ReLU networks with rational weights, expressing the result through intersection numbers and decomposing piecewise‑linear functions into shallow and non‑shallow components.

By Yaoying Fu
arXiv Machine Learning
Oct 16

Inherent Trade-offs when Enforcing Correct Data Symmetries in Multi-head Self-attention

arXiv:2608. 30417v2 Announce Type: replace Abstract: We give a complete characterization of equivariant multi-head self-attention (MHSA): if an MHSA layer is equivariant to a symmetry group $G$, then $G$ can only act by permuting head-clusters, with QK and OV matrices satisfying an equivariance constraint tied to the group action.

By T\=ikun \^Ong, Georg B\"okman
arXiv Machine Learning
Aug 28

Linear Independence of Polynomial Compositions and Identifiability of Deep Neural Networks

The paper proposes a conjecture that composing a fixed number of distinct nonconstant polynomials with a generic high‑degree polynomial produces linearly independent polynomials, extending Newman–Slater’s theorem. The authors prove the conjecture for two polynomials and for any number when the degrees are bounded, and they show how these results explain the parameter symmetries of deep fully connected neural networks with generic polynomial activations. In particular, for architectures with layer‑specific activations of increasing degree, the conjecture’s proven cases fully characterize the parameter sets that yield the same end‑to‑end network function, and it also resolves the identifiability of shallow polynomial networks.

By Kathl\'en Kohn, Giovanni Luca Marchetti, Alex Massarenti, Massimiliano Mella
arXiv Machine Learning
Oct 16

Linear Independence of Polynomial Compositions with Bounded Input Degree

The paper proves the weak composition‑independence conjectures of Kohn, Marchetti, Massarenti and Mella by employing deformations of rational curves and a single kernel of the linearized equation, with Riemann‑Roch providing a contradiction from tangent fields with controlled poles. This result establishes that a neural network using a general polynomial activation function of sufficiently large degree is identifiable.

By Xiaotian Chang, Yacoub Hendi