VisMem: Latent Vision Memory Unlocks Potential of Vision-Language Models

Xinlei Yu, Chengming Xu, Guibin Zhang, Zhangquan Chen, Yudong Zhang, Yongbo He, Peng-Tao Jiang, Jiangning Zhang, Xiaobin Hu, Shuicheng Yan

TL;DR

VisMem introduces a cognitively inspired dual-latent vision memory system to solve the "visual processing bottleneck" in Vision-Language Models (VLMs). By dynamically invoking short-term perceptual and long-term semantic latent memories during text generation, it achieves an 11.0% average performance boost across 12 benchmarks. Crucially, it maintains low inference latency and robustly mitigates catastrophic forgetting across multiple VLM architectures.

What Problem Does This Paper Address?

Modern Vision-Language Models (VLMs) are highly capable, yet they suffer from a fundamental flaw during long text generation: a "visual processing bottleneck." As a VLM autoregressively generates a long response, it increasingly prioritizes its own accumulated textual context over the initial visual evidence. This causes the model to lose its visual grounding, leading to hallucinations and errors in fine-grained reasoning.

Prior attempts to fix this fall into a few flawed paradigms:

  • Direct Training: Brute-force fine-tuning that often causes the model to forget its general capabilities.
  • Image-level Paradigms: Explicitly generating new images or bounding boxes using external tools, which is computationally expensive and slow.
  • Token-level Paradigms: Re-surfacing existing visual tokens, which lacks generative flexibility.

VisMem addresses this by operating directly within the continuous latent space, providing a lightweight, non-intrusive memory enhancement.

Figure 1. Four primary paradigms for enhancing visual capabilities: (a) the direct training paradigm, (b) the image-level paradigm, (c) the token-level paradigm, and (d) the latent space paradigm. Our VisMem belongs to the last one, featuring latent vision memory.

Methods

Inspired by human cognitive psychology (specifically the Dennis Norris Theory), VisMem splits visual memory into two distinct storage systems: a visually dominant short-term memory for fine-grained perceptual retention, and a semantically dominant long-term memory for abstract semantic consolidation.

The architecture consists of three main components:

  1. Vocabulary Extension: The VLM's vocabulary is extended with four special tokens that act as structural markers to trigger and end memory invocation (<ms_I>, <ms_E> for short-term; <ml_I>, <ml_E> for long-term).
  2. Query Builder: When the model generates an invocation token, a lightweight Transformer encoder processes the current multi-modal hidden states into a context-aware query.
  3. Latent Memory Formers: These are specialized, lightweight LoRA adapters attached to the vision encoder and language model. They take the context-aware query and externalize the relevant short- or long-term latent memory tokens, seamlessly injecting them back into the generation stream.
Figure 2. The overview of our proposed VisMem.

To train the system without damaging the VLM's base capabilities, the authors use a two-stage reinforcement learning recipe based on Group Relative Policy Optimization (GRPO). Stage I freezes the VLM policy model and optimizes the memory formation components (Query Builder and Formers). Stage II freezes the memory formation and optimizes the VLM policy model to efficiently invoke the memory, applying penalties to prevent incorrect memory type selection or redundant calls.

Datasets

The authors evaluated VisMem across 12 diverse benchmarks spanning three core capabilities:

  • Understanding: MMStar, MMVet, MMT, BLINK, and MuirBench.
  • Reasoning: MMMU, LogicVista, MathVista, and MV-Math.
  • Generation: HallBench, MultiTrust, and MMVU.

For cross-domain generalization experiments, the models were trained exclusively on the Visual CoT and Mulberry datasets and evaluated on unseen target benchmarks.

Key Insights and Ideas

  • Cognitive Alignment is Effective: Dividing latent memory into perceptual (short-term) and semantic (long-term) streams mirrors human cognition and effectively prevents visual information from fading during long reasoning chains.
  • Self-Adaptive Invocation: The model naturally learns task-specific invocation patterns. Analysis revealed that short-term memory is triggered more frequently in complex multi-image scenarios (like MuirBench) to capture fine-grained details, whereas long-term memory dominates during abstract mathematical reasoning tasks (like MV-Math).
  • Parameter Isolation Prevents Forgetting: By isolating memory mechanics into lightweight LoRA adapters rather than modifying core VLM parameters, VisMem bypasses the catastrophic forgetting typical of direct fine-tuning methods.

Key Results

  • Substantial Performance Gains: VisMem achieved an average relative performance boost of 11.0% over the vanilla Qwen2.5-VL-7B baseline across all 12 benchmarks, outperforming competitive RL baselines like Vision-R1 and VLM-R1.
  • Cross-Domain Generalization: When restricted to out-of-domain training, VisMem maintained a strong lead, showing significant gains such as a +20.2% improvement on MV-Math.
  • Broad Compatibility: The framework was validated across 9 different base models from various families (Qwen2.5-VL, LLaVA-OV, and InternVL) ranging from 3B to 38B parameters, consistently yielding performance improvements.
  • Low Latency Overhead: Unlike image-level paradigms that suffer from high computational latency due to iterative pixel-space modifications, VisMem retains an inference speed comparable to standard token-level and direct training methods.

Limitations and Future Work

Not explicitly discussed in the provided paper text.

Summary updated

BibTeX
@inproceedings{yu2026vismem,
  author = {Xinlei Yu and Chengming Xu and Guibin Zhang and Zhangquan Chen and Yudong Zhang and Yongbo He and Peng-Tao Jiang and Jiangning Zhang and Xiaobin Hu and Shuicheng Yan},
  title = {{VisMem: Latent Vision Memory Unlocks Potential of Vision-Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=koPiDbiE8Q},
}
Figure