HVLR

Unifying Heterogeneous Visual Reasoning
in Expressive Latent Space

1University of California, San Diego, 2Northwestern University, 3University of Florida
*Project Lead

Overview

Overview of HVLR: eight heterogeneous reasoning forms (bbox highlight, scene graph, helper image, segmentation, bbox crop, depth, edge, text CoT) are rendered into pixel space and supervise a shared latent space; at inference the MLLM generates latent reasoning states between thinking markers and then the answer.
Figure 1: Overview of HVLR. Top (training): Eight heterogeneous reasoning forms are rendered as helper images and internalized into latent slots. Bottom (inference): Given only the image and question, our model generates latent states for reasoning and then the answer.

Abstract

Visual reasoning increasingly relies on heterogeneous intermediate representations, including textual rationales, regions, scene graphs, segmentation, depth, and visual manipulations. Because these representations differ substantially in structure and modality, they are typically modeled with separate reasoning interfaces, which scale poorly as more reasoning forms are incorporated. This raises a fundamental question: can heterogeneous forms of visual reasoning be unified in a single shared latent space? We investigate this question through HVLR (Heterogeneous Visual Latent Reasoning), which unifies eight distinct reasoning forms within a common autoregressive latent interface. To reconcile heterogeneous supervision, we first render all reasoning representations into a shared pixel space and encode them with the same vision encoder. We then use a two-stage distillation procedure to translate these representations into autoregressive latent states and internalize them into a closed-book model that requires no explicit intermediate representation at inference time. We conduct a systematic analysis with HVLR and uncover three main findings. First, heterogeneous reasoning forms can be effectively unified: combining all eight improves Qwen2.5-VL-7B from 64.66% to 69.97% average accuracy across nine benchmarks. Second, the shared latent space consistently benefits from reasoning diversity. Under a fixed 40K-example budget, increasing the number of reasoning forms from 1 to 3, 5, and 8 improves performance from 66.65% to 67.67%, 68.61%, and 69.97%, respectively, with positive trends across all nine benchmarks. Third, latent reasoning outperforms explicit intermediate decoding while reducing intermediate computation from roughly 177 generated tokens to only 8 latent steps, suggesting that continuous latent representations provide a more expressive and efficient medium for heterogeneous visual reasoning.

Introduction

One of the foundational ideas in computer vision is that visual understanding is rooted in intermediate representations that make useful properties of the scene explicit. Edges expose boundaries and shape; segmentation exposes objects and regions; depth exposes geometric structure; and scene graphs expose objects and their relations. Recent visual reasoning methods exploit many of these representations, but they typically assume a particular representation for a particular reasoning mechanism. Yet there is no “magic” representation for all visual reasoning problems, and different tasks may benefit from different representations, or combinations thereof.

HVLR uses these perceptual representations as priors that regularize how a model learns to reason. The model is exposed to multiple representations during training and reasons without them at inference, using a visual reasoning scratchpad, an internal workspace composed of a sequence of latent states. Each prior is expressed visually, so all priors are processed by the same vision encoder and mapped into the scratchpad in a unified manner. A two-stage training procedure first learns the mapping from the priors to the scratchpad, then distills the scratchpad into a model that has no access to the priors as inputs. Training with eight perceptual priors improves Qwen2.5-VL-7B from 64.66 to 69.97 average accuracy across nine benchmarks, and increasing the number of priors from 1 to 3, 5, and 8 increases average performance from 66.65 to 67.67, 68.61, and 69.97. For priors that admit textual serialization, latent reasoning achieves higher accuracy while reducing intermediate computation from roughly 177 generated tokens to 8 latent steps.

Method

Collection of Heterogeneous Visual Reasoning Data

To provide a common supervision interface, we rasterize every reasoning representation into an image and process it with the same vision encoder. This allows linguistic, symbolic, spatial, and perceptual reasoning signals to supervise the same latent space without dedicated prediction heads. We collect eight representative reasoning forms. Text CoT renders textual rationales on a blank canvas; Scene Graph visualizes objects and relations as node–edge diagrams; BBox Crop and BBox Highlight isolate or emphasize question-relevant regions; Segmentation, Depth, and Edge expose complementary dense visual structure; and Interleaved reasoning (“Helper Image” in Figure 1) provides one to three intermediate images from multi-step visual reasoning traces. After curation, the full corpus contains 1.31M examples; unless otherwise specified, all experiments use the same balanced 40K subset, with 5K examples each form.

Two-Stage Training

Training overview. Stage 1 trains a latent teacher MLLM that reads the image, question and helper image, generates teacher latents that are aligned with encoded helper features, and re-inserts them so the answer only sees the helpers through the latents. Stage 2 distills a closed-book student MLLM that generates student latents from the image and question alone.
Figure 2: Training overview. Stage 1 trains a teacher that summarizes the helper images into latent slots. Stage 2 trains a student to generate these latent slots from the image and question alone, supervised by the features exported from the Stage-1 teacher.

Teacher Model

Each helper is compressed into a block of L = 8 latent slots, and each slot reuses the preceding last-layer hidden state as the next input embedding. Each training step uses two forward passes. In the first, the teacher observes the helper images and autoregressively generates the latent slots. In the second, these slots are reinserted into the sequence, while an attention mask prevents the answer positions from directly attending to the helpers, so information from the helpers must be mediated through the latent slots. To preserve the helper content, the latent states are aligned with representations extracted from the same helpers by a frozen base model.

Student Model

The student is initialized from the base model and has no access to the helpers. It learns to reconstruct the teacher’s latent states from the original image and question alone, using targets precomputed by the frozen teacher at each latent position and layer. At inference, the student receives only the image and question, generates the latent reasoning states, and then decodes the answer. No helper image, rationale text, or dedicated reasoning decoder is required.

Experiment Results

Main Results

Table 2: Main results on nine benchmarks. Bold = best per column among same-protocol rows. Frontier-model rows (gray) are reported numbers taken from published papers.

Model V⋆ HR4K HR8K MME-RW BLINK POPE RWQA CV-B QSp++ Avg.
base (Qwen2.5-VL-7B) 75.9268.8865.2545.4955.6586.5869.1573.4041.5864.66
Latent Reasoning
Monet-7B 80.8570.3868.8847.0641.5687.7561.0551.6431.6860.09
LVR-7B 81.1870.7566.1249.5653.4584.7668.1075.0924.7563.75
CoVT-7B 78.5371.0069.5050.3456.3584.5870.0778.7553.4768.07
SkiLa-7B 82.7271.1264.5046.7454.8787.3969.9376.1940.5966.01
Mirage-VSP 79.0670.1266.8848.3156.7885.2969.9375.0742.5766.00
Open-source VLM
InternVL3-8B 70.1669.0059.0047.6855.1889.0070.0780.9853.4766.06
LLaVA-OneVision-7B 72.2565.1258.1348.4150.5588.2070.0776.3251.4964.50
Tool Using
DeepEyes-7B 82.2073.6270.8852.4244.2987.7469.4178.5944.5567.08
PixelReasoner-7B 78.5370.6264.5045.7545.0885.9769.6779.0945.5464.97
Frontier Closed-Source Models
GPT-5‡ 74.8774.671.6257.071.0—82.8—63.37—
GPT-4o‡ 62.868.063.951.660.086.975.479.461.06—
Gemini-2.5-Pro‡ 79.287.383.6258.3070.6—78.086.340.59—
HVLR (Ours) 81.7071.7570.8854.3056.8589.1972.0378.5354.4669.97
Δ vs. base +5.78+2.87+5.63+8.81+1.20+2.61+2.88+5.13+12.88+5.31

Table 2 evaluates three model families. Our model improves on its base and attains the highest average score among all same-protocol rows, +1.9 above the best latent-reasoning baseline (CoVT-7B). It also exceeds the best tool-using agent, DeepEyes, with a single closed-book pass instead of a multi-pass zoom-in loop.

Finding ❶

More Forms, Stronger Model: Capability Scales with Latent Diversity

The capability of latent reasoning scales with the diversity of the content the space must host: packing more forms of thought in one latent space yields a stronger model.

Design. We fix the budget at 40K and vary only the number of forms it spans: K=1 gives the whole budget to a single form (8 models, one per form); K=3 and K=5 each draw 8 random combinations with 40K examples in total; K=8 is the model of Table 2.

Three plots: (a) average score rises with the number of reasoning forms K from 1 to 8; (b) all 25 ablations plus base ranked by average score, with the 8-form model first and base last; (c) the per-benchmark slope against K is positive on all nine benchmarks.

Figure 3: Modality-count ablation. (a) average score vs. number of forms K: tier means (solid) rise monotonically; OLS +0.483/form, Spearman ρ=0.88. (b) All 25 ablations + base ranked by average score: ours ranks #1, the eight random K=5 subsets occupy #2–9, and base ranks last. (c) Refitting the slope on each benchmark separately: all nine are positive.

Finding ❷

Latent Reasoning Is More Effective and More Efficient than Decoded Text

Keeping intermediate thought in the latent space dominates decoding it into text: carried in vectors, the same reasoning reaches higher accuracy at a fraction of the inference cost.

Text CoT and scene graphs can be written out faithfully as text, which lets us test whether a form is better internalized in the latent space or emitted as text.

Three plots comparing latent and decoded-text reasoning: (a) average score of variants that supervise text CoT, scene graph or both as explicit text, under free routing, forced latent and forced text decoding, all below the all-latent model; (b) the same runs against think steps; (c) think tokens per question: Ours 9, SkiLa 29.3, Monet 129.1, PixelReasoner 159.5, DeepEyes 179.6.

Figure 4: Latent versus explicit decoded-text reasoning. Three variants supervise the text-CoT portion, the scene-graph portion, or both as decoded text while all other forms stay latent; each is evaluated with free routing, forced latent or forced text decoding. The dashed line is our all-latent model. (a) Average score over the nine benchmarks. (b) The same runs against think steps. (c) Think tokens per question across methods, measured as in Fig. 5.

Inference efficiency: (a) wall-clock latency per question relative to ours, from 1.00x for ours to 5.42x for SkiLa-7B; (b) decode TFLOPs, 0.294 for ours; (c) five-benchmark accuracy against latency, where every other method is slower and less accurate than ours.

Figure 5: Inference efficiency on V⋆, HR-Bench 4K/8K, RealWorldQA and QSpatial++. (a) Latency per question, with the ratio to ours. (b) Decode FLOPs computed from token counts; all methods share one backbone. (c) Mean accuracy over the five benchmarks against latency; the shaded region marks methods that are both slower and less accurate than ours.

Finding ❸

The Gains Transfer across Backbones and Recipes

The benefit of heterogeneous latent supervision transfers across model scales, backbones, and training recipes.

The same data and training stages also improve a smaller (Qwen2.5-VL-3B) and a newer (Qwen3-VL-8B) backbone (Table 3), as well as a modified LVR-style recipe (Table 4).

Table 3: Cross-backbone transfer. Other backbones trained with the same data and training pipeline also improve over the base models.

Qwen2.5-VL-3B

ModelCV-BenchMME-RWQSpatial++POPE
base59.2242.3152.4886.31
ours69.9148.9358.4287.96
Δ+10.69+6.62+5.94+1.65

Qwen3-VL-8B

ModelQSpatial++MME-RWV⋆HR8K
base51.4949.8280.1070.25
ours64.3655.9783.7771.88
Δ+12.87+6.15+3.67+1.63

We adapt LVR into a pipeline that shares only the data and the latent interface with ours (Fig. 6). Training is a single teacher-forced stage without distillation: the rendered helper’s visual features fill the latent slots as inputs, and a trainable prediction head predicts each slot from the hidden state at the preceding position, trained with an alignment loss, the answer cross-entropy and a contrastive term that keeps the latents sample-specific. At inference the helper is absent and the head generates the latent slots autoregressively. Trained on 500K examples of our corpus, this pipeline gains 3.47 points of average score over its base and surpasses the publicly released LVR checkpoint by 5.03 points, most notably on QSpatial++ (Table 4).

LVR-style training pipeline. Top: the image and question go into the MLLM, which produces latents z1 to zm and then the answer; the helper image is encoded by a visual encoder into helper features that supervise the latents. Bottom: like token prediction from a hidden state through the LM head, an LVR head (GLU) predicts each latent from the preceding hidden state and is trained with an alignment loss against the helper feature.

Figure 6: LVR-style training pipeline. Top (Overview): Helper image is encoded by visual encoder as ground truth to supervise latent. Bottom (Details): latent is predicted from preceding hidden state like a text token.

Table 4: Cross-recipe transfer. A modified LVR-style recipe trained on our dataset, against its base and against the publicly released LVR checkpoint.

ModelV⋆MME-RWBLINKPOPE RWQACV-BenchQSpatial++Avg.
base (Qwen2.5-VL-7B)75.9245.4955.6586.5869.1573.4041.5863.97
LVR-7B81.1849.5653.4584.7668.1075.0924.7562.41
LVR-style + our data82.7249.4056.1387.2170.8578.2647.5267.44
Δ vs. base+6.80+3.91+0.48+0.63+1.70+4.86+5.94+3.47
Δ vs. LVR-7B+1.54−0.16+2.68+2.45+2.75+3.17+22.77+5.03

Citation

@article{yang2026hvlr,
  title   = {Unifying Heterogeneous Visual Reasoning in Expressive Latent Space},
  author  = {Yang, Ruoliu and Li, Yijiang and Luo, Haozheng and Wang, Yixuan and Vasconcelos, Nuno},
  journal = {arXiv preprint arXiv:XXXX.XXXXX},
  year    = {2026}
}