Manuscript Offprint

arXiv:2610.07646

Matching Object or Relation? Tracing Abstract Reasoning Inside VLMs

Gouki Minegishi, Hiroki Furuta, Takeshi Kojima, Yusuke Iwasawa, Yutaka Matsuo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Vision Language Models (VLMs) excel on visual benchmarks but fail systematically on tasks requiring abstract reasoning. Existing benchmarks document this failure but cannot say why it happens or which cognitive capability is missing. We close this gap by adopting the Relational Match-to-Sample (RMTS) paradigm from comparative and developmental psychology and pairing it with a mechanistic analysis of the model's internals. On a parametrically controlled stimulus set evaluated across frontier API models (GPT, Claude, Gemini) and three open-source families (Qwen3.5, Gemma-4, InternVL3), we identify four levers that shift VLMs toward the relational match—capability tier, model scale, the number of objects per scene, and the absence of per-object stimulus noise—together producing a developmental-like trajectory that mirrors the human relational shift. Opening up the model, a per-layer representational similarity analysis and a causal mediation analysis reveal that VLM abstract reasoning is implemented by two competing circuits: an early circuit that organises images by their surface object features, and a late circuit that organises them by their abstract relation. Extending the analysis to ARC-AGI-1, we find that ablating the relational heads identified on RMTS degrades performance more than ablating random heads, indicating that the relational circuit is recruited beyond our controlled stimuli. We hope this mechanism-level view serves as a step toward understanding how abstract reasoning is implemented in VLMs.

1 INTRODUCTION

Vision Language Models (VLMs) have advanced rapidly on visual tasks (Yue et al., 2024a;b; Li et al., 2025c; Zhang et al., 2024; Li et al., 2025b), yet they continue to fail systematically on a kind of abstract reasoning (Mitchell et al., 2023; Campbell et al., 2024; Yiu et al., 2024). Existing benchmarks document this failure but conflate it with object recognition, attention, and configuration tracking; the resulting picture is descriptive rather than mechanistic, leaving open both why VLMs underperform and which cognitive capability they lack relative to mature human intelligence. A diagnostic that ties behaviour to internal mechanism has been missing.

To close this gap, we adopt the Relational Match-to-Sample (RMTS) paradigm from comparative and developmental psychology (Christie & Gentner, 2013; Shivaram et al., 2023; Gentner & Hoyos, 2017), illustrated in Figure 1. Two sample images are introduced with a novel nonsense label (e.g., “these are both XXX”), and the model is asked which of two test images is also a XXX. The relational match preserves the abstract pattern shared by the samples—here, a small-large-small size pattern—with entirely new objects; the object match reuses the samples’ own objects (a blue circle and a red triangle) but breaks the pattern. The question is not which option is objectively correct, but which kind of generalisation the system reaches for. Adult humans gradually shift toward the relational match—a developmental trajectory known as the relational shift (Gentner et al., 2011; Christie & Gentner, 2013; Goswami, 1991)—while young children and non-human apes begin near the object-match end (Christie et al., 2016; Premack, 1983). RMTS thus offers a calibrated

∗^{*}Work done as an advisory role only.

Figure

Figure 1: The Relational Match-to-Sample (RMTS) task as we present it to a VLM. Left: the prompt as the model sees it. The VLM is taught a novel nonsense label XXX from two example images (Sample 1 and Sample 2), and is then asked which of two test candidates—Image A or Image B—is also a XXX. Right: the two competing solutions the model can latch onto. Image A (top) preserves the small-large-small relation with brand-new objects (green squares); the label XXX therefore generalises to A only if the model has bound it to the shared abstract relation between the samples—the relational match. Image B (bottom) reuses the very objects that appeared in the samples (a blue circle and red triangles) but breaks the size pattern; the label generalises to B only if the model has bound it to shared surface features—the object match. The two readings are mutually exclusive by construction: a relational reasoner picks A, while a system that keys on surface object similarity picks B.

yardstick for relational abstraction in any cognitive system, with established human-developmental and cross-species reference points.

We bring this paradigm to VLMs. To eliminate confounds from naturalistic scene content, we design a formally controlled stimulus set whose scenes consist of geometric objects parameterised by (size, color, shape), and evaluate frontier API models (GPT, Claude, Gemini) alongside three open-source families (Qwen3.5, Gemma-4, InternVL3). On this task we make two contributions.

(1) A behavioural map of the object–relational axis in VLMs. (Section 3) We identify four levers that systematically shift VLMs toward the relational match: capability tier (a 58 pp gap inside a single API family between Claude-Opus-4.6 and Claude-Haiku-4.5), within-family scale, the number of objects per scene n, and the absence of per-object stimulus noise. Chain-of-thought prompting modulates the first two by +20 to +57 pp on non-saturated models. The resulting picture is a developmental-like trajectory across model families and conditions, mirroring the human relational shift.

(2) A mechanistic account of how the choice is made. (Section 4) Behaviour alone does not explain why models choose as they do. Using a per-layer representational similarity analysis (RSA; Kriegeskorte et al., 2008), we show that early layers organise the four images in line with the object-match solution, while late layers swing toward the relational-match solution, with the crossover arriving earlier and sharper in larger and more relationally-biased models. A causal mediation analysis (CMA; Meng et al., 2022; Wang et al., 2023) isolates a single dominant relational head and a single dominant object head per checkpoint, with logit-margin swings of order one unit when patched. Together, RSA and CMA reveal that VLM abstract reasoning is implemented by two competing circuits: an early circuit that organises images by their surface object features, and a late circuit that organises them by their abstract relation. When the model answers directly, its choice reflects which of the two circuits dominates at the output; CoT, by contrast, reaches the relational answer through a route that does not depend on the relational heads.

We hope that bringing controlled, mechanism-aware experimental designs of this kind to VLMs can serve as a step toward a research programme on abstract reasoning that goes beyond aggregate benchmark scores and engages directly with how that capability is implemented inside the model.

References (81)