Manuscript Offprint
arXiv:2611.02052Same Function, Different Gradients: Evaluating Gradient Reliability under Reparameterization
ABSTRACT
Gradients are no longer used only to train models: Gradient magnitudes are now measurement instruments, used to rank attention heads for pruning, to decide per-example clipping in private training, to allocate adapter rank budgets, and to debug models. Across these workflows, larger gradient magnitudes are taken to mean greater importance. Even for a fixed input–output function, these gradients are computed in one of many possible parameter coordinate systems. For example, attention scores depend on the query and key projections only through the paired product . Scaling a head's query projection by and the corresponding key projection by therefore leaves every output logit unchanged. This change in parameter coordinates rescales the corresponding query and key gradient norms by and , respectively. To test whether gradient-based decisions remain unchanged under these coordinate changes, we introduce Gradient Reliability under Reparameterization (GRR). GRR rewrites a trained model in new parameter coordinates that compute exactly the same function, verifies that predictions are unchanged, and then tests whether the decisions derived from the gradients are unchanged too. Our audits span GLUE classifiers, a ViT on CIFAR-10, GPT-2-medium and GPT-2-large, a 1.1B-parameter Llama-style model on WikiText-2, and six trained LoRA adapters. Empirically, predictions are preserved throughout, but both the gradients and the gradient-based decisions change. Across 66 GLUE attention audits, the median top-3 overlap of raw head-gradient rankings is only , and rankings and pruning masks change even under the mildest rescalings we test. In the largest of 14 global-pruning audits, the shifted ranking selects head masks that differ in four of 22 pruned heads and reach 50.92% and 94.84% validation accuracy on one ELECTRA SST-2 model. We prove that same-function reparameterizations can realize any component ranking and make gradient scores arbitrarily large, so these gradient-based measurements are not properties of the learned function at all. Beyond diagnosis, we propose symmetry-aware remedies: Function-space controls and canonical balancing restore identical decisions in every audit we run, and a quotient-space score is provably invariant under any invertible change of basis in the low-rank factors. Gradient-based evidence must therefore be verified to remain unchanged under same-function reparameterization, or be independent of coordinate choice by definition; otherwise, the evidence cannot be trusted.
1 INTRODUCTION
Gradients are used for more than model training. Quantities derived from gradients have become general-purpose measurement tools, used for structured pruning (Michel et al., 2019; Molchanov et al., 2017), compression of large language models (Ma et al., 2023), differential privacy clipping (Abadi et al., 2016), low-rank adaptation (LoRA) rank allocation (Zhang et al., 2023), and model debugging through training-example influence (Koh & Liang, 2017; Grosse et al., 2023). These workflows convert parameter, activation, or mask derivatives into scalar scores—often norms
*Corresponding author

Figure 1: Overview of the GRR audit. Scaling a head's query projection by and the corresponding key projection by preserves the model's function and predictions. This coordinate change rescales the query and key gradients by and , respectively. Applying different scales across heads changes the raw-gradient head ranking. Gradient-guided pruning therefore keeps different heads, and the two pruned ELECTRA models differ substantially in SST-2 validation accuracy, as detailed in Sec. 4.3.
or Taylor sensitivities—that decide which components are pruned, which examples are clipped or flagged, and how rank budgets are allocated. These scores are treated as evidence of what matters to the represented input–output function.
Yet each such score is computed in a particular coordinate system on the network's parameters. The choice matters because parameter gradients depend on the coordinates even when the input–output function is fixed. Raw gradient scores therefore reflect the coordinate choice as well as the represented function. Neural-network parameter spaces classically admit transformations that leave the input–output map unchanged (Hecht-Nielsen, 1990). If a differentiable, locally invertible transformation of the parameter space satisfies for every input , then is a function-preserving reparameterization, and the differential of the loss is transported by the chain rule,
Common gradient-based measurements are computed in a chosen Euclidean coordinate system. The resulting quantities and decisions, including gradient norms, coordinate-wise Taylor scores, diagonal Fisher estimates, clipping decisions, and top- rankings, can change with the coordinates. The function is unchanged by , but the coordinate representation of the parameter gradient can change, as can scores computed from that representation.
An orbit is the set of parameter vectors reachable from one model through the chosen function-preserving transformations. These vectors represent the same input–output function in different parameter coordinates.
For example, Transformer attention admits such a function-preserving reparameterization. Attention scores depend on the query and key projections only through the paired product , so replacing by leaves every output logit unchanged while scaling the two head-gradient norms by and . The head still attends to the same tokens and contributes the same output. Only the units used to measure the head have changed, but this coordinate change rescales the head's parameter gradients. By choosing , we can make the same head report an arbitrarily large gradient score without changing any prediction. The represented function therefore does not uniquely determine this raw gradient score—a failure of identifiability, not of measurement precision. We must therefore reassess the reliability of gradient-based evidence: Gradient norms, head rankings, clipping decisions, and rank budgets must be audited under coordinate changes that preserve the function. Input-side attributions are unaffected, since these attributions are determined by the function alone (Sundararajan et al., 2017).
Same-function coordinate changes occur in practice. Data-free quantization equalizes weight ranges across adjacent layers, post-training quantization migrates activation scale into the paired weight matrix, and structured slicing rotates the internal representation before deleting rows and columns (Nagel et al., 2019; Xiao et al., 2023; Ashkboos et al., 2024). Each of these steps preserves the represented function and changes only how that function is written down. Compression pipelines routinely chain such a step with a gradient-based pruning or rank-allocation step, so the gradient evidence consumed downstream is read in a coordinate that an earlier and purely functional optimization happened to choose. No deliberate transformation is even required to produce scale imbalance. The eight public checkpoints we audit already have unequal paired projection norms: Balancing the paired projections within each checkpoint's orbit requires scales in [0.837, 1.077]. The coordinate choice underlying gradient evidence is therefore already arbitrary.
To test whether gradient-based decisions remain unchanged under such coordinate changes, we introduce Gradient Reliability under Reparameterization (GRR): The audit holds the represented input-output function fixed, changes only the parameter coordinates, and tests whether the measurements read from the gradients—and the decisions those measurements drive—remain unchanged. We instantiate this invariance check with exact Transformer symmetries and verify forward preservation by checking that the two coordinates produce numerically identical outputs. We then examine gradient evidence and compare downstream decisions such as pruning masks, clipping labels, LoRA rank choices, and paired-product optimizer diagnostics. In the largest of our global GLUE pruning audits, two same-function coordinates of one ELECTRA SST-2 model make identical predictions, yet the pruning decisions differ sharply: The raw gradient ranking selects head masks that differ in four of the 22 pruned heads, and the two pruned models reach 50.92% and 94.84% validation accuracy. Figure 1 illustrates this audit. GRR holds the represented function fixed and tests whether an existing diagnostic and the corresponding downstream decision are well defined along exact symmetry orbits. We also propose symmetry-aware remedies. Function-space ablation, a path-normalized score, and canonical balancing make the two coordinates select identical decisions in every audit we run. A quotient-space score remains unchanged under any invertible change of basis in the low-rank factors. These remedies provide a drop-in replacement for a diagnostic that fails the audit.
Distinction from prior work. That Euclidean gradients depend on coordinates is classical (Amari, 1998; Martens, 2020), and prior work has used the freedom to change parameter coordinates in three ways: to question generalization claims such as flatness (Dinh et al., 2017), to design scores that are invariant by construction (Neyshabur et al., 2015; Tanaka et al., 2020), and to exploit motion along symmetry orbits as an optimization resource (Kunin et al., 2021; Zhao et al., 2022). Reliability tests for explanations are closest in spirit, but existing tests perturb the model (Adebayo et al., 2018) or the input (Kindermans et al., 2019) and test whether the explanation notices. GRR applies a complementary test: The audit leaves the model's behavior exactly intact, verified numerically before any gradient is computed, and tests whether a diagnostic that a pipeline already executes still returns the same decision. Correspondingly, every strict ordering of raw component scores is attainable on a single same-function orbit, and the attainable score ranges have no finite upper bound. To the best of our knowledge, the effects of these coordinate changes on downstream gradient evidence and decisions have not been systematically audited. Exact natural-gradient constructions are invariant in principle, but the diagonal approximations that pipelines actually use are among the measurements we audit. Appendix B details what GRR shares with, and where GRR departs from, natural-gradient geometry, quotient geometry, structured pruning, privacy, adapters, and explanation reliability.
Contributions. We formulate GRR as an operational audit of the identifiability of gradient-derived evidence, built from exact, architecture-native symmetries. Theoretically, we show that same-function reparameterizations can arbitrarily change raw component rankings, characterize the resulting ambiguity, and derive symmetry-aware alternatives, including a quotient-space score that is invariant to any invertible change of basis in the low-rank factors. Empirically, we trace these changes to pruning, clipping, optimizer, and LoRA decisions across encoder, vision, and decoder-only models.
2 GRR AUDIT FRAMEWORK
Let be a neural network with parameters , where is the set of possible parameter vectors. Let define a loss. A transformation is function-preserving on if
On a finite audit set , we check that the output logits remain numerically unchanged using the maximum logit difference defined in Eq. 3. We also report the prediction flip rate: the fraction of audited predictions for which the highest-logit class or next token changes under .
Audited gradients. Practitioners may compute gradients with respect to the input, an intermediate activation, a component mask, or a parameter block. The chain rule links these gradients, but each measures sensitivity to a different variable. DP-SGD clips per-example parameter gradients (Abadi et al., 2016). LLM-Pruner uses weight derivatives to rank parameter groups for pruning (Ma et al., 2023), and AdaLoRA builds rank-importance scores from parameter-gradient products (Zhang et al., 2023). GRR therefore focuses on parameter gradients and on gradient-derived measurements and decisions.
Pruning also uses derivatives with respect to other variables. Michel et al. (2019) score heads using derivatives with respect to head masks, while Molchanov et al. (2017) score channels using activation-gradient products. These mask and Taylor scores differ from the raw parameter-gradient norms audited below. Weight-gradient and activation-gradient products cancel reciprocal scalar rescaling, so GRR tests the complete score and decision.
For a fixed input and label, the input gradient of the loss is unchanged by any with . Input gradients therefore remain unchanged under these transformations and are not the target of this audit. However, activation and parameter gradients can change because changes the coordinates used to compute these gradients. Eq. 1 computes the parameter gradient in the new coordinates from the original gradient when is locally invertible at and the audited loss depends only on the represented function. These conditions hold for every symmetry used in this paper. The same reasoning applies to activation gradients when changes the coordinates of those activations.
Let be a gradient-derived measurement, such as a layer-level gradient norm, head ranking, per-example gradient norm, clipping decision, internal-component attribution score, or rank-importance score. A function-level measurement should satisfy after correcting known label permutations and coordinate transports. A gradient reliability failure occurs when and make the same predictions but changes enough to alter a downstream decision.
To audit such failures, we define a GRR report that records function preservation alongside changes in measurements and decisions.
Definition 1 (GRR report). Given a model , a function-preserving transformation , an audit set , a measurement , and a downstream decision rule , write and for the measurements before and after the transformation. The GRR report consists of
Here denotes a task-specific comparison; later audits report set agreement for masks, metric gaps for downstream utility, and flip rates for binary clipping decisions. For binary clipping decisions , is the flip rate. Here is the top- overlap fraction. Unlike the mask comparisons reported later, this overlap fraction is not a Jaccard index.
The audit proceeds as follows. First, we check forward preservation using and prediction flips. Only after the forward-preservation check passes do we compare rankings and score scales, then pruning, clipping, or rank-selection decisions. Finally, we repeat the comparison with a proposed remedy under the same verified transformation. If the forward check fails, the audit is invalid: We cannot attribute later differences to a change of coordinates alone. If the forward check passes but scores or decisions change beyond numerical tolerance, the diagnostic depends on the parameter coordinates even though the function is unchanged. If the remedy's scores or decisions also change between the two coordinates beyond numerical tolerance, the remedy has not removed that dependence. Appendix C.2 gives a compact executable reference implementation of this audit sequence for an attention-pair audit.
3.1 BILINEAR GAUGE
To see how changing parameter coordinates can change gradient scores while keeping the function fixed, consider a bilinear product . Here, a gauge transformation is a change of the factors that leaves the product unchanged. For any invertible ,
leaves BA unchanged. As varies, these pairs form the orbit of . If depends on only through , then the gradients transform as
For scalar with c > 0,
Thus factor-level gradient norms and rank-coordinate scores can be rescaled without changing the represented function. The scalar-gauge results only require this reciprocal scaling to be an exact symmetry. Literal dependence on a single product BA is sufficient but not necessary.
For a factor pair, the squared joint gradient score follows , where and . For , the score has no finite upper bound. Lemma 1 in Appendix C.8 gives the exact range of the joint gradient score.
Theorem 1 (Any raw component ranking at a fixed function). Let be differentiable, let , and suppose that, for every choice of positive scales , the independent reciprocal action , with is an exact function-preserving reparameterization and leaves invariant. At a fixed representative, assume both factor gradients are nonzero for every , and define the joint score by with . For every permutation of , there are same-function scales such that
Thus any raw top-k or bottom-k set is attainable. Appendix C.8 gives the corollary, proofs, and checkpoint construction.
Under the stated nonzero-gradient conditions, the theorem applies directly to independently scaled standard attention heads, SwiGLU up-down channels, and diagonal LoRA rank coordinates. In GQA, the same conclusion applies at the level of independently gaugeable shared groups rather than individual query heads.
The same dependence reaches Euclidean factor-gradient steps: At scalar gauge , the first-order product displacement is for and . Appendix C gives the exact finite-step and direction results. We call , with the common factor omitted, the paired-product tangent; classifier-factor and LoRA diagnostics use the full effective product.
The same coordinate dependence can affect clipping decisions and diagonal approximations. Raw gradient magnitudes, component selections, and update measurements therefore require checks under exact function-preserving coordinate changes before serving as evidence about the learned function.
3.2 TRANSFORMER ATTENTION AND MLP SYMMETRIES
In row-vector notation, multi-head attention (Vaswani et al., 2017) computes
For a head-wise scalar gauge ,
preserves exactly in real arithmetic. The Q-K gradients scale oppositely, so head-wise gradient norms and rankings need not be preserved.
The V–O symmetry is analogous. For a head contribution , the head-wise reciprocal scaling
leaves unchanged. This V–O symmetry is independent of positional encoding details.
In models that use rotary position embedding (RoPE) (Su et al., 2024), full Q–K rotations are restricted, but scalar head scaling still commutes with RoPE. GQA (Ainslie et al., 2023) retains group-wise gauges, and Llama-style SwiGLU blocks (Touvron et al., 2023) admit and with the gate fixed. Appendix C gives the exact architecture details. Appendix B covers deployed same-function coordinate moves.
3.3 LORA AND LOW-RANK ADAPTERS
LoRA (Hu et al., 2022) uses an effective update . For any , the gauge , preserves . Because the fixed prefactor can be absorbed into either factor, we suppress the prefactor in the theoretical statements below and write . The prefactor value is a design choice that affects how LoRA trains at a given rank (Kalajdzievski, 2023), but the prefactor is identical in the two coordinates that an audit compares, so the prefactor does not affect the gauge argument.
Diagonal monomial gauges preserve rank components up to rescaling and relabeling, whereas non-diagonal gauges rotate the basis. Under the conditions of Theorem 3, deleting one labeled rank coordinate can produce a product change with any Frobenius norm in , while the product before deletion stays fixed. Appendix C gives the proof. Consequently, factor-gradient norms and rank-coordinate importance can depend on an arbitrary basis in the low-rank space.
3.4 SYMMETRY-AWARE REMEDIES
The goal is to keep the measurement and the decision derived from that measurement unchanged when only the parameter coordinates change. We pursue this goal by balancing paired factors before measuring, canceling scale factors within the score, or measuring the represented function directly.
Gauge-invariant product-manifold score. We construct a first-order score on the fixed-rank product manifold . Let have full column rank and have full row rank. Let be continuously differentiable in a neighborhood of , let , and set , , , and , with . Define the nonnegative score by
Theorem 2 (Product-manifold gradient from factor gradients). With the notation above, equip with the ambient Frobenius metric. If , , and , then
Corollary 1 (Full-gauge invariance and stationarity). Under the conditions of Theorem 2, the score in Eq. 14 is exactly invariant under every transformation with . The score vanishes if and only if .
The score requires only two Gram solves and factor-gradient contractions. The score does not assign importance to individual rank coordinates, which are not objects on the quotient. Proofs appear in Appendix C.10; further interpretation and the full-gauge gradient envelope appear in Appendix C.7. Appendix C.6 defines the empirical-Fisher and function-space controls.
Canonical balancing. For scalar gauges and with , setting in balances the paired norms. Appendix C.6 gives the full balancing construction, the proof of orbit invariance, and implementation details.
Path-normalized gradient score. For scalar gauges, a computationally inexpensive normalization is to score a parameter block by the product of the parameter norm and the gradient norm of that block, vectorizing matrix-valued blocks before taking the Euclidean norm:
Each product is invariant under a reciprocal scalar gauge of a parameter block and the gradient of that block, as verified in Appendix C.
4 EXPERIMENTS
4.1 SETUP
We use GRR to test whether changing parameter coordinates alters gradient-based measurements and decisions while the model's function stays fixed. For exact Q–K and V–O rescaling, our attention audits cover 66 layer-level GLUE audits, a ViT on CIFAR-10, and GPT-2-medium, GPT-2-large, and TinyLlama on WikiText-2. We also audit TinyLlama's SwiGLU up-down rescaling on WikiText-2.
For low-rank basis dependence, we apply GRR to exact low-rank factorizations of the seven GLUE classifier heads and to six independently trained LoRA adapters: three rank-16 DistilBERT adapters on SST-2 and three rank-8 RoBERTa adapters on MRPC.
The main GLUE gradient-score audits use 128 validation examples, the clipping audits use 48 examples, and downstream accuracy is evaluated on the full validation splits. For a nonnegative score vector , the mean ratio denotes . All reported accuracy and perplexity gaps are absolute differences between decisions induced by the two same-function coordinates.
Every comparison first verifies forward preservation. All classification audits have zero label flips. Decoder-only audits have median next-token argmax flip rate zero; the only nonzero case is a finite-precision GPT-2-large layer-9 Q–K audit with a 0.0492% flip rate. Appendix D gives the complete model identifiers, audit budgets, gauge profiles, training recipes, baseline results in Table 4, and preservation checks in Table 5.
4.2 ATTENTION-HEAD GRADIENT RELIABILITY
Table 1 aggregates 66 layer-level attention audits. Raw Euclidean head-gradient norms are unstable: The median top-3 overlap is 1/3, and some audits have zero overlap. In the median audit, changing coordinates replaces two of the three heads that raw gradients call most important, even though the model makes the same predictions.
Mean gradient scale changes range from to . The paired-product tangent of a raw Euclidean parameter-gradient step changes even more, with ratios from to . The same model and learning rate can therefore imply a very different first-order change in the paired product. Per-example clipping decisions, using the original median norm as threshold, flip for a median 20.8% of examples and up to 50.0%. Parameter scaling alone changes which per-example gradients the clipping rule reduces.
Function-space head ablation is stable in every audit, with top-3 overlap 1.0 in all 66 audits. The path-normalized gradient score is also stable for these scalar gauges, with top-3 overlap 1.0 and mean ratio between 0.999997 and 1.000003. Canonically balanced parameter gradients recover stable decisions as well, with top-3 overlap 1.0 in all 66 audits. These controls make head selection independent of the starting parameter scales under the tested scalar symmetry. Figure 3(a) in Appendix D compares raw and symmetry-aware scores across the same 66 audits.
Table 1: Layer-level attention GRR over 66 audits. Agreement denotes top-3 overlap except for per-example clipping, where agreement denotes the decision flip rate. Values are medians with ranges in parentheses. Raw measurements are unstable; the controls are stable under the scalar gauges tested.
| Measurement | Agreement or flip rate | Mean ratio |
|---|---|---|
| Raw head-gradient norm | 0.333 (0.000, 1.000) | 2.98 (1.98, 3.52) |
| Raw paired-product tangent | 0.333 (0.000, 0.667) | 16.84 (9.97, 23.12) |
| Per-example clipping | 20.8% (6.25, 50.0) | Not applicable |
| Function-space ablation | 1.000 (1.000, 1.000) | ≈ 1 |
| Path-normalized gradient | 1.000 (1.000, 1.000) | 1.00 (1.00, 1.00) |
| Canonically balanced gradient | 1.000 (1.000, 1.000) | ≈ 1 |
Table 2: GLUE decision-level effects; pp denotes percentage points. The ViT global-profile counterpart is reported in Table 10.
| Decision rule | Jaccard median | Jaccard range | Max accuracy gap (pp) |
|---|---|---|---|
| Single-layer raw bottom-3 pruning | 0.20 | (0.00, 1.00) | 1.47 |
| Single-layer raw top-3 ablation | 0.20 | (0.00, 1.00) | 10.05 |
| Single-layer function-space top-3 | 1.00 | (1.00, 1.00) | 0.00 |
| Global raw bottom-15% pruning | 0.517 | (0.333, 0.692) | 43.92 |
| Global raw top-15% ablation | 0.294 | (0.158, 0.467) | 27.18 |
| Global canonically balanced bottom-15% | 1.00 | (1.00, 1.00) | 0.00 |
Robustness and breadth. The failure persists across subsets, seeds, gauge strengths, architectures, and modalities. Over 324 DistilBERT SST-2 audits, mild gauges give mean raw top-3 overlap 0.787, aggressive gauges give 0.512, and all runs have zero prediction flips. Figure 3(c) and Figure 3(d) in Appendix D show the smooth scale trend. Even the mildest tested rescaling changes head choices, and stronger rescaling increases the disagreement. Public checkpoints contain milder but nonzero paired-projection imbalance, and the balancing scales observed across the encoder and ViT checkpoints lie in [0.837, 1.077]. The cross-domain audits show the same pattern: ViT raw top-3 overlap has median 1/3, GPT-2-medium and GPT-2-large have median 1/3, TinyLlama paired-product tangent overlap has median 0, and the TinyLlama SwiGLU channel-gradient overlap has median 0.352. Appendix D reports the full robustness, checkpoint-scale, ViT, decoder-only, and SwiGLU results.
4.3 DOWNSTREAM HEAD DECISIONS
For each layer, we evaluate two decision rules: bottom-3 pruning, which removes heads judged least important, and top-3 ablation, which removes heads judged most important. Table 2 summarizes these single-layer decisions and the global decisions below. Head sets selected for top-3 ablation using raw gradients have median Jaccard 0.2 between the original and reparameterized coordinates, with minimum 0. The maximum validation-accuracy gap between the ablations is 10.05 percentage points. Raw bottom-3 pruning has the same median Jaccard and yields a gap of 1.47 percentage points. These ranking disagreements determine which heads are actually removed and can change the accuracy of the resulting model. Function-space and canonically balanced top-3 decisions have Jaccard 1.0 in every audit.
We also run a global downstream test on the GLUE checkpoints. We apply a head-wise gauge to every attention layer, compute one global raw-gradient ranking over all heads, and prune or ablate the bottom or top 15% of heads. Raw global top-head ablation has median Jaccard 0.294 and yields a validation-accuracy gap of up to 27.18 percentage points. Raw global bottom-head pruning has median Jaccard 0.517 and yields a gap of up to 43.92 percentage points. In the largest case, an ELECTRA Q-K audit on SST-2, the original-coordinate mask gives 50.92% accuracy while the reparameterized-coordinate mask gives 94.84%. Figure 6 in Appendix D.14 localizes the four head substitutions behind this accuracy gap from global pruning. With identical predictions before pruning, coordinate choice alone separates accuracy close to the baseline from accuracy near chance afterward. Canonical balancing makes global bottom pruning and top ablation select identical masks, with zero validation-accuracy gap in all 14 GLUE global audits. Balancing fixes the disagreement, but the shared mask can still harm accuracy. Table 10 reports the corresponding full-test vision result.
Mild-scale downstream calibration. Mild V-O gauges already change global masks in downstream evaluations. On MRPC, mild bottom-15% pruning gives mask Jaccard 0.630 and an accuracy gap of 17.89 percentage points; on QNLI, mild top-15% ablation gives Jaccard 0.419 and a gap of 18.47 percentage points. Large accuracy gaps can arise even under mild rescaling. The corresponding SST-2 accuracy gaps remain below one percentage point despite changed masks. Similar accuracy can hide disagreement about which heads matter. Appendix D reports all mild, medium, and aggressive profile results.
Additional workflow audits. The same coordinate dependence propagates through iterative pruning, clipped updates, and optimizer-state diagnostics. In the iterative RoBERTa MRPC audit, the final raw top-ablation masks have Jaccard 0.244, and the final accuracies differ by 13.48 percentage points; canonical balancing restores identical schedules. Recomputing gradients at each round carries the coordinate dependence through the pruning schedule.
Diagonal empirical-Fisher normalization recovers top-3 overlap 1.0 in the targeted clipping audit, whereas a transported AdamW state still yields a coordinate-dependent paired-product update. Transferring the optimizer's history correctly is therefore insufficient to make the update independent of parameter scaling. Appendix D gives the complete iterative, Fisher-normalized, clipped-update, and AdamW analyses.
The decoder-only audits in Appendix D.10, including the token-level analysis in Figure 4, also select different heads for the same unpruned language model, producing different next-token losses and perplexities.
Low-rank and adapter audits. Exact classifier-factor gauges and six trained LoRA adapters exhibit the same coordinate dependence: Factor-coordinate rankings, clipping decisions, and adapter-compression masks can change while logits are preserved. The raw scores can label different rank coordinates as expendable even when the adapter's predictions are identical. Appendix D.4 reports the complete low-rank and trained-adapter results, including the symmetry-aware controls.
5 DISCUSSION
Same-function coordinate changes can alter pruning, clipping, and update decisions. Appendix D.16 discusses these workflow implications. The failure concerns raw Euclidean measurements and diagnostics that retain coordinate dependence; fixed-function input gradients and invariant scores remain outside the scope of the coordinate-dependence claim. Invariance removes coordinate ambiguity but does not guarantee useful component selection. Appendix F gives the application procedure and acceptance criteria.
6 CONCLUSION
Gradient-derived measurements need not be properties of learned functions. GRR makes this distinction operational: The audit rewrites a trained model in two coordinates that provably compute the same function, verifies forward preservation, and tests whether gradient-derived measurements—and the decisions those measurements drive—change. Across Transformer workflows involving encoder and vision classifiers, decoder-only language models, and LoRA adapters, raw Euclidean gradients often change rankings, masks, clipping decisions, and paired-product updates, whereas function-space controls and symmetry-aware normalizations are stable under the scalar gauges tested. Our analysis shows that same-function orbits can realize any raw ranking and unbounded factor-gradient magnitudes, and yields a full- -invariant quotient score. Gradient-based conclusions should therefore be audited under exact same-function reparameterizations or defined directly on quotient-space objects; the audit reduces to a checklist that a practitioner can apply to any new gradient-based diagnostic.
AI USE STATEMENT
Generative AI tools were used as assistive tools for writing and editing, mathematical proofreading and consistency checking, and code development and debugging. Any AI-assisted outputs incorporated into this work were reviewed and validated by the authors as appropriate. The authors take full responsibility for the final content of this work, including any text, claims, or artifacts produced with the assistance of generative AI.
REPRODUCIBILITY STATEMENT
The theoretical assumptions and complete proofs appear in Appendix C. Experimental configurations, model and dataset identifiers, audit budgets, and full additional results appear in Appendix D. Appendix E documents artifacts, validation, result traceability, data construction, seeds, training recipes, and hardware configuration.
REFERENCES
Martín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. Deep Learning with Differential Privacy. In CCS, pp. 308–318, 2016.
Pierre-Antoine Absil, Robert E. Mahony, and Rodolphe Sepulchre. Optimization Algorithms on Matrix Manifolds. 2008.
Julius Adebayo, Justin Gilmer, Michael Muelly, Ian J. Goodfellow, Moritz Hardt, and Been Kim. Sanity Checks for Saliency Maps. In NeurIPS, pp. 9525–9536, 2018.
Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints. In EMNLP, pp. 4895–4901, 2023.
Samuel K. Ainsworth, Jonathan Hayase, and Siddhartha S. Srinivasa. Git Re-Basin: Merging Models modulo Permutation Symmetries. In ICLR, 2023.
Shun-ichi Amari. Natural Gradient Works Efficiently in Learning. Neural Comput., 10(2):251–276, 1998.
Saleh Ashkboos, Maximilian L. Croci, Marcelo Gennari Do Nascimento, Torsten Hoefler, and James Hensman. SliceGPT: Compress Large Language Models by Deleting Rows and Columns. In ICLR, 2024.
Lei Jimmy Ba, Jamie Ryan Kiros, and Geoffrey E. Hinton. Layer Normalization. CoRR, abs/1607.06450, 2016.
Samyadeep Basu, Phillip Pope, and Soheil Feizi. Influence Functions in Deep Learning Are Fragile. In ICLR, 2021.
Kevin Clark, Minh-Thang Luong, Quoc V. Le, and Christopher D. Manning. ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators. In ICLR, 2020.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In NAACL-HLT (1), pp. 4171–4186, 2019.
Laurent Dinh, Razvan Pascanu, Samy Bengio, and Yoshua Bengio. Sharp Minima Can Generalize For Deep Nets. In ICML, volume 70, pp. 1019–1028, 2017.
William B. Dolan and Chris Brockett. Automatically Constructing a Corpus of Sentential Phrases. In IWP@IJCNLP, 2005.
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In ICLR, 2021.
Simon S. Du, Wei Hu, and Jason D. Lee. Algorithmic Regularization in Learning Deep Homogeneous Models: Layers are Automatically Balanced. In NeurIPS, pp. 382–393, 2018.
Nelson Elhage, Neel Nanda, Catherine Olsson, Tom Henighan, Nicholas Joseph, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, et al. A mathematical framework for transformer circuits. Transformer Circuits Thread, 1(1):12, 2021.
Rahim Entezari, Hanie Sedghi, Olga Saukh, and Behnam Neyshabur. The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks. In ICLR, 2022.
Elias Frantar and Dan Alistarh. SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot. In ICML, volume 202, pp. 10323–10337, 2023.
Charles Godfrey, Davis Brown, Tegan Emerson, and Henry Kvinge. On the Symmetries of Deep Learning Models and their Internal Representations. In NeurIPS, 2022.
Roger B. Grosse, Juhan Bae, Cem Anil, Nelson Elhage, Alex Tamkin, Amirhossein Tajdini, Benoit Steiner, Dustin Li, Esin Durmus, Ethan Perez, Evan Hubinger, Kamile Lukosiute, Karina Nguyen, Nicholas Joseph, Sam McCandlish, Jared Kaplan, and Samuel R. Bowman. Studying Large Language Model Generalization with Influence Functions. CoRR, abs/2308.03296, 2023.
Soufiane Hayou, Nikhil Ghosh, and Bin Yu. LoRA+: Efficient Low Rank Adaptation of Large Models. In ICML, volume 235, pp. 17783–17806, 2024.
Jiyan He, Xuechen Li, Da Yu, Huishuai Zhang, Janardhan Kulkarni, Yin Tat Lee, Arturs Backurs, Nenghai Yu, and Jiang Bian. Exploring the Limits of Differentially Private Deep Learning with Group-wise Clipping. In ICLR, 2023.
Robert Hecht-Nielsen. On the algebraic structure of feedforward network weight spaces. In Advanced Neural Computers, pp. 129–135. 1990.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-Rank Adaptation of Large Language Models. In ICLR, 2022.
Sergey Ioffe and Christian Szegedy. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. In ICML, volume 37, pp. 448–456, 2015.
Sarthak Jain and Byron C. Wallace. Attention is not Explanation. In NAACL-HLT (1), pp. 3543–3556, 2019.
Damjan Kalajdzievski. A Rank Stabilization Scaling Factor for Fine-Tuning with LoRA. CoRR, abs/2312.03732, 2023.
Pieter-Jan Kindermans, Sara Hooker, Julius Adebayo, Maximilian Alber, Kristof T. Schütt, Sven Dähne, Dumitru Erhan, and Been Kim. The (Un)reliability of Saliency Methods. In Explainable AI, volume 11700, pp. 267–280. 2019.
Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. In ICLR, 2015.
James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13):3521–3526, 2017.
Pang Wei Koh and Percy Liang. Understanding Black-box Predictions via Influence Functions. In ICML, volume 70, pp. 1885–1894, 2017.
Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical report, 2009.
Daniel Kunin, Javier Sagastuy-Breña, Surya Ganguli, Daniel L. K. Yamins, and Hidenori Tanaka. Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamics. In ICLR, 2021.
Frederik Kunstner, Philipp Hennig, and Lukas Balles. Limitations of the empirical Fisher approximation for natural gradient descent. In NeurIPS, pp. 4158–4169, 2019.
Yann LeCun, John S. Denker, and Sara A. Solla. Optimal Brain Damage. In NIPS, pp. 598–605, 1989.
Namhoon Lee, Thalaiyasingam Ajanthan, and Philip H. S. Torr. Snip: single-Shot Network Pruning based on Connection sensitivity. In ICLR, 2019.
Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the Loss Landscape of Neural Nets. In NeurIPS, pp. 6391–6401, 2018.
Xuechen Li, Florian Tramèr, Percy Liang, and Tatsunori Hashimoto. Large Language Models Can Be Strong Differentially Private Learners. In ICLR, 2022.
Derek Lim, Theo (Moe) Putterman, Robin Walters, Haggai Maron, and Stefanie Jegelka. The Empirical Impact of Neural Parameter Symmetries, or Lack Thereof. In NeurIPS, 2024.
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A Robustly Optimized BERT Pretraining Approach. CoRR, abs/1907.11692, 2019.
Zequan Liu, Jiawen Lyn, Wei Zhu, Xing Tian, and Yvette Graham. ALoRA: Allocating Low-Rank Adaptation for Fine-tuning Large Language Models. In NAACL-HLT, pp. 622–641, 2024.
Ilya Loshchilov and Frank Hutter. Decoupled Weight Decay Regularization. In ICLR, 2019.
Xinyin Ma, Gongfan Fang, and Xinchao Wang. Llm-pruner: On the structural pruning of large language models. In NeurIPS, 2023.
James Martens. New Insights and Perspectives on the Natural Gradient Method. J. Mach. Learn. Res., 21:146:1–146:76, 2020.
James Martens and Roger B. Grosse. Optimizing Neural Networks with Kronecker-factored Approximate Curvature. In ICML, volume 37, pp. 2408–2417, 2015.
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer Sentinel Mixture Models. In ICLR, 2017.
Paul Michel, Omer Levy, and Graham Neubig. Are Sixteen Heads Really Better than One? In NeurIPS, pp. 14014–14024, 2019.
Bamdev Mishra, Gilles Meyer, Silvère Bonnabel, and Rodolphe Sepulchre. Fixed-rank matrix factorizations and Riemannian low-rank optimization. Comput. Stat., 29(3):591–621, 2014.
Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. Pruning Convolutional Neural Networks for Resource Efficient Inference. In ICLR, 2017.
Pavlo Molchanov, Arun Mallya, Stephen Tyree, Iuri Frosio, and Jan Kautz. Importance Estimation for Neural Network Pruning. In CVPR, pp. 11264–11272, 2019.
Markus Nagel, Mart van Baalen, Tijmen Blankevoort, and Max Welling. Data-Free Quantization Through Weight Equalization and Bias Correction. In ICCV, pp. 1325–1334, 2019.
Behnam Neyshabur, Ruslan Salakhutdinov, and Nathan Srebro. Path-SGD: Path-Normalized Optimization in Deep Neural Networks. In NIPS, pp. 2422–2430, 2015.
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. Technical Report 8, 2019.
Tim Salimans and Diederik P. Kingma. Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networks. In NIPS, pp. 901, 2016.
Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. volume abs/1910.01108, 2019.
Noam Shazeer. GLU Variants Improve Transformer. CoRR, abs/2002.05202, 2020.
Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, and Christopher Potts. Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank. In EMNLP, pp. 1631–1642, 2013.
Jianlin Su, Muradha H. M. Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. RoFormer: Enhanced transformer with Rotary Position Embedding. Neurocomputing, 568:127063, 2024.
Mingjie Sun, Zhuang Liu, Anna Bair, and J. Zico Kolter. A Simple and Effective Pruning Approach for Large Language Models. In ICLR, 2024.
Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic Attribution for Deep Networks. In ICML, volume 70, pp. 3319–3328, 2017.
Hidenori Tanaka, Daniel Kunin, Daniel L. K. Yamins, and Surya Ganguli. Pruning neural networks without any data by iteratively conserving synaptic flow. In NeurIPS, 2020.
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. LLaMA: Open and Efficient Foundation Language Models. CoRR, abs/2302.13971, 2023.
Twan van Laarhoven. L2 Regularization versus Batch and Weight Normalization. CoRR, abs/1706.05350, 2017.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is All you Need. In NIPS, pp. 5998–6008, 2017.
Elena Voita, David Talbot, Fedor Moiseev, Rico Sennrich, and Ivan Titov. Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Pruned. In ACL (1), pp. 5797–5808, 2019.
Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding. In ICLR, 2019.
Sarah Wiegreffe and Yuval Pinter. Attention is not not Explanation. In EMNLP/IJCNLP (1), pp. 11–20, 2019.
Adina Williams, Nikita Nangia, and Samuel R. Bowman. A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference. In NAACL-HLT, pp. 1112–1122, 2018.
Mengzhou Xia, Zexuan Zhong, and Danqi Chen. Structured Pruning Learns Compact and Accurate Models. In ACL (1), pp. 1513–1528, 2022.
Tianyu Xia, Shuheng Shen, Su Yao, Xinyi Fu, Ke Xu, Xiaolong Xu, and Xing Fu. Differentially Private Learning with Per-Sample Adaptive Clipping. In AAAI, pp. 10444–10452, 2023.
Guangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu, Julien Demouth, and Song Han. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models. In ICML, volume 202, pp. 38087–38099, 2023.
Biao Zhang and Rico Sennrich. Root Mean Square Layer Normalization. In NeurIPS, pp. 12360–12371, 2019.
Fangzhao Zhang and Mert Pilanci. Riemannian Preconditioned LoRA for Fine-Tuning Foundation Models. In ICML, volume 235, pp. 59641–59669, 2024.
Peiyuan Zhang, Guangtao Zeng, Tianduo Wang, and Wei Lu. TinyLlama: An Open-Source Small Language Model. CoRR, abs/2401.02385, 2024.
Qingru Zhang, Minshuo Chen, Alexander Bukharin, Pengcheng He, Yu Cheng, Weizhu Chen, and Tuo Zhao. Adaptive Budget Allocation for Parameter-Efficient Fine-Tuning. In ICLR, 2023.
Bo Zhao, Nima Dehmamy, Robin Walters, and Rose Yu. Symmetry Teleportation for Accelerated Optimization. In NeurIPS, 2022.
Bo Zhao, Robin Walters, and Rose Yu. Symmetry in Neural Network Parameter Spaces. Trans. Mach. Learn. Res., 2026.
Jiacheng Zhu, Kristjan H. Greenewald, Kimia Nadjahi, Haitz Sáez de Ocáriz Borde, Rickard Brüel Gabrielsson, Leshem Choshen, Marzyeh Ghassemi, Mikhail Yurochkin, and Justin Solomon. Asymmetry in Low-Rank Adapters of Foundation Models. In ICML, volume 235, pp. 62369–62385, 2024.
A NOTATION
Table 3 collects the symbols used in the main text and in the proofs.
Table 3: List of notation, grouped by the role each symbol plays in the audit.
| Symbol | Meaning |
|---|---|
| Model, loss, and audit | |
| Network with parameters | |
| Parameter vector and parameter space | |
| Input space and finite audit set | |
| Logits of at input | |
| Per-example loss and audited loss | |
| Learning rate of one gradient step | |
| Function-preserving reparameterization, | |
| Maximum logit difference induced by | |
| Gradient-derived measurement under audit | |
| Original and transformed measurements in the GRR report | |
| Spearman correlation and top- overlap of | |
| Downstream decision rule and decision change | |
| Per-example gradient, clipping threshold, clipping decision | |
| Symmetry group and quotient | |
| Symmetry group and group action on | |
| Same-function orbit of | |
| Quotient of same-function coordinates | |
| Bilinear factors and gauges | |
| Factors and factor product | |
| Rank of the bilinear factorization | |
| Gauge in acting by | |
| Positive scalar gauge, per component | |
| Factor gradients and | |
| Joint factor-gradient norm under scalar and full gauge | |
| Terms and in the paired-product tangent | |
| Product change of one gradient step at gauge | |
| and rank component | |
| Product after deleting rank coordinate | |
| Smallest nonzero singular value of | |
| Frobenius and nuclear norms | |
| Full-rank factor pairs and rank- matrices | |
| Gram matrices , and | |
| Product gradient and range projectors | |
| Gauge-invariant product-manifold gradient norm | |
| Transformer components | |
| Attention projections, with biases | |
| Head dimension and number of audited components | |
| Attention probabilities and output of head | |
| Shared gauge of a GQA group | |
| SwiGLU gate, up, and down projections, channel gauge | |
| LoRA update and LoRA scaling factor | |
| Scores and remedies | |
| Coordinates of head and path-normalized head score | |
| Diagonal empirical Fisher and Fisher-normalized score | |
| Function-space ablation score of component | |
| Parameters with the output path of removed | |
| Paired norm imbalance ratio and canonical balancing scale | |
B RELATED WORK AND DISTINCTION
GRR operationalizes the classical coordinate dependence of Euclidean gradients as a decision-facing reliability audit: Fix the learned input–output function, change only the internal coordinate system, verify forward preservation numerically, and test whether a concrete conclusion survives on trained models and downstream decisions. This framing makes GRR closer to a measurement reliability test than to an optimization method.
B.1 REPARAMETERIZATION AND NATURAL-GRADIENT GEOMETRY
Reparameterization dependence of Euclidean gradients is classical. Amari (1998) developed natural gradient methods to account for information geometry, Martens & Grosse (2015) make this principle computationally useful for neural networks through Kronecker-factored approximate curvature and related approximations, and Martens (2020) analyzes the sense in which the resulting updates are invariant to smooth reparameterization. The same freedom destabilizes other parameter-space quantities: Sharpness measures and flat-minima claims can be sensitive to reparameterization (Dinh et al., 2017), loss-surface visualizations require filter-normalized directions before the visualizations are compared (Li et al., 2018), and scale-invariant networks, path norms, and product norms show that parameter coordinates are not always meaningful (Neyshabur et al., 2015). Normalization layers make the same freedom concrete: A weight block feeding a batch-normalized (Ioffe & Szegedy, 2015) or weight-normalized (Salimans & Kingma, 2016) unit is positively scale-invariant, so rescaling that block leaves the function untouched while the corresponding gradient norm scales reciprocally (van Laarhoven, 2017). The Q–K, V–O, and SwiGLU up-down gauges audited here are the paired-projection analogue of that freedom inside a Transformer block.
B.2 NETWORK SYMMETRY AND QUOTIENT MANIFOLDS
Symmetry and gauge freedom in neural networks supply the structural source of these equivalence classes (Hecht-Nielsen, 1990), and recent surveys emphasize that large same-function parameter orbits are now a central object in overparameterized network theory (Zhao et al., 2026). Godfrey et al. (2022) catalogue the symmetry groups induced by common activation functions and the action of those groups on internal representations, which is the structural reason one learned function admits many coordinate descriptions. Kunin et al. (2021) show that translation, scale, and rescale symmetries induce exact conservation laws in gradient-flow dynamics, complementary evidence that motion along symmetry directions carries no functional information, whereas Zhao et al. (2022) teleport parameters along a loss level set precisely because that move changes the local gradient. Lim et al. (2024) instead reduce or remove parameter symmetries on the architecture side, while GRR holds the architecture and the learned function fixed and moves along the orbit to test whether a measurement is identifiable.
Discrete permutation symmetries of hidden units have been used in a different direction, to explain linear mode connectivity between independently trained solutions (Entezari et al., 2022) and to align and merge such solutions in weight space (Ainsworth et al., 2023). Riemannian quotient geometry for full-rank bilinear factorizations is likewise standard in fixed-rank matrix optimization (Mishra et al., 2014; Absil et al., 2008). Our use of that geometry is measurement-facing, since Theorem 4, Corollary 6, Theorem 3, and Corollary 5 turn factorization freedom into exact attainable sets with clipping and deletion consequences, and Corollary 1 records an invariant fixed-rank product-manifold gradient score.
B.3 SAME-FUNCTION COORDINATES IN DEPLOYED TRANSFORMER PIPELINES
Moving a Transformer along such an orbit is not a hypothetical operation. Data-free quantization equalizes weight ranges across adjacent layers through the scale equivariance of the activation function, which changes coordinates without changing the represented function (Nagel et al., 2019). Post-training quantization of Transformers applies a mathematically equivalent per-channel rescaling that migrates activation scale into the paired weight matrix (Xiao et al., 2023), and Ashkboos et al. (2024) use a computational invariance of Transformer blocks to rotate the representation before deleting rows and columns. These pipelines choose a new same-function coordinate for effi-ciency reasons. GRR tests whether gradient-derived evidence remains stable under such coordinate changes.
B.4 GRADIENT-BASED PRUNING AND IMPORTANCE
GRR complements work on structured pruning and head importance. Michel et al. (2019) study which Transformer heads can be removed without hurting performance, and Voita et al. (2019) find that a small number of specialized heads carries most of the work. Derivative-based importance has a long history in pruning, beginning with the second-order saliency of LeCun et al. (1989) and continuing through first-order gradient and Taylor scores for weights, channels, and structures (Lee et al., 2019; Molchanov et al., 2017; 2019) and jointly learned coupled-structure masks (Xia et al., 2022).
The same kind of evidence now drives structured compression of large language models: Ma et al. (2023) identify structurally coupled parameter groups and rank the groups using gradient-based importance, and Frantar & Alistarh (2023) prune in one shot through layer-wise second-order reconstruction, whereas Sun et al. (2024) deliberately replace gradients by a weight-magnitude and input-activation product. Closest to our concern on the score side, Tanaka et al. (2020) derive conservation laws for synaptic saliency and design a synaptic-flow score whose invariance properties avoid layer collapse. That line designs a score with an invariance in mind. GRR instead tests whether an already-deployed score is identifiable from the learned function. Our one-shot, global, and iterative pruning results show that two same-function coordinates can select different masks and produce different post-pruning validation accuracy or perplexity before any retraining occurs, and the SwiGLU MLP audit extends the same issue to feed-forward channel evidence.
B.5 PRIVACY, OPTIMIZERS, AND ADAPTERS
The same distinction applies to privacy-facing, optimizer-state, and adapter uses of gradients. DP-SGD clips per-example gradients before adding noise (Abadi et al., 2016), recent private-learning systems make clipping more structured through group-wise, per-layer, or adaptive thresholds (He et al., 2023; Xia et al., 2023), and private fine-tuning of large pretrained language models, where the clipping threshold is a tuned and utility-critical hyperparameter, is the workflow our clipping audits target (Li et al., 2022). Adam (Kingma & Ba, 2015) is explicitly motivated by invariance to diagonal rescaling of the gradients, and AdamW (Loshchilov & Hutter, 2019) builds coordinate-wise state from gradient histories, so that rescaling invariance is a statement about the chosen coordinates rather than about the represented function.
LoRA adds a further identifiability issue because Hu et al. (2022) parameterize an update through factors whose product is used by the forward pass. Recent variants apply factor-specific learning-rate scaling or rank-allocation and pruning signals to those factors (Hayou et al., 2024; Zhang et al., 2023; Liu et al., 2024). Other work preconditions factor updates with a Riemannian metric (Zhang & Pilanci, 2024) or argues that the factors should be trained differently (Zhu et al., 2024). The sensitivity-based rank budgeting of Zhang et al. (2023) softly restricts the factor gauge through an orthogonality penalty, an approximate version of the identifiability requirement that Proposition 2 characterizes exactly. GRR does not propose a better clipping rule, optimizer, or rank allocator. The audit instead tests whether the per-example, optimizer-state, and rank-coordinate evidence such workflows consume is identifiable, and our results show that clipping decisions, AdamW paired-product updates, and rank-coordinate importance can all change while the predictions are identical.
B.6 RELIABILITY TESTS FOR EXPLANATIONS
The audit is also related to reliability tests for explanations and saliency. Sundararajan et al. (2017) motivate integrated gradients with axioms such as implementation invariance, and Adebayo et al. (2018) show through model-parameter randomization tests that some saliency methods fail basic sanity checks. Closest in spirit, Kindermans et al. (2019) show that some saliency methods are not invariant to a constant input shift that leaves the network output unchanged, an input-side analogue of the parameter-side invariance tested here. Inside Transformers, Jain & Wallace (2019) construct substantially different attention distributions that leave predictions essentially unchanged, so an internal quantity that reads as an explanation need not be pinned down by model behavior, and Wiegreffe & Pinter (2019) qualify that conclusion by showing that the verdict depends on what an explanation is required to do, which is one reason GRR reports a concrete downstream decision instead of an interpretive claim.
The same reliability concern extends to training-data attribution, where gradient-based influence estimates are used to explain and debug individual predictions (Koh & Liang, 2017), are scaled to large language models through curvature approximations (Grosse et al., 2023), and have also been found fragile in deep non-convex models (Basu et al., 2021). GRR applies the same reliability philosophy to parameter-gradient evidence, moving along an exact same-function symmetry orbit and testing whether pruning, clipping, or rank-selection conclusions are preserved.
C EXACT SYMMETRY DETAILS, REMEDIES, AND PROOFS
C.1 GROUPED-QUERY ATTENTION AND EXACTNESS CONDITIONS
The gauge-invariant objects of a head are therefore the paired products and , which are also the combined query-key and value-output maps used in circuit-level descriptions of attention (Elhage et al., 2021). The individual projection matrices are only one coordinate representation of those maps, so any head-level measurement computed from a single projection factor is a statement about the representation rather than about the head.
GQA (Ainslie et al., 2023) restricts the admissible gauges but does not remove those gauges. If query heads share one key and value head, exact preservation requires the same scalar for all query heads in group :
and similarly with every output-projection slice for scaled by . Our GQA audit uses this group-wise gauge.
Exactness conditions. The attention gauges above are exact in real arithmetic under the same attention mask, the same dropout-disabled evaluation graph, and the corresponding bias transformations. Scalar Q–K scaling also commutes with RoPE rotations, which is why the Q–K gauge remains valid in the Llama-style audit, while arbitrary non-scalar Q–K mixing would generally be restricted by RoPE and by GQA sharing. V–O scaling is independent of the positional mechanism because the V–O gauge rescales the value branch and the matching output-projection slice after the attention probabilities have been computed. Fused kernels and TF32 matmuls can introduce small finite-precision differences, so our drivers disable TF32 for preservation checks and report both max-logit difference and prediction and argmax flip rates before any gradient comparison. Our main evidence uses exact symmetries only. LayerNorm (Ba et al., 2016) and RMSNorm (Zhang & Sennrich, 2019) epsilons, affine parameters, and residual additions make normalization and residual-path near-symmetries implementation-dependent or only approximate, so we exclude those near-symmetries.
Exact attention preservation. For a Q–K scalar head gauge, and , hence and the softmax input is unchanged. For V–O, and , hence for the same attention matrix . The Q, K, and V projection biases, when present, follow the respective branches; the output-projection bias is unchanged. In RoPE models, scalar commutes with every RoPE rotation, which is why scalar Q–K scaling remains exact even though arbitrary mixing is restricted.
C.2 MINIMAL EXECUTABLE GRR ATTENTION AUDIT
Listing 1 uses the same helpers as the experiment drivers. The listing compares raw and path-normalized choices of under a top- decision ; largest=False gives bottom- pruning. The preservation gate precedes both backward passes, and the transformation helpers transport the required projection biases. The shown validator defaults may be tightened for the numerical precision of a particular application.
Listing 1: Minimal executable GRR audit for a standard attention pair. The functions imported from grr are the same helpers used by the full experiment drivers.
from collections import Sequence from typing import Literal import torch from torch import nn import grr.evaluation as E import grr.metrics as M import grr.transform as T from grr.data import EncodedBatch from grr.modeling import clone_model
def minimal_grr_attention_audit( base_model: nn.Module, audit_batches: Sequence[EncodedBatch], device: torch.device, layer_index: int, pair: Literal["qk", "vo"], scales: Sequence[float], *, k: int = 3, largest: bool = True, max_forward_delta: float = 1.0e-2, max_flip_rate: float = 1.0e-3, ) -> dict[str, float]: if len(audit_batches) == 0: raise ValueError("audit_batches must be nonempty") original = clone_model(base_model, device) transformed = clone_model(base_model, device) if pair not in {"qk", "vo"}: raise ValueError(f"unknown_attention pair: {pair}") parts = {"qk": ("q", "k"), "vo": ("v", "o")}[pair] apply_gauge = { "qk": T.apply_qk_head_scaling, "vo": T.apply_vo_head_scaling, }[pair] apply_gauge(transformed, layer_index, scales)
The preservation null must pass before gradient evidence is used.
delta_f = E.max_logit_delta(
original, transformed, audit_batches, device)
flip_rate = E.prediction_flip_rate(
original, transformed, audit_batches, device)
if delta_f > max_forward_delta or flip_rate > max_flip_rate:
raise RuntimeError(
"invalid GRR audit: forward preservation failed")
E.backward_on_batches(original, audit_batches, device) E.backward_on_batches(transformed, audit_batches, device)
def paired_scores(score_fn): return (score_fn(original, layer_index, parts), score_fn(transformed, layer_index, parts))
raw_0, raw_1 = paired_scores(E.attention_head_gradient_scores) path_0, path_1 = paired_scores( E.attention_head_path_normalized_gradient_scores)
if not 1 <= k <= len(raw_0): raise ValueError(f"k must lie in [1, {len(raw_0)}]") raw_d0 = M.topk_indices(raw_0, k, largest=largest) raw_d1 = M.topk_indices(raw_1, k, largest=largest) path_d0 = M.topk_indices(path_0, k, largest=largest) path_d1 = M.topk_indices(path_1, k, largest=largest)
return { "forward_max_abs_delta": delta_f, "prediction_flip_rate": flip_rate, "raw_spearman": M.spearman(raw_0, raw_1), "raw_decision_overlap": len(raw_d0 & raw_d1) / k, "raw_decision_jaccard": M.jaccard(raw_d0, raw_d1), "path_spearman": M.spearman(path_0, path_1), "path_decision_overlap": len(path_d0 & path_d1) / k, "path_decision_jaccard": M.jaccard(path_d0, path_d1), }
C.3 SwiGLU MLP UP-DOWN SYMMETRY
Modern Llama-style decoder blocks (Touvron et al., 2023) also contain a non-attention bilinear symmetry in the SwiGLU MLP (Shazeer, 2020). With row-vector notation,
where is the gate projection, the up projection that supplies the value branch, and the down projection. Llama-style implementations typically omit these biases. In this row-vector convention, let denote column j of and denote row j of . For each intermediate channel j and scalar ,
preserves the channel contribution because the post-gate activation for channel j is multiplied by and the corresponding down-projection row is divided by . The gate branch and down-projection bias are unchanged, while only the optional up-projection bias follows the up branch. This up-down gauge gives a direct channel-level analogue of the V-O gauge and lets us test whether the GRR failure is confined to attention heads.
Exact SwiGLU up-down preservation. For an intermediate channel in a SwiGLU MLP, write and output contribution , where is a column and is a row in the row-vector convention of the main text. Under , , and , the gate term is unchanged and . Therefore for every input, while the unchanged down-projection bias is added afterward. The same chain-rule calculation as the bilinear case gives and , with the optional up-bias gradient following the up-weight gradient. Thus the raw up-column and down-row gradients scale oppositely. The transposed storage convention of common linear-layer implementations represents the up-column and down-row gradients as an up row and a down column, respectively. Euclidean channel-gradient norms and clipping thresholds therefore need not be invariant even though the MLP function is unchanged.
C.4 PRODUCT-SPACE DISPLACEMENT UNDER SCALAR GAUGES
Proposition 1 (Exact product-space displacement under a scalar gauge). Let be differentiable and suppose that, for every , the reciprocal action , is an exact function-preserving reparameterization and leaves the audited loss invariant. Evaluate all unprimed gradients at and set . Let and be the two first-order product tangents induced by a Euclidean factor-gradient step. At the same-function representative , apply learning rate in the primed coordinates and define . Then
Corollary 2 (Unbounded product-space displacement). Under the conditions and notation of Proposition 1, if either or is nonzero, can be made arbitrarily large by changing without changing the pre-update function. Consequently, neither the exact finite product-space displacement nor the first-order term is constant on the same-product scalar-gauge orbit, and hence neither is determined by alone.
Corollary 3 (Limiting directions and direction non-identifiability). Under the conditions and notation of Proposition 1, if , then
If , then
In particular, if both are nonzero and , the same-product orbit has two distinct limiting normalized displacement directions.
Corollary 2 gives the magnitude failure, while Corollary 3 identifies the two asymptotic directions and gives an explicit condition under which the two directions differ. This update-level dependence is the mechanism behind our paired-product tangent measurements. In the original coordinates, with and , one Euclidean factor-gradient step gives the exact product change
whereas, after scalar gauge, the two first-order terms are reweighted by and and the second-order term is unchanged. The function is identical before the step, but the same Euclidean gradient-descent rule in the new coordinates can represent a different first-order product-space move.
Two conventions specify the paired-product tangent in the audited architectures. For affine projection pairs, augmenting the input by a constant coordinate includes the transformed biases in the reciprocal factors. Proposition 1 then applies to the augmented product, and the reported weight-only contraction is the corresponding weight subblock. The SwiGLU diagnostic analogously contracts the up-down weight-product subblock with the gate branch held fixed. The optional up-projection bias can be included in the augmented up factor. In these experiments, paired-product tangent denotes the first-order paired weight-product contraction ; the tangent omits the common factor and the term and is not the complete output- or logit-space tangent. The classifier-factor and LoRA diagnostics use the full effective product directly.
C.5 LOW-RANK COORDINATE IDENTIFIABILITY
Proposition 2 (Characterization of rank-coordinate-preserving gauges). Let have rank , let , and let . Under and , define the th coordinate component . Then . Moreover, the components agree with the original components up to one relabeling, meaning for every and some permutation , if and only if is monomial. Here a monomial matrix is the product of an invertible diagonal matrix and a permutation matrix.
Corollary 4 (Rank-coordinate ablation is not -identifiable). Under the conditions of Proposition 2, if G is non-monomial, then for every permutation of there exists an index i such that
Thus the family of coordinate-deletion interventions is not identifiable, even up to relabeling, under the full action, although the unablated product is preserved.
The preceding characterization and corollary are qualitative: A mixing gauge changes the coordinate components. The next result quantifies the entire orbit of a single coordinate deletion and shows that the ambiguity has no finite upper bound.
Theorem 3 (Exact orbit range of rank-coordinate component magnitudes). Let , let have full column rank, let have full row rank, and set . For and , define
Then the exact attainable range of component magnitudes is
where is the smallest nonzero singular value of M.
Corollary 5 (Unbounded coordinate-deletion effect). Under the conditions of Theorem 3, let be the product after deleting coordinate i. Then
Thus a fixed labeled rank coordinate can represent an arbitrarily large product-space ablation while the unablated product M remains fixed.
C.6 ADDITIONAL SYMMETRY-AWARE REMEDY DETAILS
Scalar-gauge canonicalization. For scalar gauges, we choose a canonical representative by balancing paired norms. For with , the scalar gauge
sets exactly. We refer to the procedure in Sec. 3.4 as canonical balancing, which fixes the scalar gauge. The balanced representative of Sec. 3.4 is constant on each positive-scalar orbit: Balancing both and for any produces the same pair.
In the attention remedy experiments, the canonical scale is computed from the paired weight slices, while every transformed Q, K, or V bias is transported by the same branch scale; for low-rank factors, each column is balanced against the corresponding row. The checkpoint-scale audit instead reports norms of the complete branch blocks, including projection biases when present.
Scalar invariance of Taylor and path-normalized scores. The path-normalized score is a baseline related to path-normalized and product-normalized methods. The cancellation covers reciprocal scalar gauges; the cancellation does not cover non-diagonal mixing or decisions whose components the gauge fails to preserve. The coordinate-wise score used in Taylor pruning (Molchanov et al., 2017; 2019) and the block score are stable under reciprocal scalar rescaling of paired coordinates. Each parameter and the corresponding gradient scale in opposite directions, so the scale cancels within each product: If and , then . For a uniformly rescaled block with and , the block product is likewise unchanged, preserving the path-normalized score of Sec. 3.4. In our experiments, these two scores act as controls. This invariance guarantee is limited to scalar rescaling: Non-diagonal mixing changes rank bases, and coordinate-wise absolute or block-normalized scores need not identify function-level components.
Diagonal empirical-Fisher normalization and invariance. As a stronger baseline related to natural-gradient and Fisher-scaled methods (Amari, 1998; Martens & Grosse, 2015), and to diagonal Fisher scores used as per-parameter importance estimates (Kirkpatrick et al., 2017), we test a diagonal empirical-Fisher-normalized head score. For coordinate , let
For a head with coordinates , define
Specifically, under , the gradient and empirical-Fisher terms obey and . Hence every defined undamped summand is invariant when and ; with fixed damping, the transformed summand is . The score is therefore much less sensitive than a raw Euclidean norm when damping is negligible and the same examples estimate . Because the empirical Fisher is not the Fisher and need not capture curvature (Kunstner et al., 2019), we use the empirical Fisher as a scale-normalizing baseline rather than as a curvature model.
Function-space scores. Parameter gradients are coordinate-dependent, but the output change induced by an intervention transported to remove the same functional path is coordinate-invariant. For component , define
where removes the same head output path. This ablation score is not a raw gradient score but a function-space control used to test whether a gradient-based conclusion agrees with an invariant intervention.
Quotient view. Let a symmetry group act by with . The orbit should be identified as one learned function. Infinitesimal symmetry directions form the vertical space
where is the function Jacobian on the audit distribution. At regular points where the orbit space is a smooth quotient, reliable evidence should be defined on
This tangent-space identification is the standard quotient-manifold construction of Riemannian optimization on matrix manifolds (Absil et al., 2008). We use that construction here as a measurement space rather than as a search space.
C.7 FULL-GL(r) BILINEAR REMEDIES
For the bilinear factors that underlie LoRA, classifier factorizations, and admissible attention-product gauges, let
Bilinear fibers and orbits. For full-rank factors, every fiber of is exactly one orbit. If for , then there is a unique such that and . Indeed, the two products have the same -dimensional column space, so and are two bases related by a unique . A left inverse of then gives the relation between the factors. Hence a full-gauge-invariant quantity on is determined by the product .
Full-gauge gradient envelope. To complement the invariant score in Sec. 3.4, we quantify exactly how much a raw Euclidean factor-gradient norm can vary over one full-gauge orbit. The resulting envelope also separates clipping thresholds that are forced by the product differential from thresholds whose decisions can be reversed by coordinates.
Theorem 4 (Exact full-gauge envelope of Euclidean gradients). Let , let be differentiable, and write and . Assume . For , set
Then the exact attainable range over the same-product orbit is
where is the nuclear norm. In particular, the lower endpoint is full-GL(r)-invariant.
Corollary 6 (Coordinate identifiability of Euclidean factor clipping). Under the conditions of Theorem 4, for any finite clipping threshold and the convention , one has
If , both and occur at same-product representatives. Thus, outside the always-clipped regime, raw Euclidean factor clipping is not factorization-identifiable at fixed .
Further interpretation of the product-manifold score. The factor-only expression in Eq. 14 is computable without forming , and Theorem 2 identifies the expression as a Frobenius norm, hence as a nonnegative quantity.
Rank-coordinate labels remain basis-dependent under non-diagonal gauges by Corollary 4. Theorem 2 and Corollary 1 supply a positive counterpart to the non-identifiability results: Whenever the forward loss depends on a full-rank pair only through the product of that pair, whole-product or whole-head first-order evidence can be measured by the fixed-rank product-manifold gradient norm even under non-diagonal mixing. That product-manifold score is the norm of the gradient of , not in general the ambient norm : The normal component is invisible to factor gradients.
The same Gram factors and appear in Riemannian preconditioners that accelerate LoRA training (Zhang & Pilanci, 2024); here the Gram factors are used to report a gauge-invariant measurement rather than to precondition an update. Separate factor regularization, including untransported weight decay, violates the product-only assumption and must be audited as part of the optimization rule rather than absorbed into these results.
Practical roles and costs. We use function-space ablation as a control for pruning and ablation claims because the ablation targets the same functional intervention. The control costs one forward pass per component or mask, provided that the intervention still denotes the same component after relabeling. Path-normalized scores are a lower-cost screen for reciprocal scalar gauges in Q–K, V–O, and up–down pairs and require only the baseline backward pass, but such scores do not address non-diagonal mixing or gauges that change component identities. Canonical balancing requires no additional gradients and is useful for debugging plots, pruning screens, and LoRA A and B scale audits, but the procedure selects a representative coordinate rather than defining a quotient metric.
Diagonal empirical-Fisher normalization targets coordinate-wise scalar scaling and is most practical when per-example gradients are already available; the quality of that normalization depends on damping, sample noise, and neglected off-diagonal structure, and the normalized score does not cover full gauges. The exact quotient-gradient norm in Corollary 1 handles full for identifiable full-rank products at the cost of small Gram-system solves, and that norm yields fixed-rank paired-product tangent rather than rank-coordinate evidence. Paired-product tangents require one backward pass plus product contractions and audit optimizer-step consequences in identifiable products. Finally, a GRR decision audit duplicates the score and downstream decision under a verified same-function transform. The decision audit is therefore the reliability check to run before gradient evidence is treated as functional evidence.
Invariant quantities. Input gradients of a fixed scalar function stay unchanged wherever the function is differentiable, which is why input-side attributions (Sundararajan et al., 2017) are outside the scope of the coordinate-dependence failure. Exact natural gradients can also be reparameterization-invariant when the metric is transported correctly (Martens, 2020). For a bilinear product, Theorem 2 recovers the Frobenius norm of the product-manifold gradient from the factor gradients, and Corollary 1 shows that the product-manifold gradient norm is unchanged by any invertible change of factor basis. Taylor and path-normalized scores also stay unchanged under reciprocal scalar rescaling, but this cancellation of reciprocal scale factors does not cover general basis mixing. Appendix C.6 gives the details. Our failure claim concerns raw Euclidean measurements and diagnostics whose approximations retain coordinate dependence.
C.8 SCALAR-GAUGE RESULTS AND PROOFS
The joint score of one factor pair has a simple exact range under the same scalar gauge.
Lemma 1 (Exact scalar-gauge score range). Let be differentiable and suppose that, for every , the reciprocal action , is an exact function-preserving reparameterization and an exact symmetry of the audited loss, so that . At a fixed representative, set and , and assume . Define
Then the exact attainable score range is
The distortion of raw gradient scores can therefore change which components appear most important. When a model contains independently gaugeable components, the same-function orbit can realize every possible raw component ranking.

(c) Decision stability

Figure 2: Executing Lemma 1 and Theorem 1 on a trained checkpoint. (a) Each head's raw score follows the corresponding exact scalar-gauge orbit; circles mark the checkpoint and diamonds the constructed representative. (b) Applying the constructive proof exactly reverses the 12-head ranking. (c) Raw top-3 overlap becomes 0, whereas path-normalized, canonically balanced, and function-space decisions are unchanged. Engineered scales lie in [0.159, 4.53]; the maximum logit difference is ; prediction flips are 0.0%; and realized scores deviate from the prescribed score targets by at most in relative terms.
The function does not determine the raw ranking. Theorem 1 shows that the same model can have any raw component ranking when only the factor scales change. A component ranked last can become first, and the entire ranking can be reversed, while every prediction stays the same. Every ordering is possible because the components can be rescaled independently and each component's score has no finite upper bound. The gradients remain valid derivatives in each coordinate system, but raw gradient magnitudes do not establish which components matter to the learned function.
Corollary 7 (Arbitrary raw top-k sets). Under the conditions of Theorem 1, for every integer k with , every prescribed subset of k components can be made the raw top-k set by same-function scales, without changing any product or the represented function.
Corollary 7 extends the arbitrary-ranking result to component selection: A pipeline that takes the top-k components by these raw scores can return any prescribed set along the same-function orbit. The same holds for bottom-k pruning, since any set of k components can occupy the lowest k positions. Rescaling can therefore change which components are removed while every prediction before removal stays the same. In a workflow, such a change in selection can be an unintended consequence of rescaling factors for another purpose.
The proof gives explicit factor scales for a prescribed raw ranking. Figure 2 applies this construction of factor scales to a DistilBERT checkpoint, reversing the raw head ranking while preserving predictions and symmetry-aware conclusions.
Figure 2 executes the ranking construction on a trained DistilBERT SST-2 checkpoint. The figure uses the most rank-discordant Q-K layer audit and the same 128-example audit prefix as the quantitative results.
Proof of Lemma 1. The inverse coordinate change is and . The symmetry gives the function identity . Differentiating this loss symmetry identity with respect to and then evaluating at gives
Therefore
Set . The arithmetic–geometric mean inequality yields
(43) with equality if and only if . The left-hand side is continuous on and tends to infinity as either or . Continuity and the two limits already give the image of the left-hand side as . For completeness, any target is attained explicitly by solving . The discriminant is positive, and
gives a valid scale . This explicit scale construction proves the exact range of S.
Proof of Theorem 1. For each , set and . Lemma 1 applies independently to every component. Now fix any permutation . Choose strictly larger than , choose any , and set for . The lemma supplies an independent positive satisfying . These scores have the prescribed strict ordering. Finally, for every , and the assumed reciprocal actions are function-preserving. Thus all of these rankings lie on the same-function orbit.
Proof of Corollary 7. Given a desired top- subset, choose a permutation whose last indices are precisely that subset and apply Theorem 1. The resulting scales preserve every product and the represented function while making that subset the raw top- set.
Proof of Proposition 1. The loss symmetry and the same chain-rule calculation as in Lemma 1 give and . Therefore one Euclidean gradient step in the primed coordinates is
Multiplication gives the exact identity
This expansion of the factor product gives the claimed exact displacement.
Proof of Corollary 2. Using Proposition 1, set . If , then
Taking norms in this displacement limit gives , so is unbounded. Similarly, if , then
which again implies unboundedness. The same two rescalings with the term omitted show that the first-order displacement is unbounded under the same respective nonzero conditions. Since the pre-update product is for every , neither displacement is determined by alone.
Proof of Corollary 3. If , Proposition 1 gives as . The limit is nonzero, so for all sufficiently large , and normalization gives
Similarly, if , then as , so for all sufficiently small positive and
When both limits exist and the two normalized leading terms differ, the limiting directions are distinct, proving the final claim.
C.9 PROOFS OF LOW-RANK COORDINATE RESULTS
Proof of Proposition 2. Because , the matrix has full column rank and has full row rank. Hence there exist a left inverse of and a right inverse of . First,
Suppose that the transformed components agree with the original ones up to a permutation . Then for every . Multiplying on the left by and on the right by yields
The range of the matrix on the left is , whereas the range on the right is . Therefore for some . Since is a permutation, has exactly one nonzero entry in every row and column; that is, is monomial.
Conversely, write a monomial matrix as , where is a permutation matrix and is invertible diagonal. Since commutes with every , we have for the permutation represented by , and consequently . The two directions together prove the claimed equivalence.
Proof of Corollary 4. For a non-monomial , Proposition 2 rules out every global relabeling that preserves all components. Hence, for each permutation , there is an index with . Subtracting both sides from the same unablated product gives , which proves non-identifiability even up to relabeling.
Lemma 2 (Orbit of a rank-coordinate projector). For any fixed ,
Proof. For any , set and . Then and . Conversely, suppose satisfy . The vector does not belong to . Choose a basis of and form a matrix whose th column is and whose other columns are the chosen basis vectors, in any fixed order. These columns form a basis of , so is invertible. Moreover, , and hence . Therefore . The two inclusions together prove the claimed set equality.
Proof of Theorem 3. Fix . By Lemma 2, the remaining task is to optimize the size of over satisfying . Define the positive-definite Gram matrices and . Since is an outer product,
For every pair satisfying , Cauchy–Schwarz applied to and gives
For fixed nonzero u, equality holds for
which also satisfies . The Gram identity in Eq. 55 then gives
The last equality is the Rayleigh–Ritz characterization after the substitution .
To identify the minimum eigenvalue, let . Then
The nonzero eigenvalues of and coincide. Both have exactly positive eigenvalues because and have the stated full ranks. Hence the right-hand side of Eq. 58 is . Equality is attained: Take a unit eigenvector for the smallest eigenvalue, set , and choose by Eq. 57. Thus the lower endpoint in Eq. 26 is attained.
We now show that every larger magnitude is attained as well. Because , choose a nonzero with , and define for . Then for every . Full row rank of makes injective, so . Full column rank of also gives . Moreover, , so
The coefficient of is strictly positive, so the constructed path of rank components attains every value in . Together with the global lower bound and the orbit characterization above, this construction of rank components proves Eq. 26.
Proof of Corollary 5. Since , deleting coordinate changes the product by exactly . The first asserted range for follows immediately. Along any sequence for which , the reverse triangle inequality gives
which proves the final claim.
C.10 PROOFS OF FULL-GAUGE BILINEAR RESULTS
Lemma 3 (Exact trace range under positive-definite balancing). Let be symmetric positive definite. Then
The minimum is attained uniquely at
Proof. Set and . Both matrices are positive definite, and
The following identity is an exact matrix square completion:
Cyclicity gives , and each cross term in the squared norm has trace . Equality in Eq. 65 holds if and only if , which, after left multiplication by , is equivalent to . This equality condition gives the stated unique minimizer .
Let . At , each trace term equals . Therefore, along the ray with ,
As ranges over , has exact range . Together with the global lower bound, this ray construction proves the claimed range.
Proof of Theorem 4. At the same-product representative , the ordinary factor gradients transform as
The transformation rule follows either from the chain rule or directly by writing and for . In particular,
so the matrix appearing in the lower endpoint of Eq. 37 is gauge-invariant.
The full-rank assumptions make and positive definite. Let . A cyclic-trace calculation gives
Conversely, every positive-definite has a factorization with . Thus ranging over gauges is equivalent to ranging the right-hand side of Eq. 69 over .
By Lemma 3, the squared joint gradient norm has exact range
The remaining step is to identify the lower endpoint. The squared singular values of are the positive eigenvalues of , which coincide with the eigenvalues of . Hence
so taking square roots of the range supplied by the lemma gives exactly Eq. 37.
Proof of Corollary 6. For a finite threshold , if , the lower bound forces every representative to be clipped. If the reverse weak inequality holds, a minimizing gauge has and is not clipped, while the unbounded part of Eq. 37 supplies another gauge with . These two cases prove Eq. 38 and the stated two-sided attainability.
Proof of Theorem 2. Let . The product differential and the Frobenius inner product give
Consequently,
For completeness, the differential of the product map has image
The kernel of that differential is , so the image has dimension and is the full tangent space. The matrices and are the orthogonal projectors onto and . A matrix is Frobenius-orthogonal to every tangent if and only if and . Hence the normal projection of is , and the tangent projection is
For every tangent , orthogonality of the projection gives
Thus this tangent projection is exactly the Riemannian gradient of the restriction of to under the Frobenius metric.
The three blocks , , and are pairwise orthogonal in the Frobenius inner product. This pairwise Frobenius orthogonality gives
Using idempotence and symmetry of the projectors together with the factor-gradient identities above, the first two terms are
Moreover, , so a direct cyclic-trace calculation yields
Substitution into Eq. 77 proves both Eq. 14 and Eq. 15.
Proof of Corollary 1. Under , the product and hence are unchanged. In addition, direct substitution shows and . The projected-gradient norm is therefore invariant under every , and the factor-only expression is equal to that same invariant norm. Finally, the norm vanishes if and only if lies in the normal space, equivalently if and only if and . By the factor-gradient identities in the proof of Theorem 2, these conditions are exactly .
D ADDITIONAL EXPERIMENTAL DETAILS
D.1 SETUP
We evaluate on SST-2, MNLI, QNLI, and MRPC from GLUE (Wang et al., 2019). SST-2 is based on the Stanford Sentiment Treebank (Socher et al., 2013), MNLI on the Multi-Genre Natural Language Inference corpus (Williams et al., 2018), and MRPC on the Microsoft Research Paraphrase Corpus (Dolan & Brockett, 2005). We use public fine-tuned checkpoints and six independently trained LoRA adapters. For SST-2, we audit all attention layers of DistilBERT (Sanh et al., 2019) and BERT-base (Devlin et al., 2019), together with selected early, middle, and late layers of ELECTRA-base (Clark et al., 2020) and RoBERTa-base (Liu et al., 2019), in the main GLUE sweep. For MNLI, QNLI, and MRPC, we audit selected early, middle, and late RoBERTa-base layers. MNLI labels are remapped to the RoBERTa convention of contradiction, neutral, and entailment.
GLUE validation accuracy and pruning accuracy use full validation splits. Accuracy differences between decisions made in two same-function coordinates are reported in percentage points, abbreviated pp in tables. Gradient-score audits use 128 validation examples, and per-example clipping audits use 48 examples. To test statistical robustness, we run 324 DistilBERT SST-2 audits over all six layers, shuffled validation subsets of size 32, 128, and 256, three shuffled seeds, Q-K and V-O pairs, and mild, medium, and aggressive gauge ranges. We run all-layer 96-audit checks for BERT-base, ELECTRA-base, and RoBERTa on SST-2, as well as RoBERTa on MNLI, QNLI, and MRPC, with subset size 128, two shuffled seeds, Q-K and V-O pairs, and mild and aggressive gauge ranges.
Because clipping decisions are especially sensitive to audit-set size, a separate 216-audit DistilBERT on SST-2 clipping robustness suite covers all six layers, 48- and 128-example shuffled subsets, three shuffled seeds, Q-K and V-O pairs, and mild, medium, and aggressive gauge ranges. A 256-example clipping holdout covers early, middle, and late DistilBERT layers, a held-out seed, both attention pairs, and all three gauge ranges. Appendix E records the exact seed value used by each suite.
As a cross-domain check, we also audit all 12 layers of a ViT-base checkpoint fine-tuned on CIFAR-10 (Dosovitskiy et al., 2021; Krizhevsky et al., 2009), using the Hugging Face identifier nateraw/vit-base-patch16-224-cifar10. We evaluate accuracy and pruning effects on the full 10,000-image CIFAR-10 test split, compute gradients on 256 test images, and compute per-example clipping on 48 images. The ViT experiment is reported separately from the GLUE aggregate because the modality differs.
To test whether the phenomenon extends beyond encoder classification, we audit decoder-only next-token language modeling on WikiText-2 (Merity et al., 2017). We use GPT-2-medium and GPT-2-large (Radford et al., 2019) and a Llama-style (Touvron et al., 2023) GQA model, TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T (Zhang et al., 2024). For GPT-2-medium, we audit all 24 layers, evaluate perplexity on 128 contiguous 128-token test blocks, compute gradients on 32 validation blocks, and compute per-sequence clipping on 16 validation blocks. A GPT-2-medium global V-O pruning profile covers all 384 heads with mild, medium, and aggressive gauges, a 15% global head budget, the same 128 test blocks, and 32 validation audit blocks.
The remaining decoder-only audits follow the same structure at smaller evaluation budgets. For GPT-2-large, we audit all 36 layers with 64 test blocks, 16 validation audit blocks, and eight per-sequence clipping blocks, together with a global V-O pruning profile over all 720 heads under the same profile family and a 15% budget. For TinyLlama, we audit all 22 attention layers with 64 test blocks, eight validation audit blocks, and eight per-sequence clipping blocks; the 32 TinyLlama query heads share four key and value heads, so the audit uses the group-wise gauge described above. We also audit the TinyLlama SwiGLU MLP up-down symmetry on layers 0, 11, and 21 using
Table 4: Real-task baselines and audit scale. Here and in every later table, GLUE accuracies use full validation splits, CIFAR-10 uses the full 10,000-image test split, and WikiText-2 uses fixed public evaluation subsets for the decoder-only audits. Global-profile sweeps are reported separately and are not included in the audit counts below.
| Model | Task | Metric | Audit count | Eval n |
|---|---|---|---|---|
| DistilBERT fine-tuned | 91.06% | 12 | ||
| BERT-base fine-tuned | SST-2 | 92.43% | 24 | 872 |
| RoBERTa-base fine-tuned | 94.04% | 6 | ||
| ELECTRA-base fine-tuned | 95.18% | 6 | ||
| RoBERTa-base fine-tuned | MNLI-m | 88.10% | 6 | 9,815 |
| RoBERTa-base fine-tuned | QNLI | 92.68% | 6 | 5,463 |
| RoBERTa-base fine-tuned | MRPC | 91.18% | 6 | 408 |
| DistilBERT rank-16 LoRA, 3 seeds | SST-2 | 89.87% (89.68%, 90.25%) | 3 adapter audits | 872 each |
| RoBERTa rank-8 LoRA, 3 seeds | MRPC | 90.28% (89.95%, 90.69%) | 3 adapter audits | 408 each |
| ViT-base fine-tuned | CIFAR-10 | 98.51% | 24 | 10,000 |
| GPT-2-medium pretrained | WikiText-2 | ppl. 46.75 | 48 | 16,256 tokens |
| GPT-2-large pretrained | ppl. 45.07 | 72 | ||
| TinyLlama 1.1B GQA pretrained | ppl. 18.77 | 44 | 8,128 tokens | |
| TinyLlama 1.1B SwiGLU MLP | ppl. 18.77 | 3 MLP audits | ||
| Total direct attention-pair audits | All tasks | Count | 254 | Varies |
| Additional MLP channel audits | WikiText-2 | 3 | 8,128 tokens |
the same WikiText-2 blocks and top-128 channel rankings over all 5,632 intermediate channels. Because exact forward preservation is the audit precondition, the experiment drivers disable TF32 matrix multiplication and use FP32 matmuls for the preservation checks.
The experiment code is organized as a single audit suite. Separate drivers run the main GLUE audit, the trained LoRA audits and rank-pruning recovery curves, the subset and scale robustness suite, the clipping robustness suite, the ViT layer-level audit, the ViT full-test global-pruning calibration, the decoder-only WikiText-2 attention, global-pruning, and MLP audits, the one-shot and iterative pruning pipelines, profile-wise global-pruning scale calibrations for RoBERTa on SST-2, QNLI, and MRPC, the downstream-remedy audit, the AdamW optimizer-state audit, the checkpoint-scale audit, and the training-time imbalance calibration.
A multi-GPU suite runner can execute these drivers as independent GPU-isolated shards and merge the shard outputs into a single result table, while a validation script checks the reported invariants: baseline quality, forward-preservation tolerances for logit drift and prediction and argmax flip rates, finite numeric fields, unique result keys, and expected evidence rows including the ViT and cross-task global-pruning profiles. A lightweight summarization script reconstructs the reported aggregates directly from that result table. The runs were executed on a 4×H100 node; each audit uses deterministic seeds and records the exact model tag, task, transform, metric, and sample count in the table.
The exact public model identifiers are distilbert-base-uncased-finetuned-sst-2-english, textattack/bert-base-uncased-SST-2, howey/electra-base-sst2, textattack/roberta-base-SST-2, textattack/roberta-base-MNLI, textattack/roberta-base-QNLI, textattack/roberta-base-MRPC, nateraw/vit-base-patch16-224-cifar10, gpt2-medium, gpt2-large, and TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T. The trained LoRA experiments start from distilbert-base-uncased for SST-2 and textattack/roberta-base-MRPC for MRPC. GLUE splits, MNLI label remapping, audit subset sizes, gauge scales, pruning fractions, and fine-tuning recipes are encoded in the experiment drivers and serialized into a companion run-details record. Every table is therefore traceable to a row filter over the result table.
D.2 AUDIT ROADMAP AND WORKFLOW CONFIGURATION
Every experiment begins from numerically verified same-function coordinates. The layer-level audits test score, ranking, clipping, and downstream-decision stability; the global and iterative pruning and LoRA studies test complete workflows. The ViT, decoder-only, GQA, and SwiGLU audits ex-
(a)
GLUE attention audits (n = 66)

(b)
(c)
DistilBERT SST-2 gauge sweep
(d)


Figure 3: Summary GRR diagnostics. (a) Raw GLUE attention gradients and paired-product tangents have low same-function top-3 agreement, whereas path-normalized, function-space, and canonically balanced scores are stable under the scalar gauges tested; bars show medians and pale bands show observed ranges. (b) Decoder-only raw rankings and pruning masks also have low agreement. The scale sweeps in (c) and (d) show that DistilBERT stability decreases smoothly as the gauge range grows, with zero prediction flips; shading gives bootstrap 95% confidence intervals for the mean.
tend the same protocol across modalities and architectures, while checkpoint-scale and training-time measurements calibrate the stress-test gauges against naturally occurring imbalance. Function-space ablation, path normalization, canonical balancing, diagonal Fisher normalization, and the ViT input-pixel gradient serve as controls for the symmetries or coordinate systems each control targets. The analytical range and quotient results in Appendix C characterize the corresponding worst cases and invariant alternatives.
Figure 3 summarizes the cross-setting empirical pattern and the scalar-gauge controls used throughout these audits.
The main 12-head GLUE and ViT layer audits and one-shot global audits use the aggressive scale vector
The robustness sweeps and experiments with other numbers of heads, shared groups, or channels use geometric spacing over the applicable mild [0.5, 2.0], medium [0.25, 4.0], or aggressive [0.125, 10.0] range. The 12-head global-profile driver uses the same 12-head scale vector for the aggressive case. For classifier factors, we use both diagonal gauges and non-diagonal gauges.
For the trained LoRA adapters, we train DistilBERT-base on SST-2 for 3 epochs under three training seeds with rank 16, , dropout 0.05, AdamW, linear warmup, and LoRA modules on the Q, K, V, and O projections. We also train rank-8 RoBERTa adapters on MRPC from the public textattack/roberta-base-MRPC checkpoint with , the same three seeds, LoRA modules on the Q, K, and V projections, and the classifier saved with the adapter.
As a more pipeline-like pruning check, we run four rounds of iterative global V–O pruning or top-head ablation with RoBERTa on MRPC. Each round recomputes raw gradients on the current masked model, selects seven additional heads out of 144, zeros the output paths of those heads, and evaluates on the full validation split. The original, reparameterized, and canonically balanced runs start from same-function coordinates and use the same audit subset.
For LoRA rank-pruning recovery, each seed uses the bottom-25% rank coordinates selected by the original and reparameterized raw rank-gradient scores. Both selected rank sets are applied to the same original trained adapter, pruned LoRA ranks are kept zero by masking A rows and B columns, and the remaining trainable adapter and classifier parameters are recovered for 2 epochs. DistilBERT on SST-2 uses the full SST-2 train split with AdamW, learning rate , warmup ratio 0.06, weight decay 0.01, batch size 64, and gradient clipping at 1.0. RoBERTa on MRPC uses the full MRPC train split with learning rate and batch size 32, matching the smaller task.
Finally, profile-wise global V–O pruning calibrations cover RoBERTa on SST-2, QNLI, and MRPC, ViT on CIFAR-10, and GPT-2-medium and GPT-2-large on WikiText-2. The GLUE global-pruning calibrations use the full validation split for each task, the ViT global calibration uses the full 10,000-image CIFAR-10 test split, and the GPT-2 global calibrations use 128 contiguous WikiText-2 test blocks for GPT-2-medium and 64 blocks for GPT-2-large. All use mild, medium, and aggressive same-function V–O gauge profiles and fixed audit subsets for gradients.
The remaining audits are a ViT input-pixel gradient control, a targeted downstream-remedy audit on the layer-11 V–O pair of RoBERTa on MRPC, an AdamW optimizer-state audit, a checkpoint-scale audit, and a training-time imbalance calibration. The ViT input-gradient control applies the same three global V–O profiles and compares supervised-loss gradients with respect to normalized input pixels on 32 CIFAR-10 test images, after freezing parameter-gradient storage. The downstream-remedy audit estimates diagonal empirical-Fisher scores from 64 per-example validation gradients and computes a clipped paired-product tangent in the style of differentially private stochastic gradient descent (DP-SGD), using the original median target-pair norm as clipping threshold. The AdamW optimizer-state audit accumulates first and second moments over 512 MRPC training examples without changing parameters, compares directly accumulated transformed moments to moments transported from the original coordinate, and then compares the one-step AdamW paired-product tangent.
The checkpoint-scale audit measures the natural per-head Q–K and V–O paired norm imbalance in the eight public encoder and ViT checkpoints used above. The training-time imbalance calibration fine-tunes distilbert-base-uncased on the full SST-2 train split for 3 epochs with AdamW and records all-layer paired norm imbalance after each epoch. These calibrations quantify the mild same-function scale variation already present in trained checkpoints and in a standard full-model fine-tuning run.
D.3 FORWARD PRESERVATION
Table 5 summarizes the preservation checks by transformation family. All classification, robustness, factor, and global-profile audits have zero prediction flips. Decoder-only audits also have zero next-token argmax flips except for one finite-precision GPT-2-large layer-9 Q–K case, where one audited position flips at a rate of 0.0492%; the median remains zero. The largest logit difference is for GPT-2-medium, whose audited argmax predictions are unchanged. Thus every subsequent comparison begins from a transformation that passes the forward-preservation gate, with the sole numerical exception reported explicitly.
Table 5: Forward preservation summary. Nonzero logit differences are finite-precision effects from rescaling trained floating-point weights. Every audit in the later tables starts from coordinates verified here, so prediction and argmax flip rates are zero unless stated otherwise.
| Transformation family | Audits | Max logit difference | Prediction and argmax flips |
|---|---|---|---|
| GLUE layer Q-K and V-O attention gauges | 66 | 0 | |
| ViT attention gauges on CIFAR-10 | 24 | 0 | |
| ViT global V-O profiles on CIFAR-10 | 3 | 0 | |
| GPT-2-medium attention gauges on WikiText-2 | 48 | 0 | |
| GPT-2-large attention gauges on WikiText-2 | 72 | max 0.0492% | |
| GPT-2-medium global V-O profiles on WikiText-2 | 3 | 0 | |
| GPT-2-large global V-O profiles on WikiText-2 | 3 | 0 | |
| TinyLlama group-wise attention gauges on WikiText-2 | 44 | 0 | |
| TinyLlama SwiGLU MLP gauges on WikiText-2 | 3 | 0 | |
| Subset and scale robustness gauges | 900 | 0 | |
| Clipping robustness gauges, main and holdout | 234 | 0 | |
| Global all-layer gauges, including 3 ViT profiles | 26 | 0 | |
| Classifier-factor gauges | 14 | 0 | |
| Trained LoRA factor gauges | 6 | 0 |
D.4 LOW-RANK FACTOR COORDINATES
Across seven classifier heads, exact diagonal factor gauges preserve logits but change factor-coordinate evidence. Rank-gradient mean ratios have median 3.25 and range from 3.07 to 4.55. Raw paired-product tangent ratios have median 14.73 and range from 12.54 to 21.74. Clipping flip rates have median 39.6% and range from 22.9% to 50.0%. Function-space rank ablation under diagonal gauges is numerically invariant, with mean ratios from 0.99999994 to 1.00000003.
Non-diagonal gauges give another failure mode. Such gauges preserve the classifier weight but rotate the rank basis, so neither a labeled rank-coordinate component nor the corresponding coordinate-deletion intervention is identifiable. Raw rank-gradient mean ratios have median 2.76 and range from 1.83 to 4.11. Paired-product tangent ratios have median 11.21 and range from 6.69 to 17.32. The median clipping flip rate is 29.2%. Coordinate-ablation mean ratios range from 0.906 to 1.532. Canonical balancing returns the median gradient ratio to 1.00 for the diagonal scalar gauge, but balancing does not resolve this full-basis ambiguity. These results show that LoRA rank importance is basis-dependent unless defined through the product or a fixed gauge.
D.5 TRAINED LORA ADAPTERS
We evaluate six trained LoRA adapters in two settings that vary the dataset, base model, and rank budget. Three rank-16 DistilBERT adapters are trained on SST-2 for three epochs with three seeds, yielding mean validation accuracy 89.87% across runs that range from 89.68% to 90.25%. Three rank-8 RoBERTa adapters are trained on MRPC from textattack/roberta-base-MRPC for three epochs, yielding mean accuracy 90.28% across runs that range from 89.95% to 90.69%. We audit all LoRA A and B factors in the attention projections: 384 rank coordinates per DistilBERT seed and 288 per RoBERTa seed. Exact diagonal LoRA gauges produce no prediction flips; maximum logit differences are and , respectively.
The rank-coordinate evidence is consistently unstable in both settings. For DistilBERT on SST-2, raw rank-gradient top-12 overlap has median 0.417 and paired-product tangent top-12 overlap has median 0.250, with median tangent ratio 5.25. For rank-8 RoBERTa on MRPC, the corresponding medians are 0.333, 0.250, and 5.08. Per-example clipping decisions flip for a median 8.33% of SST-2 examples and 14.58% of MRPC examples. Canonicalizing A and B in both same-function coordinates restores top-12 overlap to 1.000 for both gradient and paired-product tangent scores in all six adapters. The same dependence changes adapter-compression masks. Section D.6 and Table 6 report the rank-pruning, ablation, and recovery results.
D.6 TRAINED LORA ADAPTER COMPRESSION AND RECOVERY
The coordinate dependence also changes adapter-compression decisions. Pruning the bottom 25% of LoRA rank coordinates by raw rank-gradient score gives median rank-set Jaccard 0.401 for DistilBERT on SST-2 and 0.455 for RoBERTa on MRPC. Top-25% ablation gives median Jaccard 0.297 and 0.500, respectively. Accuracy gaps are smaller than the rank-set disagreement: Median bottom-pruning gaps are 0.34 percentage points for SST-2 and 0.00 for MRPC, while median top-ablation gaps are 1.03 and 0.25 percentage points. The rank identities selected by raw gradient evidence are therefore not functionally identifiable, even when validation accuracy is partially buffered.
We then run rank-pruning recovery curves for the bottom-25% masks. Both masks are applied to the same original trained adapter, so the two runs differ only in the rank sets selected by the original and reparameterized gradient scores. After two recovery epochs, the median coordinate-induced gap is 0.23 percentage points for SST-2 and 0.00 for MRPC; the maximum MRPC gap is 0.49 percentage points. Recovery can absorb part of the utility loss, but recovery does not make the selected rank sets agree. Thus PEFT compression analyses based on raw factor-gradient rank coordinates should be audited or expressed through product-space quantities.
Table 6: Trained LoRA adapter audits over six training runs: three rank-16 DistilBERT adapters on SST-2 and three rank-8 RoBERTa adapters on MRPC.
| Measurement | DistilBERT on SST-2 | RoBERTa on MRPC |
|---|---|---|
| Baseline accuracy | mean 89.87% | mean 90.28% |
| Raw rank-gradient top-12 overlap | med. 0.417 | med. 0.333 |
| Raw paired-product tangent top-12 overlap | med. 0.250 | med. 0.250 |
| Raw paired-product tangent mean ratio | med. 5.25 | med. 5.08 |
| Canonical gradient and product top-12 overlap | 1.000, 1.000 | 1.000, 1.000 |
| Per-example clipping flip rate | med. 8.33% | med. 14.58% |
| Bottom-25% rank pruning, rank-set Jaccard | med. 0.401 | med. 0.455 |
| Bottom-25% rank pruning, accuracy gap | med. 0.34 pp | med. 0.00 pp |
| Top-25% rank ablation, rank-set Jaccard | med. 0.297 | med. 0.500 |
| Top-25% rank ablation, accuracy gap | med. 1.03 pp | med. 0.25 pp |
| Bottom-25% recovery at epoch 2, accuracy gap | med. 0.23 pp | med. 0.00 pp |
D.7 ROBUSTNESS TO SUBSETS AND GAUGE STRENGTH
Table 7 reports the multi-seed DistilBERT robustness suite over all six layers. Even mild gauges, with scales only between 0.5 and 2.0, reduce raw top-3 overlap on shuffled subsets to a mean of 0.787. Medium gauges reduce the mean to 0.605, and aggressive gauges reduce the mean to 0.512 with bootstrap 95% confidence interval [0.466, 0.559]. Paired-product tangent distortion increases monotonically from 1.68× to 16.69×. All 324 runs have zero prediction flips. Thus the failure is not an artifact of one fixed audit subset; the degradation appears across subset sizes, seeds, layers, and both attention factor pairs, and grows smoothly with gauge strength, as Figure 3(c) and Figure 3(d) show.
The same pattern appears in six all-layer 96-audit checks on BERT-base and ELECTRA-base on SST-2, together with RoBERTa on SST-2, MNLI, QNLI, and MRPC. Table 9 summarizes these runs. Prediction flips are again zero. Under aggressive gauges, mean raw top-3 overlaps range from 0.361 to 0.444 across the RoBERTa tasks, are 0.424 for BERT on SST-2, and are 0.444 for ELECTRA on SST-2, while mean paired-product tangent ratios remain between 14.64× and 16.60×. These checks confirm that the subset and scale phenomenon is not confined to one checkpoint, task, or model family.
The layer-level clipping audits of Table 1 use 48 examples per run. To test whether the effect persists with larger clipping subsets and multiple shuffles, Table 8 reports a separate 216-audit clipping robustness suite over all six DistilBERT layers. The per-example gradient-norm ranking remains highly correlated across gauges: Under aggressive scaling, mean Spearman is 0.9978, with individual runs ranging from 0.9911 to 0.9998. The absolute norm scale nevertheless shifts enough to change threshold decisions. Mean clipping flip rate rises smoothly from 3.38% under mild gauges to
Table 7: Robustness over 324 DistilBERT SST-2 audits. Means are over all six layers, Q–K and V–O pairs, subset sizes, and three shuffled seeds; square brackets are bootstrap 95% confidence intervals for the mean here and in Tables 8 and 9.
| Gauge range | Raw top-3 overlap | Raw Spearman | Paired-product ratio |
|---|---|---|---|
| Mild [0.5, 2.0] | 0.787 [0.741, 0.833] | 0.844 [0.812, 0.874] | 1.68 [1.66, 1.69] |
| Medium [0.25, 4.0] | 0.605 [0.559, 0.657] | 0.658 [0.614, 0.701] | 4.43 [4.38, 4.49] |
| Aggressive [0.125, 10.0] | 0.512 [0.466, 0.559] | 0.550 [0.505, 0.595] | 16.69 [16.42, 16.95] |
Table 8: Per-example clipping robustness over 216 DistilBERT SST-2 audits. Means are aggregated as in Table 7, here over 48- and 128-example shuffled validation subsets.
| Gauge range | Clipping flip rate (%) | Median-norm ratio | ||
|---|---|---|---|---|
| All subsets | n = 48 | n = 128 | ||
| Mild [0.5, 2.0] | 3.38 [2.88, 3.91] | 4.11 | 2.65 | 1.20 [1.19, 1.21] |
| Medium [0.25, 4.0] | 10.04 [8.74, 11.41] | 12.73 | 7.36 | 1.86 [1.82, 1.89] |
| Aggressive [0.125, 10.0] | 18.97 [17.46, 20.65] | 22.63 | 15.32 | 3.50 [3.40, 3.59] |
Table 9: Additional all-layer robustness checks. Each row aggregates 48 audits for a fixed gauge range: 12 layers, Q–K and V–O pairs, and two shuffled seeds.
| Model and task | Gauge range | Raw top-3 overlap | Raw Spearman | Paired-product ratio |
|---|---|---|---|---|
| BERT on SST-2 | Mild [0.5, 2.0] | 0.701 [0.625, 0.778] | 0.822 [0.775, 0.866] | 1.67 [1.66, 1.69] |
| Aggressive [0.125, 10.0] | 0.424 [0.347, 0.507] | 0.478 [0.399, 0.554] | 16.60 [16.23, 16.99] | |
| ELECTRA on SST-2 | Mild [0.5, 2.0] | 0.736 [0.667, 0.806] | 0.851 [0.809, 0.889] | 1.66 [1.62, 1.70] |
| Aggressive [0.125, 10.0] | 0.444 [0.375, 0.514] | 0.488 [0.413, 0.565] | 16.35 [15.27, 17.60] | |
| RoBERTa on SST-2 | Mild [0.5, 2.0] | 0.625 [0.542, 0.708] | 0.677 [0.581, 0.764] | 1.61 [1.57, 1.65] |
| Aggressive [0.125, 10.0] | 0.444 [0.361, 0.528] | 0.366 [0.267, 0.459] | 15.52 [14.58, 16.47] | |
| RoBERTa on MNLI | Mild [0.5, 2.0] | 0.556 [0.472, 0.639] | 0.601 [0.493, 0.700] | 1.59 [1.56, 1.63] |
| Aggressive [0.125, 10.0] | 0.375 [0.306, 0.444] | 0.323 [0.222, 0.420] | 14.90 [14.12, 15.71] | |
| RoBERTa on QNLI | Mild [0.5, 2.0] | 0.597 [0.514, 0.681] | 0.664 [0.558, 0.759] | 1.58 [1.54, 1.63] |
| Aggressive [0.125, 10.0] | 0.431 [0.361, 0.500] | 0.354 [0.256, 0.450] | 14.97 [14.03, 16.05] | |
| RoBERTa on MRPC | Mild [0.5, 2.0] | 0.583 [0.493, 0.681] | 0.617 [0.510, 0.723] | 1.60 [1.55, 1.64] |
| Aggressive [0.125, 10.0] | 0.361 [0.285, 0.438] | 0.309 [0.205, 0.413] | 14.64 [13.73, 15.65] |
10.04% under medium gauges and 18.97% under aggressive gauges, with zero prediction flips in all runs. The 128-example subsets still show nonzero flip rates: 2.65%, 7.36%, and 15.32% for mild, medium, and aggressive gauges, respectively. The clipping effect therefore persists at the larger audit size.
The 256-example holdout gives the same qualitative pattern on a seed and subset size not used in Table 8. Over layers 0, 3, and 5 and both Q–K and V–O pairs, prediction flips remain zero, and mean clipping flip rates are 2.34%, 7.16%, and 16.86% for mild, medium, and aggressive gauges. The smaller means relative to the 48-example runs are expected because the empirical median threshold is less noisy at larger n, but the monotone scale dependence and nonzero mild-gauge flips persist.
D.8 CHECKPOINT-SCALE NORM IMBALANCE
The aggressive gauges above are deliberately adversarial stress tests. To calibrate the gauge scale, we also measure the paired projection norms already present in the eight public encoder and ViT checkpoints in Table 4. Let and be the Euclidean norms of the complete branch parameter blocks that are actually rescaled: the relevant weight slice together with the corresponding Q, K, or V projection bias when present, while an unchanged output-projection bias is excluded. For each head, we report
(82) where the two branches form either a Q-K pair or a V-O pair. The canonical scalar needed to equalize the pair is .
The trained checkpoints already contain mild norm imbalance, especially in V-O pairs, but not the aggressive scales used for worst-case GRR stress tests. Across the eight checkpoints, the mean checkpoint-level Q-K median is , the mean checkpoint-level 90th percentile is 1.063, and the largest observed value is 1.187; no Q-K head exceeds 1.25, and the required balancing scales stay within [0.918, 1.055]. For V-O, the corresponding checkpoint-summary means and largest observed value are 1.093, 1.170, and 1.429; the checkpoint-level fraction above 1.25 is 5.2% on average and at most 10.4%, with balancing scales in [0.837, 1.077]. Thus the mild robustness suite is closest to natural checkpoint-scale variation, while medium and aggressive gauges test whether a measurement is identifiable on the full same-function orbit.
This mild norm imbalance is consistent with the conservation-law perspective: For homogeneous factor pairs, gradient flow conserves the difference of squared branch norms, so training does not push a pair far apart when initialization uses small balanced weights (Du et al., 2018). That argument constrains where optimization travels, not the orbit on which a measurement has to be identifiable.
We also fine-tune distilbert-base-uncased on the full SST-2 train split for 3 epochs with AdamW at learning rate , tracking the same statistic throughout training. The reproducibility details give the complete recipe. Validation accuracy over epochs 0 through 3 is 50.92%, 90.37%, 90.71%, and 90.48%, respectively, ending at a level comparable to the public DistilBERT checkpoint used in the main audit. Across all 72 attention heads, however, the imbalance summary is unchanged to three decimal places: Q-K has median 1.015 and maximum 1.187, V-O has median 1.049 and maximum 1.122, and no head exceeds 1.25. Paired norm imbalance therefore remains mild throughout standard fine-tuning.
D.9 ViT CHECK
We run the same attention-pair audit on ViT-base fine-tuned on CIFAR-10 to test whether the failure crosses modalities. The checkpoint obtains 98.51% accuracy on the full 10,000-image test split, as recorded in Table 4. Across all 12 layers and both Q-K and V-O gauges, prediction flips remain zero. Raw head-gradient top-3 overlap ranges from 0 to 1 with median 1/3. The corresponding mean ratio ranges from 2.59 to 3.84 with median 3.02. Paired-product tangent overlap also ranges from 0 to 1 with median 1/3. The tangent mean ratio ranges from 11.58 to 27.22 with median 17.91. Per-example clipping flip rates range from 47.9% to 50.0% with median 50.0%.
The remedies behave as expected. Path-normalized gradients have top-3 overlap 1.000 and mean ratio 1.00, both with degenerate ranges at those values. Function-space head ablation and canonically balanced gradient scores likewise have top-3 overlap 1.000 in all 24 audits and mean ratios approximately 1. Raw top-3 ablation decisions, by contrast, have median Jaccard 0.2 and yield an accuracy gap of 2.8 percentage points on the full CIFAR-10 test split. The same symmetry-driven measurement failure therefore appears outside text encoders.
We also run a full-test global V-O pruning calibration on the same ViT checkpoint. The setup mirrors the RoBERTa global-profile audits: For each mild, medium, and aggressive same-function V-O profile, we compute one global raw-gradient ranking over all 144 heads using a 256-image audit subset, prune or ablate 22 heads, and evaluate the resulting mask on the full 10,000-image CIFAR-10 test split.
Table 10 shows that the decision-level failure is not confined to text models. Mild gauges already change the top-ablation mask, with Jaccard 0.517 and a full-test accuracy gap of 4.35 percentage points. The aggressive profile gives Jaccard 0.189 and a gap of 73.87 percentage points: The original-coordinate top-head ablation yields 15.75%, while the reparameterized-coordinate ablation yields 89.62%. Bottom pruning is less destructive but still changes masks and produces a gap of up to 7.02 percentage points. Canonical balancing restores identical global masks and zero accuracy gaps for all three profiles. Thus the ViT experiment provides both a layer-level measurement audit and a workflow-level pruning calibration.
As a boundary control, we also test a quantity that should be a property of the fixed input-output function: the gradient of the supervised loss with respect to normalized input pixels. We apply the same global V-O profiles to all ViT attention layers and compare input-pixel gradients on 32
Table 10: Full-test global V-O pruning calibration for ViT on CIFAR-10, using the same 98.51% checkpoint and a 256-image gradient audit subset. Here and in later tables, pp denotes percentage points, and gap entries compare decisions from two same-function coordinates. Canonical balancing gives mask Jaccard 1.000 and a 0.00 pp accuracy gap in every row, so only raw results are shown.
| Gauge profile | Decision | Raw mask Jaccard | Raw accuracy gap (pp) |
|---|---|---|---|
| Mild [0.5, 2.0] | bottom-15% pruning | 0.913 | 0.24 |
| top-15% ablation | 0.517 | 4.35 | |
| Medium [0.25, 4.0] | bottom-15% pruning | 0.760 | 4.97 |
| top-15% ablation | 0.189 | 50.92 | |
| Aggressive [0.125, 10.0] | bottom-15% pruning | 0.517 | 7.02 |
| top-15% ablation | 0.189 | 73.87 |
CIFAR-10 test images. Unlike parameter and internal-coordinate evidence, the input-pixel gradient is tied to the fixed input coordinate system. The control behaves accordingly: Across mild, medium, and aggressive profiles, the minimum per-image cosine similarity is 0.99998, the largest relative difference is 0.79%, the mean norm ratio differs from 1 by at most , and prediction flips remain zero. The control delimits the claim precisely: The failure concerns parameter and internal gradient-derived measurements, not exact input-space derivatives of a preserved scalar function.
D.10 DECODER-ONLY LANGUAGE MODELING
We next audit decoder-only next-token prediction on WikiText-2. This decoder-only setting differs from GLUE in architecture, objective, output space, and decision metric. The loss is token-level cross-entropy, pruning is evaluated by perplexity, and the TinyLlama audit includes GQA with only four key and value heads shared by 32 query heads. Across all 24 layers of GPT-2-medium, all 36 layers of GPT-2-large, and all 22 layers of TinyLlama, with both Q-K and V-O gauges, the median next-token argmax flip rate is zero. GPT-2-medium and TinyLlama have zero flips in all audits. GPT-2-large has one finite-precision layer-9 Q-K case with flip rate 0.0492% and maximum logit difference .
Raw gradient evidence is again unstable, as Table 11 summarizes. GPT-2-medium raw head-gradient and paired-product tangent top-3 overlap both have median 1/3, with zero-overlap failures. GPT-2-large shows the same medians over all 36 layers, with tangent overlap ranging from 0 to 2/3. TinyLlama has higher raw-gradient overlap, with median 1/2, but the TinyLlama paired-product tangent overlap has median 0; the tangent mean ratio has median and ranges from to . Per-sequence clipping decisions flip for 50.0% of audited sequences in every decoder-only run. Function-space head ablation remains invariant, with top-3 overlap 1.0 in all 164 audits.
The layer-local pruning check is decision-facing as well. Raw bottom-3 head-pruning masks have Jaccard median 0.2 for GPT-2-medium and GPT-2-large and median 0 for TinyLlama. The induced WikiText-2 perplexity gap reaches 3.174 points for GPT-2-medium on 16,256 tokens, 0.208 points for GPT-2-large on 8,128 tokens, and 1.531 points for TinyLlama on 8,128 tokens. Function-space bottom pruning selects the same heads in every decoder-only audit up to finite-precision ties and has negligible perplexity gaps. Thus the same reliability failure appears in generative decoder-only models, including a GQA Llama-style architecture. Figure 3(b) plots the corresponding raw ranking and pruning-mask agreements for the three models.
Figure 4 traces the largest GPT-2-medium layer-local gap from changed head identities to block-and token-level loss. The effect is broad across evaluation blocks rather than attributable to a single text fragment.
Global decoder-only pruning calibrations for GPT-2-medium and GPT-2-large are summarized in Table 12. The profile gauges preserve next-token argmax predictions on all audited validation tokens, with maximum logit drift below for GPT-2-medium and for GPT-2-large. Nevertheless, mild V-O scaling changes the global masks substantially. For GPT-2-medium, mild scaling over all 384 heads gives bottom-15% Jaccard 0.634, top-15% Jaccard 0.487, and an 8.68 perplexity gap for top ablation. For GPT-2-large, mild scaling over all 720 heads gives bottom-15% Jaccard 0.565, top-15% Jaccard 0.367, and an 18.27 perplexity gap for top ablation on the bottom-3 in original coord.: H0, H1, H11
bottom-3 in reparam. coord.: H6, H7, H8
(a) Bottom-3 selection changes heads

(b) Worse on 120/128 blocks

(c) Extra next-token NLL, reparam. mask, block 121
to 219 @. @ 62 metres ( 720 ft 6 in ) and the beam was slightly reduced to 31 @. @ 71 metres ( 104 ft 0 in ) .
= Ships =
= Service =
Upon commissioning, the sister ships were assigned to the 1 st Battles hip Division of the 1 st Fleet. Hy ū ga had an explosion in one of her main gun turrets that killed 11 men and injured 25 in 1919 ; the following
Figure 4: Token-level anatomy of the largest layer-local decoder-only pruning gap: GPT-2-medium on WikiText-2, layer-2 V-O gauge, with raw-gradient bottom-3 pruning. Test perplexity is 46.75 for the dense model, 46.92 after pruning with the original-coordinate mask, and 50.09 after pruning with the reparameterized-coordinate mask, giving a 3.17-point gap. (a) With zero next-token argmax flips and maximum logit difference , the coordinates select disjoint head sets with Jaccard 0. (b) The reparameterized-coordinate mask is worse on 120 of 128 blocks. (c) The most affected block localizes the additional next-token negative log-likelihood. Canonical balancing makes the two raw-gradient masks identical, while function-space scores also agree across coordinates.
Table 11: WikiText-2 decoder-only GRR checks over all layers. GPT-2-medium has 48 pair audits, GPT-2-large has 72, and TinyLlama has 44.
| Model | Measurement | Top-3 overlap or flip rate | Mean ratio | Decision effect |
|---|---|---|---|---|
| GPT-2-medium | Raw head-gradient norm | 0.333 (0.000, 1.000) | 2.61 (1.84, 3.52) | pruning Jaccard med. 0.2 |
| Raw paired-product tangent | 0.333 (0.000, 1.000) | 13.84 (7.15, 22.48) | max ppl. gap 3.174 | |
| GPT-2-large | Raw head-gradient norm | 0.333 (0.000, 0.667) | 2.48 (2.05, 3.62) | pruning Jaccard med. 0.2 |
| Raw paired-product tangent | 0.333 (0.000, 0.667) | 12.04 (5.29, 22.66) | max ppl. gap 0.208 | |
| TinyLlama 1.1B GQA | Raw head-gradient norm | 0.500 (0.000, 1.000) | 3.39 (2.16, 5.19) | pruning Jaccard med. 0.0 |
| Raw paired-product tangent | 0.000 (0.000, 1.000) | 23.26 (12.37, 40.89) | max ppl. gap 1.531 | |
| All three | Per-sequence clipping | 50.0% | Not applicable | Not applicable |
| Function-space ablation | 1.000 (1.000, 1.000) | stable | ||
| Canonically balanced gradient | 1.000 (1.000, 1.000) | stable |
8,128-token evaluation subset. In every profile and both model sizes, canonical V-O balancing makes the two same-function coordinates choose identical global masks and reduces the perplexity gap to numerical noise. For decoder-only language modeling, the failure therefore reaches a global perplexity-oriented pruning workflow and not only layer-local rankings.
D.11 LLAMA-STYLE SWIGLU MLP CHANNEL AUDIT
To test feed-forward channels, we audit TinyLlama SwiGLU up-down gauges at layers 0, 11, and 21, each with 5,632 channels. We use scales from 0.125 to 10.0, top-128 rankings on eight WikiText-2 blocks, and gradients restricted to each pair. Predictions never flip. Across layers, raw channel-gradient top-128 overlap ranges from 0.344 to 0.422 with median 0.352. The mean ratio ranges from 2.45 to 2.62 with median 2.55. Paired-product tangent overlap ranges from 0.211 to 0.242
Table 12: GPT-2-medium and GPT-2-large WikiText-2 global V–O pruning profiles. The 15% pruning budget selects 58 of 384 heads for GPT-2-medium and 108 of 720 heads for GPT-2-large. Canonical balancing gives mask Jaccard 1.000 and a perplexity gap below in every row below, so only the raw columns are tabulated.
| Model | Gauge profile | Decision | Raw mask Jaccard | Raw ppl. gap |
|---|---|---|---|---|
| GPT-2-medium | Mild [0.5, 2.0] | bottom-15% pruning | 0.634 | 0.84 |
| top-15% ablation | 0.487 | 8.68 | ||
| Medium [0.25, 4.0] | bottom-15% pruning | 0.432 | 0.52 | |
| top-15% ablation | 0.303 | 1.71 | ||
| Aggressive [0.125, 10.0] | bottom-15% pruning | 0.349 | 0.51 | |
| top-15% ablation | 0.234 | 4.97 | ||
| GPT-2-large | Mild [0.5, 2.0] | bottom-15% pruning | 0.565 | 0.04 |
| top-15% ablation | 0.367 | 18.27 | ||
| Medium [0.25, 4.0] | bottom-15% pruning | 0.479 | 0.75 | |
| top-15% ablation | 0.220 | 6.15 | ||
| Aggressive [0.125, 10.0] | bottom-15% pruning | 0.350 | 0.77 | |
| top-15% ablation | 0.187 | 7.52 |
with median 0.234. The tangent mean ratio ranges from to with median . Per-sequence clipping decisions flip for 50.0% of audited sequences. Canonical balancing makes both overlaps and ratios 1.00 throughout, showing that the failure extends beyond attention.
D.12 ITERATIVE PRUNING PIPELINES
One-shot pruning can understate the workflow consequence because practical pipelines often recompute scores after each masking step. We therefore run an iterative V–O schedule with RoBERTa on MRPC. Starting from original and reparameterized coordinates with identical validation predictions, each round recomputes global raw-gradient scores, selects seven additional heads, and accumulates the mask for four rounds. The final mask prunes 28 of 144 heads, or 19.4%. For the remedy check, we canonically balance both same-function coordinates before running the same iterative schedule.
Figure 5 shows that same-function coordinate choice changes the entire schedule. Under bottom pruning, the final raw masks have Jaccard 0.191 even though the accuracy curves remain close: The maximum gap is 1.96 percentage points, and the final accuracies are 89.22% and 89.95% in the original and reparameterized coordinates, respectively. Under top-head ablation, the final raw masks have Jaccard 0.244 and the curves separate: The largest validation gap is 18.14 percentage points, and the final accuracies are 68.63% and 82.11% in the original and reparameterized coordinates, respectively, a gap of 13.48 percentage points. Canonical balancing removes the schedule discrepancy for the V–O scalar gauge: Final Jaccard is 1.000 for both decisions, with zero coordinate-induced accuracy gap and final accuracies of 88.24% in both bottom-pruning runs and 68.63% in both top-ablation runs. Thus GRR identifies instability in an iterative decision pipeline that repeatedly consumes gradient evidence.
D.13 NORMALIZATION, CLIPPING, AND OPTIMIZER-STATE AUDITS
Fisher normalization. The targeted layer-11 V–O audit for RoBERTa on MRPC has zero forward prediction flips on the 128-example audit subset, yet the raw Euclidean head-gradient score again fails: Spearman correlation is negative, top-3 overlap is 1/3, and the mean score ratio is 2.92. Diagonal empirical-Fisher normalization is much more stable, with top-3 overlap 1.0. Spearman 0.965, and mean ratio 0.982. This stability of the Fisher-normalized score is consistent with the expected cancellation of scalar-gauge factors in the normalized score. Gauge balancing gives a similar top-3 recovery for the V–O scalar gauge.
Clipped paired-product update. The same audit also measures a DP-SGD-style clipped update. Using the original median target-pair gradient norm as clipping threshold, 50.0% of per-example

Figure 5: Iterative pruning schedules for RoBERTa on MRPC. The right plot shows that raw same-function reparameterization changes the accumulated masks, and the center plot shows that the same reparameterization also changes the accuracy trajectory under top-head ablation. Canonical balancing maps both coordinates to the same schedule for the V–O scalar gauge, so the balanced curve tracks the original coordinate and the final mask Jaccard is 1.000.
clipping decisions flip after the same-function gauge. More importantly, the paired-product tangent induced by the clipped raw update is not just rescaled: The tangent's cosine similarity with the original-coordinate update is 0.425, the relative difference is 10.90, and the norm ratio is 11.29. This comparison of clipped paired-product tangents links the clipping decision flips to an update-level consequence.
AdamW optimizer-state audit. The clipped-update result raises the related issue of whether consistent transport of AdamW moments across the same-function gauge makes the update a function-level object. We test the effect of transporting AdamW moments directly on the same layer-11 V–O pair of RoBERTa on MRPC. We accumulate AdamW first and second moments over 512 MRPC training examples without changing parameters. In the reparameterized coordinate, these directly accumulated moments match the original moments transported by the scalar gradient transformation: The relative errors are for the first moment and for the second. Thus the audit is not merely detecting a missing state transport.
Even with the transported AdamW moments, the paired-product tangent induced by one AdamW update is still coordinate-dependent. For both the directly accumulated transformed state and the transported original state, the update has cosine similarity 0.676 with the original-coordinate product update, relative difference 2.934, and norm ratio 3.515. Canonical V–O balancing is much closer to the original update, with cosine similarity 0.995, relative difference 0.107, and norm ratio 1.013. This optimizer-state audit separates two issues: Adam moments can be moved consistently as coordinate statistics, but the usual coordinate-wise AdamW step does not induce an invariant paired-product update under the audited gauge.
D.14 GLOBAL HEAD-PRUNING CASE STUDY
Figure 6 localizes the four head substitutions behind the largest GLUE global-pruning gap summarized in Table 2.
D.15 MILD-SCALE DOWNSTREAM CALIBRATION
The largest global-pruning gaps reported so far use the aggressive head-scale profile. To make the scale issue explicit at the downstream-decision level, we run a profile-wise global V–O pruning calibration for RoBERTa on MRPC. We keep the same checkpoint, full 408-example validation
(a) Where the 22-head masks differ

(b) The four swaps break a last-layer bottleneck
(c) Same function, different pruning utility
Figure 6: Anatomy of the largest GLUE global-pruning gap: ELECTRA on SST-2 under an aggressive global Q–K gauge, with bottom-15% pruning. (a) The two 22-head masks share 18 removed heads, with four removals unique to each coordinate. This difference amounts to four head substitutions and gives Jaccard 18/26 = 0.692. (b) The original-coordinate mask removes every final-layer head, whereas the reparameterized-coordinate mask retains H1 and H8. Before any pruning, the two coordinates have zero prediction flips on the 128-example audit subset and a maximum logit difference of . (c) The two masks yield 50.92% and 94.84% accuracy on the full 872-example validation set. Canonical balancing makes the masks identical, eliminating the coordinate discrepancy but not guaranteeing a useful pruning heuristic.
Table 13: Profile-wise global V–O pruning calibration for RoBERTa on MRPC. All rows use the same 91.18% checkpoint and a 128-example gradient audit subset, and canonical balancing gives mask Jaccard 1.000 and a 0.00 pp accuracy gap throughout, so only the raw columns are tabulated.
| Gauge profile | Decision | Raw mask Jaccard | Raw accuracy gap (pp) |
|---|---|---|---|
| Mild [0.5, 2.0] | bottom-15% pruning | 0.630 | 17.89 |
| top-15% ablation | 0.333 | 7.35 | |
| Medium [0.25, 4.0] | bottom-15% pruning | 0.517 | 18.38 |
| top-15% ablation | 0.222 | 3.68 | |
| Aggressive [0.125, 10.0] | bottom-15% pruning | 0.375 | 19.85 |
| top-15% ablation | 0.158 | 1.47 |
split, 128-example audit subset, and global 15% head budget, and change only the same-function gauge range.
Table 13 shows that mild gauges are sufficient to change the global-pruning decision. Under the mild [0.5, 2.0] V–O gauge, bottom-15% raw-gradient pruning has mask Jaccard 0.630 and a validation-accuracy gap of 17.89 percentage points. The top-ablation mask also changes, with Jaccard 0.333 and a gap of 7.35 percentage points. As the gauge range increases, raw mask agreement decreases further, although the accuracy gap is not monotone because different selected head sets can have similar utility on MRPC. Canonical balancing removes the discrepancy for both decisions in all three profiles.
We then repeat the profile-wise global V–O calibration on RoBERTa checkpoints for SST-2 and QNLI, again using full validation splits for pruning accuracy. Table 14 shows that the effect is task-dependent but not MRPC-specific. On SST-2, mild gauges change the selected masks, but the full-validation utility gap remains below one percentage point. On QNLI, mild top-15% ablation
Table 14: Cross-task profile-wise global V-O pruning calibration, using the gauge-profile family and audit budget of Table 13. The maximum raw gap is taken over mild, medium, and aggressive profiles and both bottom-pruning and top-ablation decisions.
| Task and checkpoint | Baseline acc. (%) | Mild bottom-15% pruning | Mild top-15% ablation | Max raw gap (pp) | ||
|---|---|---|---|---|---|---|
| Mask Jaccard | Acc. gap (pp) | Mask Jaccard | Acc. gap (pp) | |||
| RoBERTa on SST-2 | 94.04 | 0.833 | 0.46 | 0.375 | 0.57 | 0.80 |
| RoBERTa on QNLI | 92.68 | 0.760 | 0.40 | 0.419 | 18.47 | 27.18 |
| RoBERTa on MRPC | 91.18 | 0.630 | 17.89 | 0.333 | 7.35 | 19.85 |

Figure 7: Cross-task global V-O pruning calibration. Each point is a raw same-function comparison for a 15% global-pruning decision with RoBERTa on SST-2, QNLI, or MRPC, with bottom pruning and top ablation split across the two plots. Mild gauges are enough to move masks substantially; whether that mask disagreement becomes a large validation gap is task- and decision-dependent.
has raw mask Jaccard 0.419 and a validation gap of 18.47 percentage points; the aggressive profile reaches 27.18 percentage points. Bottom pruning on QNLI has gaps below one percentage point despite changed masks. GRR therefore identifies whether the evidence used to choose a mask is a property of the learned function, independently of that mask's immediate utility. Figure 7 plots every raw comparison in these three tasks.
D.16 WORKFLOW IMPLICATIONS
Coordinate choices change pruning, clipping, and updates. Changing parameter coordinates affects four common uses of parameter gradients. In structured compression, raw scores can select different head and channel masks for the same unpruned model. In our largest GLUE global-pruning case, replacing four selected heads creates an accuracy gap of 43.92 percentage points. The disagreement also persists through repeated decisions: After four rounds of top-head ablation on RoBERTa MRPC, the final masks have Jaccard 0.244 and the accuracy gap is 13.48 percentage points. In private training, a median 20.8% of examples change clipping status under a same-function gauge. The privacy accounting is unchanged, but the set of clipped per-example gradients and the resulting clipping bias depend on the coordinates. Adapter workflows use factor gradients to allocate and prune rank budgets; the resulting rank-coordinate importance is basis-dependent unless defined through the product or a fixed gauge. Even a correctly transported AdamW state yields a coordinate-dependent paired-product update, so adaptive preconditioning alone does not remove the dependence. Each workflow therefore needs to check whether the pruning, clipping, rank-allocation, or update decisions remain unchanged when only the parameter coordinates change.
E REPRODUCIBILITY DETAILS
E.1 ARTIFACTS, VALIDATION, AND TRACEABILITY
All reported numbers are generated by the Python audit drivers and serialized to a single result table. Each row is keyed by experiment, quantity, method, transform, and metric; the remaining columns are value, baseline, transformed, forward_max_abs_delta, n, and note. A companion run-details record stores model tags, seeds, gauge scales, and selected heads or ranks. The full audit suite is executed in one pass by the suite runner under the full profile with all four GPUs visible and four concurrent shards. Separate entry points then regenerate the figure panels from the result table, export the table mapping, export the reproducibility manifest, validate the results, and print the reported aggregates.
The suite runner executes independent shards with one visible GPU per process and merges the per-shard result tables by replacing matching experiment names. Individual drivers also replace the rows and detail entries for the corresponding experiment family before appending new results, so rerunning one shard does not leave duplicate keys or discard unrelated completed audits. The merger checks for duplicate result keys, sorts rows by the result key, and atomically replaces the result and detail artifacts after all bytes have been written, making the reported tables insensitive to GPU completion order and interrupted writes. The runner writes one log per shard, treats a successful process that failed to write the expected result and detail artifacts as an error, and includes the tail of the shard log in failure messages.
The validation code checks finite numeric fields, unique result keys, baseline-quality thresholds, forward-preservation tolerances, required evidence rows for GLUE, ViT, decoder-only language modeling, global pruning, clipping robustness, AdamW optimizer-state auditing, training-time imbalance, and LoRA, representative reported values, and the expected figure and table-mapping artifacts. The baseline thresholds are set to reject weak checkpoints: For example, RoBERTa and ELECTRA on SST-2 must exceed 93% and 94% validation accuracy, respectively, ViT on CIFAR-10 must exceed 98% test accuracy, and GPT-2 and TinyLlama WikiText-2 perplexities must remain below the stated limits. The artifact and hash checks are separate from the numeric checks, so result validation and reproducibility-artifact validation can be inspected independently.
Result-table traceability. The reported aggregates and figure panels are regenerated from the serialized result table. A declarative mapping associates every reported table or result family with the corresponding experiment filter, quantities, metrics, and representative value; an exporter then recomputes that mapping directly from the result table. The companion mapping artifact therefore provides the exact row-level trace from each reported result to the corresponding underlying records without requiring readers to search experiment logs.
We also export a reproducibility manifest. The manifest records SHA-256 hashes and sizes for the result table, the run-details record, the table mapping, and the generated figure PDFs. The manifest also records hashes for the experiment source files, package versions for PyTorch, Transformers, Datasets, PEFT, NumPy, pandas, SciPy, scikit-learn, Matplotlib, and Hugging Face Hub, CUDA and GPU metadata including the NVIDIA driver when nvidia-smi is available, the configured cache directories, git commit and dirty-state metadata, cached Hugging Face model snapshot hashes, and Hugging Face Datasets builder-cache fingerprints. For datasets, the manifest records the local cache directory, configuration, version, builder hash, dataset_info.json SHA-256 hash, and split shard sizes. Model and dataset revisions are not forced in the drivers. The manifest therefore records the cached local resource fingerprints to make the exact resources auditable. The validation script checks that the manifest hashes match the current result artifacts and experiment source files, so a result table or driver change cannot silently drift from the recorded reproducibility metadata.
E.2 DATA AND EXECUTION CONFIGURATION
Dataset construction. GLUE validation accuracy and pruning accuracy use full validation splits for SST-2, QNLI, and MRPC and validation_matched for MNLI. CIFAR-10 accuracy and pruning effects use the full public test split. WikiText-2 language-modeling perplexity uses contiguous 128-token blocks from the public test split. Gradient audits use deterministic prefixes or shuffled subsets with recorded seeds; robustness audits vary subset size and seed explicitly.
Random seeds. The main text reports how many seeds each suite uses; the exact values are the following. The 324-audit DistilBERT robustness suite and the 216-audit clipping robustness suite both shuffle the validation subsets with seeds 7, 11, and 13, and the all-layer 96-audit breadth checks use seeds 7 and 11. The 256-example clipping holdout uses seed 17, which no other robustness suite uses, so that suite is a genuine holdout in both subset size and seed. The six trained LoRA adapters use training seeds 7, 11, and 13 for both the rank-16 DistilBERT group on SST-2 and the rank-8 RoBERTa group on MRPC, and each LoRA rank-pruning recovery run inherits the seed of the source adapter. Audits that consume deterministic validation prefixes rather than shuffled subsets, including the main GLUE layer sweep, the ViT audits, and the decoder-only WikiText-2 audits, do not depend on a seed choice. The seed of every recorded run is stored together with the model tag and gauge scales in the run-details record.
Training recipes. The main classifiers and ViT are public fine-tuned checkpoints. The LoRA experiments train DistilBERT-base on SST-2 for 3 epochs with rank 16, , dropout 0.05, AdamW, learning rate , weight decay 0.01, linear warmup ratio 0.06, batch size 64, and gradient clipping at 1.0. The RoBERTa LoRA experiments on MRPC start from textattack/roberta-base-MRPC and train rank-8 adapters for 3 epochs with , AdamW, learning rate , weight decay 0.01, linear warmup ratio 0.06, batch size 32, Q, K, and V target modules, and the classifier saved with the adapter.
LoRA rank-pruning recovery keeps the selected rank coordinates zero and fine-tunes the remaining trainable adapter and classifier parameters for 2 epochs: SST-2 uses learning rate and batch size 64, while MRPC uses learning rate and batch size 32. The training-time imbalance calibration fine-tunes all parameters of distilbert-base-uncased on the full SST-2 train split for 3 epochs with AdamW, learning rate , weight decay 0.01, linear warmup ratio 0.06, batch size 64, and gradient clipping at 1.0; validation accuracy reaches 90.71% after epoch 2.
Optimizer and pruning audit settings. The AdamW optimizer-state audit uses the same layer-11 V-O pair of RoBERTa on MRPC, accumulates moments over 512 MRPC train examples in 16-example batches without optimizer steps, and compares the one-step AdamW paired-product tangent with and weight decay 0.01. The iterative pruning audit uses the RoBERTa checkpoint on MRPC, a 128-example validation audit subset for gradient recomputation, the full 408-example validation split for accuracy, four rounds, and seven newly selected global V-O heads per round.
Global-pruning and control settings. The GLUE profile-wise global-pruning calibrations use RoBERTa checkpoints on SST-2, QNLI, and MRPC, full validation splits, a 128-example audit subset, global V-O decisions for bottom-15% pruning and top-15% ablation, and mild, medium, and aggressive gauge profiles. The ViT global-pruning calibration uses nateraw/vit-base-patch16-224-cifar10, a 256-image test audit subset for gradients, the full 10,000-image CIFAR-10 test split for accuracy, the same 15% global V-O head budget, and the same three gauge profiles.
The ViT input-gradient control uses the same checkpoint, 32 CIFAR-10 test images, global V-O gauges at mild, medium, and aggressive scales, and gradients of the supervised loss with respect to normalized input pixels. The GPT-2-medium global-pruning calibration uses all 384 attention heads, 32 WikiText-2 validation audit blocks for gradients, 128 WikiText-2 test blocks for perplexity, the same 15% global V-O head budget, and the same three gauge profiles. The SwiGLU MLP audit uses the TinyLlama checkpoint, layers 0, 11, and 21, eight 128-token validation blocks for gradient scoring, eight one-sequence blocks for clipping decisions, top-128 channel rankings, and gradients restricted to the audited up-down projection pair.
The GPT-2-large global V-O profile reported in Table 12 uses all 720 attention heads, 16 WikiText-2 validation audit blocks for gradients, 64 WikiText-2 test blocks for perplexity, batch size 2, the same 15% global head budget, and the same mild, medium, and aggressive gauge profiles as the GPT-2-medium calibration.
Hardware and precision. The reported run was executed on a 4×NVIDIA H100 node with about 96GB memory per GPU. The suite runner assigns one shard process per visible GPU and uses four concurrent GPU-isolated shards. The largest single-GPU shards are the TinyLlama attention and MLP audits and the GPT-2-large global pruning profile; the configured block counts and batch sizes fit on one H100. With warm Hugging Face caches, the full suite completes as an overnight multi-GPU job. For forward-preservation checks, TF32 matrix multiplication is disabled and FP32 matmuls are used to avoid conflating finite-precision kernel differences with symmetry failure.
F A GRR CHECKLIST FOR NEW GRADIENT-BASED DIAGNOSTICS
The following procedure produces the GRR report of Definition 1 for a diagnostic that was not studied here. Appendix C.2 gives an executable version for the attention case, and the settings quoted below match the settings used throughout our experiments.
Applying GRR. To apply GRR, first identify a parameter transformation that preserves the model's input-output function exactly. Apply the transformation at several scales, from mild rescaling to a stronger stress test, and verify that logits and predictions remain unchanged within numerical tolerance. Reject runs that fail this forward check before comparing gradients. Then compare both the gradient-based scores and the pruning, clipping, or rank-selection decisions those scores produce. Repeat the comparison with a control that is invariant to the tested transformation, using a function-space score for the same intervention or a quotient-space score for a bilinear product. If the function is unchanged but the workflow selects different heads, examples, or rank coordinates, the decision depends on the parameter representation and should not be presented as a property of the learned function. The checklist below gives the recommended gauge profiles and acceptance criteria.
Exact symmetry of the audited architecture. Standard multi-head attention admits head-wise Q-K and V-O scalar gauges, SwiGLU blocks admit up-down channel gauges, and low-rank adapters admit the full factor gauge. Under RoPE, only the scalar part of the Q-K gauge survives; under GQA, the gauge acts on shared key-value groups rather than on individual query heads. Verify exactness symbolically before running anything, since an approximate symmetry converts every later comparison into a confound. If the audited component admits no exact symmetry, report the absence of an exact symmetry as an informative result about identifiability and stop.
Gauge profiles. We recommend three gauge profiles. A mild profile spanning [0.5, 2.0] brackets the paired-norm imbalance already present in public checkpoints, which the checkpoint-scale audit in Appendix D places within balancing scales [0.837, 1.077]. A medium profile spans [0.25, 4.0]. An aggressive profile spanning [0.125, 10.0] probes identifiability on the full orbit. Reporting only the aggressive profile invites the objection that the gauge is artificial, whereas reporting only the mild profile understates how badly the measurement is underdetermined.
Forward preservation. Report the maximum logit difference and the prediction flip rate on the audit set. Discard any run whose flips are not attributable to finite precision; in our audits the classification flip rate is zero throughout, and the only nonzero decoder-only case is a finite-precision GPT-2-large flip rate of 0.0492%. A run that fails the forward-preservation gate describes a broken transformation rather than an unreliable diagnostic, and reporting such a run as a GRR failure is an error.
Measurement stability. Report the rank correlation , the top- overlap at the that the workflow actually uses, and the ratio of mean scores. A mean ratio far from one indicates that any absolute threshold placed on the score, such as a clipping threshold or a pruning cutoff, is gauge-dependent even when the induced ordering happens to survive.
Decision stability. This decision-level comparison is the step that carries the claim. Report the agreement of the selected sets, for instance the Jaccard index of two pruning masks, together with the gap in the metric the workflow optimizes. A stable score with an unstable decision and a stable decision with an unstable score are both possible, and only the decision-level comparison states what is at stake for a practitioner. Our SST-2 profiles illustrate the second case: Masks change while the utility gap stays below one percentage point, so evidence instability and immediate utility loss are distinct findings and should be reported separately.
Invariant controls. Function-space ablation is the most direct control and the most expensive, since the ablation requires a forward evaluation per candidate component. The path-normalized score is nearly free and cancels reciprocal scalar gauges exactly. Canonical balancing fixes the coordinate before measuring and therefore lets an existing diagnostic be reused unchanged. None of these three controls addresses non-diagonal mixing; when the audited gauge includes a basis rotation, the control has to be defined on the quotient, as in Corollary 1.
Reading the outcome. If the decision is stable across all three profiles, the diagnostic may be reported as evidence about the learned function under the audited symmetry. If the decision changes under the aggressive profile only, the diagnostic is not identifiable on the full orbit but may still be usable when the coordinate is pinned by an explicit convention, which should then be stated wherever the score is reported. If the decision changes under the mild profile, the diagnostic should be canonicalized before use or replaced by a quotient-space score, because coordinate variation of the size already present in ordinary checkpoints is enough to change the conclusion.
G LIMITATIONS
The main limitation of this work is the scope of the empirical evaluation. The audits cover encoder classifiers on four GLUE tasks, a ViT on CIFAR-10, three decoder-only language models and a SwiGLU MLP channel audit on WikiText-2, and six trained LoRA adapters, which is a broad but still finite selection rather than a sweep over all datasets, model families, and model scales. Coverage is also uneven across workflows: The vision, decoder-only, and MLP audits use fewer model-task combinations than the GLUE sweep, and the iterative pruning curves are centered on RoBERTa and MRPC. Because the audited symmetries are exact and architecture-native rather than checkpoint-specific, the same reliability concern applies to settings we did not run, and extending the audit to further benchmarks, larger models, and additional gradient-based workflows is direct future work.