Fill the GAP: A Granular Alignment Paradigm for Visual Reasoning in Multimodal Large Language Models

Yanting Miao, Yutao Sun, Dexin Wang, Pascal Poupart, Mengyu Zhou, Lei Lv, Qi Zhao, Li Wang, Hao Li, xiaoxi jiang, guanjunjiangNeurIPS 2026

TL;DR

Teaching multimodal large language models (MLLMs) to "imagine" intermediate visual steps using continuous vectors—rather than calling slow external image-editing tools—usually yields erratic results. The authors discover a glaring architectural culprit: recycling a model’s raw output states back into its input stream blasts the network with vectors nearly 5 times larger in magnitude than what it was built to handle. By introducing a three-part alignment recipe called GAP to tame these vectors, ground their meaning, and deploy them only when needed, the authors unlock simultaneous gains in both visual perception and mathematical reasoning.

What Problem Does This Paper Address?

When an MLLM stumbles on a dense chart or a tricky geometry puzzle, it is often missing localized visual evidence—like a zoomed-in crop or a helpful sketch. Calling external tools or image generators mid-thought fixes this, but adds latency, API costs, and engineering headaches.

Visual latent reasoning offers a cleaner path: keep everything inside one model by letting it emit continuous "latent tokens" that act as internal mental imagery. Standard methods do this via an "output-as-input" loop, feeding the final decoder's hidden state directly back in as the next step's input embedding.

Here is the catch: modern MLLMs (like Qwen, Gemma, and InternVL) use pre-norm transformer architectures, where residual connections accumulate massive vector magnitudes (norms) across layers. Profiling a state-of-the-art latent model (Monet-7B), the authors found that even after final normalization, fed-back output states have an L2 norm roughly 4.7× larger than actual input vision embeddings (and 290× larger than text embeddings). Feeding screaming-loud output vectors into an input pipeline calibrated for whispers creates a severe distribution shift that destabilizes reasoning.

Methods

To fix this mismatch without overcomplicating inference, the authors propose GAP (Granular Alignment Paradigm), aligning latent reasoning across three levels:

Figure 1: Conceptual overview of GAP. GAP addresses visual latent learning through three alignment levels: context-grounded latent supervision at the data level, a PCA-aligned latent head at the feature level, and difficulty-aware latent supervision at the model level.
  • Data-Level Alignment (Inspectable Supervision): Continuous vectors are notoriously opaque. During training, each hard visual question is paired with a synthesized auxiliary image. Frozen Vision Transformer (ViT) features from this helper image supervise the <latent> token slots, wrapped between <think> (intent) and <parser> (a text description of the visual evidence) tags. At inference, no auxiliary image exists—the model predicts the latents autoregressively.
  • Feature-Level Alignment (PCA-Aligned Latent Head): Instead of recycling raw decoder states or training a massive 25.7M-parameter MLP, a lightweight head predicts coordinates in a frozen Principal Component Analysis (PCA) subspace (629 components retaining 95% variance of training vision embeddings). Reconstructing latents from this basis naturally projects them right back into the exact norm regime and subspace of true vision inputs.
  • Model-Level Alignment (Difficulty-Aware Supervision): Easy questions don't need mental imagery. The authors sample the base model 8 times per training query. Only queries the base model completely fails (0/8 accuracy) get latent supervision; solvable queries stick to standard text supervision, preventing the model from over-relying on latents when simple text suffices.

Datasets

  • Newly Introduced Dataset: A curated 49K multimodal latent-supervision dataset (33,279 training split) covering visual chain-of-thought, charts, geometry (GEOQA), multimodal math, counting, and visual search. Auxiliary images were generated via Nano Banana 2 and structured responses synthesized offline by Qwen3-VL-235B-A22B-Thinking.
  • Evaluation Benchmarks: Perception is tested on HRBench4K, MMStar, and MME-RealWorld-Lite. Reasoning is evaluated on MathVista and WeMath.

Key Insights and Ideas

  • A smoking-gun zero-training sanity check: Before building GAP, the authors took an existing output-as-input model (Monet-7B) and simply rescaled its predicted latent norms at inference time using a running average of input vision norms. Without changing a single weight, MathVista accuracy jumped +2.00 points, proving norm mismatch is a very real practical bottleneck.
  • Dense captioning helps seeing, hurts thinking: Fine-tuning on detailed text descriptions boosts perception (+1.54 points) but tanks reasoning (-5.38 points), highlighting that verbose text descriptions don't translate well to multi-hop math.
  • Alignment and selectivity need each other: Using the PCA head without difficulty-aware filtering forces latent tokens onto easy problems; using difficulty filtering without PCA leaves the feature-space mismatch intact. Neither beats the base model on reasoning alone, but together they shine.
  • Latents aren't just extra "thinking time": Replacing GAP's predicted PCA coefficients with norm-matched Gaussian noise drops performance below even a suppressed-latent baseline, proving the vectors carry genuine, task-relevant visual signal rather than acting as dummy compute slots.

Key Results

Built on Qwen2.5-VL 7B (using a shared budget of 36 latent tokens), GAP is the only evaluated latent method that improves both perception (Avg-P) and reasoning (Avg-R) over the zero-shot base model:

  • Base Qwen2.5-VL 7B: 57.66 Avg-P | 52.62 Avg-R
  • Prior Latent Baselines (Monet-7B / LVR): Gain perception (59.58 / 60.76 Avg-P) but suffer steep reasoning drops (47.99 / 47.67 Avg-R).
  • Ours-GAP: Achieves 61.47 Avg-P (+3.81) and 53.97 Avg-R (+1.35)—including a +5.39 point boost on the MathVista geometry subset.

Limitations and Future Work

  • Single Backbone Scope: Experiments are limited to Qwen2.5-VL 7B across five benchmarks, relying on an encoder-specific frozen PCA basis.
  • Domain Coverage & Token Trade-offs: On MME-RealWorld-Lite, default GAP trails the original LVR baseline (47.77 vs. 49.45), attributed to limited real-world imagery in the 49K training mix (though bumping the latent budget to 144 tokens closes most of this gap, trading off inference speed).
  • Alternative Parameterizations: Comparing PCA projection against other low-rank subspace constraints is left for future exploration.

Summary updated

Abstract

Visual latent reasoning lets a multimodal large language model (MLLM) create intermediate visual evidence as continuous tokens, avoiding external tools or image generators. However, existing methods usually follow an output-as-input latent paradigm and yield unstable gains. We identify a feature-space mismatch behind this instability: dominant visual-latent models build on pre-norm MLLMs and reuse decoder hidden states as predicted latent inputs, even though these states occupy a substantially different norm regime from the input embeddings the model was trained to consume. This mismatch makes direct latent feedback unreliable. Motivated by this diagnosis, we propose GAP, a Granular Alignment Paradigm for visual latent modeling. GAP aligns visual latent reasoning at three levels: data-level alignment grounds latent targets with inspectable auxiliary visual supervision; feature-level alignment maps decoder outputs into input-compatible visual latents through a lightweight PCA-aligned latent head; and model-level alignment assigns latent supervision selectively to examples where the base MLLM struggles. On Qwen2.5-VL 7B, GAP achieves the best aggregate perception and reasoning scores among all compared methods and is the only evaluated latent method that improves both over the base model. Inference-time interventions further show that generated latents carry task-relevant visual signal rather than merely adding token slots. Code is available at https://github.com/Qwen-Applications/GAP.
BibTeX
@inproceedings{miao2026fill,
  author = {Yanting Miao and Yutao Sun and Dexin Wang and Pascal Poupart and Mengyu Zhou and Lei Lv and Qi Zhao and Li Wang and Hao Li and xiaoxi jiang and guanjunjiang},
  title = {{Fill the GAP: A Granular Alignment Paradigm for Visual Reasoning in Multimodal Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=sITfxatJtF},
}
Figure