Modality-Depth Routing for Visual Reasoning in VLM Post-Training

Yiming Ren, Yiran Xu, Chufan Shi, Yu Qiao, Junjie Wang, Yujiu YangNeurIPS 2026

TL;DR

Making vision-language models (VLMs) better at visual reasoning usually requires expensive, curated step-by-step rationale datasets or massive model scaling. This paper shows that generic instruction data already contains rich reasoning signals, which standard fine-tuning accidentally squashes by forcing visual and text tokens—and simple perception versus complex reasoning tasks—down the exact same computational pathways. By adding a tiny "side-road" router adding just 0.05% extra parameters, the authors unlock substantial reasoning gains without sacrificing basic visual perception.

What Problem Does This Paper Address?

When you take a pre-trained VLM and adapt it using standard supervised fine-tuning (SFT) on generic instruction mixtures, you hit an annoying trade-off: reasoning improves slightly, while basic visual perception often degrades. The prevailing fix is brute force—either build costly Chain-of-Thought datasets or scale up model capacity.

The authors diagnose a structural culprit instead: modality-depth homogenization. In a transformer, layers sequentially add updates to a shared "residual stream." Standard SFT forces everything through one rigid highway, creating two issues:

  1. Modality homogenization: By the deepest layers, visual and textual representations collapse onto each other. That is fine for basic alignment, but terrible for visual reasoning (like reading a complex chart), where distinct visual layout details must stay separable from text operators until the final deduction.
  2. Depth homogenization: Perception tasks need a balanced mix of shallow, low-level details and deep context, whereas multi-step reasoning relies heavily on deep-layer composition. Standard SFT forces both regimes to use nearly identical late-depth profiles, stranding the reasoning supervision already present in generic data.

Methods

To restore routing flexibility without rebuilding the transformer, the authors introduce Modality-Depth Attention (MDA)—a lightweight side pathway placed at block boundaries (e.g., grouping a 28-layer model into 4 contiguous blocks of 7 layers).

Figure 1: Modality-depth homogenization and our routing repair. (a) Standard SFT shares a residual stream across modalities. (b) MDA groups layers into blocks and adds modality-specific, Sigmoid- gated cross-block attention. (c) Internal structure of an MDA block: modality-specific low-rank queries attend over cached block states and inject a gated depth residual. (d) CKA shows MDA re- verses SFT’s modality coupling. (e) Routing swing suggests task-aware depth allocation is restored.

While prior "attention residual" methods let deeper layers attend to earlier blocks, they use a single shared query and stay switched on from step one, which destabilizes post-training. MDA introduces three targeted innovations:

  • Modality-specific queries: Visual and textual tokens are pooled separately and passed through independent low-rank bottleneck projections to create distinct depth queries. Vision and text don't have to compete for the same historical layers. No learned key or value projections are added—cached block outputs serve directly as keys and values.
  • Input-adaptive cross-block attention: Depending on the input, each modality dynamically weights and aggregates outputs from previous depth blocks.
  • Conservative sigmoid gating: Rather than dumping this cross-block mix straight into the backbone, MDA blends it in via a learnable scalar sigmoid gate initialized near zero ($\approx 0.12$). The side pathway stays mostly dormant early on, preserving the pre-trained stream until optimization stabilizes.

Datasets

  • Training: All controlled experiments post-train on LLaVA-instruct-mix-VSFT (259K generic open-source visual instruction samples), with zero Chain-of-Thought filtering or extra reasoning corpora.
  • Evaluation: Models are tested using direct short answers (CoT prompting disabled) across six existing benchmarks split into two slices: Reasoning (MMMU, MathVista, MMStar) and Perception (POPE, AI2D, TextVQA). No new benchmarks are introduced.

Key Insights and Ideas

  • Generic data isn't empty; the interface is bottlenecked: You don't necessarily need fancy rationale datasets to teach reasoning—standard SFT just lacks the routing plumbing to deliver implicit reasoning signals to the right depths.
  • Opposing gradient dynamics: Measuring gradient cosine similarity at the visual and textual entry points shows standard SFT pushes them in opposing directions only 46% of the time (essentially random). Under MDA, this jumps to 98%, actively keeping visual and textual updates distinct throughout training.
  • Task-aware depth allocation: Using a parameter-free probe measuring how much L2 energy each block contributes to the final state, the authors show SFT compresses the model's natural task routing. MDA restores and amplifies it: reasoning inputs swing heavily toward deep blocks, while perception stays balanced across shallow and deep blocks.
Figure 2: Adaptive depth allocation across reasoning and perception benchmarks. (Left) Per-sample routing swing (B3−B0, pp). Each dot is one sample; black line = mean; green border = MDA. MDA shows large swings on reasoning inputs and moderate swings on perception; SFT is uniformly pale across both task types. (Right) Population-level task-aware swing ∆task. MDA achieves the largest value, a post-training configuration that clearly exceeds the Frozen Baseline.

Key Results

  • Breaking the trade-off on Qwen3-VL-2B: Adding just 1.05M parameters (0.05% overhead), MDA boosts the 3-benchmark Reasoning average by +3.9 points over Standard SFT (53.1 vs. 49.2), including a massive +6.9 jump on MathVista (61.3 vs. 54.4). Meanwhile, Perception stays intact (+0.4 over SFT at 80.3, vs. SFT's 1.0-point drop from the 80.9 frozen baseline).
  • Outperforming heavier adapters: MDA beats a higher-capacity LoRA-MoE baseline on both reasoning (53.1 vs. 51.9) and perception (80.3 vs. 80.1), while un-gated Attention Residuals crash below SFT on both slices.
  • Mechanistic alignment: Deepest-layer cross-modal similarity (CKA) rises by 12% under SFT (0.286 to 0.321), signaling modality collapse; MDA returns it cleanly to 0.286. Linear probing on deep hidden states also recovers +4.0 percentage points of reasoning answer separability (56.3% vs. 52.3%).
  • Cross-scale & cross-architecture transfer: Gains hold when scaling to Qwen3-VL-8B (+1.1 Reasoning average, +2.6 on MathVista) and transferring to a connector-based architecture, LLaVA-OneVision-7B (+1.5 Reasoning average, +3.5 on MMMU).

Limitations and Future Work

The main text does not include a dedicated limitations or future work section, though two practical constraints are noted in the experiments:

  • Single-run point estimates: Due to the high compute cost of large-scale VLM evaluations, benchmark scores are reported from single runs rather than averaged across multiple random seeds.
  • Diminishing headroom at larger scales: The reasoning boost on Qwen3-VL-8B (+1.1) is smaller than on the 2B model (+3.9), which the authors note is consistent with stronger pre-trained backbones leaving less stranded reasoning headroom for post-training to recover.

Summary updated

Abstract

The prevailing route to stronger visual reasoning in vision-language models (VLMs) builds costly Chain-of-Thought corpora or curated step-by-step rationales, concentrating progress in well-resourced industry labs. We ask whether the reasoning signal already present in generic visual instruction data can instead be unlocked through a structural change to the post-training interface itself. At fixed data and capacity, standard supervised fine-tuning (SFT) on a generic instruction mixture partially improves reasoning but homogenizes the modality-depth pathways through which reasoning and perception inputs flow. We isolate two coupled patterns. First, visual and textual representations couple at the deepest layer: cross-modal Centered Kernel Alignment (CKA) rises by roughly 12% over the frozen baseline. Second, perception and reasoning inputs are routed through similar late-depth profiles, leaving no mechanism for per-input depth allocation. We propose **Modality-Depth Attention (MDA)**, a lightweight side pathway that adds modality-specific query projections and a sigmoid-gated learnable depth residual. Under a matched protocol on Qwen3-VL-2B, MDA improves the reasoning average over SFT by +3.9 and keeps perception almost intact, at 0.05% extra parameters. Multiple mechanistic probes converge on the same routing account. The gains extend to Qwen3-VL-8B and transfer to LLaVA-OneVision-7B, suggesting that modality-depth routing may be a general lever for unlocking reasoning from generic instruction data without compromising perception. Code will be released upon publication.
BibTeX
@inproceedings{ren2026modality,
  author = {Yiming Ren and Yiran Xu and Chufan Shi and Yu Qiao and Junjie Wang and Yujiu Yang},
  title = {{Modality-Depth Routing for Visual Reasoning in VLM Post-Training}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hgFPtpO7uw},
}
Figure