[Submitted on 1 Dec 2026]
View a PDF of the paper titled Identifiability of LLaMA-style decoders, by Pranav Venkata Konda
Abstract:We prove that a LLaMA-style decoder, with pre-norm RMSNorm, skip connections, rotary positions, grouped-query attention, a causal mask, SwiGLU feed-forward layers and a tied or untied unembedding, is determined by the function it computes on soft tokens, up to an explicit gauge group, for all parameters outside a proper algebraic subset. The group consists of one orthogonal change of frame of the residual stream, a torus and a general linear group for each key-value group, a scaling for each neuron, and permutations. For Mistral-7B its orbits have dimension $1.3\cdot10^{7}$, which is 0.18% of the parameters. For $\varepsilon>0$ and contexts longer than three times the head dimension, the function also determines each of the 2D sublayers at non-generic parameters and against wider networks, whenever every block has a head whose attention pattern occurs in no other block. A tied unembedding fixes the frame of the residual stream up to signed permutations. The method treats exponentials of attention scores and gate pre-activations as coordinates on a torus, shows that the partition function of a head that sees three positions is prime, and isolates heads and neurons by residues of an expansion at large input norm. We then test what exact equality leaves open in practice. In six released checkpoints of up to $7.2\cdot10^{9}$ parameters, the assumptions of the long-context corollary hold, and random gauge transformations move the weights by more than their norm while changing the logits by at most $5\cdot10^{-13}$. On small decoders, all 580 students that converge to their teacher lie on its orbit, or agree with it sublayer by sublayer when they are wider. At the trained weights of small decoders the differential of the parameter map has rank equal to the number of parameters minus the dimension of the group, on soft tokens and on sequences of hard tokens in which every token occurs.
Submission history
From: Pranav Venkata Konda [view email]
[v1]
Tue, 1 Dec 2026 19:54:53 UTC (5,437 KB)
![[2612.02679] Identifiability of LLaMA-style decoders [2612.02679] Identifiability of LLaMA-style decoders](https://techwavedispatch.com/wp-content/uploads/2026/12/261202679-Identifiability-of-LLaMA-style-decoders-1024x597.png)