Keep Images in Sight: Visual Position Re-Anchoring for Long-Context MLLMs

Juntao Xu, Qichai Zhao, Rui Sun, Zhouyang Jiang, Shiwei Wu, Zhi Li, Kaisheng Ma, Yu LiuarXiv 2026 · arXiv

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).

Visual evidence drift: a model correctly answers in short context but fails after a long passage, confusing a subtitle with a headline.

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.

Figure 3. Visual access across context lengths. Vanilla POPE ac- curacy and image-attention mass measure task performance and allocation, respectively; they use separate cohorts (Appendix C.4).

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.

Figure 2. Overview of VPR. (a) Left: image keys are rephased before question processing; values and cache slots are preserved. One rotary pair is shown schematically. (b) Right: ρ = 1 restores the initial short context separation. The offset stays fixed as decoding queries advance.

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.
Figure 5. Position shifts on identical short inputs. Bars show the score loss relative to each model’s unshifted score (0K) as the ques- tion moves later or the visual keys move earlier.

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

Abstract

Long-context multimodal intelligence requires revisiting earlier images as conversations and documents accumulate, yet retaining an image does not guarantee reliable access to its details. By varying context length, redistributing a fixed text passage around the image, and changing positions without adding text, we identify the positional relation between images and questions as a direct influence on visual access. To address this gap, we propose Visual Position Re-Anchoring (VPR), a training-free method that shifts cached visual-key rotary phases toward a short-context reference before question processing. It operates directly on the existing KV cache, preserving standard attention computation without extracting attention maps or adding model forward passes. We develop static and continuous compensation schedules, using the static schedule by default. Across ten checkpoints and ten benchmarks, static VPR improves 97 of 100 model--task scores. Further analysis shows greater attention to regions containing answer evidence across six checkpoints, with minimal runtime overhead under fixed rotary frequencies. These findings demonstrate an efficient way to sustain visual access through positional adjustment within the cache.
BibTeX
@misc{xu2026keep,
  author = {Juntao Xu and Qichai Zhao and Rui Sun and Zhouyang Jiang and Shiwei Wu and Zhi Li and Kaisheng Ma and Yu Liu},
  title = {{Keep Images in Sight: Visual Position Re-Anchoring for Long-Context MLLMs}},
  year = {2026},
  eprint = {2611.15100},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15100},
}
Figure