TL;DR
Researchers have identified "visual evidence drift"—a phenomenon where multimodal large language models (MLLMs) lose track of visual details as the text context grows, even when the image remains within the context window. To fix this, they introduced Visual Position Re-Anchoring (VPR), a training-free, "plug-and-play" method that adjusts the rotary phases of cached visual keys to restore their effective proximity to the question, significantly boosting performance across 10 benchmarks with negligible computational overhead.
What Problem Does This Paper Address?
As MLLMs evolve to handle massive contexts (32K tokens and beyond), we expect them to act as reliable assistants that can reference an image shared early in a long conversation. However, simply fitting an image into the context window doesn't guarantee the model can "see" its details accurately.
The authors identify a failure mode called visual evidence drift: as intervening text grows between an image and a question, the model’s attention shifts away from the specific visual evidence needed for an answer. For instance, a model might correctly identify a newspaper subtitle in a short context but hallucinate and repeat the main headline after a long text passage is inserted (see Figure 1).
Through a series of clever diagnostics, the researchers found that this isn't just about "forgetting" due to context length. It is specifically tied to the positional encoding (typically RoPE) used in these models. The increasing distance in the sequence physically changes how the query "sees" the image keys in the attention mechanism.
Methods
The core contribution is Visual Position Re-Anchoring (VPR). Instead of retraining the model or adding complex attention interventions that slow down inference, VPR operates directly on the KV cache.
Most modern MLLMs use Rotary Positional Embeddings (RoPE), which encode relative positions as rotations in a high-dimensional space. VPR simply "rephases" (rotates) the cached visual keys backward to a "short-context reference" position before the question is processed.
Key features of VPR include:
- Training-Free: Works out-of-the-box with frozen, pre-trained models like Qwen2.5-VL or InternVL3.
- KV Cache Intervention: It modifies the existing cache, meaning no extra model forward passes or expensive attention map extractions are required.
- Static vs. Continuous Schedules: The authors propose a "static" schedule (fixing the offset once) and a "continuous" one (updating it as decoding progresses). They found the static version to be highly effective and more efficient.
Datasets
The authors evaluated VPR across a massive suite of 10 checkpoints and 10 benchmarks to ensure broad applicability:
- Perception & Counting: POPE, CountBench.
- Document & Scene Text: DocVQA, TextVQA.
- Charts & Diagrams: ChartQA, AI2D.
- Reasoning & General VQA: MathVista, GQA, MMStar, RealWorldQA.
Key Insights and Ideas
- Position is a First-Class Citizen: The paper proves that positional relations alone—without adding any new text—can break visual access. Shifting a question later in a sequence on an otherwise identical input causes a score drop (see Figure 5).
- RoPE is the Lever: Because RoPE encodes distance as phase, we can "teleport" keys in the model's eyes just by rotating them. VPR exploits this mathematical property to trick the model into thinking the image is right next to the question.
- Attention Redistribution: VPR doesn't just increase general attention to the image; it specifically redistributes attention back toward the "answer-bearing" regions of the image that were being ignored in long contexts.
Key Results
- Universal Improvement: Static VPR improved 97 out of 100 model-task combinations tested.
- Massive Gains in Detail-Heavy Tasks: On DocVQA at 32K context, Qwen2.5-7B saw its score jump by 24.2 ANLS points. On TextVQA, Qwen2.5-3B improved by 34.0 points.
- Negligible Overhead: For most models, static VPR adds only 0.06% to 0.33% to the total inference time at 32K context. This makes it significantly faster than competing attention-based interventions like VAF or VGA.
- Joint Lookup Success: In experiments requiring the model to find a visual detail and then look up a corresponding code in a long text table, VPR consistently helped the model bridge the gap between visual and textual evidence.
Limitations and Future Work
While VPR provides a substantial "recovery" of performance, it is often incomplete. Models still generally perform better in true short-context scenarios than they do with VPR in long-context scenarios. For example, InternVL3-2B remained below its short-context reference even with VPR applied.
The authors suggest that while positional re-anchoring fixes one major cause of failure, other factors like "competing" text keys in the attention mechanism still play a role. Future work could extend this re-anchoring technique to scenarios with multiple images or documents distributed throughout a long context, or explore how to dynamically re-anchor evidence as a model moves through a multi-step reasoning chain.
Summary updated