TL;DR
ViMoD (Visual Memory on Demand) is a lightweight framework that enables Multimodal Large Language Models (MLLMs) to dynamically recall fine-grained visual details only when needed during multi-step reasoning. By maintaining a persistent "coarse" memory and using a history-aware router to swap "fine" evidence in and out, it achieves a 39% improvement in reasoning accuracy over static compression methods at a strict 20% visual token budget.
What Problem Does This Paper Address?
Processing high-resolution images in MLLMs is a double-edged sword: the extra detail is necessary for complex reasoning, but the resulting explosion in visual tokens makes inference prohibitively expensive. Current solutions typically use "one-shot" compression—pruning or merging tokens at the very start of the process to fit a fixed budget.
However, the authors argue that visual evidence needs are dynamic. As a model works through a multi-step math problem or a complex document, the specific details it needs to "look at" change. A static 20% snapshot of an image might capture the "base" of a triangle but discard the "hypotenuse" needed three steps later.
Furthermore, the paper highlights a hidden cost: aggressive static compression can actually increase total computation. If the compressed context is too degraded, the model may become "confused," leading to longer, rambling responses that ultimately cost more FLOPs than the uncompressed baseline.
Methods
ViMoD introduces two primary modules that work alongside a frozen MLLM backbone:
- DART (Deformable Aggregation of Region-wise Tokens): Instead of simple grid-based pooling, DART learns content-adaptive groups. It allocates more "coarse" tokens to information-dense areas (like text) and fewer to blank regions. Crucially, it maintains a Coarse-to-Fine (C2F) map, allowing the model to link every compact coarse token back to its original, high-resolution fine-grained members stored in memory.
- TRACE (Temporal Routing for Adaptive Contextual Evidence): This is the "brain" of the system. Using a selective state-space model (SSM), TRACE integrates the decoding history to anticipate upcoming evidence needs. Every few tokens, it decides whether to HOLD the current fine-grained evidence or UPDATE it by selecting a new set of fine tokens from the DART memory.
These selected fine tokens are then combined with the persistent coarse context through a Joint-KV mechanism, allowing the frozen backbone to attend to both the "big picture" and the specific "details" required for the current reasoning step.
Datasets
The authors evaluated ViMoD across two main suites:
- Reasoning Suite: Includes 8 benchmarks such as MathVerse, DynaMath, MathVista, MathVision, and MMMU-Pro.
- General Understanding Suite: Includes 10 benchmarks like GQA, DocVQA, ChartQA, and OCRBench.
For training, they utilized a massive collection of over 137,000 trajectories across mathematics, science, natural images, and OCR tasks, using teacher models (like Qwen2-72B) to provide supervision for the visual regions required at each step.
Key Insights and Ideas
- Static is the Bottleneck: The paper quantifies "visual-demand variation" and shows that as reasoning becomes more complex, static compression fails more frequently. Dynamic access is not just a luxury; it's a requirement for efficiency.
- The "Fixed Oracle" Fallacy: The authors show that providing the union of all needed regions at the start (a Fixed Oracle) is less efficient than providing them stage-by-stage (Dynamic Access). At 70% accuracy, dynamic access requires ~24% of tokens, while the fixed oracle needs ~36%.
- Response-Level Cost Matters: Per-token savings are deceptive. Figure 3 demonstrates that for some baselines, the reduction in FLOPs per token is completely offset by the model generating 20% more tokens because the context was too compressed.
Key Results
- Superior Reasoning: On Qwen3-VL-4B, ViMoD outperformed all one-shot baselines (FastV, VisionZip, DivPrune) across all eight reasoning benchmarks at a 20% token budget.
- Massive Gains: It improved the mean normalized score by 39.0% over the strongest one-shot baseline (DivPrune) at the 20% budget level.
- Efficiency: These gains were achieved by adding only 0.0546% additional trainable parameters to the frozen backbone.
- End-to-End Speedup: In wall-clock time evaluations on MMMU-Pro, ViMoD achieved higher accuracy than baselines while using 15.2–20.4% less total inference time.
Limitations and Future Work
While ViMoD is highly efficient, it does require keeping the full "Fine" Key-Value (KV) bank in memory, which increases peak GPU memory requirements compared to methods that permanently discard tokens.
The authors also note that the current system uses fixed routing intervals (e.g., every 16 tokens). Future work could explore asynchronous routing, where the model itself decides exactly when it needs to "look back" at the image, potentially further reducing the overhead of the TRACE module. Finally, testing the framework across a wider variety of model architectures remains an open area for validation.
Summary updated