betaFeedback

WorksComputer Science

Matching Object or Relation? Tracing Abstract Reasoning Inside VLMs

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.

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 [38, 5, 56]. 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 [9, 48, 15], 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\texttt{small-large=small} size pattern—with entirely new objects; the object match reuses the samples’ 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 [17, 9, 20]—while young children and non-human apes begin near the object-match end [10, 46]. RMTS thus offers a calibrated yardstick for relational abstraction in any cognitive system, with established human-developmental and cross-species reference points.

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.

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. (§ 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 nn, 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. (§ 4) Behaviour alone does not explain why models choose as they do. Using a per-layer representational similarity analysis (RSA; [23]), 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; [34, 51]) 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.

The Relational Match-to-Sample Setup

In cognitive science, RMTS is typically conducted with naturalistic scenes containing multiple objects such as animals [15]. For instance, as illustrated in Figure 2, stimuli are constructed by treating entities such as rabbits or penguins as the units over which relational and object matches are defined. In contrast, to probe how VLMs perform abstract reasoning under minimal confounds, we adopt a tightly controlled stimulus design in which the attributes of each object are explicitly parameterised. This design follows a line of work on controlled task construction in deep-learning vision research [2, 44, 41]. Concrete examples of our stimuli are shown in Figure 1 and, more comprehensively, in Figure 9 in Appendix § 13.

Typical RMTS stimuli in cognitive science

Figure 2. Typical RMTS stimuli in cognitive science.

Canonical stimulus examples. Labels: Sample 1; Sample 2; Relational match; Object match; AAA color, AAA size; AAB color, AAB size; ABA color, ABA size; ABB color, ABB size; ABC color, ABC size.

Figure 9. Canonical stimulus examples (n=3n=3).

Trial structure: samples, relational match, object match

We make the structure of an RMTS trial precise. Each scene is built from objects parameterised by three attributes drawn from finite alphabets:

C={red,blue,green},S={small,medium,large},H={circle,triangle,square},\mathcal{C} = \{\text{red},\text{blue},\text{green}\}, \qquad\mathcal{S} = \{\text{small},\text{medium},\text{large}\}, \qquad\mathcal{H} = \{\text{circle},\text{triangle},\text{square}\},

the colour, size, and shape sets respectively. An object is a triple o=(c,s,h)∈C×S×Ho = (c,s,h) \in\mathcal{C} \times\mathcal{S} \times\mathcal{H}.

Definition 1 (Samples). A sample of size nn is an ordered tuple of nn objects that share a common shape2:

x=(o1,…,on),oi=(ci,si,h) ∀i.x = (o_1,\ldots,o_n), \qquad o_i = (c_i,s_i,h)\ \forall i.

The within-scene patterns are the equivalence classes of the colour and size sequences: PC(x)=pat⁡(c1,…,cn)P_C(x) = \operatorname{pat}(c_1,\ldots,c_n) and PS(x)=pat⁡(s1,…,sn)P_S(x) = \operatorname{pat}(s_1,\ldots,s_n), where for n=3n = 3 we use the standard alphabet pat⁡∈{AAA,AAB,ABA,ABB,ABC}\operatorname{pat} \in\{\mathrm{AAA},\mathrm{AAB},\mathrm{ABA},\mathrm{ABB},\mathrm{ABC}\} (e.g. pat⁡(small,large,small)=ABA\operatorname{pat}(\text{small},\text{large},\text{small}) = \mathrm{ABA}). The relation of a scene is the pair R(x)=(PC(x),PS(x))R(x) = (P_C(x),P_S(x)).

A trial is a tuple T=(x(1),…,x(K);yrel,yobj;ℓ)T = (x^{(1)},\ldots,x^{(K)};y_{\mathrm{rel}},y_{\mathrm{obj}};\ell) consisting of K≥2K \ge2 sample scenes x(k)x^{(k)} that share the same relation R∗=R(x(k))R^* = R(x^{(k)}) but use distinct shapes and distinct attribute-value assignments, two test scenes yrely_{\mathrm{rel}} and yobjy_{\mathrm{obj}}, and a label ℓ\ell (a novel three-letter nonce word) attached to each sample. The model is asked which of yrel,yobjy_{\mathrm{rel}},y_{\mathrm{obj}} is also an ℓ\ell.

Definition 2 (Relational match). A scene yrely_{\mathrm{rel}} is a relational match for samples sharing relation R∗R^* if (i) its relation matches: R(yrel)=R∗R(y_{\mathrm{rel}}) = R^*; (ii) its shape is not used by any sample, h(yrel)∉{h(x(k))}kh(y_{\mathrm{rel}}) \notin\{h(x^{(k)})\}_k; and (iii) its concrete colour and size values are disjoint from those used by the samples (when the alphabet permits).

Definition 3 (Object match). A scene yobjy_{\mathrm{obj}} is an object match if (i) its relation differs from the samples’, R(yobj)≠R∗R(y_{\mathrm{obj}}) \ne R^*; (ii) every object in yobjy_{\mathrm{obj}} is drawn from the union of objects appearing in the samples, {o:o∈yobj}⊆⋃k{o:o∈x(k)}\{o:o\in y_{\mathrm{obj}}\}\subseteq\bigcup_k\{o:o\in x^{(k)}\}; and (iii) the shapes used in yobjy_{\mathrm{obj}} are mixed across ≥2\ge2 of the sample shapes.

The two definitions are mutually antagonistic by construction. Definition 2 guarantees that picking yrely_{\mathrm{rel}} requires inferring the abstract relation from the samples and applying it to genuinely new objects (new shape, new colour/size values); Definition 3 guarantees that picking yobjy_{\mathrm{obj}} requires only matching surface features back to the samples (because every object in yobjy_{\mathrm{obj}} literally appears in some sample). A system that keys on object similarity therefore deterministically picks yobjy_{\mathrm{obj}}; a system that keys on the relation R∗R^* deterministically picks yrely_{\mathrm{rel}}. Following the cognitive-science convention [15, 9], we report the rate at which the model picks yrely_{\mathrm{rel}} (the relational rate, Rel%) and treat the contrast as a bias rather than an accuracy measurement.

Prompt and evaluation protocol

Each trial is presented in a single turn containing all four images followed by a short instruction (see concrete prompt in Appendix § 12). The label is a novel three-letter nonce word drawn from a fixed pool to avoid priming any pre-existing concept; the question is phrased neutrally (“Which one is a XXX?”) and constrained with “Final answer: Image ” so that the next token is forced to be either A or B. We sweep three open-source families covering 0.8B–38B parameters—Qwen3.5 [14] (0.8B/2B/4B/9B/27B), Gemma-4 [14] (E2B/E4B/26B/31B), and InternVL3 [61] (1B/2B/8B/14B/38B)—together with frontier VLM models from OpenAI (GPT-5.4, GPT-5.4-mini) [43], Anthropic [1] (Claude-Opus-4.6, Claude-Haiku-4.5), and Google [19] (Gemini-3.1-Pro). For open-source models we read the raw logits of the tokens A and B directly from the next-token distribution, avoiding free-text parsing; for closed-source API models we parse the generated response.

Two sources of bias must be removed for a relational rate to be interpretable. First, the choice of letter labels (A/B) and of nonce word can each induce a constant preference; we cycle the nonce word across a fixed pool of five three-letter strings—XXX, YYY, ZZZ, QQQ, and WWW—assigned uniformly at random per trial, and average the relational rate over labels, integrating out any nonce-specific preference. The pool is restricted to repeated-character strings so that no element carries lexical content that could prime a real concept. Second, the model’s prior over the answer position can favour one letter—a hard “A-bias” is observable in some open-source checkpoints. To remove this, every trial is presented in both orderings (relational match as A and as B) and the relational rate is averaged over the two; any constant letter preference therefore cancels. Unless stated otherwise, the relational rate (Rel%) is reported over all trials per model. By default, we use the n=3n = 3, k=2k = 2 configuration shown in Figure 1, which yields 729 distinct trials per model; together with the two label orderings used to remove A-bias, this gives 729×2729 \times2 evaluations per model. Full configuration and model details are deferred to Sections A and B.

Behaviour: When VLMs Pick the Relational Match

We characterise relational match bias along four levers—(1) capability tier with chain-of-thought (CoT) in § 3.1, (2) model-size scaling in § 3.2, (3) number of objects nn in § 3.3, and (4) stimulus noise in § 3.4. The levers are instances of two factors: the capability of the model (tier and scale, with CoT as an inference-time counterpart), the analogue of the maturation that drives the human relational shift; and the strength of the relational evidence in the stimulus (n and noise).3

Frontier VLMs show a wide object–relational spread

We begin by measuring RMTS performance across five frontier VLMs—GPT-5.4-mini, Claude-Haiku-4.5, Claude-Opus-4.6, Gemini-3.1-Pro, and GPT-5.4—as shown in Figure 3a. Strikingly, even on this set of frontier models, the no-CoT condition reveals a pronounced spread in relational rate, ranging from 32% for GPT-5.4-mini to 100% for GPT-5.4 (a 68-pp gap). Adding chain-of-thought prompting consistently shifts models toward the relational match: the two weakest models, GPT-5.4-mini and Claude-Haiku-4.5, gain 51-pp (32 → 83) and 57-pp (43 → 100) respectively, while the three already-saturated models remain at 100%.4 Following Kojima et al. [22], we elicit CoT with a “Let’s think step by step” prompt; the exact prompt template is given in Appendix § 12. Inspecting the generated reasoning traces, we find that the models explicitly extract the abstract relation shared between the two samples and apply it to the test scenes—example traces are provided in Appendix § 14.

Figure 3. Capability tier, model scale, and number of objects each promote the relational match. (a) Capability tier drives a 58 pp spread within Claude (Opus 100% vs. Haiku 42.5%); CoT lifts every non-saturated model (+51 to +57 pp). (b) Within each open-source family, larger checkpoints pick the relational match more reliably (solid lines, filled circles: CoT; dashed lines, open squares: no-CoT). (c) Raising the number of objects per scene from n=2n=2 to n=20n=20 shifts the relational rate upward.

Model scaling drives the relational match

Within each open-source family, larger models pick the relational match more reliably (Figure 3b; per-model rates in Table 5). Gemma-4 rises monotonically from 26.3% (E2B) to 100% (31B), and Qwen3.5 from 50.0% (0.8B) to 89.3% (9B), with a −3.4-3.4 pp dip at 27B that is at the noise floor. InternVL3 reaches 100% at 38B; its apparent dip at 8B (28.9%) arises because 1B and 2B sit at chance, committing to neither candidate, whereas 8B commits to the object match before scale flips it.5 The no-CoT rate correlates with log-model size in Gemma-4 (r=+0.92r=+0.92), Qwen3.5 (+0.80) and, more weakly, InternVL3 (+0.58), and CoT trajectories sit above the no-CoT ones in every family. The aggregate picture is a developmental-like trajectory mirroring the human relational shift [9, 15]: surface-dominant at small scale, relation-dominant at large scale.

Modelno-CoT (%)CoT (%)Δ\Delta
GPT-5.4100.099.8−0.2
GPT-5.4-mini32.283.4+51.2
Claude-Opus-4.6100.0100.0+0.0
Claude-Sonnet-4.6100.0100.0+0.0
Claude-Haiku-4.542.599.9+57.4
Gemini-3.1-Pro100.0100.0+0.0
Gemini-3.1-Flash99.799.9+0.2
Qwen3.5-0.8B50.049.5−0.5
Qwen3.5-2B47.452.2+4.8
Qwen3.5-4B77.374.9−2.4
Qwen3.5-9B89.385.3−4.0
Qwen3.5-27B85.986.6+0.7
Gemma-4-E2B26.383.6+57.3
Gemma-4-E4B74.397.9+23.6
Gemma-4-26B99.7100.0+0.3
Gemma-4-31B100.0100.0+0.0
InternVL3-1B50.148.5−1.6
InternVL3-2B49.546.1−3.3
InternVL3-8B28.951.7+22.8
InternVL3-14B54.190.6+36.5
InternVL3-38B100.098.8−1.2

Table 5. No-CoT vs. CoT relational rate, full per-model breakdown. Numbers in percent over parsed (relational+object) trials, excluding parse-failures and UNCLEAR responses; sign of Δ\Delta tells whether CoT helps (positive) or hurts (negative). Several Anthropic CoT entries are computed over the parsed subset that survived API failures during the run.

More objects per scene promote the relational match

Raising the number of objects per scene from n=2n=2 to n=20n=20 shifts the relational rate upward in the object-biased middle tiers of each family (Figure 3c, per-model Pearson r(n,Rel⁡)r(n,\operatorname{Rel}) in the legend; example stimuli in Figure 10). Gemma-4-E4B climbs from 0.53 to 0.80 (r=+0.71r=+0.71), InternVL3-14B from 0.10 to 0.83 (r=+0.58r=+0.58) and Qwen3.5-4B from 0.75 to 0.82 (r=+0.72r=+0.72); InternVL3-8B shows a weaker trend (r=+0.36r=+0.36), and the near-ceiling Gemma-4-26B and Qwen3.5-27B show small positive correlations around saturation. As nn grows, the abstract relation becomes visually salient, and the surface heuristic that succeeds at n=2n=2 (“the candidate that reuses the samples’ objects looks more familiar”) no longer suffices. The same trend holds for GPT-5.4-mini, the only non-saturated frontier model in our suite (Figure 13).

n-axis stimulus examples showing Sample 1, Sample 2, Relational match, and Object match for n=2, n=4, and n=5

Figure 10. n-axis stimulus examples. Same column layout as Figure 9, with the number of objects per scene rising from n=2n=2 (top) to n=5n=5 (bottom); n=3n=3 is omitted because the canonical Figure 9 already shows it.

Figure 13. nn-axis on frontier API models (no-CoT, v2-aligned hard nn-axis stimuli). GPT-5.4 saturates at 1.0 at every nn. GPT-5.4-mini drops to ≈0.23\approx0.23 at n=3n=3—reproducing the 32% canonical rate up to relation-pool sampling—and rises back as nn grows. 95% CI bands.

Stimulus noise weakens the relational match

The controlled stimuli used so far are sharp idealisations: every object has a categorical colour (red/blue/green) and a categorical size (small/medium/large), rendered at fixed pixel values. Real-world visual tasks (e.g., natural-image analogues of RMTS) are messier—two “red” objects rarely have identical pixel values, and two “small” objects rarely have identical pixel sizes. To probe how robust the relational behaviour observed above is to this kind of low-level perturbation, we add per-object Gaussian noise to colour and size while leaving the categorical identity of each object unchanged. Concretely, for each object oo in a scene we apply

rgbo←rgbo+N(0,σc2I3)andsizeo←sizeo+N(0,σs2),(1)\mathrm{rgb}_o \leftarrow\mathrm{rgb}_o + \mathcal{N}(0,\sigma_c^2 \mathbf{I}_3) \quad\text{and} \quad\mathrm{size}_o \leftarrow\mathrm{size}_o + \mathcal{N}(0,\sigma_s^2), \tag*{(1)}

Figure 4 shows the results for four open-source checkpoints (Gemma-4-26B/E4B, InternVL3-38B/8B). Two patterns are immediately visible. First, both noise channels degrade the relational rate: every panel slopes downward as σc\sigma_c grows, and within each panel the curves separate by σs\sigma_s (with the largest σs=8\sigma_s = 8 uniformly the lowest). Second, smaller models within each family are markedly more sensitive to noise. Gemma-4-26B drops only from ∼100%\sim100\% (clean) to ∼92%\sim92\% under the most extreme perturbation, whereas Gemma-4-E4B falls from ∼75%\sim75\% to ∼50%\sim50\% over the same sweep—a 25-pp degradation. The InternVL3 family shows the same asymmetry: InternVL3-38B loses only 8–9 pp end-to-end, while InternVL3-8B falls from ∼25%\sim25\% to ∼10%\sim10\%.

Figure 4. Per-object stimulus noise reduces the relational rate. Relational rate as a function of colour-noise scale σc\sigma_c (RGB units; xx-axis) for four open-source checkpoints, with size-noise scale σs\sigma_s (px) encoded by line colour. Both noise channels degrade the relational rate, and within each family the smaller checkpoint degrades more steeply. Shaded bands: ±1\pm1 s.e. over three noise seeds per cell. clipped to valid pixel and size ranges. We sweep σc∈{0,5,10,20,40,80}\sigma_c \in\{0, 5, 10, 20, 40, 80\} (RGB units) and σs∈{0,1,2,4,8}\sigma_s \in\{0, 1, 2, 4, 8\} (px) with three independent noise seeds per cell. Examples of the resulting stimuli across the noise sweep are shown in Figure 11.

Per-object color and size noise sweeps on a single cpx-2 trial

Figure 11. Per-object noise on a single cpx-2 trial (sample 1 only). (a) color noise sweep at σs=0\sigma_s = 0: at σc≥40\sigma_c \ge40 the categorical color identity becomes visibly ambiguous; at σc=80\sigma_c = 80 the middle “green” object is closer to lime/yellow. (b) size noise sweep at σc=0\sigma_c = 0: even at σs=8\sigma_s = 8 the small/medium/large categorical ordering survives, because the categorical sizes are 30/55/85 px and thus 25 px apart. This geometric difference is the simplest explanation for the color-vs-size asymmetry reported in § 3.4.

Taken together, these results show that relational abstraction is sensitive to low-level visual perturbations even when the categorical identity of every object (red/blue/green; small/medium/large) is preserved. Whether this is because relations are computed over the rendered pixels or because the model’s internal categorical representations become noisier remains open; internally, the same perturbation lowers the relational selectivity of late layers (Section M.4). See § 18 for per-attribute differences and results on additional models.

Internal Mechanism: Two Competing Circuits

The behavioural results establish that VLMs sit at varying positions on the object–relational axis and that several levers shift them, but not how the choice is made internally. Our central finding is that it is not made by a single, monolithic “relational module” that grows stronger with scale. Rather, two distinct internal circuits6—one keying on object identity, one on the abstract relation—are simultaneously active, and the model’s direct answer reflects which circuit dominates. We trace the layer-wise dynamics of the two circuits (§ 4.1), show that the levers that shifted behaviour reshape them in the predicted direction (§ 4.2), and confirm causally that they drive the choice (§ 4.3).

The two circuits compete across layer depth

For every layer ℓ\ell, we extract the residual-stream activation at the last token of each image, yielding four hidden vectors per trial: hs1(ℓ),hs2(ℓ),hrel(ℓ),hobj(ℓ)∈Rdh_{s_1}^{(\ell)}, h_{s_2}^{(\ell)}, h_{\mathrm{rel}}^{(\ell)}, h_{\mathrm{obj}}^{(\ell)} \in\mathbb{R}^{d}. We assemble them into a 4×44 \times4 image–image cosine similarity matrix RSMij(ℓ)=cos⁡(hi(ℓ),hj(ℓ))\mathrm{RSM}_{ij}^{(\ell)} = \cos(h_i^{(\ell)}, h_j^{(\ell)}) (i,j∈{s1,s2,rel,obj}i,j \in\{s_1,s_2,\mathrm{rel},\mathrm{obj}\}), and compare it against two binary 4×44 \times4 target matrices encoding the two competing solutions. TrelT_{\mathrm{rel}} pulls the relational match close to both samples (it instantiates the same abstract pattern); TobjT_{\mathrm{obj}} pulls the object match close to both samples (it reuses their concrete objects):

Trel=(1010011011100001),Tobj=(1001010100101101).T_{\mathrm{rel}} = \begin{pmatrix} 1 & 0 & 1 & 0 \\ 0 & 1 & 1 & 0 \\ 1 & 1 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}, \qquad T_{\mathrm{obj}} = \begin{pmatrix} 1 & 0 & 0 & 1 \\ 0 & 1 & 0 & 1 \\ 0 & 0 & 1 & 0 \\ 1 & 1 & 0 & 1 \end{pmatrix}.

Note that TrelT_{\mathrm{rel}} leaves (s1,s2)(s_1, s_2) at 0: our hypothesis concerns whether each sample sits close to the relational candidate, not how similar the two samples are to each other, and asserting the latter would reward generic image similarity unrelated to the relation.7 We score each layer by the Pearson correlation between the upper triangle of RSM⁡(ℓ)\operatorname{RSM}(\ell) and that of each target:

Rel-RSA⁡(ℓ)=r(RSM⁡(ℓ),Trel),Obj-RSA⁡(ℓ)=r(RSM⁡(ℓ),Tobj).\operatorname{Rel\text{-}RSA}(\ell) = r\left(\operatorname{RSM}(\ell), T_{\mathrm{rel}}\right), \qquad\operatorname{Obj\text{-}RSA}(\ell) = r\left(\operatorname{RSM}(\ell), T_{\mathrm{obj}}\right).

High Rel-RSA at layer ℓ\ell means the model is organising the four images by their abstract pattern at that depth; High Obj-RSA means it is keying on surface features. The two scores are not redundant—a layer can score positively on neither, one, or both—and the layer-wise trajectory of (Rel-RSA⁡(ℓ),Obj-RSA⁡(ℓ))(\operatorname{Rel\text{-}RSA}(\ell), \operatorname{Obj\text{-}RSA}(\ell)) reveals which solution dominates at which depth.

Figure 5 shows the layer-wise trajectories of Rel-RSA(ℓ\ell) and Obj-RSA(ℓ\ell) for three Qwen3.5 checkpoints spanning the behavioural object–relational axis: Qwen3.5-0.8B (Rel% = 50.0), Qwen3.5-4B (77.3), and Qwen3.5-9B (89.3). For Qwen3.5-0.8B, Obj-RSA(ℓ\ell) stays high (∼0.6\sim0.6–0.80.8) and Rel-RSA(ℓ\ell) negative (∼−0.6\sim-0.6) at every depth, matching its chance-level Rel%. For Qwen3.5-4B and Qwen3.5-9B, the picture is qualitatively different: Obj-RSA(ℓ\ell) dominates the early layers (relative depth ≲0.3\lesssim0.3–0.40.4), and Rel-RSA(ℓ\ell) rises to overtake it at intermediate layers and remains the dominant signal through the rest of the network. We refer to these two regimes as the object circuit (early, red shading in Figure 5) and the relational circuit (late, blue shading). The crossover depth shifts earlier with scale (∼0.45\sim0.45 in 4B, ∼0.30\sim0.30 in 9B), and the asymptotic Rel-RSA grows with scale, mirroring the behavioural ordering (50.0 →\to 77.3 →\to 89.3). Surface-feature matching is thus not absent in models that answer relationally; it is overwritten by the relational circuit at intermediate depth.

Figure 5. Layer-wise emergence of the relational circuit. Per-layer Rel-RSA(ℓ\ell) (blue) and Obj-RSA(ℓ\ell) (red) for three Qwen3.5 checkpoints, plotted against relative layer depth. The smallest model (0.8B; Rel% = 50.0) never produces a relational circuit. The two larger models (4B, 9B; Rel% = 77.3, 89.3) exhibit an early object circuit followed by a relational circuit that overtakes it at intermediate depth. The crossover shifts earlier with scale. Shaded bands: ±1\pm1 s.e. over trials.

The relational circuit is amplified by the number of objects

In § 3.3 we showed that increasing the number of objects per scene nn shifts the behavioral relational rate upward. We now ask whether this behavioral shift is mirrored in the internal RSA dynamics and whether the two are quantitatively linked. Figure 6 plots, for each of six open-source checkpoints, the peak-layer gap Δ\Delta-RSA =max⁡ℓ[Rel-RSA⁡(ℓ)−Obj-RSA⁡(ℓ)]= \max_{\ell}[\operatorname{Rel\text{-}RSA}(\ell) - \operatorname{Obj\text{-}RSA}(\ell)] as a function of nn.

Figure 6. The relational circuit strengthens as the number of objects per scene grows. Peak-layer gap Δ\Delta-RSA = max⁡ℓ[Rel-RSA(ℓ)−Obj-RSA(ℓ)]\max_{\ell}[\mathrm{Rel\text{-}RSA}(\ell) - \mathrm{Obj\text{-}RSA}(\ell)] as a function of nn, for six open-source checkpoints. Pearson correlations with nn are reported in the legend. Shaded bands: ±1\pm1 s.e. over trials.

The trend is consistent across models: Δ\Delta-RSA increases with nn, with five of the six checkpoints showing a strong positive Pearson correlation with nn (Gemma-4-E4B r=+0.81r = +0.81, Gemma-4-26B r=+0.76r = +0.76, InternVL3-8B r=+0.81r = +0.81, Qwen3.5-4B r=+0.75r = +0.75, Qwen3.5-27B r=+0.80r = +0.80); InternVL3-14B is the only weak case (r=+0.15r = +0.15). The lever that pushed behaviour toward the relational match thus also strengthens the relational circuit in intermediate representations, rather than merely tipping the final answer. Stimulus noise, the lever that weakened behaviour, acts on the same quantity in the opposite direction (Section M.4).

Causal mediation localises the circuits to specific heads

The evidence so far is correlational: Rel-RSA and Obj-RSA identify layers whose representations align with the two competing solutions, but they do not establish that those layers are causally responsible for the model’s choice. To make a causal claim, we follow the mechanistic-interpretability (Bereska & Gavves, [4]; Liu et al., [30]) convention of intervening on activations and measuring the resulting change in behaviour (Meng et al., [34]; Wang et al., [51]; Assouel et al., [2]; Heimersheim & Nanda, [21]; Dumas et al., [11]; Li et al., [26]).

Concretely, we run per-head activation patching on Gemma-4-26B. We form a clean context c1c_1 (relational match in position A) and a corrupted context c2c_2 (relational match in position B). For each (layer, head) pair (ℓ,h)(\ell, h) we patch the post-oprojo_{\mathrm{proj}} activation at the prediction position from c2c_2 into c1c_1 and record the resulting shift in the logit margin Δℓ=logit⁡A−logit⁡B\Delta_{\ell} = \operatorname{logit}_{A} - \operatorname{logit}_{B}. A negative Δℓ\Delta_{\ell} identifies a head that normally carries the relational signal (patching it from a corrupted run flips the model away from the relational answer); a positive Δℓ\Delta_{\ell} identifies a head that carries the object signal.

Figure 7 shows the resulting (layer, head) effect map. The effect is heavy-tailed: most heads have negligible ∣Δℓ∣|\Delta_{\ell}|, while a few carry essentially all of the causal signal. The two clear outliers, L28 H12 (deep, relational-supporting) and L12 H11 (mid-depth, object-supporting), sit at distinct depths on opposite sides of the sign axis—consistent with the layer-wise RSA in Figure 5, where the object circuit dominates early and the relational circuit takes over later. The two-stage organisation observed in representation space is thus reflected at the level of individual heads. The same organisation appears on Gemma-4-31B (Section J) and on five further checkpoints from Gemma-4, InternVL3 and Qwen2.5-VL, where in every case a few heads carry most of the relational effect and the strongest sits in the second half of the network (Section M.2).

Figure 7. Per-head activation patching effects in Gemma-4-26B. Δℓ=logit⁡A−logit⁡B\Delta_{\ell} = \operatorname{logit}_{A} - \operatorname{logit}_{B} for each (layer, head) pair: circle size encodes ∣Δℓ∣|\Delta_{\ell}|, colour encodes its sign (blue: relational-supporting; red: object-supporting). Two outliers stand out—L28 H12 (deep, relational) and L12 H11 (mid, object).

CoT bypasses the relational heads. Zeroing the three strongest relational heads of Gemma-4-26B drops its direct answers to chance, yet with CoT the ablated model is back at 100% (Section M.3): the competition governs direct answers, while the CoT gains of § 3.1 run through a separate, language-mediated route.

Discussion and Related Work

Summary. Using the RMTS paradigm as a controlled probe of abstract reasoning in VLMs, § 3 showed how model capability and the strength of relational evidence in the stimulus determine where a model sits on the object–relational axis, and § 4 showed that the underlying mechanism is not a single “relational module” but two competing circuits—one keying on surface object features, one on the abstract relation—whose relative strength is reflected layer-wise (RSA), tracked by the same levers that shifted behaviour (nn and noise), and causally localised to a small number of late-layer attention heads (CMA) across three model families; CoT, in contrast, reaches the relational answer without these heads. Extended related work is in Section O.

Mechanistic interpretability of VLMs. Mechanistic interpretability [4, 47, 59, 40, 42, 12] seeks to reverse-engineer large neural networks at the level of weights, activations, and circuits, originally for LLMs and increasingly for VLMs [3, 30, 31, 13, 55]. Recent work has localised several VLM-specific phenomena: information loss already at the vision encoder [27], performance gains from strengthened image attention [6], and the emergence of binding mechanisms between visual tokens and concept slots [2]. What has remained largely uncharted is the mechanism by which a VLM extracts the abstract relation between objects, as opposed to the identity of individual objects. Our RSA + CMA pipeline addresses this gap: we show that relation extraction is not a diffuse property of the network but is implemented by a small number of identifiable late-layer heads, sitting downstream of—and competing with—an earlier object-feature circuit. Closest to our work, Lepori et al. [25] find a perceptual-then-relational decomposition of same/different judgments in vision transformers, mirroring our early object and late relational stages (Section O compares the two in detail).

Toward AI capable of abstract reasoning. Recent work has repeatedly identified abstract reasoning as a core weakness of contemporary AI systems, with benchmarks such as ARC-AGI [7, 8] highlighting the gap between human and machine performance. The gap is especially pronounced for VLMs: they underperform on ARC-style tasks [38], fail tasks that young children solve [56], and struggle with analogical reasoning more broadly [5]. By bringing the controlled RMTS paradigm to VLMs and pairing behavioural measurements with internal-state and causal analyses, we provide a more mechanistic account of which circuits succeed and fail at relation extraction, and when. This account is directly actionable. As a first step, we ablated the top relational heads identified by CMA (§ 4.3) on ARC-style tasks and found that this targeted ablation degrades performance more than random head ablation of the same size (Figure 8; details in § 21). The relational circuit identified on RMTS is therefore not specific to our controlled stimuli—it is recruited by the model on naturalistic abstract-reasoning benchmarks as well. We hope this kind of mechanistically informed analysis can serve as a foundation for building VLMs that genuinely abstract over objects rather than merely match their surfaces.

Figure 8. Ablating relational heads degrades ARC-AGI-1 performance more than random ablation. Cell-wise accuracy on ARC-AGI-1 for Gemma-4-26B and -31B under clean, rel-3 zero (top-3 relational heads from CMA), and random-3 (three random heads) conditions. Targeted ablation drops accuracy more than random in both checkpoints. Error bars on random-3: s.d. across seeds.

Ethics Statement

This work studies publicly released pretrained VLMs and commercial APIs on synthetic geometric stimuli; it involves no human subjects, personal data, or new data collection from people. The work is methodological—a diagnostic for relational reasoning in VLMs—and we see no direct dual-use implications. Identifying specific heads that carry the relational answer could, in principle, be used to induce or suppress particular generalisation patterns at deployment; any such edit should first be evaluated for downstream effects on unrelated tasks. Limitations are discussed in Section N.

Reproducibility Statement

The stimulus design is fully specified in § 2 and Section A; exact model identifiers, decoding settings, and compute are listed in Section B; verbatim prompts are given in Section C; the RSA and CMA procedures are defined in § 4; and the ARC-AGI-1 evaluation protocol, including the head-edit recipe, is described in § 21; the protocols of the additional analyses are given in Section M. All open-source checkpoints are publicly available, and every experiment uses greedy decoding.

AI Use Statement

In this work, we used generative AI tools (general-purpose chat LLMs and coding assistants) to help write and edit experiment and analysis code. Additionally, we used them to draft and edit text for readability and to format the manuscript and references. Generative AI tools were not used as a component of the core methodology, and the models evaluated in this paper are the objects of study rather than research assistants. All AI-assisted code was reviewed and tested by the authors, and all AI-assisted text was checked by the authors. We take responsibility for the final content of this work, including text, claims, and artifacts produced with the aid of generative AI.

Acknowledgments

[To be added.]

Trial counts and relation coverage

A trial is one RMTS instance: two sample images, a relational candidate, and an object candidate. Each image contains nn objects. Within an image, the nn objects vary along two attributes—colour and size—and each attribute follows one of five abstract patterns: AAA (all the same), AAB (last different), ABA (outer pair shared, middle different), ABB (first different), or ABC (all different). A relation is therefore one pair of patterns (Pcolor,Psize)(P_{\mathrm{color}}, P_{\mathrm{size}}), drawn from the resulting 5×5=255 \times5 = 25 relation types.

n=3n = 3. This is the canonical setting and the basis of every headline number in the paper. Three positions are enough to instantiate all five patterns unambiguously, so a single trial fixes one of the 25 relations. We then enumerate every distinct value assignment that realises each relation—e.g. ABA colour with A=redA = \mathrm{red}, B=blueB = \mathrm{blue} is a different trial from A=blueA = \mathrm{blue}, B=greenB = \mathrm{green}—and obtain 729 unique trials in total. The trials grade naturally by complexity: 9 of them have Pcolor=Psize=AAAP_{\mathrm{color}}=P_{\mathrm{size}}=\mathrm{AAA} (call this cpx=0, both patterns trivial), 144 have one non-trivial attribute (cpx=1), and the remaining 576 have both attributes non-trivial (cpx=2). Each trial is run twice (relational match in position A and in position B) so the per-model evaluation totals 729×2=1458729 \times2 = 1458 datapoints.

Larger nn. To probe the effect of visual saliency we re-render the same 25-relation design at n∈{2,3,4,5,6,8,10,12,16,20}n \in\{2, 3, 4, 5, 6, 8, 10, 12, 16, 20\}, drawing two value assignments per relation at every nn—i.e. 25×2=5025 \times2 = 50 trials per nn, and 500 trials in total across the ten nn values. At n=3n=3 a trial in this sweep is structurally identical to a canonical cpx=2 trial; at n≠3n \ne3 each pattern is extended deterministically (all-same to nn positions, ABA to “outer pair shared, interior different,” and so on). The relation pool and the per-relation trial count are held fixed across nn, so the only thing that varies along the nn-axis is the number of objects per scene—any change in the relational rate therefore reflects scene composition rather than a change in sample size.

Model details

Decoding. All evaluations use greedy decoding (temperature=0.0, do_sample=False) with max_tokens=4096 (no-CoT and CoT). All Hugging Face IDs below are loaded with trust_remote_code=True and run in bfloat16 (vLLM where supported, HF Transformers otherwise).

Tag (used in figures)Hugging Face identifier
Qwen3.5 (5 sizes)
qwen3.5-0.8bQwen/Qwen3.5-0.8B
qwen3.5-2bQwen/Qwen3.5-2B
qwen3.5-4bQwen/Qwen3.5-4B
qwen3.5-9bQwen/Qwen3.5-9B
qwen3.5-27bQwen/Qwen3.5-27B
Gemma-4 (4 sizes)
gemma-4-e2bgoogle/gemma-4-E2B-it
gemma-4-e4bgoogle/gemma-4-E4B-it
gemma-4-26bgoogle/gemma-4-26B-A4B-it
gemma-4-31bgoogle/gemma-4-31B-it
InternVL3 (5 sizes)
internvl3-1bOpenGVLab/InternVL3-1B-Instruct
internvl3-2bOpenGVLab/InternVL3-2B-Instruct
internvl3-8bOpenGVLab/InternVL3-8B-Instruct
internvl3-14bOpenGVLab/InternVL3-14B-Instruct
internvl3-38bOpenGVLab/InternVL3-38B-Instruct
Qwen2.5-VL (used only in Section M.2)
qwen2.5-vl-7bQwen/Qwen2.5-VL-7B-Instruct

Table 1. Open-source checkpoints. HF identifiers as released by the model authors at the time of evaluation.

API checkpoints. The API model identifiers below are used verbatim with the official provider SDKs.

TagProviderModel identifier
gpt-5.4OpenAIgpt-5.4
gpt-5.4-miniOpenAIgpt-5.4-mini
claude-opus-4.6Anthropicclaude-opus-4-6
claude-sonnet-4.6Anthropicclaude-sonnet-4-6
claude-haiku-4.5Anthropicclaude-haiku-4-5-20251001
gemini-3.1-proGooglegemini-3.1-pro-preview
gemini-3.1-flashGooglegemini-3.1-flash-lite-preview

Table 2. API checkpoints.

Compute. All open-source experiments were run with NVIDIA H200 nodes (one GPU per job, 80–320 GB host RAM), with the runtime stack containerised in a Singularity image (PyTorch 2.4, Transformers 4.45, vLLM 0.19.1). API-model experiments require no local GPU.

Prompt templates

No-CoT prompt. The model is explicitly instructed to suppress reasoning and emit only the final answer line.

I will teach you a new concept called ’XXX’ using examples.

The first image is a XXX.
The second image is also a XXX.

Now look at the third image (Image A) and the fourth image (Image B).
Which one is a XXX?
The answer is equally likely to be Image A or Image B. Do NOT default to A
- examine both images carefully. Respond with ONLY one of these two lines
(no reasoning, no explanation):
Final answer: Image A
Final answer: Image B

CoT prompt. The model is invited to reason step by step before committing to an answer.

I will teach you a new concept called ’XXX’ using examples.

The first image is a XXX.
The second image is also a XXX.

Now look at the third image (Image A) and the fourth image (Image B).
Which one is a XXX?
The answer is equally likely to be Image A or Image B. Do NOT default to A
- examine both images carefully. Let’s think step by step. After your
reasoning, conclude with exactly one of these two lines:
Final answer: Image A
Final answer: Image B

Examples of RMTS stimuli

Concrete CoT outputs

Figure 12 shows an example RMTS trial together with the corresponding chain-of-thought trace produced by Claude-Opus-4.6 on this trial. Inspecting the trace, we observe that the model explicitly extracts the pattern shared between the two sample scenes before evaluating the candidates—confirming the qualitative claim made in the main text that CoT prompting surfaces the abstract relation rather than surface-level object features.

Example RMTS trial with two sample scenes, a relational match, and an object match

Figure 12. Example RMTS trial used to elicit the chain-of-thought trace shown below. The two top images are the samples sharing the relation R∗R^*; the bottom two are the candidate test scenes (relational match and object match).

“I need to figure out what ‘XXX’ means from the examples. Example 1: Three red circles arranged in a horizontal row. Example 2: Three blue triangles arranged in a horizontal row. The common pattern: both examples show three identical shapes arranged in a row. The shapes are all the same. . . ” [selects relational match]

Color-vs-size attribute asymmetry

The relations in our set are defined over two attributes (color and size). Stratifying by which attribute carries the relation (Table 3) reveals a non-trivial asymmetry under no-CoT. Most open-source families lean color: Gemma-4 (+14.6 pp), InternVL3 (+5.6 pp), Qwen3.5 (+2.9 pp). The distilled tiers from Anthropic and OpenAI lean the opposite way: Frontier (Anthropic) −36.1 pp, Frontier (OpenAI distilled) −17.4 pp. The asymmetry is large enough that benchmarks dominated by a single attribute could systematically over- or under-state relational competence; we recommend evaluating on at least two orthogonal attributes whenever possible. Chain-of-thought largely erases this asymmetry (right half of Table 3): the Anthropic distilled tier swings from −36.1 pp (no-CoT) to 0.0 pp under CoT, OpenAI distilled from −17.4 to +4.5, and Gemma-4 from +14.6 to +0.8. We read this as a side-effect of the CoT lift documented in § 3: once CoT pushes every non-saturated model close to ceiling on both attribute strata, the residual asymmetry collapses. A practical implication: benchmarks that report CoT-only relational rates substantially understate the attribute-bias effects we identify under no-CoT.

FamilyColor (%)Size (%)Δ\DeltaColor (%)Size (%)Δ\Delta
Frontier (OpenAI)21.538.9−17.492.788.2+4.5
Frontier (Anthropic)63.299.3−36.198.698.6+0.0
Frontier (Google)100.0100.0—83.176.4+6.8
Qwen3.572.970.0+2.982.884.1−1.4
Gemma-468.553.9+14.675.774.9+0.8
InternVL351.045.5+5.665.366.2−0.9

Table 3. Color-only vs. size-only relational rate (%), aggregated by family. “Color-only” = trials with non-trivial color pattern but uniform size; “size-only” is symmetric. For each family the rate is averaged across non-saturated members only (models at 100% on both attributes carry no information about the asymmetry); Frontier (Google) is at ceiling on both for every member under no-CoT, so its Δ\Delta collapses to “—”. Under no-CoT, families differ in the direction of the asymmetry (Anthropic / OpenAI distilled tiers lean toward size; Gemma-4 leans toward color); under CoT every family’s ∣Δ∣|\Delta| collapses to ≤7\le7 pp, indicating that explicit reasoning closes the attribute asymmetry.

n-axis on frontier API models (companion to Figure 3c)

The main-text nn-axis figure (Figure 3c) shows the open-source families to keep the panel readable. The corresponding curves for the frontier API models we evaluated on the nn-axis are shown in Figure 13: GPT-5.4 saturates at ceiling for every nn, while GPT-5.4-mini exhibits the same competition the rest of the paper documents—chance at n=2n=2 (≈0.48\approx0.48), object-biased at n=3n=3 (≈0.23\approx0.23, matching its 32% rate on the canonical 729-trial set), and rising back across the chance line as nn grows (≈0.67\approx0.67 at n=20n=20). The two API curves and the OSS curves in Figure 3c are now evaluated on the same v2-aligned harder nn-axis stimuli (variable shape per scene + size variation + sample-pool object match), so the n=3n=3 point reproduces the canonical 729-trial rate up to relation-pool sampling. The Anthropic and full Gemini families are omitted from this companion because of API-credit interruptions in the nn-axis sweep window; the canonical 729-trial set in § 3 and the noise sweep in § 3.4 cover them.

Shape-coherence ablation

The confound. The trial structure introduced in § 2.1 contains a subtle shape-level asymmetry. By definition (Definition 3), the object match mixes shapes from ≥2\ge2 different samples, while the relational match uses a single fresh shape. The two samples are themselves single-shape (Definition 2). Concretely: the samples are shape-coherent within themselves, the relational match is shape-coherent within itself, but the object match is shape-mixed. A model could in principle exploit this asymmetry alone—“the candidate that is shape-coherent within itself, like the samples, is the answer”—and arrive at the relational match without ever inferring the colour/size relation that defines the trial.

The ablation. To test whether the relational behaviour reported in § 3 is driven by this shape-coherence cue or by genuine relation extraction, we generated an ablated stimulus set in which the object match is also rebuilt as a single-shape scene, drawn at random per trial from one of the two sample shapes. The relational match is unchanged (it still uses the brand-new third shape). Under this ablation, both candidates are shape-coherent within themselves, so shape coherence no longer disambiguates them; only the colour/size relation does. We refer to this set as shape-controlled and to the original set used throughout § 3 as canonical.

Reading the result. If the relational rate on the shape-controlled set matches the rate on the canonical set, the original effect cannot be driven by shape coherence. If instead the rate drops markedly, shape coherence was doing meaningful work and the relational claim should be tempered.

Result. Table 4 summarises the per-model relational rate on the canonical and shape-controlled sets (no-CoT). All ceiling-bound models are essentially unaffected: GPT-5.4 (100.0 →\to 100.0), Gemini-3.1-Pro (100.0 →\to 100.0), Gemma-4-31B (100.0 →\to 100.0), Gemma-4-26B (99.7 →\to 99.7, Δ=+0.1\Delta= +0.1 pp), and InternVL3-38B (100.0 →\to 98.1, Δ=−1.9\Delta= -1.9 pp) reproduce their canonical-set rates within noise. Qwen3.5-9B, the only non-ceiling model in this comparison, is similarly unaffected (89.3 →\to 89.6, Δ=+0.3\Delta= +0.3 pp). All deltas are within ±2\pm2 pp. The relational claim is therefore robust to the shape-coherence confound across the six tested checkpoints.

ModelCanonicalShape-controlledΔ\Delta
GPT-5.4100.0100.0+0.0
Gemini-3.1-Pro100.0100.0+0.0
Gemma-4-31B100.0100.0+0.0
InternVL3-38B100.098.1−1.9
Gemma-4-26B99.799.7+0.1
Qwen3.5-9B89.389.6+0.3

Table 4. Shape-coherence ablation: relational rate (no-CoT) on the canonical vs. shape-controlled stimulus set. On the canonical set, the object match mixes sample shapes; on the shape-controlled set, both candidates are single-shape, so shape coherence cannot disambiguate them. A small ∣Δ∣|\Delta| means the relational claim is robust to the confound. All six tested checkpoints fall within ∣Δ∣≤2|\Delta| \le2 pp.

Noise sweep: additional models (API and small Qwen)

The main-text Figure 4 restricts to the four open-source checkpoints that span the clean-rate range (Gemma-4-26B/E4B, InternVL3-38B/8B) so the panel reads cleanly. For completeness we also ran the sweep on two frontier API models (Gemini-3.1-Flash, GPT-5.4-mini) and the smallest non-A-biased Qwen3.5 (2B); these companion curves are shown in Figure 14. Their qualitative behaviour matches the main figure: clean rate predicts noise robustness, and color perturbation drives a substantially larger drop than size perturbation.

Figure 14. Noise sweep companions: API frontier models and Qwen3.5-2B. Top: relational rate vs. σc\sigma_c (lines = σs\sigma_s). Bottom: same data plotted vs. σs\sigma_s (lines = σc\sigma_c). SE bands across three seeds. Same σ\sigma-grid as Figure 4.

Which attribute matters. Beyond the overall magnitude, which attribute the noise sensitivity attaches to also varies across the models in Figure 4. InternVL3-38B, for instance, is almost entirely indifferent to colour noise and to size noise up to σs=4\sigma_s = 4, only dropping appreciably at σs=8\sigma_s = 8; its relational rate stays above 98% across nearly the entire sweep. Other models display the opposite asymmetry, where colour perturbations cost more than comparable size perturbations (cf. Gemma-4-E4B, where the σc\sigma_c slope is sharper than the σs\sigma_s separation).

CMA result on Gemma-4-31B

Figure 15. Per-head ablation effect on Gemma-4-31B (60 layers, 32/64 heads alternating). Same encoding as Figure 7: bubble size = ∣Δℓ∣|\Delta\ell| capped at the 95th percentile; color = signed Δℓ\Delta\ell (blue rel, red object). The dominant rel head sits at L58 H16 (Δℓ=−11.7\Delta\ell= -11.7, an order of magnitude larger than the 26B counterpart and the largest single-head effect in our experiments); dominant object heads cluster at L30–L31. The depth at which the rel head appears scales with total depth (∼95%\sim95\% in both 26B and 31B), so the two-stage organisation is preserved across the family. The wide gap at heads 32–63 on alternating rows again reflects Gemma-4’s local/global attention pattern.

Per-model relational rates

Table 5 reports the per-model no-CoT and CoT rates underlying Figure 3a and Figure 3b. Notable rows: Claude-Haiku-4.5 (+57.4 pp; 42.5 → 99.9%) and GPT-5.4-mini (+51.2 pp; 32.2 → 83.4%) are the two largest distilled-tier gains; Gemma-4-E2B (+57.3 pp) and Gemma-4-E4B (+23.6 pp) show consistent within-family gains for Gemma; Qwen3.5-9B (−4.0 pp), Qwen3.5-4B (−2.4 pp), and InternVL3-2B (−3.3 pp) show a small negative CoT effect at thin capability.

ARC-AGI-1 task detail

One ARC-AGI-1 training task as the model sees it

Figure 16. One ARC-AGI-1 training task as the model sees it. Two of the four train pairs (input →\to output) and the test input are shown to the model as rendered colour images; the rule here is grid transposition (rows become columns).

Figure 8 tests whether the relational heads we identified on RMTS make a measurable contribution on a fully out-of-domain abstract-reasoning benchmark. This appendix gives the exact stimulus, prompt, evaluator, and head-edit recipe.

Dataset and task subset

We use the public ARC-AGI-1 corpus [7] (training split; 400 tasks). Each task contains 2–5 train input/output pairs and one test input; the model must emit the test output grid. Two filters are applied before evaluation:

  • Image budget: the prompt contains 2K+12K+1 images for KK train pairs. We cap at 14 images per prompt (-limit-mm-per-prompt 14), which covers K≤6K \le6 pairs.

  • Task cap: after the image filter we take the first LIMIT tasks in canonical filename order (66 for Gemma-4-26B, 80 for Gemma-4-31B; the difference is purely a job-budget choice and has no effect on the comparison since each condition uses the same nn within a model).

Identical task subsets are evaluated under every head-edit condition for a given model, so all condition deltas are paired.

Stimulus rendering

Each H×WH \times W grid is rendered as an RGB image with one 32×3232 \times32 px cell per integer (0–9) using the canonical ARC palette (0=black, 1=blue, 2=red, 3=green, 4=yellow, 5=grey, 6=pink, 7=orange, 8=light-blue, 9=maroon), with a 1 px dark border around each cell. The model never sees the integer matrix—it sees the rendered colour image, the same modality used throughout the rest of the paper.

Prompt format

A single user turn carries an instruction header, the palette key, and an interleaved sequence of (image, shape annotation) blocks for each train pair followed by the test input. Verbatim:

You are given input/output examples that follow a hidden rule. Each example is shown as a coloured grid; each cell is one integer 0–9. [palette line]. Infer the rule from the examples and apply it to the final test input. Be concise and decisive: do NOT second-guess yourself or restate the examples. After your reasoning, output ONLY the final grid for the test input between the literal markers <grid> and </grid>: one row per line, integers 0–9 separated by spaces, no row numbers, no colour names, no extra text.

Example 1 input: [image] (H1×W1H_1 \times W_1 grid) Example 1 output: [image] (H1′×W1′H'_1 \times W'_1 grid) . . . Test input: [image] (Ht×WtH_t \times W_t grid). Produce the test output grid . . . between <grid>...</grid>.

We do not use chain-of-thought (--cot flag off) for the intervention experiments, because (a) the rel-3 ablation we want to detect is a representational effect that should not require verbal scratchpad to manifest, and (b) CoT lengthens the response, increasing the chance that any head edit becomes visible only via reasoning errors rather than directly via the predicted grid.

Decoding and parsing

We run the unquantised checkpoint via HuggingFace Transformers (no vLLM in the intervention path, since vLLM does not expose pre-o_proj hooks). Decoding is greedy (do_sample=False, no temperature) with max_new_tokens=4096. The parser:

  • First tries the explicit <grid>...</grid> block.

  • Falls back to the last Output: / Answer: block.

  • For each line, extracts integer tokens; if none are found, tries the colour-name fallback (e.g., “black blue red” → [0, 1, 2], including the two-word phrases “light blue” and “dark red”).

Metric: cell-wise accuracy

ARC-AGI-1’s official metric is exact-match (whole grid correct or incorrect), but exact-match is too lossy at the capability tier of Gemma-4-26B (clean exact-match ≈ 0.23): every condition crashes to near zero and the rel-vs-random comparison becomes statistically uninformative. We therefore report cell-wise accuracy—the fraction of cells in the ground-truth grid matched by the parsed grid, counted as 0 if the parsed shape does not match. This is a natural relaxation that preserves ordering on hard tasks (a one-cell-wrong answer scores HW−1HW\frac{HW-1}{HW}, not 0) while still penalising shape errors.

Head-edit recipe

We use the same per-head intervention machinery as our RMTS CMA scan (§ 4.3): a forward-pre-hook on each layer’s o_proj reshapes its input to (B,T,nh,dh)(B, T, n_h, d_h) and multiplies the selected head slots by the chosen scale. In every condition reported in the main text the scale is 0 (full ablation).

  • Gemma-4-26B (30 layers, 16/32 heads): rel-3 zero: L28 H12, L28 H7, L19 H2. obj-3 zero: L12 H11, L14 H1, L15 H5. Random-3 (three seeds): each is three (layer, head) pairs sampled reproducibly from the layer-by-head grid excluding the top-5 rel and top-5 object heads, so each random condition zeros out the same number of head slots as the rel/obj conditions.

  • Gemma-4-31B (60 layers, 32/64 heads): rel-3 zero: L58 H16, L58 H19, L49 H16 (L58 H16 has Δℓ=−11.7\Delta\ell= -11.7 in the CMA scan, four-to-five times the runner-up). obj-3 zero: L30 H9, L30 H14, L31 H28. Random-3 sampled analogously.

The random-3 baseline controls for the trivial “editing any head hurts” explanation: if rel-3 ablation drops cell-wise accuracy beyond what random-3 ablation does, the rel circuit is contributing causal capacity to ARC, not just disturbing the residual stream.

Additional analyses

This appendix collects analyses that probe the generality of the behavioural and mechanistic findings: a structurally different relation (Section M.1), causal mediation on further model families (Section M.2), the interaction between CoT and the relational heads (Section M.3), the internal effect of stimulus noise (Section M.4), and the robustness of the RSA target (Section M.5).

A structurally different relation: numerical equality

Design. All relations in the main text are ordinal patterns over colour and size. To test whether the findings depend on this relation type, we construct trials in which the two samples share their object count and nothing else. With three objects, for example, Sample 1 shows three red squares and Sample 2 three blue triangles, so that count is their only commonality. The relational match shows three green circles—the right count, in a colour and shape used by neither sample—while the object match shows five red squares, Sample 1’s objects copied verbatim with the wrong count. A model that matches appearance picks the red squares; only counting reaches the green circles. As in the main experiments, every trial is presented in both answer orderings, so any positional preference cancels (chance = 50%), and no CoT is used.

Scale effect on open-source models. We generate 64 trials (128 judgements per model) and evaluate two checkpoints from each open-source family (Table 6). In every family the relational rate rises with model size, by 46, 30 and 73 pp respectively, so the scale effect of § 3.2 is robust to changing the relation itself.

Family (small → large)SmallLarge
Qwen3.5 (2B → 9B)47.793.8
Gemma-4 (E4B → 26B)26.657.0
InternVL3 (8B → 38B)25.898.4

Table 6. Numerical equality, open-source models. Relational rate (%, no-CoT), small → large checkpoint per family.

Frontier models come off the ceiling. The three frontier models that saturate the ordinal relations are no longer saturated on numerical equality (Table 7). Together with the noise sweep, in which checkpoints that saturate the clean stimuli also fall off the ceiling (Gemma-4-26B 100 →\to 92%, InternVL3-38B 100 →\to 92%, Gemini-3.1-Flash 99 →\to 86% under the strongest colour and size jitter; Figure 4 and § 1), this indicates that the ceiling on the canonical set partly reflects its simplicity for the strongest models, and that harder relations discriminate among them.

ModelRel. rate
Gemini-3.1-Pro99.0
Claude-Opus-4.693.0
GPT-5.482.5

Table 7. Numerical equality, frontier models. Relational rate (%), averaged over n=2n = 2–5 and both orderings.

Causal mediation on further model families

To test whether the head-level picture of § 4.3 is specific to Gemma-4-26B, we run the same per-head activation patching, unchanged, on five further checkpoints covering Gemma-4, InternVL3 and Qwen2.5-VL (30 trials each, both answer orderings). Table 8 reports the strongest relational head per checkpoint. In every family a small number of heads carry most of the relational effect, and in every case the strongest one sits in the second half of the network, as in the Gemma-4-26B result of the main text.

ModelTop relational (layer, head)EffectDepth
Gemma-4-26B (main text)(28, 12)−1.02-1.020.97
Gemma-4-E4B(21, 5)−1.27-1.270.51
InternVL3-38B(55, 23)−1.36-1.360.87
InternVL3-14B(28, 29)−0.82-0.820.60
InternVL3-8B(17, 27)−0.44-0.440.63
Qwen2.5-VL-7B(20, 24)−0.32-0.320.74

Table 8. Strongest relational head per checkpoint. Effect: change in the log-odds of the relational answer when that head alone is patched (negative = relational-supporting, as in Figure 7). Depth: layer index divided by the total number of layers.

CoT bypasses the relational heads

CoT lifts weaker models toward the relational match (§ 3.1). Does it do so by strengthening the relational circuit, or through a different route? On Gemma-4-26B we zero out the relational heads identified by CMA (the single strongest, L28 H12, or the top three, L28 H12, L28 H7 and L19 H2; § 21) and run the identical trials twice, once answering directly and once with the CoT prompt of Section C. We use 30 trials from the most demanding relation subset in both answer orderings (60 judgements per condition). Table 9 shows that removing the three strongest relational heads reduces direct answers to chance, which also shows that these heads are necessary rather than merely correlated with the behaviour. With CoT, however, the same ablated model is back at 100%. The CoT gain therefore does not run through the circuit we identified.

Heads zeroedDirect answerWith CoT
None (intact model)100.0100.0
Strongest relational head86.7100.0
Three strongest relational heads50.0100.0

Table 9. Relational rate (%) of Gemma-4-26B under head ablation, without and with CoT.

Stimulus noise and internal representations

We ask whether stimulus noise, which lowers the relational rate (§ 3.4), acts on the same internal quantity as the number of objects (§ 4.2). We use Gemma-4-E4B, the checkpoint with the largest behavioural noise effect, and apply independent Gaussian jitter to every object’s radius, keeping each object inside its original size category so that the categorical description of the scene is unchanged and only the rendered pixels move. We use three noise levels, from no jitter to the strongest jitter of the behavioural sweep, with three noise seeds and 40 trials per seed (120 trials per condition), and measure the relational selectivity Δ\Delta-RSA = Rel-RSA −- Obj-RSA used throughout § 4. Averaged over the late third of the layers (layers 29–42), Δ\Delta-RSA falls from +0.24 without jitter to +0.15 at the strongest jitter (s.e. 0.06), while the relational rate on the same trials falls from 78% to 69%. Noise thus acts on the same internal quantity as nn, in the opposite direction, and the internal decline tracks the behavioural one.

Robustness of the relational RSA target

The relational target TrelT_{\mathrm{rel}} (§ 4.1) leaves the sample–sample entry at 0. We also evaluate the alternative in which all relation-sharing images, including the two samples, are clustered together. For each model and each target we compute the layer-wise curve Rel-RSA(ℓ\ell) −- Obj-RSA(ℓ\ell) and take the Pearson correlation across layers between the two curves. The two definitions agree at r=0.91r = 0.91–1.00 for all fourteen open checkpoints across the three families, so every layer-wise conclusion in the paper holds under either target.

Limitations

Shape coherence as a residual cue. Within a trial, every sample scene uses one shape, the relational match introduces a fresh shape, and the object match by construction (Definition 3) mixes ≥2\ge2 sample shapes; this enforces shape-disjointness with the samples but also means the relational candidate is shape-coherent while the object candidate is shape-mixed. A model could therefore exploit a “which candidate is shape-coherent like the samples” heuristic without inferring the colour/size relation. We address this with a candidate-level ablation in Section H: the object match is rebuilt as single-shape (drawn from a sample shape) so both candidates are shape-coherent within themselves, and only the colour/size relation can disambiguate them. Across the six tested checkpoints the relational rate moves by at most ∣Δ∣≤2\lvert\Delta\rvert\le2 pp, indicating that the headline effect is not driven by shape coherence.

Stimulus distribution. Our formal geometric stimuli isolate the relational step at the cost of a narrow distribution; we mitigate this by sweeping n=2n = 2–20 across the full 5×55 \times5 pattern grid (Figure 3c), by adding per-object Gaussian noise (Figure 4), and by testing a structurally different relation, numerical equality (Section M.1). These relations still do not exhaust those VLMs will ultimately need; spatial, causal and semantic relations, as well as naturalistic scenes, are an immediate next step.

Ceiling effects. The strongest frontier models are at ceiling on the ordinal colour/size relations. For these closed-source models the stimulus set functions only as a benchmark, and at ceiling it cannot discriminate genuine relational abstraction from simpler strategies; the numerical-equality relation partly addresses this by bringing them off the ceiling (Section M.1).

Mechanistic scope. Per-head CMA evidence covers two Gemma-4 checkpoints in full (§ 4.3 and J) and five further checkpoints from Gemma-4, InternVL3 and Qwen2.5-VL on a smaller trial budget (Section M.2). Our use of circuit is functional (§ 4); we do not characterise how the identified heads compose. Finally, the circuit account covers direct answers only: under CoT the model reaches the relational answer without the relational heads (Section M.3), and the mechanism of that route is left open.

Extended Related Work

Analogical reasoning. The RMTS task is treated in cognitive science as an instance of analogical reasoning ([9, 15]), in which a learner transfers an abstract structural correspondence from a source to a target despite surface-level dissimilarity. Analogy has been studied as a candidate explanation for the remarkable sample efficiency of human learning ([15] (Thagard 1992)) and for its role in scientific discovery ([24, 16] (Goel 1997)).

Studies of analogical reasoning in deep neural networks remain comparatively scarce, but several lines of work are directly relevant. Webb et al. [52] compare large language models to humans on a battery of analogical-reasoning tasks and report broadly human-level behavioural performance. Campbell et al. [5] document VLM failures on visual analogy benchmarks, in line with the broader picture that vision-grounded analogical inference remains a weakness in current systems. From a more mechanistic angle, Minegishi et al. [37] formalise analogy in a category-theoretic framework, design a controlled toy task, and analyse how a Transformer trained from scratch on this task implements analogical mappings.

The closest mechanistic study is Lepori et al. [25], who show that vision transformers decompose a same/different judgement into a perceptual stage followed by a relational stage, close to the early object stage and late relational stage we describe. We differ in three respects: we study generative VLMs on a task where the relational answer must beat a specific object-matching alternative rather than give a binary report; we track that competition across capability tier, scale, CoT, scene size and stimulus noise; and we test the relational stage causally, including on ARC-AGI-1. These prior efforts are largely either purely behavioural (assessing whether a model gets analogy problems right or wrong) or focused on toy networks trained from scratch on synthetic tasks. To our knowledge, the present work is the first to combine (i) a parametrically controlled analogical-reasoning paradigm imported from comparative and developmental psychology, (ii) an evaluation across the current frontier of pretrained VLMs (API and open-source families), and (iii) a mechanistic dissection that traces how the analogical computation is implemented inside the network at the level of layers and individual attention heads.

Relational inductive biases and architectures. A complementary line of work builds architectures with explicit relational inductive biases, aiming for systematic generalisation beyond surface features. Webb et al. [53] propose Object-Centric Relational Abstraction (OCRA), combining slot-based object representations with an explicit relational module for abstract visual reasoning. Webb et al. [54] synthesise and extend this theme via the relational bottleneck, an architectural constraint that encourages abstraction by forcing computation to pass through a relation-focused representation. Mondal et al. [39] scale these ideas to more complex multi-object settings by combining slot-based perception with Transformer-style abstraction.

Competing internal circuits. The two-circuit picture we observe is reminiscent of similar phenomena documented elsewhere in the mechanistic-interpretability literature. Most strikingly, the grokking phenomenon ([33, 45]) has been explained as a competition between a memorisation circuit and a generalisation circuit, with the latter eventually dominating after extended training ([40, 32, 36, 35]). Our findings suggest that the same competitive logic surfaces at inference time in pretrained VLMs: a surface-feature (object) circuit and an abstract (relational) circuit are both present, and the model’s behavioural output reflects which circuit dominates at the prediction position. We conjecture that large pretrained models harbour many such circuits implementing alternative solutions to the same task, and that the model’s response is governed by whichever circuit exerts the largest causal influence on the output logits.

References

  1. [1]Anthropic. Introducing Claude Opus 4.6. https://www.anthropic.com/news/claude-opus-4-6, February 2026. Accessed: 2026-05-07.
  2. [2]Rim Assouel, Declan Campbell, Yoshua Bengio, and Taylor Webb. Visual symbolic mechanisms: Emergent symbol processing in vision language models. arXiv preprint arXiv:2506.15871, 2025.arxiv.org/abs/2506.15871
  3. [3]Gabriela Ben Melech Stan, Estelle Afalo, Raanan Yehezkel Rohekar, Anahita Bhiwandivalla, Shao-Yen Tseng, Matthew Lyle Olson, Yaniv Gurwicz, Chenfei Wu, Nan Duan, and Vasudev Lal. LVLM-Interpret: An interpretability tool for large vision-language models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8182–8187, 2024.
  4. [4]Leonard Bereska and Stratis Gavves. Mechanistic interpretability for AI safety - a review. Transactions on Machine Learning Research, 2024. ISSN 2835-8856. URL https://openreview.net/forum?id=ePUVetPKu6. Survey Certification, Expert Certification.arxiv.org/abs/2404.14082
  5. [5]Declan Campbell, Sunayana Rane, Tyler Gallianza, Nicolò De Sabbata, Kia Ghods, Amogh Joshi, Alexander Ku, Steven M Frankland, Thomas L Griffiths, Jonathan D Cohen, et al. Understanding the limits of vision language models through the lens of the binding problem. Advances in Neural Information Processing Systems, 37:113436–113460, 2024.arxiv.org/abs/2411.00238
  6. [6]Shiqi Chen, Tongyao Zhu, Ruoch en Zhou, Jinghan Zhang, Siyang Gao, Juan Carlos Niebles, Mor Geva, Junxian He, Jiajun Wu, and Manling Li. Why is spatial reasoning hard for VLMs? an attention mechanism perspective on focus areas, 2025. URL https://arxiv.org/abs/2503.01773.
  7. [7]François Chollet. On the measure of intelligence. arXiv preprint arXiv:1911.01547, 2019.arxiv.org/abs/1911.01547
  8. [8]Francois Chollet, Mike Knoop, Gregory Kamradt, Bryan Landers, and Henry Pinkard. ARC-AGI-2: A new challenge for frontier AI reasoning systems. arXiv preprint arXiv:2505.11831, 2025.arxiv.org/abs/2505.11831
  9. [9]Stella Christie and Dedre Gentner. Language helps children succeed on a classic analogy task. Cognitive science, 38, November 2013. doi: 10.1111/cogs.12099.DOI
  10. [10]Stella Christie, Dedre Gentner, Josep Call, and Daniel Benjamin Moritz Haun. Sensitivity to relational similarity and object similarity in apes and children. Current Biology, 26(4):531–535, 2016. ISSN 0960-9822. doi: https://doi.org/10.1016/j.cub.2015.12.054. URL https://www.sciencedirect.com/science/article/pii/S0960982215015857.
  11. [11]Clément Dumas, Chris Wendler, Veniamin Veselovsky, Giovanni Monea, and Robert West. Separating tongue from thought: Activation patching reveals language-agnostic concept representations in Transformers. In Wanxiang Che, Joyce Nabende, Ekaterina Shutova, and Mohammad Taher Pilehvar (eds.), Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 31822–31841, Vienna, Austria, July 2025. Association for Computational Linguistics. ISBN 979-8-89176-251-0. doi: 10.18653/v1/2025.acl-long.1536. URL https://aclanthology.org/2025.acl-long.1536/.
  12. [12]Nelson Elhage, Neel Nanda, Catherine Olsson, Tom Henighan, Nicholas Joseph, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, Nova DasSarma, Dawn Drain, Deep Ganguli, Zac Hatfield-Dodds, Danny Hernandez, Andy Jones, Jackson Kernion, Liane Lovitt, Kamal Ndousse, Dario Amodei, Tom Brown, Jack Clark, Jared Kaplan, Sam McCandlish, and Chris Olah. A mathematical framework for transformer circuits. Transformer Circuits Thread, 2021. https://transformer-circuits.pub/2021/framework/index.html.
  13. [13]Stephanie Fu, tyler bronnen, Devin Guillory, and Trevor Darrell. Hidden in plain sight: VLMs overlook their visual representations. In Second Conference on Language Modeling, 2025. URL https://openreview.net/forum?id=qQb1JLrwoI.arxiv.org/abs/2506.08008
  14. [14]Gemma Team, Google DeepMind. Gemma 4. https://deepmind.google/models/gemma/gemma-4/, 2026. Accessed: 2026-05-07.
  15. [15]Dedre Gentner and Christian Hoyos. Analogy and abstraction. Topics in Cognitive Science, 9(3):672–693, 2017. doi: https://doi.org/10.1111/tops.12278. URL https://onlinelibrary.wiley.com/doi/abs/10.1111/tops.12278.
  16. [16]Dedre Gentner, Sarah Brem, Ron Ferguson, and Phillip Wolff. Analogy and creativity in the works of Johannes Kepler. Creative thought: An investigation of conceptual structures and processes, January 1997. doi: 10.1037/10227-016.
  17. [17]Dedre Gentner, Florencia K. Anggoro, and Raquel S. Klibanoff. Structure mapping and relational language support children’s learning of relational categories. Child development, 82 4:1173–88, 2011. URL https://api.semanticscholar.org/CorpusID:440312.DOI
  18. [19]Google DeepMind. Gemini 3.1 Pro. https://deepmind.google/models/gemini/pro/, 2026. Accessed: 2026-05-07.
  19. [20]Usha Goswami. Analogical reasoning: What develops? a review of research and theory. Child Development, 62(1):1–22, 1991. doi: https://doi.org/10.1111/j.1467-8624.1991.tb01511.x. URL https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1467-8624.1991.tb01511.x.
  20. [21]Stefan Heimersheim and Neel Nanda. How to use and interpret activation patching. arXiv preprint arXiv:2404.15255, 2024.arxiv.org/abs/2404.15255
  21. [22]Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. Advances in neural information processing systems, 35: 22199–22213, 2022.arxiv.org/abs/2205.11916
  22. [23]Nikolaus Kriegeskorte, Marieke Mur, and Peter Bandettini. Representational similarity analysis – connecting the branches of systems neuroscience. Frontiers in Systems Neuroscience, 2:4, November 2008. doi: 10.3389/neuro.06.004.2008.DOI
  23. [24]W. H. Leatherdale. The Role of Analogy, Model, and Metaphor in Science. American Elsevier Pub. Co., New York, 1974. URL https://philpapers.org/rec/LEATRO.DOI
  24. [25]Michael A. Lepori, Alexa R. Tartaglini, Wai Keen Vong, Thomas Serre, Brenden M. Lake, and Ellie Pavlick. Beyond the doors of perception: Vision transformers represent relations between objects. In Advances in Neural Information Processing Systems, volume 37, pp. 131503–131544, 2024.arxiv.org/abs/2406.15955
  25. [26]Qiming Li, Zekai Ye, Xiaocheng Feng, Weihong Zhong, Weitao Ma, and Xiaochong Feng. Causal tracing of object representations in large vision language models: Mechanistic interpretability and hallucination mitigation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pp. 31645–31653, 2026.
  26. [27]Wenyan Li, Raphael Tang, Chengzu Li, Caiqi Zhang, Ivan Vulic, and Anders Søgaard. Lost in embeddings: Information loss in vision-language models. arXiv preprint arXiv:2509.11986, 2, 2025a.arxiv.org/abs/2509.11986
  27. [30]Yiming Liu, Yuhui Zhang, and Serena Yeung-Levy. Mechanistic interpretability meets vision language models: Insights and limitations. In ICLR Blogposts 2025, 2025. URL https://d2jud02ci9yv69.cloudfront.net/2025-04-28-vlm-understanding-29/blog/vlm-understanding/ — https://d2jud02ci9yv69.cloudfront.net/2025-04-28-vlm-understanding-29/vlm-understanding/.
  28. [31]Zhining Liu, Ziyi Chen, Hui Liu, Chen Luo, Xianfeng Tang, Suhang Wang, Jingying Zeng, Zhenwei Dai, Zhan Shi, Tianxin Wei, Hanqing Lu, Benoit Dumoulin, and Hanghang Tong. Seeing but not believing: Probing the disconnect between visual attention and answer correctness in VLMs. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=JAI7aFWA9e.arxiv.org/abs/2510.17771
  29. [32]Ziming Liu, Ouail Kitouni, Niklas Nolte, Eric J Michaud, Max Tegmark, and Mike Williams. Towards understanding grokking: An effective theory of representation learning. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=6at6rB31Zm.arxiv.org/abs/2205.10343
  30. [33]Ziming Liu, Eric J Michaud, and Max Tegmark. Omnigrok: Grokking beyond algorithmic data. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=2DiHoIWaOq1.arxiv.org/abs/2210.01117
  31. [34]Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in GPT. Advances in neural information processing systems, 35:17359–17372, 2022.arxiv.org/abs/2202.05262
  32. [35]William Merrill, Nikolaos Tsilivis, and Aman Shukla. A tale of two circuits: Grokking as competition of sparse and dense subnetworks. arXiv preprint arXiv:2303.11873, 2023.arxiv.org/abs/2303.11873
  33. [36]Gouki Minegishi, Yusuke Iwasawa, and Yutaka Matsuо. Bridging lottery ticket and grokking: Is weight norm sufficient to explain delayed generalization? arXiv preprint arXiv:2310.19470, 2023.
  34. [37]Gouki Minegishi, Jingyuan Feng, Hiroki Furuta, Takeshi Kojima, Yusuke Iwasawa, and Yutaka Matsuo. Emergent analogical reasoning in Transformers. arXiv preprint, 2025.arxiv.org/abs/2602.01992
  35. [38]Melanie Mitchell, Alessandro B Palmarini, and Arseny Moskvichev. Comparing humans, GPT-4, and GPT-4V on abstraction and reasoning tasks. arXiv preprint arXiv:2311.09247, 2023.arxiv.org/abs/2311.09247
  36. [39]Shanka Subhra Mondal, Jonathan D. Cohen, and Taylor W. Webb. Slot abstractors: Toward scalable abstract visual reasoning, 2024. URL https://arxiv.org/abs/2403.03458.
  37. [40]Neel Nanda, Lawrence Chan, Tom Lieberum, Jess Smith, and Jacob Steinhardt. Progress measures for grokking via mechanistic interpretability. 2023.arxiv.org/abs/2301.05217
  38. [41]Maya Okawa, Ekdeep S Lubana, Robert Dick, and Hidenori Tanaka. Compositional abilities emerge multiplicatively: Exploring diffusion models on a synthetic task. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (eds.), Advances in Neural Information Processing Systems, volume 36, pp. 50173–50195. Curran Associates, Inc., 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/9d0f188c7947eacb0c07f709576824f6-Paper-Conference.pdf.
  39. [42]Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. Zoom in: An introduction to circuits. Distill, 2020. doi: 10.23915/distill.00024.001. https://distill.pub/2020/circuits/zoom-in.DOI
  40. [43]OpenAI. GPT-5.4 Thinking System Card. Technical report, OpenAI, March 2026. URL https://deploymentsafety.openai.com/gpt-5-4-thinking/gpt-5-4-thinking.pdf.
  41. [44]Core Francisco Park, Maya Okawa, Andrew Lee, Hidenori Tanaka, and Ekdeep Singh Lubana. Emergence of hidden capabilities: Exploring learning dynamics in concept space. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 84698–84729. Curran Associates, Inc., 2024. doi: 10.52202/079017-2686. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/99e6bcf460ea36818cf236da29311e73-Paper-Conference.pdf.
  42. [45]Alethea Power, Yuri Burda, Harri Edwards, Igor Babuschkin, and Vedant Misra. Grokking: Generalization beyond overfitting on small algorithmic datasets, 2022. URL https://arxiv.org/abs/2201.02177.
  43. [46]David Premack. The codes of man and beasts. Behavioral and Brain Sciences, 6(1):125–136, 1983. doi: 10.1017/S0140525X00015077.DOI
  44. [47]Lee Sharkey, Bilal Chughtai, Joshua Batson, Jack Lindsey, Jeffrey Wu, Lucius Bushnaq, Nicholas Goldowsky-Dill, Stefan Heimersheim, Alejandro Ortega, Joseph Isaac Bloom, Stella Biderman, Adrià Garriga-Alonso, Arthur Conmy, Neel Nanda, Jessica Mary Rumbelow, Martin Wattenberg, Nandi Schoots, Joseph Miller, William Saunders, Eric J Michaud, Stephen Casper, Max Tegmark, David Bau, Eric Todd, Atticus Geiger, Mor Geva, Jesse Hoogland, Daniel Murfet, and Thomas McGrath. Open problems in mechanistic interpretability. Transactions on Machine Learning Research, 2025. ISSN 2835-8856. URL https://openreview.net/forum?id=91H76m9294. Survey Certification.arxiv.org/abs/2501.16496
  45. [48]Apoorva Shivaram, Ruxue Shao, Nina Simms, Susan Hespos, and Dedre Gentner. When do children pass the Relational-Match-To-Sample task? July 2023.
  46. [51]Kevin Ro Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, and Jacob Steinhardt. Interpretability in the wild: a circuit for indirect object identification in GPT-2 small. 2023. URL https://openreview.net/forum?id=NpsVSN604ul.arxiv.org/abs/2211.00593
  47. [52]Taylor Webb, Keith J Holyoak, and Hongjing Lu. Emergent analogical reasoning in large language models. Nature Human Behaviour, 7(9):1526–1541, 2023a.DOI
  48. [53]Taylor W. Webb, Shanka Subhra Mondal, and Jonathan D. Cohen. Systematic visual reasoning through object-centric relational abstraction, 2023b. URL https://arxiv.org/abs/2306.02500.
  49. [54]Taylor W. Webb, Steven M. Frankland, Awni Altabaa, Simon Segert, Kamesh Krishnamurthy, Declan Campbell, Jacob Russin, Tyler Giallanzа, Zack Dulberg, Randall O’Reilly, John Lafferty, and Jonathan D. Cohen. The relational bottleneck as an inductive bias for efficient abstraction, 2024. URL https://arxiv.org/abs/2309.06629.
  50. [55]Jiabing Yang, Chenhang Cui, Yiyang Zhou, Yixiang Chen, Peng Xia, Ying Wei, Tao Yu, Yan Huang, and Liang Wang. IKOD: Mitigating visual attention degradation in large vision-language models, 2025. URL https://arxiv.org/abs/2508.03469.
  51. [56]Eunice Yiu, Maan Qraitem, Anisa Noor Majhi, Charlie Wong, Yutong Bai, Shiry Ginosar, Alison Gopnik, and Kate Saenko. KiVA: Kid-inspired visual analogies for testing large multimodal models. arXiv preprint arXiv:2407.17773, 2024.arxiv.org/abs/2407.17773
  52. [59]Hengyuan Zhang, Zhihao Zhang, Mingyang Wang, Zunhai Su, Yiwei Wang, Qianli Wang, Shuzhou Yuan, Ercong Nie, Xufeng Duan, Qibo Xue, et al. Locate, steer, and improve: A practical survey of actionable mechanistic interpretability in large language models. arXiv preprint arXiv:2601.14004, 2026.arxiv.org/abs/2601.14004
  53. [61]Jinguo Zhu, Weiyun Wang, Zhe Chen, Zhaoyang Liu, Shenglong Ye, Lixin Gu, Hao Tian, Yuchen Duan, Weijie Su, Jie Shao, et al. InternVL3: Exploring advanced training and test-time recipes for open-source multimodal models. arXiv preprint arXiv:2504.10479, 2025.arxiv.org/abs/2504.10479

Paper details

vlnc:W_yhdytb2c
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

generative AI tools

View statement
Looking for related papers…
Contents