Understanding whether attention mechanisms converge to the kernel regime is foundational to the validity of influence functions for transformer accountability. Exact NTK characterization of softmax attention is precluded by its exponential nonlinearity; linearized attention is the canonical tractable proxy and the object of study here. This paper establishes that even this proxy does not converge to its NTK limit at any practical width, revealing a fundamental trade-off in the learning dynamics of attention. An exact correspondence is established between parameter-free linearized attention and a data-dependent Gram-induced kernel; spectral amplification analysis shows that the attention transformation cubes the Gram matrix's condition number, requiring width m=Ω(κd(G)6nlogn) for NTK convergence, where κd(G) is the effective condition number of the rank-min(n,d) truncation of the input Gram matrix; for natural image datasets this threshold is physically infeasible (m≫1024 for MNIST and m≫1029 for CIFAR-10, 12--17 orders of magnitude beyond the largest known architectures). Influence malleability is introduced to characterize this non-convergence: linearized attention exhibits 2--9× higher malleability than ReLU networks under adversarial data perturbation, with the gap depending on dataset condition number and task setting. A dual implication is established: the same data-dependent kernel is shown theoretically to reduce approximation error when targets align with the data geometry, while, empirically, creating vulnerability to adversarial manipulation of the training data. The structural argument extends to trainable QKV attention under standard initialization, with direct consequences for influence methods applied to deployed transformer architectures.
Figures & tables
Figure 1: NTK distance ∥fm−fNTK∥ across network widths, where fm is the finite-width trained model and fNTK is the infinite-width NTK predictor. 2L-ReLU (blue) shows expected convergence: distance decreases as m→∞ . MLP-Attn (orange), using linearized attention ( fatt(X)=XXTX ) not full softmax, shows fundamentally different behavior: distance fails to decrease monotonically on either dataset (non-monotonic on MNIST, increasing on CIFAR-10), consistent with the non-convergence established in Theorem 4.8 (see Remark 4.1 for the convergence/non-convergence/divergence taxonomy). This figure is a diagnostic illustration; Theorem 4.8 is a mathematical result that does not require empirical validation at these scales.
Model
m =16
m =1024
m =4096
MNIST
2L-ReLU
45.1
39.9
39.2
MLP-Attn
10.3
33.3
43.4
CIFAR-10
2L-ReLU
246.2
101.7
56.9
MLP-Attn
3.7
10.4
12.6
Table 1: NTK distance ∥fm−fNTK∥ across network widths. 2L-ReLU exhibits monotonically decreasing distance, consistent with convergence to the kernel regime. MLP-Attn shows qualitatively different behavior: non-monotonic across the full width sweep on MNIST (Figure 1 ), monotonically increasing on CIFAR-10.
Dataset
Setting
Model
FGSM
PGD
MIM
MNIST
10-class
2L-ReLU
4.1
3.3
3.4
MLP-Attn
34.6
28.9
21.9
Binary
2L-ReLU
8.4
8.4
8.6
MLP-Attn
25.9
41.0
40.5
CIFAR-10
10-class
2L-ReLU
3.3
3.1
3.2
MLP-Attn
26.4
19.1
20.5
Table 2: Influence flip rates (%) across perturbation types ( ε=0.03 ) for both classification settings. In the 10-class setting MLP-Attn shows 6–9 × higher malleability; the gap narrows to ≈1× in binary CIFAR-10 (cars vs. planes) due to lower κd(G) , consistent with Theorem 4.8 (Appendix A.2 ). Binary setting follows Zhang and Zhang (2022) . Epoch-by-epoch progression in Table 5 (Appendix E ).
Figure 2: Analysis of influence dynamics. (a) MLP-Attn exhibits consistently higher influence malleability (flip rate) across all perturbation types, reflecting its operation in the feature learning regime. (b) Rank correlation analysis reveals that 2L-ReLU maintains rigid influence rankings while MLP-Attn shows lower correlation, indicating continuous re-evaluation of data dependencies. The Transformed intervention (replacing influential examples with adversarial versions) produces the most structured adaptation pattern.
Dataset
Model
Standard
Adv-Trained
MNIST
2L-ReLU
3.3
43.4
MLP-Attn
28.9
42.2
CIFAR-10
2L-ReLU
3.1
36.5
MLP-Attn
19.1
38.6
Table 3: Effect of adversarial training on influence flip rates (%). Full training-epoch progression in Table 5 (Appendix E ).
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Dataset
Dim.
Classes
Norm.
MNIST
784
10
(.13, .31)
Fashion-MNIST
784
10
(.29, .35)
CIFAR-10
3072
10
(.5, .5, .5)
Appendix
Table 4: Dataset specifications. Dim. = input dimension, Norm. = (mean, std) normalization parameters. Standard training set sizes are used.
Figure 3: Contribution to model complexity (blue) and average influence score (red) for MLP-Attn across three datasets. The U-shaped complexity curve indicates that the most influential points (both harmful and helpful) contribute most to model complexity, consistent with findings of Zhang and Zhang [2022] .
Figure 4: Top influential training examples for a representative test digit. Positive influencers (top rows) increase test loss when removed; negative influencers (bottom rows) decrease it. The key distinction is quantitative: MLP-Attn flip rate 28.9% vs. 3.3% for 2L-ReLU under PGD (Table 2 ), reflecting the Gram-induced kernel’s data-dependent structure.
Figure 5: Loss landscape comparison (MNIST) at finite width m=1024 (left two panels) and infinite-width NTK limit (right two panels). 2L-ReLU (blue) converges toward its NTK landscape: both finite and infinite-width surfaces share similar geometry. MLP-Attn (orange) shows a qualitatively different finite-width landscape (sharp, deep minimum) compared to its NTK limit (broad, shallow basin), visualizing the NTK non-convergence from a loss geometry perspective. NTK distances: 2L-ReLU =39.93 , MLP-Attn =33.30 .
Figure 6: NTK distance 1−cos(Km,K∞) versus network width m for four attention variants (mean ± std over 10 seeds). This metric is scale-invariant : it measures angular alignment (eigenvector structure) between Km and K∞ , and is blind to eigenvalue magnitudes. Compare with Figure 1, which uses the magnitude-sensitive function-space distance ∥fm−fNTK∥ and shows non-monotonic or increasing divergence for linearized attention. The two are not contradictory: at large widths the eigenvectors of Km align with those of K∞ (low cosine distance), while the eigenvalues remain cubically amplified by κd(G)3 (high function-space distance, cf. Theorem 4.8 ). 2L-ReLU and linearized attention decrease gradually with width, indicating genuine structural alignment; the sweep extends to m=4096 , covering and exceeding the hidden dimensions of standard transformers (BERT: 768, ViT-L: 1024, GPT-2: 1600). Softmax and exponential attention show near-zero distance at all widths, but this is vacuous: their feature maps collapse to a single direction (Figure 7 , mean pairwise cosim =1.000 ), so K∞ itself is rank-1. Both Km and K∞ are identical degenerate matrices at every width, making cosine similarity trivially unity regardless of convergence. The oscillations of the dashed lines near the numerical floor are floating-point noise in this degenerate regime.
Figure 7: Feature map diversity for each attention variant, measured as mean off-diagonal pairwise cosine similarity of ϕ(xi) embeddings. Values near 1 indicate collapse to a single direction (degenerate). Softmax and exponential attention achieve cos=1.000 on both datasets, confirming that their near-zero NTK distances in Figure 6 are artifacts of rank-1 kernel collapse rather than principled convergence. Linearized attention and 2L-ReLU maintain diverse embeddings, validating the non-convergence result of Theorem 4.8 .
Architecture
Dataset
Training Progression
Flip Rate
Epoch 1
Epoch 10
Epoch 100
Base
Curated
Trans.
Curated
Trans.
Curated
Trans.
2L-ReLU
MNIST
91.6%
89.2%
91.8%
95.1%
97.1%
97.8%
98.4%
3.3%
FashionMNIST
88.5%
86.1%
89.2%
90.8%
93.1%
93.9%
95.6%
15.0%
CIFAR-10
65.3%
63.8%
66.1%
68.9%
70.8%
71.6%
73.1%
3.1%
MLP-Attn
MNIST
93.1%
90.7%
93.3%
96.6%
98.6%
99.3%
99.9%
28.9%
Appendix
Table 5: Extended learning dynamics analysis across training epochs and intervention types. Base : standard training accuracy. Curated : accuracy after removing top 10% influential examples. Trans. : accuracy with adversarially transformed influential examples. Flip Rate : percentage of top 10% influential examples that reverse influence sign under PGD attack. The MLP-Attn architecture shows (1) systematic development of adaptive data dependencies, (2) higher sensitivity to data interventions, and (3) emergence of influence malleability as attention learns flexible data relationships.