Root Cause of ViT Local Feature Degradation Identified: CLS Information Leakage Mechanism and Fixes

Study reveals self-supervised ViT local patches directly read [CLS] global information, causing feature degradation, and proposes blocking and cleaning fixes.
After large-scale training, self-supervised ViTs often show local feature degradation, with many background patches carrying global class information and forming high-norm tokens and attention sinks. The study identifies the root cause: local patches directly read the global [CLS] representation via self-attention, occurring before attention sinks appear. It proposes removing this pathway to improve object discovery and zero-shot segmentation, and offers two cleaning methods: modifying the value-projection matrix with calibration images, and fine-tuning the ViT without registers to minimize long-tailed patch-to-[CLS] attention. Experiments confirm that limiting patches' excessive attention to [CLS] repairs global information sink behavior and improves dense downstream tasks, highlighting the need to separate local and global information processing in ViT design.
Self-supervised Vision Transformers (ViTs) have become foundation models for many vision tasks, but after large-scale training they often suffer from degraded local feature representations: a large number of uninformative background patches end up storing global class information. How information from the global [CLS] token leaks into local patches has lacked a clear mechanistic explanation. A recent study takes a deep dive into this problem and proposes targeted fixes.

Background: Global Information Leakage Degrades Local Features
In large-scale training of self-supervised ViTs, the feature quality of local patch tokens drops noticeably. Specifically, many patches that should describe local visual content (especially uninformative background patches) instead carry global class information, forming so-called high-norm tokens and attention sinks. Prior work has attempted to detect and mitigate this problem, but the formation mechanism of these global tokens has not been systematically studied.
This study focuses on the source of the information leakage and tries to answer a core question: through what pathway does information in the global [CLS] token enter local patches?
Attention sinks are an empirical phenomenon in Transformer models: a few tokens in the sequence (often uninformative background patches or the start token) abnormally attract a large amount of attention weight, becoming the "sink" for other tokens' attention allocation. In self-supervised ViTs, these sinks often correspond to high-norm tokens whose magnitude is significantly larger than ordinary patches. Attention sinks themselves do not carry rich local semantics, yet they crowd out the attention budget, so genuinely discriminative local features are not adequately modeled. The phenomenon was first observed in language models and later confirmed to be pervasive in large-scale ViT pretraining; it is one of the important manifestations of local feature degradation.
Root Cause Analysis: Local Patches Directly Read CLS Information via Self-Attention
The researchers' analysis points to a direct cause: local patch tokens directly read global [CLS] information through the self-attention mechanism. This direct readout occurs before high-norm tokens and attention sinks appear, indicating that it is a more upstream trigger.
In other words, the problem does not begin with certain patches passively "absorbing" global information; rather, patches actively aggregate the global representation from the [CLS] token during attention computation. This finding moves the intervention point earlier—if this readout pathway can be blocked, local feature quality can potentially be improved at the source.
The [CLS] token is a learnable special token introduced in ViT; its output, after pooling, is commonly used for image-level classification. In self-supervised pretraining (e.g., DINO, MAE), the [CLS] token is trained to aggregate a global semantic representation of the entire image. However, ViT's self-attention mechanism allows all tokens (including local patches) to read information from each other at every layer, so patch tokens can directly aggregate [CLS] as a key/value source. "Direct readout" refers to patches treating [CLS] as an information source in attention computation, rather than obtaining representations solely through local neighborhood interactions. This cross-level global-to-local information flow is precisely the mechanistic root of local features being contaminated by global class information.
Repair Strategies: Blocking the Pathway and Model Cleaning
Based on the above mechanism, the study proposes several repair approaches and validates their effectiveness on dense tasks.
Directly Removing the Problematic Pathway
The simplest intervention is to remove the pathway causing the information leakage. Experiments show that merely removing this pathway from an already degraded pretrained model improves performance on dense tasks such as object discovery and zero-shot segmentation. This indicates that the damaged model still retains recoverable local feature capability; it is merely masked by abnormal attention pathways.
Two Further Cleaning Methods
The study also demonstrates two ways to "clean" a damaged pretrained model:
- Value-projection matrix surgery: Using calibration images to modify the value-projection matrix, thereby weakening the abnormal patch-to-[CLS] attention.
- Fine-tuning the ViT: Without using registers, fine-tuning minimizes the long-tailed distribution of patch-to-[CLS] attention, repairing the global information sink behavior.
Both methods point to the same goal: limiting patches' excessive attention to [CLS]. Experimental results consistently show that restricting patch-to-[CLS] attention can repair ViTs exhibiting global information sink behavior and improve their performance on dense downstream tasks.
The value-projection matrix is the linear transformation parameter in a Transformer's self-attention module that maps inputs to "value" vectors. In attention computation, queries and keys determine the attention weight distribution, while value vectors carry the actual content being aggregated. Therefore, modifying the value-projection matrix can change what information patches read from [CLS] without changing the attention weight pattern, thereby weakening the abnormal information inflow. The so-called "surgery" uses a small set of calibration images to statistically characterize attention behavior and applies targeted low-rank or directional adjustments to the value-projection matrix. It is a lightweight, training-free post-processing technique that is especially practical for already-deployed model assets.
Implications for Vision Foundation Model Design
The value of this work lies not only in repairing damaged models but also in revealing the necessity of separating local and global information processing in the ViT architecture. When local patches can unrestrictedly read the global representation of [CLS], the model tends to take shortcuts, sacrificing the richness of local features to transmit class information.
For tasks relying on dense prediction (such as segmentation and object discovery), local feature quality is crucial. The study suggests that when training and fine-tuning ViTs, attention should be paid to the distribution of patch-to-[CLS] attention to avoid long-tailed abnormal concentration. Meanwhile, value-projection matrix surgery offers a lightweight repair option that requires no retraining, which is practically valuable for existing model assets.
From a broader perspective, this study provides new analytical tools for the interpretability and reliability of self-supervised ViTs, and points the way for future architecture design: the processing pathways for local and global information need clearer division of labor and constraints.
Registers refer to a set of additional learnable tokens appended to the ViT input sequence, specifically designed to absorb redundant information generated by the model during global attention. Research shows that without registers, the model spontaneously treats background patches or the [CLS] token as a "trash bin" to dump unplaceable global information, causing local feature degradation. With registers introduced, this redundant information is isolated into dedicated tokens, allowing local patches to focus on local visual content. The register mechanism embodies the design philosophy of separating local and global information at the architectural level, and it is also an important reference background for understanding the "cleaning" methods proposed in this article (repairing models without using registers).
One-line Summary
Research reveals that local patches in self-supervised ViTs directly read global [CLS] information, causing feature degradation, and proposes blocking and cleaning repair methods.
Paragraph Summary
After large-scale training, self-supervised ViTs often suffer from local feature degradation, with many background patches carrying global class information and forming high-norm tokens and attention sinks. The study points out that the root cause is local patches directly reading the global representation of [CLS] through self-attention, and this phenomenon occurs before attention sinks appear, making it a more upstream trigger. Based on this, the study proposes that removing this readout pathway can improve performance on dense tasks such as object discovery and zero-shot segmentation; it further provides two methods for cleaning damaged models: using calibration images to modify the value-projection matrix, and fine-tuning the ViT without registers to minimize the long-tailed distribution of patch-to-[CLS] attention. Experiments consistently show that restricting patches' excessive attention to [CLS] can repair global information sink behavior and improve performance on dense downstream tasks, suggesting that ViT design needs to separate local and global information processing pathways.
Related articles

Can AI Really Break Encryption? The Truth Behind the MIT Closed-Door Meeting and the Anthropic Rumors
Where did the AI-cracks-encryption rumor come from? A look at the MIT closed-door meeting, Anthropic's theoretical breakthrough, and CIRG—and why 'theoretical breakthrough' does not equal 'system breach.'

Over 600 Scientists Sign Warning: EU Chat Control Poses Far-Reaching Harms
Over 600 scientists sign a joint warning against the EU Chat Control plan. This article analyzes why scientists oppose client-side scanning, the risks to end-to-end encryption, and the potential impact on developers and communication platforms.

Congress Eyeing Jensen Huang? Silicon Valley's Strategic Miscalculation with the 'Great Man Theory'
Silicon Valley's 'Great Man Theory' ties Nvidia's value to Jensen Huang alone — a strategically unwise move. This article analyzes why Congress might target Huang and how personal charisma amplifies a company's political risk exposure.