- The paper demonstrates that activation-only metrics are insufficient, highlighting the importance of label-conditioned error geometry in transfer learning.
- The paper introduces FisherSketch, a one-pass estimator that efficiently compresses update geometry signatures to predict transfer accuracy at vocabulary scale.
- Empirical results show substantial improvements in source selection, validating Fisher alignment as a reliable metric for training-free adaptation in LLMs.
The Geometry of Updates: Fisher Alignment at Vocabulary Scale — Technical Summary
Motivation and Problem Setting
In transfer learning scenarios involving LLM architectures sharing a vocabulary—typified by scientific string domains (SMILES, protein, genomic sequences)—the problem of training-free source selection is acute. Here, candidate corpora share a tokenizer, but label spaces diverge, yielding the “activation-dark” regime: frozen encoder representations cannot distinguish tasks, yet their label-conditioned error geometries, and hence parameter-update directions, may be radically non-aligned. Standard representation similarity metrics (CKA, RSA, SVCCA) operate solely over frozen activations, disregarding the geometry of label-conditioned errors that directly determine the directions of head updates. Further, classical update-geometry metrics (i.e., Fisher alignment) are computationally infeasible at modern vocabulary scales (K=105).
Representation Similarity versus Update Geometry
The core theoretical result establishes the non-identifiability of Fisher alignment from representation-only metrics. Specifically, Theorem~1 states that even if two models’ representations on a shared probe set are exactly matched (Zi=Zj), corresponding head-update gradients can be orthogonal, leading to zero head Fisher alignment (AFhead(i,j)=0), regardless of M(Zi,Zj)=M(Zi,Zi) for any representation-only metric M.
Figure 1: When activation similarity is constant across all verbalizer pairs, error geometry alone accounts for the transferability discrepancies between tasks; demonstration from the fixed-prefix regime.
This decoupling is constructively instantiated via a shared-output masked-softmax embedding with disjoint label blocks. Dense-vocabulary regimes (fixed-prefix prompts, e.g., verbalizer shift) also expose this pattern: representations are identical across all verbalizers, while Fisher alignment (and actual transfer) is dictated entirely by error geometry. Consequently, conventional metrics like CKA are fundamentally limited for transfer prediction when label geometries differ.
Figure 2: Spearman correlations for ViT-B/16 (same-dataset task pairs) between Fisher alignment estimators (S^ae), product-coupling terms, and empirical Fisher alignment; the joint similarity estimator approaches 0.97 at moderate sketch dimensions (m=4096).
Theoretical Characterization of Fisher Alignment
Head-layer Fisher alignment, under shared vocabulary, admits an exact three-factor decomposition (Theorem~3): it is the normalized cosine between the kernel mean embeddings constructed in the joint activation–error feature space,
AFhead(i,j)=Scov(Ma,i,Ma,j)Scov(Γe,i,Γe,j)ρij ,
where Ma,k=E[aa⊤] and Γe,k=E[ee⊤] are uncentered activation and error second moments, and Zi=Zj0 quantifies non-separability (activation–error dependence). Representation-only metrics are blind to both error geometry and their coupling, which cannot, in general, be inferred from activations alone.
FisherSketch: Practical Alignment Estimation at Vocabulary Scale
The main technical tool is FisherSketch, a one-pass, streaming, product-kernel random feature estimator of update geometry. By leveraging the Kronecker structure of head gradients (Zi=Zj1), FisherSketch estimates the kernel mean embedding in the joint (activation, error) space efficiently, compressing each task into 16 KB signatures for vocabulary sizes Zi=Zj2 up to Zi=Zj3 tokens, compared to 61 GB for full error covariance storage. Estimation variance decays as Zi=Zj4 in the sketch dimension Zi=Zj5 with only Zi=Zj6 computation per sample, using factored random Maclaurin features and an SRHT for efficient high-dimensional projections.
Empirical Results and Source Selection
Vocabulary-scale Evaluation
On a 100-domain Llama-3.1-8B benchmark with shared vocabulary (Zi=Zj7), FisherSketch achieves:
- 45.7% Top-1 source selection accuracy (vs. 4.2% random; Table 1)
- 87.3% Top-3 accuracy
- 98.44% Mean normalized transfer relative to oracle
- Max regret 0.119
Activation-only metrics are competitive under natural domain shifts; however, in “activation-dark” regimes (fixed prompt prefixes), activation similarity is nearly constant, yet transfer varies sharply and FisherSketch remains predictive.
Verbalizer-Shift (Identifiability Stress Test)
In fixed-prefix, label-perturbed tasks, activation similarity is uniformly 1, but LoRA transfer varies by a factor of three across verbalizers. FisherSketch achieves 66.7% top-1 source selection versus 20% for activation-only (random), indicating strong discriminative capacity solely from label-conditioned error geometry.
Figure 3: ViT-B/16 diagnostic of full-network to block-diagonal Fisher gap; the empirical bound is tight for all task pairs, validating the theoretical decomposition in high-profile-cosine regimes.
Figure 4: FisherAtlas UMAP of 22 Pile domains visualized by FisherSketch task signatures, illustrating how clustering is governed by joint activation–error geometry rather than representation similarity alone.
Broader Applicability and Limitations
FisherSketch formalism is applicable to any transformer or deep learning architecture with a shared output (vocabulary, label taxonomy), including convolutional and transformer models with shared-parameter blocks. When output heads are not natively aligned, FisherSketch can be used as an internal-layer diagnostic. Full-network Fisher alignment can be related to the head block via profile cosine and off-diagonal discrepancy diagnostics, with empirical results (ViT-B/16, Llama-3.1-8B/70B) demonstrating tight bounds. The intrinsic label-aware nature constrains portability to architectures or transfer scenarios where label spaces are not comparably aligned.
Theoretical and Practical Implications
This work explicitly delineates settings in which representation similarity metrics are provably insufficient for predicting update compatibility and transferability between tasks. Fisher alignment, and specifically its efficient estimation via FisherSketch, provides a scalable, practical diagnostic for training-free source selection at vocabulary scale. The approach enables not only more reliable automated adaptation and fine-tuning source selection for LLMs and scientific models but also a finer-grained probe of task geometry—disambiguating when task similarity is driven by representations, errors, or their interaction. Diagnostic quantities such as the non-separability coupling Zi=Zj8 allow practitioners to directly measure structural coupling and its effect on transfer, while the lightweight signatures support dynamic open-set retrieval and compatibility-aware routing.
Notably, strong numerical results demonstrate that FisherSketch delivers robust transfer prediction even when activation similarity collapses (verbalizer shift: 66.7% vs. 20% random), and compresses transfer-relevant update geometry to sub-100 KB per task—feasible for large-scale model indexation and open-set continual learning.
Conclusion
FisherSketch operationalizes the insight that transferability is determined by the geometry of parameter updates, not merely representational similarity. By making Fisher alignment at vocabulary scale computationally feasible (~16 KB/task), it provides a practical, informed basis for training-free, label-aware source selection and transfer diagnostics in multi-domain LLM frameworks. The theoretical decomposition highlights both the necessity and sufficiency of considering activation, error, and their coupling for transfer prediction, expanding the methodological arsenal for adaptation in large neural systems.