CoLVR: Enhancing Exploratory Latent Visual Reasoning via Contrastive Optimization

Ziyang Ding, Linjian Meng, Yiming Wu, YuHan Li, Yuhao Liu, Zhen ZhaoNeurIPS 2026

TL;DR

Teaching Multimodal Large Language Models (MLLMs) to "think" in continuous mathematical vectors rather than discrete words makes visual reasoning much faster and richer. However, current training methods force these internal thoughts to match rigid, predefined visual templates, accidentally lobotomizing the model's ability to explore. CoLVR fixes this by swapping rigid matching for contrastive learning—giving the model's internal monologue the freedom to wander, explore, and generalize to tough new visual puzzles without losing its way.

What Problem Does This Paper Address?

Imagine trying to solve a Jigsaw puzzle solely by writing a text essay about every piece. It’s slow, clunky, and words simply fail to capture fine-grained spatial geometry. Standard MLLMs suffer from this exact bottleneck when using text-based Chain-of-Thought.

To bypass language, researchers recently introduced Latent Visual Reasoning. Instead of decoding intermediate steps into text tokens, the model passes its raw, continuous hidden states ("latent tokens") directly from one step to the next—essentially thinking in pure, high-dimensional vector space before speaking the final answer.

There’s a catch: how do you supervise an invisible, wordless thought? Existing methods (like Mirage) use hard alignment, forcing the model's latent tokens to directly match specific image patches or regions. While this keeps the model on track, the authors show it causes latent space collapse. Every thought gets squeezed into a tiny, homogeneous corner of vector space, killing the model's flexibility to explore alternative paths or adapt to unfamiliar visual puzzles.

Comparison of Hard Alignment vs. Contrastive Optimization and UMAP projections showing how CoLVR prevents latent tokens from collapsing into tight clusters.

Methods

Instead of telling the model exactly what its hidden states must look like at every step, CoLVR (Contrastive Optimization for Latent Visual Reasoning) shapes the reasoning space using relative boundaries—pulling thoughts toward good directions and pushing them away from bad ones. Built on Qwen2.5-VL-7B using 8 continuous latent tokens per query, training unfolds in three stages:

  1. Warm-Up Alignment (Standard): A brief initialization where latent hidden states are loosely aligned with global, mean-pooled image features (plus standard text answer loss) so the model learns how to use latent tokens at all.
  2. Latent Contrastive SFT (Novel): To teach the model where to think without rigid templates, the authors define a "semantic trajectory" vector ($\Delta$) pointing from the raw input image features to the features of a "hint" image (an image augmented with visual solution cues). They then synthesize tricky negative samples by taking orthogonal noise and rotating this trajectory by an angle between $90^\circ$ and $180^\circ$ ($[\pi/2, \pi]$). An InfoNCE contrastive loss pulls latent states toward the hint representation and pushes them away from these angled detours.
  3. Latent-Trajectory Contrastive Reward in RL (Novel): During Reinforcement Learning via GRPO (a popular policy optimization algorithm), standard methods only reward the final text output. CoLVR cracks open the black box: during rollouts, it treats the hidden-state sequences of correct answers as positive trajectories and incorrect ones as negative trajectories, adding a trajectory-level InfoNCE reward that keeps the latent space diverse and exploratory.

Datasets

  • Training & In-Domain Evaluation:
  • Visual Spatial Planning (VSP): Maze path-planning datasets from Mirage (Seen Levels 3–6). Notably, the authors introduce new Level 7 and Level 8 VSP benchmarks (built via DiffThinker) to test unseen, higher-complexity generalization.
  • Visual Puzzles: Jigsaw (recovering missing global semantics) and Tertis (Tetris-like spatial completion), split from Zebra-CoT.
  • Out-of-Domain (OOD) Generalization: Evaluated zero-shot on VisPuzzle, V*, MMVP, MMStar, and CV-Bench to test real-world perception and multimodal reasoning.

Key Insights and Ideas

  • Hard alignment causes measurable brain-freeze: Projecting latent tokens into 2D via UMAP reveals that hard-aligned models (Mirage) cluster their thoughts into tiny, rigid balls (mean distance to centroid of just $0.5\text{--}0.7$). CoLVR expands this radius to $10.5\text{--}12.7$, utilizing a vastly broader semantic space.
  • Geometry makes great negative examples: You don't need expensive, hand-crafted "wrong" images to teach a model what not to do. Rotating the true feature trajectory by $[\pi/2, \pi]$ mathematically guarantees no forward progress toward the right answer while staying semantically close—beating random noise and batch-pool negatives, and even correlating with real incorrect-solution images.
  • Wider spaces mean sturdier thoughts: When the authors injected random Gaussian noise directly into the hidden states during inference, Mirage's accuracy plummeted, while CoLVR barely flinched (~81% accuracy across increasing noise levels). Because CoLVR explores a wider manifold during training, a noisy nudge doesn't push it off a cliff.

Key Results

CoLVR consistently beats proprietary models (GPT-4o, Gemini-2.5-flash), standard SFT/RL baselines, and rigidly aligned latent models (Mirage, LVR):

  • Spatial & Puzzle Gains: Achieves 65.83% total accuracy on VSP (+5.83% over Mirage, including +4.00% on the tough, unseen Levels 7–8), 78.00% on Jigsaw (+8.00%), and 44.67% on Tertis (+1.34%).
  • OOD Transfer: A Jigsaw-trained CoLVR model transfers remarkably well to general benchmarks, scoring 61.47% on MMStar (+6.20% over Mirage, +3.40% over LVR) and 80.63% on V* (+4.71% over Mirage).
  • Ablations: Both novel stages pull their weight—removing the RL trajectory reward drops VSP accuracy by 2.33 points, while skipping Contrastive SFT drops it by 5.66 points.

Limitations and Future Work

  • Supervision Cost of Visual Hints: Stage 2 relies on augmented "result hint" images to compute the positive reasoning direction, which requires extra data preparation. The authors suggest future models could bootstrap these hints automatically by filtering their own successful rollouts.
  • Interpretability: Because latent tokens are no longer forced to match specific image patches—and aren't decoded into English—figuring out what a specific vector actually means is tough. The authors point toward lightweight, concept-level probing as a promising next step for diagnostics.

Summary updated

Abstract

Due to the potential for exploratory reasoning of Latent Visual Reasoning, recent works tend to enable MLLMs (Multimodal Large Language Models) to perform visual reasoning by propagating continuous hidden states instead of decoding intermediate steps into discrete tokens. However, existing works typically rely on hard alignment objectives to force latent representations to match predefined visual features, thereby severely limiting the exploratory of latent reasoning process. To address this problem, we propose CoLVR (Contrastive Optimization for Latent Visual Reasoning). To obtain a more exploratory visual reasoning, CoLVR introduces a latent contrastive training framework. Firstly, CoLVR learns diverse and exploratory representations with a latent contrastive objective guided by angle-based perturbation, which expands the semantic latent space and avoids over-constrained embedding. Then, CoLVR employs a latent trajectory contrastive reward for RL (Reinforcement Learning) post-training to enable fine-grained optimization of latent visual reasoning process and thus fostering diverse reasoning behaviors. Experiments demonstrate that CoLVR significantly enhances the exploratory capability of latent representations, achieving average improvements of 5.83% on VSP and 8.00% on Jigsaw, while also outperforming existing latent models on out of domain benchmarks, with a 3.40% gain on MMStar. The data, codes, and models are released at https://github.com/Oscar-dzy/CoLVR.
BibTeX
@inproceedings{ding2026colvr,
  author = {Ziyang Ding and Linjian Meng and Yiming Wu and YuHan Li and Yuhao Liu and Zhen Zhao},
  title = {{CoLVR: Enhancing Exploratory Latent Visual Reasoning via Contrastive Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=FdggkQpSHq},
}
Figure