Visual Attention Drift in Multimodal Generation

412 concepts220 papers5 proposals

When Large Multimodal Models (LMMs) are tasked with describing a complex scene or executing a long multi-step reasoning chain, they often start strong but finish with a cascade of hallucinations. They describe objects that do not exist or confidently contradict the very image they are looking at.

Intuitively, one might assume the model simply misprocessed the image at the start. However, recent research reveals a more systemic structural failure: LMMs suffer from progressive visual de-grounding. As the model generates text, its internal attention mechanism drifts away from the visual tokens and becomes trapped in its own textual output. The model effectively "looks once and talks a lot," gradually losing sight of the image as the conversation or reasoning chain scales.

The Mechanics of Visual Attention Decay

To understand why an LMM stops looking at an image, we must examine how attention weights shift across two distinct dimensions during inference: sequence length (as text is generated token-by-token) and layer depth (as information propagates upward through the network).

1. The Autoregressive Text Trap

In a standard transformer architecture, every newly generated token must attend to all preceding tokens. As an LMM generates a long response, the number of textual tokens quickly outnumbers the initial visual tokens.

Xinhao Xu et al. demonstrate in Mitigating Hallucinations in Multi-modal Large Language Models via Image Token Attention-Guided Decoding that this accumulation creates a severe attention shift. The model's internal focus moves decisively away from the visual input tokens toward its own previously generated text.

Furthermore, this text-centric loop is exacerbated by structural artifacts. Qidong Huang et al. discover in OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation that attention mechanisms tend to over-attend to specific "summary tokens" like punctuation. This over-reliance on internal linguistic anchors creates a self-referential loop, causing the model to prioritize grammatical consistency and local text patterns over factual alignment with the source image.

2. Positional Encoding Washout

Why does sequence length degrade the visual signal so predictably? The answer often lies in the geometry of positional encodings.

When visual tokens and text tokens are concatenated into a single sequence, the distance between the original image patches and the current generation point grows continuously. Fan Ma et al. show in Vista-llama: Reducing Hallucination in Video Language Models via Equal Distance to Visual Tokens that standard relative positional encodings naturally penalize long-distance cross-attention. As the text sequence lengthens, the visual tokens are pushed further into the past, causing their attention weights to decay.

Ming Hu identifies a similar "washout" effect in Seeing Far and Clearly: Mitigating Hallucinations in MLLMs with Attention Causal Decoding, proving that text-centric rotary positional encodings are fundamentally ill-suited for maintaining stable visual memory over extended generations.

Standard Sequence:  [ Image Tokens ] ---> [ Early Text ] ---> [ Recent Text ] ---> [ Next Token ]
                                                                ^              ^
                                                                |-- Strong ----|
                        |--------------------- Weak ------------|

3. Layer-Wise Degradation and Re-Sinking

Visual information does not just decay over time; it also degrades as it travels upward through the transformer layers.

James Zou explores this in More Thinking, Less Seeing? Assessing Amplified Hallucination in Multimodal Reasoning Models, revealing that while early layers successfully capture and encode visual features, deeper layers exhibit a sharp drop in attention toward visual tokens.

In the final stages of decoding, the model often experiences what the authors of RAR: Reversing Visual Attention Re-Sinking for Unlocking Potential in Multimodal Large Language Models term "Visual Attention Re-sinking." Instead of maintaining focus on semantic visual subjects, the late-layer attention heads shift their focus toward low-information background patches or empty tokens, effectively discarding the visual evidence right before selecting the output token.

The Consequence: The Triumph of Linguistic Priors

When the visual signal fades, the language model's internal probability distribution undergoes a critical shift.

In The Hidden Life of Tokens: Reducing Hallucination of Large Vision-Language Models Via Visual Information Steering, Zhuowei Li et al. map how tokens move within the model's internal rankings during generation. When visual grounding is strong, tokens that accurately reflect the image sit at the top of the probability distribution. But as visual influence decays, the model's internal linguistic priors—its statistical expectations of what words usually follow based on its text-only pretraining—take over. Hallucinated tokens gradually climb the ranks and override the visual reality.

This explains a troubling paradox in modern reasoning models: longer thinking can lead to worse perception. As Xinyu Tian et al. demonstrate in More Thought, Less Accuracy? On the Dual Nature of Reasoning in Vision-Language Models, extended Chain-of-Thought reasoning chains cause a form of "visual forgetting." The model's internal monologue remains highly logical and self-consistent, but it completely detaches from the visual source, leading to beautifully reasoned arguments about objects that are not in the image.

Anchoring Attention at Inference Time

Because visual attention drift is primarily a structural failure of the decoding process rather than a lack of visual knowledge, it can be mitigated without expensive retraining or fine-tuning. Researchers have developed several inference-time interventions designed to anchor the model's focus.

Dynamic Reinjection and Anchoring

If the model forgets the image over time, one straightforward solution is to force it to look again. Chengzhi Liu et al. introduce this concept in Reasoning Within the Mind: Dynamic Multimodal Interleaving in Latent Space, a framework that monitors model confidence and dynamically reinjects relevant visual patches into the latent space when uncertainty spikes.

Alternatively, instead of injecting new patches, Xu Liu et al. propose SinkTrack: Attention Sink based Context Anchoring for Large Language Models. This method repurposes the "attention sink" (the very first token in a sequence, which naturally receives high attention weights) to act as a high-information anchor, continuously pulling the model's focus back to the initial prompt constraints and visual context.

Contrastive and Guided Decoding

Another approach is to actively penalize the model when it begins to rely too heavily on text context. Maying Shen et al. develop a gradient-based tracking method in Mitigating Multimodal Hallucinations via Gradient-based Self-Reflection to calculate the exact ratio of visual-to-textual influence during generation, dynamically rebalancing the weights whenever text begins to dominate.

Similarly, Kyungmin Min et al. introduce Mitigating Hallucinations in Large Vision-Language Models via Summary-Guided Decoding, which periodically summarizes the preceding textual history during decoding. This summarization flushes out the accumulated linguistic noise, effectively resetting the model's attention span and clearing the path for the original visual signal to guide the next token.

Modifying Attention Geometry

Finally, researchers have targeted the root cause by altering how attention handles distance. To eliminate the positional encoding penalty, the framework proposed by Fan Ma et al. isolates cross-modal interactions from relative positional encodings. This ensures that visual tokens remain at an "equal distance" to the generation point, no matter how long the text sequence becomes.

In a complementary fashion, Ming Hu introduces a progressively diminishing masking rate during causal decoding. By systematically shielding early visual tokens from being crowded out by newer text tokens, this geometric intervention ensures that long-range visual context remains fully accessible throughout extended multimodal tasks.

History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_visual_attention_decay_b493d0fa,
  title = {visual attention decay},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/visual-attention-decay/rdr_b493d0faf1de43c2b3c30bd3ff39d176},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_visual_attention_decay_b493d0fa_v1,
  title = {visual attention decay},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/visual-attention-decay/rdr_b493d0faf1de43c2b3c30bd3ff39d176/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake