Counterfactual Twins: Testing Whether Spatial Gains in Vision-Language Models Come From the Image

Vision-language models, systems that answer questions about images by passing image features into a large language model, are poor at 3D spatial reasoning. They have trouble judging which object is higher, which way an object faces, or how far apart two things are. Recent methods report large gains on public spatial benchmarks. Two well-documented problems make those gains hard to interpret. The first is modality bias: models often answer from the question text and their world knowledge and largely ignore the pixels. The second is contamination: public benchmarks built from well-known scans and photo collections may already appear in training data. A question such as "is the lamp higher than the table?" can usually be answered correctly without looking at the picture, because lamps usually are higher than tables. We propose to build matched pairs of rendered 3D scenes. The two scenes in a pair share the same objects and the same question, but in one the geometry agrees with common sense and in the other it contradicts it. All pairs are generated fresh, so no model can have seen them. We then use the same generator as a training source in which the reward depends on getting both members of a pair right.

The central claim is easy to state and to falsify. A meaningful share of current 3D spatial accuracy is "prior accuracy," meaning accuracy that survives when the image is uninformative and collapses when the image contradicts the prior. Training that rewards only joint correctness on counterfactual pairs should shrink this gap more than the same amount of unpaired synthetic data. If neither half holds, we will have learned that current spatial gains are real visual gains, which is also worth knowing.

What the Literature Already Shows, and What It Leaves Open

Several papers motivate the proposal by documenting the gap. MLLMs are Deeply Affected by Modality Bias removed images from a vision-dependent benchmark (MMMU-Pro). Qwen2.5-VL kept 56.53% answer consistency with its full-input answers when given text only, and replacing images with noise barely hurt it. That study did not touch spatial tasks. GRASP used probing to show that intermediate layers encode correct spatial relations that language priors suppress at the output. What's "up" with vision-language models? showed that accuracy collapses once object identity no longer predicts the relation. Its controlled splits are 2D prepositions, though, and it does not cover 3D height, orientation, or metric distance. 3DSRBench comes closest to our design: its FlipEval mirrors images to expose left/right bias, and it reports a 32.2% drop for Gemini-1.5-Pro on uncommon viewpoints. Mirroring only tests one axis, and it does not break physical or functional priors such as "cups rest on tables" or "chairs stand upright."

Other work supplies methods we reuse. SpatialViz-Bench generates spatial tasks procedurally with FreeCAD so that they cannot have leaked. Its text-only baseline scores 25.86% against 25.08% chance, which shows that abstract CAD tasks resist priors. The benchmark is evaluation-only and uses abstract shapes, so it cannot tell us whether gains on everyday-object benchmarks are prior-driven. We borrow its generation approach (code) and apply it to everyday scenes with controlled prior violations. Beyond Memorization showed in text domains that freshly synthesized multi-step reasoning questions remove post-cutoff score decay; the influence-function hit rate fell from 77.5% to 17.5%. This supports the idea that procedurally generated items reduce memorization. We extend that logic to rendered geometry.

The strongest competing methods define what we must beat. Two of them train on synthetic 3D pseudo-labels derived from 2D Open Images:

  • DiSR passes images through frozen perception experts (SAM, Metric3D, OrientAnything), writes the resulting 3D evidence out as text, and lets an LLM reason over that text. It reaches 67.62% on 3DSRBench and close to 100% when given ground-truth evidence.
  • SpatialReasoner uses explicit coordinates plus reinforcement learning with GRPO (group relative policy optimization, which rewards a sampled answer relative to other samples for the same prompt). It reaches 60.3% on 3DSRBench.

Two other methods use ScanNet-derived or foundation-model-derived signals:

  • Spatial-R1 synthesizes 91k questions from ScanNet and rewards the model for imagining correct coordinate maps.
  • 3DThinker aligns latent reasoning tokens to VGGT, a 3D foundation model.

None of the four separates prior-consistent from prior-violating items or tests contamination. When More Is Less constrains our design. It found that raw numeric coordinates act like noise for frozen models and that stacking contexts hurts. We therefore phrase our questions in natural language and keep each item to a single question.

Research Program

The first component is a twin generator. It places everyday object assets in rendered indoor scenes with exact 3D ground truth: positions, sizes, gravity-aligned orientations, and camera pose. For each question template, it produces a prior-consistent scene and a prior-violating scene that differ only in the queried geometry, while object identities, lighting, and camera distribution stay the same. The templates cover the four 3DSRBench domains: height, location, orientation, and multi-object reasoning. Example violations include a lamp below table height, a chair facing a wall, a mug resting under a shelf rather than on it, or a small object closer to the camera than a large one. To decide which configuration counts as "prior-consistent" without relying on our own intuitions, we ask a strong text-only LLM the question with no image. Its answer defines the prior, and the violating twin is built so that the correct answer differs from it. Asset categories, scene layouts, and camera ranges are split so that some combinations never appear in training. Every evaluation draw is regenerated with a new seed after all evaluated models' training cutoffs.

The second component is a set of diagnostic metrics. Prior gap is accuracy on consistent twins minus accuracy on violating twins. Blind accuracy is accuracy with the image replaced by noise, following the image-removal protocol of Zheng et al.. Pair accuracy is the fraction of twin pairs answered correctly on both members. A model that relies purely on priors scores near 100% on consistent twins, near 0% on violating twins, and near 0% on pairs. We will also compute blind accuracy on 3DSRBench and VSI-Bench themselves, and split their items by whether a text-only LLM answers them correctly. This tells us how much of each method's published gain falls on prior-answerable items.

The third component is pair-rewarded training. We start from Qwen2.5-VL-7B, the base used by Spatial-R1. After a short supervised warm-up on generated scenes, we run GRPO with a pair reward: the model is rewarded only when its answers to both twins, sampled within the same group, are correct. For a twin pair $(x^{+}, x^{-})$ with answers $a^{+} \neq a^{-}$, the reward is

$$ r = \mathbb{1}[\hat{a}(x^{+}) = a^{+}] \cdot \mathbb{1}[\hat{a}(x^{-}) = a^{-}], $$

where $\hat{a}(\cdot)$ is the model's sampled answer. Because the two scenes share text and differ only in pixels, a policy that ignores the image can collect this reward on at most chance-level pairs. The objective therefore targets visual dependence directly, rather than hoping it emerges from more data.

Baselines

The naive reference point is the untuned Qwen2.5-VL-7B and its blind (noise-image) counterpart, evaluated on every benchmark. The gap between them estimates how much accuracy the image actually contributes. For a larger reference, the file reports Qwen2.5-VL-72B at 54.9% mean accuracy on 3DSRBench (SpatialReasoner).

The strongest single-image competitor is DiSR, at 67.62% on 3DSRBench (DiSR). It is the strongest competitor on our question because it removes raw image tokens from the reasoning stage altogether, which is the most direct structural answer to modality bias. We will run it as released on our twin sets and on 3DSRBench without retraining, and also retrain it with our generated scenes added to its 0.33M samples, so that both systems see the same data. "Beating" DiSR means higher pair accuracy and smaller prior gap on fresh twins, while staying within two points of 67.62% on 3DSRBench. We do not claim we will beat it on the public benchmark.

SpatialReasoner (60.3% on 3DSRBench) is the closest training-recipe competitor, since it also uses GRPO on synthetic 3D supervision. We will reproduce its recipe on Qwen2.5-VL-7B with the same number of GPU hours and training examples as our method.

For video, the reported reference points are SpaceMind at 69.6% on VSI-Bench (SpaceMind) and Spatial-R1 at 45.6% (Spatial-R1). We use these only for the contamination and prior-split analysis, not as targets, because our method is single-image.

The ablation that isolates the key ingredient trains the identical model on exactly the same rendered scenes, but rewards each scene independently instead of jointly. A second ablation trains on consistent twins only. If the unpaired ablation matches pair-rewarded training on pair accuracy, then the pairing contributes nothing and the gains come from the data alone.

Why not just…?

Why not just use a decoupled pipeline like DiSR, which already bypasses image tokens? This is the most serious threat. Serializing perception into text does not remove priors. It moves them in two places. First, the perception experts were themselves trained on natural photos and may misestimate orientation or depth for unusual configurations such as an upside-down chair. Second, when the serialized evidence says something implausible, the reasoning LLM may override it with what it expects. DiSR's near-100% accuracy with oracle evidence shows that the reasoner works when the evidence is correct. It does not show what happens when the evidence is correct but surprising. We will run DiSR on violating twins with both predicted and ground-truth evidence. If its prior gap is near zero in both conditions, the decoupled approach already solves the problem, and our contribution narrows to the benchmark and the diagnosis.

Why not just add more synthetic spatial data, as Spatial-R1 and SpatialReasoner do? In natural scenes, most generated questions agree with priors, so more data mostly reinforces answers the prior already gives. The unpaired-reward ablation, trained on our own balanced data, tests this directly. If it closes the prior gap as well as pair rewards do, we will report that balanced data is sufficient and that the pair reward is unnecessary.

Why not just apply training-free debiasing such as GRASP? GRASP lifted LLaVA-1.5 from 60.3% to 86.4% on WhatsUp. It is limited to affine geometric corrections, needs per-model tuning of which layers to adjust, and adds 1.7x latency. Its counterfactual references are also built in positional-encoding space rather than in scene geometry. We will run it on our twins with its published settings. If it matches our pair accuracy, then priors can be suppressed at inference time and training is unnecessary.

Why not just measure blind accuracy on existing benchmarks? Blind accuracy cannot tell whether a correct answer comes from a world prior or from memorizing the benchmark, and it provides no training signal. We report it, but the fresh twins are what separate the two explanations.

Proposed Experiments and Decisive Checks

The first experiment audits existing methods. For DiSR, SpatialReasoner, GRASP, and the base models, we report prior gap, blind accuracy, and pair accuracy on 5,000 freshly generated twin pairs. On 3DSRBench and VSI-Bench, we split items into prior-answerable and prior-unanswerable groups. The hypothesis is supported if published gains over base models concentrate on prior-answerable items, and if blind accuracy on these public benchmarks is clearly above chance while blind accuracy on our violating twins is not.

The second experiment tests contamination. We compare each model's accuracy on public 3DSRBench items against regenerated look-alike items: same templates and object categories, but new renders. A drop that exceeds what prior gap alone explains points to memorization rather than priors.

The third experiment tests training. Pair-rewarded GRPO, the unpaired ablation, the consistent-only ablation, and the retrained SpatialReasoner and DiSR all receive the same data and compute budget. They are evaluated on held-out asset and layout combinations, on 3DSRBench (including FlipEval and uncommon viewpoints), on WhatsUp, and on SpatialViz-Bench as a transfer test for which the file reports Gemini-2.5-pro at 44.66%. CV-Bench-3D is included, though no reported result found on Lacuna for it.

The decisive outcome is pair-rewarded training cutting the prior gap substantially relative to the unpaired ablation, while matching or improving 3DSRBench accuracy. If it also lowers blind accuracy, the model is depending more on the image. A null result would show that the field's spatial gains are already visually grounded, and we will report it as such.