Abstract
Large Vision-Language Models (LVLMs) often exhibit "attention sinks"—tokens that attract disproportionate attention focus. While previously dismissed as noise or artifacts, this study demonstrates that these sinks carry high-level semantic summaries crucial for global reasoning. We investigate the pathways of these sinks from vision encoders to language models and introduce the DIYSink framework. By utilizing dual-MLP projectors and dynamic token selection, DIYSink effectively leverages sink information, yielding significant performance gains in complex visual reasoning tasks such as mathematics and logic.
Introduction: The Phenomenon of Attention Sinks
In Transformer-based models, "attention sinks" refer to a small subset of tokens—such as the [BOS] token in LLMs or specific patches in Vision Transformers (ViTs)—that exhibit massive activation norms and capture a high percentage of the attention mechanism's focus. In the context of LVLMs, which integrate a ViT encoder with an LLM backbone, these sinks have traditionally been viewed as non-semantic nuisances to be suppressed.
However, this research challenges that assumption, asking whether these visual sinks carry useful information and how they can be harnessed to improve model intelligence.
Visual Information Pathways
Analysis of models like LLaVA reveals that ViT sinks are partially propagated into the LLM. Interestingly, these propagated sinks activate distinct hidden dimensions compared to the sinks that emerge naturally within the LLM itself. Qualitative analysis shows that ViT sinks are strongly associated with the primary objects in an image, acting as coarse-grained, high-level contextual features rather than mere noise.
The DIYSink Framework
To better manage these information pathways, the authors propose two primary strategies:
- Sink-to-the-Front (Training-free): Exploiting the causal structure of LLMs, high-norm ViT sink tokens are moved to the beginning of the visual sequence. This allows subsequent tokens to attend to these global summaries as foundational context.
- DIYSink (Training-based): This framework introduces a Dual-MLP Projector that uses separate MLPs for sink tokens (global context) and non-sink tokens (local details), preventing information conflation. A dynamic selection mechanism—either a Chain-of-Thought (CoT) router or a Reweighting MLP—decides whether to prioritize global or local information based on the user's query.
Experimental Results
The proposed methods were validated across diverse benchmarks, including MathVista, MME, and ScienceQA, using backbones such as LLaVA-v1.5, InternVL2.5, and Molmo-7B.
- Reasoning Gains: The training-free "sink-to-the-front" method improved Molmo-7B-D by 1.8 points on MathVista.
- DIYSink Performance: The DIYSink (ReW) model achieved a 15-point gain on MME code reasoning when applied to LLaVA-7B.
- Scalability: Benefits were consistent across model sizes, with TinyLLaVA-3B seeing an MME score increase of 227 points.
Conclusion
This work demonstrates that attention sinks are not merely artifacts but vital summaries of visual information. By explicitly modeling the distinction between global sinks and local details through frameworks like DIYSink, LVLMs can achieve superior performance in complex reasoning tasks with minimal computational overhead. Future work will explore extending these pathways to video and audio modalities.
Summary updated