Zero-ablation -- replacing token activations with zero vectors -- is widely used to probe token function in vision transformers. Register zeroing in DINOv2+registers and DINOv3 produces large drops (up to −36.6,pp classification, −30.9,pp segmentation), suggesting registers are functionally indispensable. However, three replacement controls -- mean-substitution, noise-substitution, and cross-image register-shuffling -- preserve performance across classification, correspondence, and segmentation, remaining within ∼1,pp of the unmodified baseline. Per-patch cosine similarity shows these replacements genuinely perturb internal representations, while zeroing causes disproportionately large perturbations, consistent with why it alone degrades tasks. We conclude that zero-ablation overstates dependence on exact register content. In the frozen-feature evaluations we test, performance depends on plausible register-like activations rather than on exact image-specific values. Registers nevertheless buffer dense features from [CLS] dependence and are associated with compressed patch geometry. These findings, including the replacement-control results, replicate at ViT-B scale.
Figures & tables
Figure 1: Approach overview. We compare three ViT-S/B models with different register configurations. Hook-based ablations zero [CLS] or register hidden states at every block output, and we evaluate on global (classification, retrieval) and dense (correspondence, segmentation) tasks. Three replacement controls test whether observed deficits reflect genuine content dependence or distributional shift from out-of-distribution zero vectors.
Figure 2: Zero-ablation effects and patch geometry. (a) Task × Ablation heatmap ( Δ pp from Full). v2 = DINOv2, v2+R = DINOv2+reg, v3 = DINOv3. Zeroing registers produces large drops, but plausible replacement controls preserve all tasks ( Tab. 1 ). (b) Effective rank (median ± std): registers compress patch geometry; DINOv3 exhibits the most compression. (c) Normalized eigenspectrum (log scale, Full condition; eigenvalue index ascending): in DINOv3, variance is concentrated in the largest few eigenvalues. All models ViT-S.
Figure 3: PCA projection of patch features under ablation (ViT-S, layer 11, 3-component RGB). Rows : models. Columns : input image, Full (no ablation), Zero CLS, Zero Registers. Zero CLS barely alters spatial structure with registers present; Zero Registers drastically reorganizes the feature space.
Figure 4: Attention flow across all 12 layers (ViT-S, 200 images). Rows: source token type (CLS, registers, patches). Columns: model. Stacked areas show what fraction of attention each source directs to CLS (gray), registers (magenta), and patches (olive). Register attention builds gradually from mid-layers, yet classification dependence on registers emerges abruptly at layers 10–11 ( Fig. 8 b).
Figure 5: Attention patterns under ablation (1,000 images). (a) JS divergence vs. layer for ViT-S (dark) and ViT-B (light): register zeroing (solid) causes cascading divergence while mean-substitution (dashed) preserves attention patterns, supporting the distributional-shift interpretation. (b) CLS attention redistribution at last layer when registers are zeroed (ViT-S).
CLS (%)
Corr. (%)
Seg. (%)
Patch cos.
Condition
v2+R
v3
v2+R
v3
v2+R
v3
v2+R
v3
Full
67.3
62.0
69.1
78.9
71.3
78.5
1.000
1.000
Zero registers
48.4
25.4
64.3
57.8
61.7
47.6
0.605
0.584
Mean-sub
67.0
62.1
68.8
78.8
71.6
78.6
0.959
0.999
Noise-sub
67.0
62.0
68.7
78.7
71.5
78.6
0.955
0.998
Shuffle
67.8
62.0
68.5
78.6
71.2
78.6
0.952
0.998
Table 1: Register ablation controls (ViT-S, layer 11). Only zeroing degrades any task; all statistically plausible replacements preserve performance despite genuinely perturbing internal states (Patch cos. column shows per-patch cosine similarity to full-condition features).
Table 4: ViT-B replacement controls (layer 11). CLS: probe top-1 (%). Corr: correspondence (%). Seg: segmentation mIoU (%). All three controls preserve performance within ∼1 pp of Full, matching the ViT-S pattern ( Tab. 1 ).
Figure 6: Qualitative correspondence under ablation (DINOv3-B, layer 11, tolerance 1). Green lines: correct NN matches. Red: incorrect. Top : Full condition preserves correct correspondences. Middle : Zero CLS causes minimal disruption (register buffering). Bottom : Zero Registers collapses correspondence accuracy.
Figure 7: Scale comparison: ViT-S vs. ViT-B. (a) Classification and (b) segmentation under ablation. Solid: ViT-S; dashed: ViT-B. Ablation delta patterns are consistent across scales ( Tab. 2 ).
Figure 8: Patch compression and register dependence across layers. (a) Effective rank (Full condition) decreases across layers; DINOv3 is already compressed by layer 6. (b) CLS accuracy under Full (solid) vs. register-zeroed (dashed): dependence is layer-specific, emerging only at layers 10–11. ViT-S models.
Machine Learning Group, Technische Universität Berlin · BIFOLD – Berlin Institute for the Foundations of Learning and Data Franklinstraße 28/29, 10587 Berlin, Germany · Aignostics, Germany