Manuscript Offprint
arXiv:2609.37659Are In-Context Images Worth 10 Dimensions?
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
There has been significant work on understanding the In-Context Learning capabilities of Large Language Models, especially on the induction circuit. For a few-shot classification task, the induction circuit leverages linear representations of each labeled example in-context in order to classify an unlabeled query. However, few works focus on how those linear representations are built in the first place. Leveraging the expressivity of the vision modality compared to text, we uncover a Shared Discriminative Geometry (SDG) inside Large Vision Language Models (LVLMs). It is a low-dimensional space, shared across all image classification tasks, in which in-context images are compressed into linearly separable representations later used to perform classification. We observe that this is the result of the model performing a dimensionality reduction of vision representations in early layers. In order to explain this phenomenon: (1) We show analytically that linear self-attention can perform a dimensionality reduction by projecting in-context data onto its principal components, with each layer implementing one gradient descent step toward this objective. (2) We provide evidence that trained LVLMs reduce the dimensionality of vision representations in early layers via a similar mechanism.
1 INTRODUCTION
A fundamental problem in computer vision is learning to recognize novel concepts from only a handful of image examples. To address this problem, the standard approach is fine-tuning, where a pretrained feature extractor is adapted to the task through in-weight learning. A promising alternative is In-Context Learning (ICL), which frames the problem as a conditional prediction problem, where the model receives a small labeled support set together with an unlabeled query image.
ICL was first observed as an emerging capability in Large Language Models (LLMs) (Brown et al., 2020) in the text modality and was later observed in Large Vision Language Models (LVLMs) (Alayrac et al., 2022) on multimodal vision-text tasks. The extension of ICL to the vision modality motivates us to investigate how LVLMs perform it. While the induction circuit (Olsson et al., 2022) by which the model compares in-context examples using linear representations to perform classification is well studied, here we focus on the formation of those representations. In this study, we investigate this process through few-shot in-context image classification. Whereas prior work has focused on text classification, the continuous nature of visual inputs and the diversity of image classes allow us to better trace feature formation across a wide range of classification tasks.
Surprisingly, preliminary experiments show that similarity-based classification performs much worse on text tokens predicting the class labels than on vision tokens. Motivated by this observation, we use a meta-training protocol to find the subspace that best classifies the query image given the support images. This protocol reveals a subspace inside of text tokens in which in-context images are compressed into representations later used by the model to predict the query label. We name this subspace the Shared Discriminative Geometry (SDG) as it has 3 key properties: (1) It is shared across all image classification tasks. (2) Classes are linearly separable in that space. (3) It has a small effective dimensionality ( 10 dimensions for Ministral 3 (3B) (Liu et al., 2026)).
We posit that this surprisingly low dimensionality results from the model performing a dimensionality reduction in-context, effectively projecting discriminative high-dimensional vision features onto

Figure 1: Left (our contribution): The first layers of the LVLM reduce the dimension of image tokens in-context using sample-to-sample comparisons. These representations are transferred to text and later used for in-context learning. Right: Nearest Centroid Classifier (NCC) accuracy across layers for forerunner tokens and vision tokens after and before projecting onto the Text SDG and Vision SDG, respectively.
the principal components of the in-context examples, preserving the linear separability with fewer dimensions. As illustrated in Fig. 1, this dimensionality reduction occurs in early layers in vision tokens. The resulting representations are then transferred to text tokens. The model finally uses this subspace to attend to similar in-context examples.
Our contributions can be summarized as: (I) We introduce a meta-training protocol that uncovers a Shared Discriminative Geometry in text token representations. It is a low-dimensional space shared across image classification tasks in which classes are linearly separable. The model uses this geometry to make predictions. (II) We show theoretically that non-causal linear transformers can perform a dimensionality reduction through in-context sample-to-sample attention. (III) We observe a dimensionality reduction of vision token representations in LVLMs and provide empirical evidence that it relies on a circuit similar to our theoretical construction.
LLMs Subspaces. Previous work has identified specific subspaces within LLMs. Hu et al. (2025) found a 4D subspace tracking the unit digit through trigonometric functions. Engels et al. (2025) found a 2D subspace characterizing weekday, month, and year. Wollschläger et al. (2025) found up to 5D subspaces characterizing refusal behavior across several LLM families. Recently, Huang & Hahn (2026) proposed a method to learn subspaces in an unsupervised manner. We uniquely study in LVLMs a subspace tied to the vision modality. Unlike prior fixed semantic subspaces, SDG occupies a fixed subspace, yet we show that its inner geometry is context dependent.
Transformers ICL Theory. Prior work has shown that linear transformers can implement algorithms in-context such as linear regression (Von Oswald et al., 2023; Ahn et al., 2023), expectation maximization (Chen et al., 2026) and reinforcement-learning algorithms (Lin et al., 2024). To our knowledge, we show for the first time that linear transformers can also perform dimensionality reduction by projecting examples onto the principal components of the current context. Nonetheless, the convergence of this algorithm has been studied previously (Chi et al., 2019).
3 PRELIMINARIES
3.1 EXPERIMENT SETTING
Datasets. We use 10 standard publicly available image classification datasets across a diverse range of domains: EuroSAT (Helber et al., 2019), UCF101 (Soomro et al., 2012), DTD (Cimpoi et al., 2014), Caltech101 (Fei-Fei et al., 2004), SUN397 (Xiao et al., 2010), OxfordPets (Parkhi et al., 2012), StanfordCars (Krause et al., 2013), Flowers102 (Nilsback & Zisserman, 2008), Food101 (Bossard et al., 2014), and FGVCAircraft (Maji et al., 2013). The last 5 are fine-grained image classification datasets. The expressivity of the vision modality helps us probe LVLM mechanisms shared across classification tasks for two reasons. First, working with images allows us to sample diverse classification tasks from 2000 fine-grained classes. This is significantly harder to achieve with the less diverse set of classification tasks in text. Second, text offers a less diverse set of inputs due to its discrete nature compared to vision.
Task. We consider in-context K-way N-shot few-shot classification where the LVLM is given images . Only the first NK images are labeled , with N examples for each of the K classes , while is the unlabeled query image. LVLMs are composed of a vision encoder, and an LLM decoder transformer. The LLM decoder takes as input a sequence of interleaved vision and text tokens. Text tokens are deduced from the embedding vocabulary , whereas vision tokens are outputs of the vision encoder given an image . We build the ICL classification task as the following token sequence:
where denotes token concatenation, and denotes the text associated with class label . denotes the -th support example, the query example without its label, and the full in-context sequence. For each task, we randomly select one of the ten datasets and sample a 3-way, 3-shot classification task from it. Thus, 10 images are given to the LVLM for each task. Label tokens are abstract and semantically unaligned with the visual classes. Following Confavreux et al. (2026) we use "Rud", "Baz" and "Gip". Given that multimodal ICL has been shown to rely strongly on textual inputs over visual inputs (Chen et al., 2025; Deng et al., 2025), using abstract labels removes the influence of label semantics from the learning dynamics. Indeed, this forces the model to classify the query image using the support set without "zero-shotting" the class from memory. See supplementary material A.1 for more experiments on the impact of the choice of label space.
We refer to the forerunner token as the token " : " placed after "label" and responsible for predicting the class label token; it is therefore responsible for the image classification task. Throughout this work we will probe vision and forerunner representations across layers. Thus, we denote the forerunner token hidden state for image at layer output by and the average-pooled vision token hidden state by , where is the LVLM hidden-state dimension. We also include the input to the first layer, denoted by by convention. In the absence of a dedicated aggregation mechanism, such as a CLS token (Dosovitskiy et al., 2020) or a trained pooling (Lee et al., 2019; He et al., 2022), we average-pool vision tokens to obtain image representations (Tian et al., 2020). Note that this is just a proxy of vision token representations, for example the token from the center of the object classifies better than tokens on the background.
Models. All results in the paper are shown using Ministral 3 (3B) as its architecture does not use linear attention or local attention, simplifying the analysis. Additional results for Qwen 3.5 (4B and 9B) (Qwen Team, 2026), Qwen 3 (4B) (Yang et al., 2025a) and Ministral 3 (8B) are provided in the supplementary material E.
Following the formulation of Elhage et al. (2021), an attention head is parameterized by query, key, value, and output projections . Let be its input states, the head contribution to the update of the token is
The KQ circuit determines the attention score of each input to the query token. This score is a bilinear similarity, meaning that it is linear in either token representation when the other is fixed. The OV circuit maps via each input token to its contribution to .
3.2 MOTIVATION
In this section we motivate our work by the following observation: Raw representations of the forerunner token, which predicts the class label, are not class linear separable, whereas vision-token representations are. Throughout this study, we will use the Nearest Centroid Classifier (NCC) accuracy as a proxy to assess class linear separability, or more broadly speaking “feature quality”. This is similar to the standard practice of using linear probing classification accuracy as a proxy for feature quality of foundation models (Chen et al., 2020; Oquab et al., 2023; Wang & Isola, 2020). NCC measures class separability of a representation space by testing whether examples of the same class cluster around a common direction in the representation space. It is a classical few-shot classifier (Snell et al., 2017; Hu et al., 2022; Li et al., 2021) that can be seen as a simple form of in-context learning. Given an in-context feature matrix and the labels of the first NK examples, the NCC predicts the label of the query as
As commonly done with NCC, we use the dot product as the similarity function. Note this corresponds to a bilinear similarity in the full representation space . Unless specified otherwise, reported accuracies are averages over 1000 tasks for the 3-shot in-context settings.
Figure 1 (Right) shows the LVLM accuracy (cross ×), as well as the NCC accuracy (dotted lines) of forerunner tokens and vision tokens across LLM decoder layers. Vision token NCC accuracy is comparable to model accuracy across most layers. However, we observe that the forerunner token is significantly less class discriminative, with an accuracy close to random guessing. This is surprising, since the forerunner token is expected to aggregate visual information to correctly classify the query image (Cho et al., 2025a). This indicates that either information is not transferred to the forerunner token or that it is only present in a small subspace of its high-dimensional embedding.
4 SHARED DISCRIMINATIVE GEOMETRY
In this section, we show the existence of a Shared Discriminative Geometry in both the text forerunner token (Text SDG) and vision tokens (Vision SDG), in which image classes are linearly separable. Then, we show that the Text SDG mechanistically contributes to the model's in-context performance. Finally, we identify a two-step circuit describing the formation of the Text SDG.
4.1 LEARNING THE SHARED DISCRIMINATIVE GEOMETRY
In order to probe discriminative representations within the forerunner token, in this section we introduce a protocol to learn the Text SDG (see Fig. 2), which is a set of linear downprojections for each output layer of the LVLM. Each projects the forerunner token into a subspace where the dot product is class discriminative between the support examples. For Ministral 3B and . We freeze the LVLM as only the projections are learned. We refer to SDG as a geometry because each defines a bilinear similarity , which measures similarity between forerunner

Figure 2: Training setup. At each layer, we meta-learn the Text SDG projection and Vision SDG projection so that projected embeddings from the same class cluster around a common direction.
token representations at layer . During training, we first project forerunner tokens onto the SDG . Then, for each in-context classification task, we compute one centroid per class and define the per-layer meta-training loss as

| Intervention | 1-shot | 2-shot | 3-shot | 4-shot | 5-shot |
|---|---|---|---|---|---|
| LVLM Accuracy | 34.4% | 77.2% | 82.4% | 84.2% | 85.4% |
| 128D-Control Ablation | -0.4 | -1.2 | -1.9 | -2.5 | -2.2 |
| 15D-SDG Ablation | -7.1 | -10.8 | -12.9 | -12.0 | -10.6 |
| 15D-SDG Boost | +7.5 | +4.7 | +3.9 | +3.0 | +2.9 |
Figure 3: Left: Effect of SDG intervention as a function of the number of top dimensions ablated. Right: Effect of interventions on the top 15 SDG dimensions across shot counts.
where 1 denotes the indicator function. The loss trains to align the projected query with the centroid of its class (dot product ) while making it orthogonal to the centroids of other classes (dot product ). Importantly, the forerunner token cannot carry information about its current support label thanks to the causal nature of LLMs. Indeed, the label token is placed after the forerunner token, ensuring no leakage of the correct label into the representations. We train for 32k tasks with a batch size of 32 using AdamW, a learning rate of 0.001, and a weight decay of 0.001. Weight decay is necessary to stabilize training by suppressing directions that carry no discriminative signal or are never activated by the training data. In order to better trace the formation of the Text SDG, using the same protocol we also learn the Vision SDG . Similarly, each projects the average-pooled vision token into a subspace where the dot product is class discriminative between the support images (see Fig. 2).
Results. The NCC accuracy of the forerunner token after projecting onto the Text SDG across layers is shown in Fig. 1 (Right, solid line). The accuracy starts rising at layer 6 and peaks at layer . Here, we denote the layer of peak accuracy by . At the accuracy even surpasses the model performance. This finding is consistent with prior work identifying the induction circuit in late layers as a bottleneck to model performance (Cho et al., 2025b) and showing that internal representations can surpass the model performance (de Senneville et al., 2026). We train to down-project onto which is the dimensionality of the representation processed by attention heads. However, we find that its effective dimension is at (estimated with the participation ratio; Gao et al. (2017)). This measure quantifies the effective number of directions contributing to the pairwise similarities induced by . For comparison, the average effective dimension of the model's attention heads is out of a maximum of 128. While the effective dimensionality of is a proxy and may vary with the training setup (see supplementary material B.2 and B.3), it is striking that we can identify a fixed 10-dimensional subspace in which representations still achieve accuracy across 10 domain-specific datasets.
Ablation. Next, we ablate the Text SDG at layer to test if it mechanistically contributes to the LVLM's ability to classify images. Let contain the top- right singular vectors of . For all hidden states at output, we remove the top- Text SDG dimensions by projecting onto their orthogonal complement giving . As a control, we do the same for a 128-dimensional random subspace. We also try boosting the top- SDG dimensions at : . This operation essentially doubles the magnitude of the SDG and should directly increase the image-to-image comparison signal used for classification. As shown in Fig. 3 (left), only 15 dimensions capture most of the ablation effect. Ablating the top 15 dimensions of the SDG decreases model accuracy by , boosting them increases accuracy by , whereas ablating a random subspace has a negligible effect. This is consistent with our observation that the geometry lies in a few dimensions, although completely eliminating its contribution to classification requires ablating 5 additional dimensions. In this paper, we retain effective dimensionality as our measure of the SDG dimensionality because it can be computed at every layer and measures a property of its geometry. Additional results from 1 to 5 shots for the 15-dimensional SDG ablation and the 128-dimensional control random-subspace are shown in the right panel of Fig. 3. This shows that SDG is low-dimensional and is necessary to the model's ability to classify images in-context. More ablations are provided in supplementary material D.1.
4.2 TEXT SDG FORMATION AS A TWO-STEP PROCESS
In this section, we provide empirical evidence that this low-dimensionality is the result of the LVLM performing a two-step circuit: first the model reduces the dimensionality of vision tokens in the



Figure 4: Left: Effective Dimension across layers of the (Text SDG) and (Vision SDG). Middle: NCC Accuracy in the top- SDG dimensions of the input vision tokens, the vision tokens at layer and forerunner token at . Right: Text SDG with and without random label assignment.
Vision SDG from layer 1 to , then the model transfers the resulting geometry to the Text SDG in the forerunner token at layer .
Step 1: Reducing dimensionality in vision tokens from layer 1 to . Figure 4 (Left) reports the effective dimension of both the Vision and Text SDG across layers. The Vision SDG decreases from 32 dimensions for the input vision tokens to a minimum of 10 at layer while preserving similar accuracy. To investigate this further, we test whether vision tokens at layer concentrate class-discriminative information into fewer dimensions than the vision tokens output by the vision encoder. In Fig. 4 (Middle), we report NCC accuracy for the input vision tokens and the vision tokens at layer after projecting them onto the top dimensions of and , respectively. We observe that the low dimensional projections are more class discriminative at layer in vision tokens than in input vision tokens. At the same time the full space accuracy is not higher at layer . Interestingly the top 10 dimensions at layer have error reduction compared to input vision representations (+4 accuracy points). Put differently at layer vision tokens have a accuracy using times less dimensions.
| Ablation effect (3-shot) | Δ% |
|---|---|
| (1) 128D-Text SDG at | -3.2 |
| (2) 128D-Vision SDG at | -6.4 |
| (3) Attention from vision at to text at | -5.2 |
| 128D-Text SDG at | -11.4 |
Table 1: Ablations from to
Step 2: Transfer to text from to . Figure 4 (Middle) shows the NCC accuracy for the forerunner token at layer after projecting it onto the top dimensions of . It shows that the forerunner token at layer closely matches the feature quality of the average-pooled vision token at the previous layer . In Fig. 4 (Left), similarly the effective dimension of matches the one of . This suggests that most of the vision representations are transferred to the forerunner token between layer and . To test this, we separately ablate (1) Text SDG at , (2) Vision SDG at and (3) attention from vision tokens at to text tokens at , see Table 1. Ablating the Vision SDG at reduces accuracy twice as much as ablating the Text SDG at the same layer (6.4 vs. 3.2 points). Ablating attention from vision tokens at to the forerunner token at causes a similar drop (5.2 points), suggesting that this attention transfers class-discriminative information from the Vision SDG at to text tokens at . Additional experiments in the supplementary material D.2 examine this vision-to-text transfer in detail. Specifically, we observe that heads performing this operation copy class-discriminative representations from specific vision tokens called sink tokens (Kang et al., 2025).
5 WHY THE SDG IS SO LOW-DIMENSIONAL
5.1 EXPLAINING WHAT DRIVES IN-CONTEXT DIMENSIONALITY REDUCTION
In-Context Labels Do Not Drive Dimensionality Reduction. A possible explanation is that the Text SDG formation is driven by induction or supervision: the model may use preceding support labels to progressively compare in-context examples and optimally compress them in a class discriminative geometry. To test this hypothesis we learn Text SDG with and without assigning random label tokens to images. Figure 4 (Right) shows that random label assignment has close to no effect during the formation phase of Text SDG on its accuracy and on its peak accuracy. The formation circuit therefore extracts the same class-discriminative visual features regardless of label assignment of precedent support examples. It is important to note that this is not the case after Text SDG formation, where accuracy is higher with correct label assignments than with random label assignments, as shown in Fig. 4 (Right). The well studied induction circuit (Olsson et al., 2022) uses image-label assignment to compress input examples in a class-discriminative lower dimensional space. Indeed, after induction, at the final layer, the model accuracy is the accuracy of the forerunner token in a 3-dimensional space. This space is spanned by the unembedding directions of the 3 possible labels: "Rud", "Baz" and "Gip".
Preserving the In-Context Gram Matrix Can Drive Dimensionality Reduction. Since Text SDG formation is independent of support-label assignments, it is impressive that the model performs well classifying planes, satellite images or even textures by building an intermediary image representation in such a small shared dimensional space. However, we make two observations. (1) For a given classification task, the model receives a fixed context of images, whose high-dimensional representations we collect as . We assume that . (2) Although the examples are represented in a -dimensional space, NCC classifies the query using only similarities to the support examples. The classification score for class in Eq. (3) is the average similarity to support of class .
and therefore depends only on the Gram matrix or equivalently on sample-to-sample similarity. Thus, for a fixed context, there exists a low-dimensional with such that in which NCC accuracy is unchanged. All solutions are orthonormal arrangements of the principal components of : ( , ), where contains the principal directions of . These principal directions are determined using (uncentred) principal component analysis (PCA), with . This observation raises the following questions: Can transformers reduce the dimensionality of in-context high dimensional inputs while preserving their pairwise similarities? If yes, do we observe a similar circuit in LVLMs?
5.2 DIMENSIONALITY REDUCTION THROUGH SELF-ATTENTION
In this section, we show that in a simplified setting, transformer layers can perform dimensionality reduction via sample-to-sample attention.
In-context setup. Given in-context examples in a high dimensional space, we associate each token with a compressed state , where . We define the context matrix at layer as
The upper block stores the fixed high-dimensional in-context input tokens, while the lower block stores the compressed variables updated by the attention layers. Note that is in this simplified setup tied to a canonical basis meaning . However the model can represent the compressed in-context examples in any -dimensional orthonormal basis. In the real model, this basis may even partially overlap with the subspace carrying X. Importantly, is expressed in a fixed basis making it shared across tasks while the main direction of X may vary from a task to another. The geometries of the original and compressed representations are encoded by the Gram matrices and , and the objective is to make the compressed Gram matrix match the original one. This is equivalent to minimizing
Assumptions. 1. Non-causal attention. Here, we assume that each token can attend to every other token. This is the strongest assumption, as most LVLMs are causal. This means that the first example cannot modify its state given the context as it does not have access to the other tokens, making the process less efficient. 2. Linear self-attention. Following the standard linear self-attention (Ahn et al., 2024; Von Oswald et al., 2023), we remove the softmax, as well as the normalization and write
Optimization. Under these assumptions, choosing

Top-k Projection Dimension

Figure 5: Left: Number of Dimensionality Reduction Heads (DR Heads) across layers, as well as the average attention to other images in-context. Middle: NCC Accuracy in the top-k SDG dimensions after ablating DR Heads attention. Right: Forerunner NCC accuracy on SST-2.
the lower block of LSA( ) is equivalent to a gradient step toward minimizing
with the learning rate. This is similar to prior work showing that linear attention can implement a single gradient-descent step toward solving linear regression (Ahn et al., 2023). Therefore, converging to the solution requires multiple layers.
Convergence. Let denote the eigenvalues of . To obtain an explicit convergence bound, we assume
A standard transformer can realize initialization through positional embeddings assigning linearly independent compressed states to the in-context examples, or simply by starting with a random subspace of . Additionally must be small enough. Under those assumptions, the linear self-attention dynamics converge locally at an exponential rate:
We provide the convergence proof, empirically validate the result and include the effect of each assumption, in the supplementary material C.1 and C.2. Overall, under our idealized assumptions, linear self-attention can compress M input representations from to dimensions, where the sample-to-sample similarity error converges locally to zero at an exponential rate.
5.3 EVIDENCE OF A SIMILAR MECHANISM IN LVLMS
We first aim to select heads that might implement the dimensionality reduction, focusing on the OV circuit in Eq. (9). For that, we first introduce the Bilinear Distortion Error (BDE) as
The BDE tests whether two geometries and are the same by measuring whether they induce the same bilinear similarity for pairs of independently sampled inputs. Thanks to the assumption that and follow standard Gaussian distributions, we can compute the error offline using only the two similarity matrices. Also we normalize each matrix to get a score bounded between 0 and 1. A score of zero means that the two normalized geometries induce identical dot products. Now, if we hypothesize that the learned Vision SDG describes the subspace, a dimensionality reduction head should map via to . Thus, we define a score that measures the expected error between the bilinear similarity of the output Vision SDG and the bilinear similarity of the input Vision SDG after being transported through giving . For the theoretical circuit in Eq. (10), , as . We classify the 2% of heads with the lowest scores as dimensionality reduction heads. See Section D.4 for additional analysis of dimensionality reduction heads and the choice of the score .
Fig. 5 (Left) shows that dimensionality reduction heads concentrate before . Notably, a high number of dimensionality reduction heads correlate with a high amount of attention to the other in-context images, although attention patterns are not part of the selection criterion. This is consistent
| Classification | Matching | ||||||
|---|---|---|---|---|---|---|---|
| Open MI | VLGuard | VizWiz | Matching MI | SugarCrepe | MHaluBench | NaturalBench | |
| Baseline | 84.0 | 63.0 | 72.0 | 81.0 | 57.5 | 75.0 | 61.0 |
| 128D-SDG Ablation | -11.0 | -17.0 | -4.0 | +6.5 | +5.5 | +3.0 | -2.0 |
| 128D-SDG Boost | +11.5 | +6.0 | +1.5 | -4.0 | -3.0 | -5.5 | -1.0 |
Table 2: Impact of the Text SDG ablation and boost on multimodal benchmarks in the 2-shot setting.
with our theoretical circuit which reduces dimensionality through comparisons between in-context examples. Next, we ablate attention from vision tokens to vision tokens in other in-context images for the dimensionality reduction heads. For a fair comparison, we re-learn the Vision SDG with this attention ablated. In addition, as a control, we do the same to an equal number of randomly selected heads before . In Fig. 5 (Middle), we no longer observe the NCC accuracy boost in 10 dimensions when this attention is ablated. Thus, ablating only attention from vision tokens to vision tokens in other in-context images, for just 2% of the heads which match our theoretical OV circuits, impairs the dimensionality reduction. This hints at the fact that LVLMs implement a circuit similar to our theoretical circuit. Also, prior work observed empirically that sample-to-sample attention was beneficial to model performance which they call contextualization (Bakalova et al., 2025). Our results show dimensionality reduction as one mechanism explaining contextualization.
6 SDG IN OTHER ICL TASKS
Text classification. A natural question raised by preceding observations is whether the Text SDG is shared across modalities or specific to vision. To test this, we evaluate the forerunner token NCC accuracy on a binary text classification task (SST-2 (Socher et al., 2013)), using the same protocol. We replace images with sequences of text tokens. In Fig. 5 (Right), at , the forerunner NCC accuracy is close to random before projection onto the Text SDG, but increases after projection. This suggests that the SDG is not tied only to the vision modality, even if it was trained only using visual inputs.
Other Multimodal Tasks. We also ask if our learned Text SDG is involved in multimodal tasks other than image classification. We ablate and boost the Text SDG at as the model performs these tasks in-context. Each task is categorized either as Classification or Matching. Classification Tasks involve learning to classify ImageNet images (Open MI (Zong et al., 2025)), if an image and text user query pair is harmful or not (VLGuard (Zong et al., 2024)) and if an image and question pair is answerable (VizWiz (Gurari et al., 2018)). Matching Tasks involve learning if two images match (Matching MI (Zong et al., 2025)) and if a text description matches an image (SugarCrepe (Hsieh et al., 2023), MHaluBench (Chen et al., 2024), NaturalBench (Li et al., 2024)).
The results in Table 2 show that for classification tasks, modifying the SDG has the same effect as in the image classification setup, meaning the SDG is involved in multimodal classification tasks. For matching tasks, we observe the opposite effect: ablating the SDG improves performance. Here, support examples indicate which task to perform, while the answer depends on matching inputs within the query rather than on their visual similarity to support examples. Ablating the SDG therefore helps the model by avoiding basing its answer on visual similarity to support examples.
7 CONCLUSION
In summary we have shown that the formation of linear image representations cannot be reduced to a simple transfer from input vision tokens to text tokens. Remarkably, we find that across LVLM layers, the number of dimensions required to preserve linear class separability decreases. Therefore, we offer an explanation by combining a theoretical framework with empirical analysis.
Future Work. While vision makes this geometry easier to study, future work should test whether the same mechanism generalizes to LLMs and to other tasks beyond classification, and study how to learn additional geometries, and how they interact. We think that Table 2 is an interesting direction for test-time modification and monitoring of what the model learns in-context. Future work could also study our theoretical circuit in more detail.
Limitations. We show that one theoretical circuit can perform dimensionality reduction, but we do not directly identify the theoretical circuits within trained LVLMs. We only identify a similar circuit that might be more sophisticated. Because our theoretical circuit assumes linear non-causal attention, it does not explain how LVLMs approximate it. Moreover, using average pooling as an aggregation of all visual information for an image is a simplification that erases the more complex token-level interaction mechanisms.
AI USE STATEMENT
In this work, we used generative AI tools to aid and polish writing, support retrieval and discovery of related work, assistance in interpreting results, and assist in proving mathematical claims. We have not used generative AI tools for research ideation, drafting sections of the paper, or generating synthetic datasets. Additionally, we used generative AI tools to assist with code generation, particularly for plotting and formatting, and carefully reviewed all generated code. The convergence proof in Section C.1 was developed with some AI assistance and formally verified in Lean. An author carefully checked every step and revised its presentation to improve its usefulness and clarity for future readers. We have reviewed all AI-assisted work. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
REPRODUCIBILITY STATEMENT
The code is included in the supplementary material for reproducibility and will be publicly released. Please follow the instructions in this repository to reproduce the experiments. Training details and hyperparameters are provided in Sec. B.1, numerical experiment settings in Sec. C.2, and evaluation protocols for other multimodal tasks and text classification in Sec. F. All datasets used in this work are cited and publicly available for download.
REFERENCES
Kwangjun Ahn, Xiang Cheng, Hadi Daneshmand, and Suvrit Sra. Transformers learn to implement preconditioned gradient descent for in-context learning. Advances in Neural Information Processing Systems, 36:45614–45650, 2023.
Kwangjun Ahn, Xiang Cheng, Minhak Song, Chulhee Yun, Ali Jadbabaie, and Suvrit Sra. Linear attention is (maybe) all you need (to understand transformer optimization). In International Conference on Learning Representations, volume 2024, 2024.
Jean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech, Iain Barr, Yana Hasson, Karel Lenc, Arthur Mensch, Katherine Millican, Malcolm Reynolds, et al. Flamingo: a visual language model for few-shot learning. Advances in neural information processing systems, 35:23716–23736, 2022.
I.K. Argyros. A generalization of ostrowski's theorem on fixed points. Applied Mathematics Letters, 12(6):77–79, 1999. ISSN 0893-9659.
Aleksandra Bakalova, Yana Veitsman, Xinting Huang, and Michael Hahn. Contextualize-then-aggregate: Circuits for in-context learning in gemma-2 2b. In Second Conference on Language Modeling, 2025.
Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 – mining discriminative components with random forests. In European Conference on Computer Vision, 2014.
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.
Shuo Chen, Zhen Han, Bailan He, Jianzhe Liu, Mark Buckley, Yao Qin, Philip Torr, Volker Tresp, and Jindong Gu. Can multimodal large language models truly perform multimodal in-context learning? In 2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 6000–6010. IEEE, 2025.
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pp. 1597–1607. PMLR, 2020.
Xiang Chen, Chenxi Wang, Yida Xue, Ningyu Zhang, Xiaoyan Yang, Qiang Li, Yue Shen, Lei Liang, Jinjie Gu, and Huajun Chen. Unified hallucination detection for multimodal large language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 3235–3252, 2024.
Zhiheng Chen, Ruofan Wu, and Guanhua Fang. Transformers as unsupervised learning algorithms: A study on gaussian mixtures. In The Fourteenth International Conference on Learning Representations, 2026.
Yuejie Chi, Yue M. Lu, and Yuxin Chen. Nonconvex optimization meets low-rank matrix factorization: An overview. IEEE Transactions on Signal Processing, 67(20), 2019. doi:10.1109/TSP.2019.2937282.
Hakaze Cho, Mariko Kato, Yoshihiro Sakai, and Naoya Inoue. Revisiting in-context learning inference circuit in large language models. In International Conference on Learning Representations, volume 2025, 2025a.
Hakaze Cho, Yoshihiro Sakai, Mariko Kato, Kenshiro Tanaka, Akira Ishii, and Naoya Inoue. Token-based decision criteria are suboptimal in in-context learning. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 5378–5401, 2025b.
Jiho Choi, Jaemin Kim, Sanghwan Kim, Seunghoon Hong, and Jin-Hwi Park. When sinks help or hurt: Unified framework for attention sink in large vision-language models. In European Conference on Computer Vision, pp. 148–166. Springer, 2026.
Mircea Cimpoi, Subhransu Maji, Iasonas Kokkinos, Sammy Mohamed, and Andrea Vedaldi. Describing textures in the wild. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3606–3613, 2014.
Basile Confavreux, Aaditya K Singh, Jin Hwa Lee, Amaury Sabran, and Andrew M Saxe. Comparing the learning dynamics of in-context learning and fine-tuning in language models. In The Fourteenth International Conference on Learning Representations, 2026.
Adhémar de Senneville, Xavier Bou, Jérémie Anger, Rafael Grompone, and Gabriele Facciolo. Unlocking few-shot capabilities in lvlms via prompt conditioning and head selection. arXiv preprint arXiv:2603.24181, 2026.
Ailin Deng, Tri Cao, Zhirui Chen, and Bryan Hooi. Words or vision: Do vision-language models have blind faith in text? In Proceedings of the Computer Vision and Pattern Recognition Conference, pp. 3867–3876, 2025.
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
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. URL https://transformer-circuits.pub/2021/framework/index.html.
Josh Engels, Eric Michaud, Isaac Liao, Wes Gurnee, and Max Tegmark. Not all language model features are one-dimensionally linear. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu (eds.), International Conference on Learning Representations, volume 2025, 2025.
Li Fei-Fei, Rob Fergus, and Pietro Perona. Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories. In 2004 conference on computer vision and pattern recognition workshop, pp. 178–178. IEEE, 2004.
Peiran Gao, Eric Trautmann, Byron Yu, Gopal Santhanam, Stephen Ryu, Krishna Shenoy, and Surya Ganguli. A theory of multineuronal dimensionality, dynamics and measurement. bioRxiv, pp. 214262, 2017. doi: 10.1101/214262.
Danna Gurari, Qing Li, Abigale J Stangl, Anhong Guo, Chi Lin, Kristen Grauman, Jiebo Luo, and Jeffrey P Bigham. Vizwiz grand challenge: Answering visual questions from blind people. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3608–3617. IEEE, 2018.
Jun He, Richang Hong, Xueliang Liu, Mingliang Xu, and Qianru Sun. Revisiting local descriptor for improved few-shot classification. ACM Transactions on Multimedia Computing, Communications, and Applications (TOMM), 18(2s):1–23, 2022.
Patrick Helber, Benjamin Bischke, Andreas Dengel, and Damian Borth. Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 12(7):2217–2226, 2019.
Cheng-Yu Hsieh, Jieyu Zhang, Zixian Ma, Aniruddha Kembhavi, and Ranjay Krishna. Sugarcrepe: Fixing hackable benchmarks for vision-language compositionality. Advances in neural information processing systems, 36:31096–31116, 2023.
Shell Xu Hu, Da Li, Jan Stühmer, Minyoung Kim, and Timothy M Hospedales. Pushing the limits of simple pipelines for few-shot learning: External data and fine-tuning make a difference. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 9068–9077, 2022.
Xinyan Hu, Kayo Yin, Michael I Jordan, Jacob Steinhardt, and Lijie Chen. Understanding in-context learning of addition via activation subspaces. arXiv preprint arXiv:2505.05145, 2025.
Xinting Huang and Michael Hahn. Decomposing representation space into interpretable subspaces with unsupervised learning. In The Fourteenth International Conference on Learning Representations, 2026.
Seil Kang, Jinyeong Kim, Junhyeok Kim, and Seong Jae Hwang. See what you are told: Visual attention sink in large multimodal models. In International Conference on Learning Representations, volume 2025, 2025.
Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In Proceedings of the IEEE international conference on computer vision workshops, pp. 554–561, 2013.
Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set transformer: A framework for attention-based permutation-invariant neural networks. In International conference on machine learning, pp. 3744–3753. PMLR, 2019.
Baiqi Li, Zhiqiu Lin, Wenxuan Peng, Jean De Dieu Nyandwi, Daniel Jiang, Zixian Ma, Simran Khanuja, Ranjay Krishna, Graham Neubig, and Deva Ramanan. Naturalbench: Evaluating vision-language models on natural adversarial samples. Advances in Neural Information Processing Systems, 37:17044–17068, 2024.
Wei-Hong Li, Xialei Liu, and Hakan Bilen. Universal representation learning from multiple domains for few-shot classification. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 9526–9535, 2021.
Licong Lin, Yu Bai, and Song Mei. Transformers as decision makers: Provable in-context reinforcement learning via supervised pretraining. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun (eds.), International Conference on Learning Representations, volume 2024, 2024.
Alexander H Liu, Kartik Khandelwal, Sandeep Subramanian, Victor Jouault, Abhinav Rastogi, Adrien Sadé, Alan Jeffares, Albert Jiang, Alexandre Cahill, Alexandre Gavaudan, et al. Ministral 3. arXiv preprint arXiv:2601.08584, 2026.
Subhransu Maji, Esa Rahtu, Juho Kannala, Matthew Blaschko, and Andrea Vedaldi. Fine-grained visual classification of aircraft. arXiv preprint arXiv:1306.5151, 2013.
Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In Indian Conference on Computer Vision, Graphics and Image Processing, Dec 2008.
Catherine Olsson, Nelson Elhage, Neel Nanda, Nicholas Joseph, Nova DasSarma, Tom Henighan, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, Dawn Drain, Deep Ganguli, Zac Hatfield-Dodds, Danny Hernandez, Scott Johnston, Andy Jones, Jackson Kernion, Liane Lovitt, Kamal Ndousse, Dario Amodei, Tom Brown, Jack Clark, Jared Kaplan, Sam McCandlish, and Chris Olah. In-context learning and induction heads, 2022.
Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023.
Omkar M Parkhi, Andrea Vedaldi, Andrew Zisserman, and CV Jawahar. Cats and dogs. In 2012 IEEE conference on computer vision and pattern recognition, pp. 3498–3505. IEEE, 2012.
Qwen Team. Qwen3.5: Towards native multimodal agents, February 2026. URL https://qwen.ai/blog?id=qwen3.5.
Jake Snell, Kevin Swersky, and Richard Zemel. Prototypical networks for few-shot learning. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017.
Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment tree-bank. In David Yarowsky, Timothy Baldwin, Anna Korhonen, Karen Livescu, and Steven Bethard (eds.), Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pp. 1631–1642, Seattle, Washington, USA, October 2013. Association for Computational Linguistics.
Khurram Soomro, Amir Roshan Zamir, and Mubarak Shah. Ucf101: A dataset of 101 human actions classes from videos in the wild. arXiv preprint arXiv:1212.0402, 2012.
Yonglong Tian, Yue Wang, Dilip Krishnan, Joshua B Tenenbaum, and Phillip Isola. Rethinking few-shot image classification: a good embedding is all you need? In European conference on computer vision, pp. 266–282. Springer, 2020.
Johannes Von Oswald, Eyvind Niklasson, Ettore Randazzo, João Sacramento, Alexander Mordvintsev, Andrey Zhmoginov, and Max Vladymyrov. Transformers learn in-context by gradient descent. In International Conference on Machine Learning, pp. 35151–35174. PMLR, 2023.
Lean Wang, Lei Li, Damai Dai, Deli Chen, Hao Zhou, Fandong Meng, Jie Zhou, and Xu Sun. Label words are anchors: An information flow perspective for understanding in-context learning. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 9840–9855, 2023.
Tongzhou Wang and Phillip Isola. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. In Hal Daumé III and Aarti Singh (eds.), Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 9929–9939. PMLR, 13–18 Jul 2020.
Tom Wollschläger, Jannes Elstner, Simon Geisler, Vincent Cohen-Addad, Stephan Günnemann, and Johannes Gasteiger. The geometry of refusal in large language models: Concept cones and representational independence. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu (eds.), Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 66945–66970. PMLR, 13–19 Jul 2025.
Jianxiong Xiao, James Hays, Krista A Ehinger, Aude Oliva, and Antonio Torralba. Sun database: Large-scale scene recognition from abbey to zoo. In 2010 IEEE computer society conference on computer vision and pattern recognition, pp. 3485–3492. IEEE, 2010.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025a.
Haolin Yang, Hakaze Cho, Yiqiao Zhong, and Naoya Inoue. Unifying attention heads and task vectors via hidden state geometry in in-context learning. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025b. URL https://openreview.net/forum?id=FIfjDqjV0B.
Yongshuo Zong, Ondrej Bohdal, Tingyang Yu, Yongxin Yang, and Timothy Hospedales. Safety fine-tuning at (almost) no cost: A baseline for vision large language models. In Forty-first International Conference on Machine Learning, 2024.
Yongshuo Zong, Ondrej Bohdal, and Timothy Hospedales. Vl-icl bench: The devil in the details of multimodal in-context learning. In International Conference on Learning Representations, volume 2025, 2025.
SUPPLEMENTARY MATERIAL OVERVIEW
• Sec. A: Experimental Setup
– Sec. A.1: Label Space
• Sec. B: Meta-training
– Sec. B.1: Training Details
– Sec. B.2: Dimensionality
– Sec. B.3: Training on One Dataset Only
• Sec. C: Theoretical Analysis
– Sec. C.1: Convergence Proof
– Sec. C.2: Numerical Validation
• Sec. D: Circuit Analysis
– Sec. D.1: More Ablation Experiments
– Sec. D.2: Analysis of Flow from Vision to Forerunner
– Sec. D.3: SDG Alignment across Layers
– Sec. D.4: Analysis of Dimensionality Reduction Heads
• Sec. E: Other Models Experiments
• Sec. F: Other Tasks Details

Figure 6: Model performance versus the total number of support examples (0, 2, 4, and 6, corresponding to 0, 1, 2, and 3 shots per class) for two label spaces in the 2-way setting.
A EXPERIMENTAL SETUP
A.1 LABEL SPACE
| {Foo, Bar} | {Rud, Baz} | |
|---|---|---|
| Ministral 3 (8B) | 48.9 | 0.0 |
| Qwen 3.5 (9B) | 23.3 | 0.0 |
Table 3: Probability (%) assigned to the other class label at the second in-context example, given the first example's label (2-way, 1-shot setting).
As stated in the main paper, choosing an appropriate semantically unaligned label space is important for removing language biases. Standard practice uses the label space. However, has been widely used and may therefore appear in the pretraining data. As shown in Table 3, the model assigns a non-zero probability to Foo after seeing Bar as a label, and vice versa. This behavior does not occur with . Furthermore, Fig. 6 shows that using improves model performance by removing this bias. For these reasons, we choose as our label space. For 3-way classification, we extend this label space with the additional label Gip.
B META-TRAINING
B.1 TRAINING DETAILS
We train on 32,768 episodes sampled from the 10 datasets. Each episode selects a dataset uniformly, then samples three distinct classes uniformly from that dataset. Each episode contains three support images per class and one additional query image whose class is selected uniformly among the three classes. Support and query images are distinct within an episode. The nine support examples are arranged into three consecutive blocks, each containing one example per class in independently shuffled class order. This arrangement lets us compute one-, two-, and three-shot classification losses from prefixes of three, six, and nine support examples, respectively, in a single forward pass. Images are resized to pixels using bicubic interpolation before applying the model's pretrained image processor. No additional image augmentation is applied.
Each hidden state is -normalized before applying . This is mainly to stabilize the training, as certain LLM decoders exhibit high -norm in the residual stream in last layers, this keeps training dynamic similar across layers. The projections are initialized independently using the default PyTorch linear-layer initialization, with weights sampled uniformly from . The LVLM remains frozen throughout training.
We apply the loss after 3, 6, and 9 support images in-context to obtain more training signal from each task. We use a batch size of 32 episodes, which stabilizes convergence given the high variance across tasks. We optimize all projections jointly with AdamW using learning rate 0.001, weight decay 0.001, , and . We initially keep the learning rate fixed at 0.001, then gradually reduce it to zero using cosine decay over the final 324 training steps.
We use a single NVIDIA A100-SXM4 GPU with 80 GB memory and FlashAttention-2. The frozen LVLM forward pass used bfloat16, while projection parameters and loss computations used float32. The complete run took approximately 3 hours and 20 minutes.

Figure 7: Histograms of effective dimension for the query , key , value , and output projection matrices of the model.
| Training setup | Support counts used for the loss | Effective dimension of |
|---|---|---|
| 3-way 3-shot | 3, 6, 9 | 9.69 |
| 3-way 3-shot | 9 | 9.68 |
| 4-way 4-shot | 4, 8, 12, 16 | 11.08 |
| 4-way 4-shot | 16 | 10.79 |
Table 4: Effective dimension of the Vision SDG at under different training setups. Support counts indicate when the query classification loss is computed and exclude the query image.
B.2 DIMENSIONALITY
We measure the effective dimension of each SDG projection using the participation ratio (Gao et al., 2017), where are the eigenvalues of the bilinear similarity matrix :
Figure 7 shows for comparison the distributions of effective dimension across the query, key, value, and output projections of the model. Averaged over all heads and the four projection types, the effective dimension is . Figure 8 compares the ordered eigenvalues of (Text SDG at , blue) and (input Vision SDG, green). The Text SDG spectrum drops sharply around rank 10, whereas the input Vision SDG decays more gradually. The top 10 directions account for of the projected variance of the Text SDG at , compared with for the input Vision SDG.
We test whether the low dimensionality of the SDG depends on the training setup by varying the number of classes and shots, and whether the loss is applied at intermediate support counts or only after the full support set. As shown in Table 4, removing the intermediate losses has little effect on the effective dimension of . Moving from 3-way 3-shot (10 in-context images) to 4-way 4-shot (17 in-context images) training slightly increases it, but all four configurations yield an effective dimension close to 10. Thus, the precise dimensionality varies with the training setup, but that fluctuation remains negligible.

Figure 8: Ordered eigenvalues of (Text SDG, blue) and (input Vision SDG, green). The Text SDG spectrum drops sharply around rank 10, with approximately 90% of its eigenvalue mass in the top 10 directions; the input Vision SDG decays more gradually.

Figure 9: NCC accuracy of average-pooled vision tokens across layers. NCC Accuracy is computed in 3 different Vision SDG on 3 different datasets. Left: On all 10 datasets combined. Middle: On the Textures dataset. Right: On the Aircraft dataset.
B.3 TRAINING ON ONE DATASET ONLY
| Vision SDG training data | Effective dimension at () |
|---|---|
| All 10 datasets | 9.69 |
| Textures only | 9.71 |
| Aircraft only | 6.57 |
Table 5: Effective dimension of the Vision SDG at layer when trained on all 10 datasets or on a single dataset.
The shared property of the SDG of having a high accuracy on 10 different domains could result from training on those 10 domains. In order to challenge that property, we experiment with training the shared discriminative geometry only on 1 dataset instead of 10. We follow the same training protocol in two separate experiments, training once on Aircraft alone and once on Textures alone. We focus here only on the Vision SDG. As shown in Table 5, training on Textures alone yields nearly the same effective dimension as training on all 10 datasets (9.71 versus 9.69), showing that the approx- imately 10-dimensional Vision SDG can emerge from a single domain. Training on Aircraft alone yields a lower effective dimension (6.57), indicating that the learned geometry's effective dimensionality depends on the training domain.

Figure 10: Layer-wise subspace alignment of the Textures and Aircraft Vision SDGs with the Vision SDG trained on all datasets.
Evidence of shared geometry. Next, we test whether a Vision SDG trained on a single dataset generalizes to other domains by comparing NCC accuracy across layers on Textures, Aircraft, and the full set of 10 datasets (Figure 9). Between layers 7 and 15, where dimensionality reduction occurs, we see that the accuracy of the Textures Vision SDG increases for Aircraft and vice versa. Similarly, the accuracy of the Textures Vision SDG and Aircraft Vision SDG increases on the full set of all 10 datasets in the similar range. This indicates that in those layers, discriminative directions get more common between tasks and domains. This presents an additional independent observation of the dimensionality reduction and of the shared property of the SDG between domains. Additionally, we examine whether the Textures and Aircraft Vision SDGs converge toward the All datasets Vision SDG by measuring their layer-wise subspace alignment (using from Eq. (13)) (Figure 10). Over the same layer range (7–15), both the Aircraft and Textures Vision SDGs become increasingly aligned with the Vision SDG trained on all 10 datasets. This provides complementary geometric evidence that discriminative directions become increasingly shared across domains in these layers.
Evidence of domain-specific geometry. However, on Textures, the SDG trained on Textures achieves higher accuracy than the SDG trained on Aircraft, and vice versa on Aircraft. This means that part of the training is learning to select features that are domain-specific. Training on 10 different and diverse domains should in practice diminish that effect. In conclusion, our training protocol produces an SDG that combines features shared across domains with features specific to its training domain. Future work could investigate how to better disentangle both.
C THEORETICAL ANALYSIS AND VALIDATION
C.1 PROOF OF THE CONVERGENCE RATE
Let and be the eigenvalues of and
Assume
We prove that the dynamics
satisfy
Define the Gram-matrix error
Proof outline. The proof proceeds in three steps:
• Descent and boundedness. We establish that decreases, from which and the boundedness of follow.
• Convergence to zero error. Using the full-rank initialization and the determinant dynamics, we exclude convergence to a rank-deficient stationary point and conclude that .
• Exponential convergence rate. Once is sufficiently small, its dynamics consist of a linear contraction with rate and a quadratic remainder, yielding .
C.1.1 DESCENT AND BOUNDEDNESS. AND
The update is
Consequently,
We first prove recursively that
Assume that this inequality holds at layer . Then
Equality (25) follows from . Equality (26) follows from the definition of . Inequality (27) follows from the triangle inequality and . Finally, (28) follows from .
Taking the Frobenius inner product of Eq. (23) with gives
(31) where the last equality follows from the symmetry of and the cyclicity of the trace. Since is symmetric,
Because is positive semidefinite,
Moreover , therefore,
The first inequality bounds the cubic trace term using . The second line factors out the common term , while the final inequality uses .
The three terms in Eq. (23) satisfy
(i)
(ii)
(iii)
We obtain
The first inequality combines the bounds on the three terms of the error increment, while the second uses Eq. (28) to eliminate the dependence on .
Since , using Eqs. (36) and (41),
By the step-size assumption,
Multiplying by gives
Moreover, since , we also have
Hence
It follows that
Thus , which proves Eq. (24) recursively. Summing Eq. (50) from to gives
(51)
where the second line follows by telescoping and the last inequality uses . Letting in Eq. (51) yields
Since the summands in Eq. (52) are nonnegative, they must converge to zero. Therefore,
C.1.2 CONVERGENCE TO ZERO ERROR. .
We next prove that the error must enter the local contraction region. From Eq. (24),
Thus is invertible. Since
the full-rank assumption gives
The sequence is also bounded because
Consider any convergent subsequence
Equation (53) and continuity give
Multiplication by gives
Taking the transpose gives
Consequently,
Thus the two symmetric matrices and commute and have a common orthonormal eigenbasis. In that basis,
Equation (64) then becomes
Therefore,
Suppose, for contradiction, that converges to a positive value. Every convergent subsequence then has a nonzero limiting error. By Eq. (69), at least one corresponding must be zero. At such a limit,
We now show explicitly that this bound must hold near every sufficiently late iterate. Otherwise, infinitely many layers would satisfy
The corresponding form a bounded sequence, so they contain a convergent subsequence. Taking the limit along that subsequence would give
which contradicts Eq. (72). Hence there exists a finite L such that
On the other hand,
Equations (58) and (75) would therefore imply
The right-hand side diverges, whereas Eq. (28) gives
This contradiction proves
C.1.3 EXPONENTIAL CONVERGENCE RATE.
It remains to derive the exponential rate. We use the following consequence of Ostrowski's fixed-point theorem Argyros (1999). Let converge to a fixed point . If is continuously differentiable near and
then, for every
the iterates satisfy
Consider the polynomial map
The error update satisfies , and . Moreover,
Let be an eigenvector of associated with . Equation (84) gives
Hence, the eigenvalues of are . The step-size assumption implies
and therefore
Since the upper bound is attained for ,
By Eq. (79), . Let and . Since is polynomial and , there is a constant such that, for all sufficiently large ,
Equation (82) gives for any , so . For sufficiently large , iterating the preceding inequality yields
Consequently,
C.2 NUMERICAL EXPERIMENTS
We first verify the predicted convergence of the Gram error of the transformer in the idealized setting considered, then test its robustness to initialization, causal masking, normalization, and softmax attention.
Experimental setup. We initialize both and from standard Gaussian distributions then normalize, with , and . We run 16 updates (layers) with . Since , the compressed states can represent the input Gram matrix exactly. We report the relative Gram error
Curves report the mean error over 30 seeds, and shaded regions indicate the 25th to 75th percentiles.
Baseline. We first evaluate the transformer in the idealized setting considered in our theoretical analysis: non-causal linear self-attention, without softmax or normalization. Attention weights are initialized using Eq. (9). The relative Gram error decreases exponentially, as shown in Fig. 11a. For comparison, we plot the asymptotic decay rate predicted by Eq. (12), anchored at ,
As expected, the empirical error decreases exponentially and follows the asymptotic decay.
Assumption 1: Causal attention. We add only an attention mask, removing all interactions from future examples while keeping the same weights. As shown in Fig. 11b, causality slows the convergence rate. Despite this, the relative Gram error decreases steadily even though the first example cannot attend to subsequent examples.
| Intervention | 1-shot | 2-shot | 3-shot | 4-shot | 5-shot | |
|---|---|---|---|---|---|---|
| LVLM Accuracy | 34.4% | 77.2% | 82.4% | 84.2% | 85.4% | |
| All | 1D to 128D - Control Ablation | -0.4 | -1.2 | -1.9 | -2.5 | -2.2 |
| 1D to 15D - SDG Ablation | -7.1 | -10.8 | -12.9 | -12.0 | -10.6 | |
| 1D to 128D - SDG Ablation | -13.3 | -11.3 | -11.4 | -11.7 | -9.7 | |
| 16D to 128D - SDG Ablation | -5.7 | +1.8 | +1.6 | +1.4 | +0.5 | |
| 1D to 15D - SDG Boost | +7.5 | +4.7 | +3.9 | +3.0 | +2.9 | |
| 1D to 128D - SDG Boost | +12.8 | +3.3 | +1.5 | +1.4 | +1.3 | |
| 16D to 128D - SDG Boost | +6.9 | -1.8 | -3.0 | -3.2 | -2.9 | |
| Forerunner | 1D to 128D - Control Ablation | -1.9 | +0.8 | -0.0 | -0.1 | -0.1 |
| 1D to 15D - SDG Ablation | -5.0 | -1.0 | -0.9 | -1.5 | -1.1 | |
| 1D to 128D - SDG Ablation | -9.9 | -0.5 | -0.5 | -0.2 | -0.6 | |
| 16D to 128D - SDG Ablation | -5.6 | +1.1 | +0.3 | +0.6 | +0.4 | |
| 1D to 15D - SDG Boost | +4.2 | +2.2 | +0.8 | +0.8 | +0.4 | |
| 1D to 128D - SDG Boost | +8.9 | +2.1 | +0.5 | +0.3 | +0.2 | |
| 16D to 128D - SDG Boost | +4.5 | +0.0 | -0.4 | -1.5 | -1.2 | |
Table 6: Effect of top SDG interventions on model classification performance. Baseline accuracy is reported in percent; intervention effects are changes in percentage points.
Assumption 2.a: Normalization. We test the effect of normalizing every to unit norm before each update. As shown in Fig. 11d, normalization has a negligible impact on convergence.
Assumption 2.b: Softmax attention. We apply softmax to the attention weights. Softmax produces a weighted average, since its weights sum to one, whereas linear attention sums over the examples. We therefore multiply by to match the scale of the linear update. Additionally, before the first update, we center and . It prevents softmax attention from continuing to change the compressed vectors after the Gram matrices already match. As shown in Fig. 11c, softmax has a negligible impact on convergence under those additional assumptions.
Assumption 3: initialization. We compare Gaussian initialization, random projection , and canonical initialization . All three initializations satisfy the convergence assumptions and converge, as shown in Fig. 11e. Gaussian and projection initializations behave similarly. Canonical initialization yields an error approximately ten times smaller.
Summary. As shown in Fig. 11, in this setup with a dimensionality reduction, all tested settings reach a relative Gram error below after all transformer layers.
D CIRCUIT ANALYSIS
D.1 MORE ABLATION EXPERIMENTS
D.1.1 ABLATING THE TOP SDG DIMENSIONS
At layer , ablation removes the component of a token's hidden state along selected Text SDG directions, while boosting doubles that component. Table 6 applies both interventions to the top 15 directions, all 128 directions, and the remaining directions after excluding the top 15. For each choice, we intervene either on all tokens or only on the forerunner token, measure the change in classification accuracy across one to five shots, and include ablation of a random 128-dimensional subspace as a control. Notably, ablating the SDG only from the forerunner tokens has less effect. This may be due to later layers copying the SDG from other text tokens back to the forerunner token. For 2 to 5 shots, ablating all 128 dimensions has less effect than ablating only the top 15 dimensions. This confirms that the geometry used for classification is low-dimensional. Ablating dimensions 16 to 128 slightly improves accuracy for 2 to 5 shots, while boosting them reduces it, suggesting a small opposing effect.
D.1.2 ABLATION IMPACT ON HEADS ACCURACY
A possible reason for having a low dimensionality is allowing many heads to query the geometry without costing too much in parameters. Each head measures closeness of a query to support

(a) Baseline convergence and theoretical rate

(e) Initialization

(b) Causal masking

(f) Causal masking (log scale)

(c) Softmax attention

(g) Softmax attention (log scale)

(d) Normalization

(h) Normalization (log scale)
Figure 11: Numerical evaluation of Relative Gram Error under different initialization and attention settings.
in-context through bilinear similarity in its learned query-key space . If SDG dimensionality was 128, then an accurate sample-to-sample comparison would require all the heads' parameters, making the head able to only do that comparison without leaving capacity for other computations. Therefore we investigate if many heads use the SDG. First we focus our attention on induction heads (Olsson et al., 2022). In short, those heads copy the label of support examples that are closest to the query. We count a head as an induction head if it is in the top 5% of heads attending to the support label tokens when predicting the query label following Cho et al. (2025a). Figure 12 (Left) shows the number of induction heads per layer. We see that just after , there is a sudden increase in the number of induction heads. This shows induction starts only after the SDG is fully formed. We next ask whether the SDG is used by induction heads and, more broadly, across many attention heads. Figure 12 (Middle) reports, for each head, the accuracy obtained by assigning the query to the class of supports receiving the largest amount of attention from the Forerunner Token.


Figure 12: Left: Number of induction heads across layers. Middle: Head accuracy across layers, with head count per accuracy range. Right: Same as the middle after ablating the SDG at .
(1) Forerunner SDG at

Effect: -3.2%
(2) Vision SDG at

Effect: -6.4%
(3) Attention

Effect: -5.2%
(4) Forerunner SDG at

Effect: -11.4%
Figure 13: Schematization of the ablation performed in Table 1.
Simply put, it tells us how accurately any given head attends to support examples of the same class. While the SDG is the upper bound on the accuracy a head can have, we see many heads having a high accuracy close to it. After its formation, 14.77% of all heads and 23.29% of induction heads have an accuracy above 80%. Figure 12 (Right) shows heads accuracy after ablating the SDG at layer . Accuracy drops across heads with only 1.42% of all heads and 1.37% of induction heads having an accuracy above 80%. This indicates that the SDG is used by both many heads and many induction heads. This supports the hypothesis that having lower-dimensional geometries helps many heads do better sample-to-sample comparisons.
D.2 ANALYSIS OF FLOW FROM VISION TO FORERUNNER
In this section we study in more detail the circuit that transfers information from Vision SDG in Vision tokens at to the Text SDG in the Forerunner token at . We start by doing an experiment where we compute the NCC accuracy in the Vision SDG at for each token position in the image. To do that, we simply replace average pooling with selecting the token at the desired position. Figure 14 (Right) shows the results of that experiment. We observe that some tokens achieve better accuracy than others. In particular, 3 tokens have particularly high accuracy, which we name sink tokens 1, 2 and 3 Kang et al. (2025). Consistent with Choi et al. (2026), this suggests that these tokens contain meaningful semantic information across tasks. Figure 14 (Left) reports attention from the query forerunner token to the query image for each head. We see a spike in the 2 layers before where heads attend more to that image. The main paper experiment in Table 1 shows that most of the transfer happens between layers and . Thus we focus on the 3 heads that attend the most to the query image in this layer (heads 7, 8 and 17 of layer 16). Figure 15 shows the attention from the forerunner token to the query image for the 3 selected heads on 3 different tasks. As those heads do not attend to other in-context images we don’t show attention to other in-context images. The same token positions receive high attention from the 3 heads in the 3 displayed tasks. Attention patterns correlate with those in Fig. 14 (Right). In particular, sink tokens 2 and 3 always get attention from the 3 heads, although some attention goes to the tokens placed on the object of interest. In conclusion, it seems that high-quality features concentrate in certain specific sink tokens at fixed positions on the image, and the Forerunner token attends to these sink tokens in order to transfer information from vision to text. The schematization of the ablations performed in Table 1 is shown in Fig. 13.


Patch column / newline token
Figure 14: Left: Average amount of attention of each head across layers. Attention from the fore-runner token to the query image. Right: NCC accuracy at layer 15 per token position after projecting onto the Vision SDG. Columns 0-9 are image patches; the rightmost column contains newline tokens. Blue boxes mark the three patch-token sinks.
D.3 SDG ALIGNMENT ACROSS LAYERS
We compare the Vision and Text SDGs across layers using the BDE (see Eq. (13)). Figure 16a shows that the Vision SDG remains relatively aligned between neighboring layers, but gradually drifts over larger layer distances. This illustrates the benefit of learning a separate down-projection at each layer to track the changing geometry. The Text SDG shows weaker alignment between neighboring layers before and becomes more stable after that layer (Fig. 16b). Finally, alignment between the Vision and Text SDGs remains low (Fig. 16c), suggesting that their dominant directions are approximately orthogonal. In other words, when the Vision SDG is transferred to text tokens, a rotation is applied.
D.4 ANALYSIS OF DIMENSIONALITY REDUCTION HEADS
In this section we study in more detail the dimensionality reduction circuit in Vision tokens from layer 1 to .
Choice of . We derive the identity used in Eq. (13). Let . We normalize each similarity matrix as before computing , making the score invariant to independent rescaling. For independent ,
Note that the Gaussian assumption can be relaxed: sampling and independently and uniformly from the unit sphere gives the same BDE when the expectation in Eq. (13) is multiplied by . The score measures how well maps the previous Vision SDG at layer to the next Vision SDG at layer . Note that the score is bounded between 0 and 1 for positive semidefinite matrices, as is always the case here because we define bilinear similarity through . The bound does not hold for arbitrary matrices. For our theoretical circuit, the subspace is selected by . Since W_{OV} = \eta \Phi_\ell^v^\top \Phi_\ell^v, this gives . Note that this score is invariant to orthogonal rotations that could perform between subspaces. However, we find that this simple score allows us to select dimensionality reduction heads reliably.
Flowers
Head 7
'image' 'G' 'C'
'label'

Head 8
'image' 'G' 'C'
'label'

Head 17
'image' 'G' 'C'
'label'

'image' 'G' 'C'
'label'
Textures
'image' 'G' 'C'
'label'

'image' 'G' 'C'
'label'

'image' 'G' 'C'
'label'

'image' 'G' 'C'
'label'
Cars
'image' 'G' 'C'
'label'

'image' 'G' 'C'
'label'

'image' 'G' 'C'
'label'

Figure 15: Attention from the Forerunner token to image tokens at layer . Columns correspond to attention heads 7, 8, and 17; rows correspond to the Flowers, Textures and Cars datasets.

(a) Vision SDG

(b) Text SDG

(c) Text vs. Vision SDG
Figure 16: SDG alignment across layers, measured using 1 – BDE.
Left: 1 – BDE . Middle: 1 – BDE .
Right: 1 – BDE . Rows correspond to layer and columns to layer .

Figure 17: Visualization of attention from sink token 2 to other in-context images for head 27 at layer 12 (dimensionality reduction head), on a task from the Flowers dataset.
As an alternative to the BDE, we could measure the largest bilinear distortion over unit-norm inputs:
(99)
This choice requires no assumption on the distribution of and . The resulting spectral norm is equivalent to the Frobenius norm, with .
Attention patterns. Next we investigate the attention patterns of the selected dimensionality heads. As there are many vision tokens we focus on the sink tokens identified earlier (see Fig. 14 (Right)). Figures 17 to 20 show attention from sink tokens 2 and 3 to other in-context images on tasks from the Flowers and Cars datasets. The blue square marks the querying sink token, and the red shading shows where it attends. We select the dimensionality reduction head with the lowest score, head 27 in layer 12, and the head with the lowest score in layer 10, head 26. We see that those heads look more at the previous sink tokens of similar in-context examples, which is coherent with the theoretically derived circuit.

Figure 18: Visualization of attention from sink token 2 to other in-context images for head 27 at layer 12 (dimensionality reduction head), on a task from the Cars dataset.

Figure 19: Visualization of attention from sink token 3 to other in-context images for head 26 at layer 10 (dimensionality reduction head), on a task from the Flowers dataset.

Figure 20: Visualization of attention from sink token 3 to other in-context images for head 26 at layer 10 (dimensionality reduction head), on a task from the Cars dataset.
| Model | Attention | Layers | Heads | Total heads | Token dim. | Head dim. | MLP dim. |
|---|---|---|---|---|---|---|---|
| Ministral 3 (3B) | Full | 26 | 32 | 832 | 3072 | 128 | 9216 |
| Ministral 3 (8B) | Full | 34 | 32 | 1088 | 4096 | 128 | 14336 |
| Qwen 3.5 (4B) | Full/linear | 32 | 16/32 | 128/768 | 2560 | 256/128 | 9216 |
| Qwen 3.5 (9B) | Full/linear | 32 | 16/32 | 128/768 | 4096 | 256/128 | 12288 |
| Qwen 3 (4B) | Full | 36 | 32 | 1152 | 2560 | 128 | 9728 |
Table 7: LLM-decoder hyperparameters. The highlighted model is used for the main paper experiments and analyses. Slash-separated values follow the order of attention types. Each Qwen model has 8 full-attention layers and 24 linear-attention layers; head counts refer to query heads for full attention and value heads for linear attention.
| Model | Effective dimension of | |
|---|---|---|
| Ministral 3 (3B) | 16 | 10.22 |
| Ministral 3 (8B) | 17 | 10.28 |
| Qwen 3.5 (9B) | 19 | 7.46 |
| Qwen 3.5 (4B) | 18 | 9.18 |
| Qwen 3 (4B) | 23 | 8.92 |
Table 8: Peak NCC layer and Text SDG effective dimension across models.
E OTHER MODELS
We experiment in the main paper with Ministral 3 (3B) (Liu et al., 2026). Their main architectural hyperparameters are reported in Table 7. Both decoders use grouped-query attention and a context length of 262,144 tokens. Both models use the same Pixtral vision encoder. Table 7 also contains hyperparameters of the other models we experiment with.
We report results for Ministral 3 (3B and 8B), Qwen 3 (4B) and Qwen 3.5 (4B and 9B): NCC accuracy before and after projection onto the SDG (Fig. 21), effective dimension of the Text and Vision SDGs across layers (Fig. 22), and NCC accuracy as a function of projection dimension (Fig. 23). The peak-accuracy layer and the effective dimension of the Text SDG at that layer are summarized in Table 8.
E.1 NCC ACCURACY ACROSS LAYERS
E.2 NCC ACCURACY IN THE SHARED DISCRIMINATIVE GEOMETRY

(a) Ministral 3 (3B)

(b) Ministral 3 (8B)

(c) Qwen 3.5 (9B)

(d) Qwen 3.5 (4B)

(e) Qwen 3 (4B)
Figure 21: NCC accuracy before and after projection onto the Shared Discriminative Geometry.
E.3 EFFECTIVE DIMENSION

(a) Ministral 3 (3B)

(b) Ministral 3 (8B)

(c) Qwen 3.5 (9B)

(d) Qwen 3.5 (4B)

(e) Qwen 3 (4B)
Figure 22: Effective dimension across layers of (Text SDG) and (Vision SDG).
| Dataset | Question format | Answers |
|---|---|---|
| Open MI | This is a | Provided concept names |
| VLGuard | Original instruction field | harmful / unharmful |
| VizWiz | Original question field | answerable / unanswerable |
| Matching MI | Do the two images satisfy the induced relationship? | Yes / No |
| SugarCrepe | Does this image show '<caption>'? | Yes / No |
| MHaluBench | Original claim field | hallucination / non-hallucination |
| NaturalBench | Does this image show '<caption>'? | Yes / No |
Table 9: Question and answer formatting. Matching MI uses two images per example; all other benchmarks use one. Caption-based questions are read directly from the formatted dataset files.
E.4 NCC ACCURACY BY PROJECTION DIMENSION
F OTHER TASKS DETAILS
SST-2. SST-2 (Socher et al., 2013) is a binary sentiment classification dataset of movie-review sentences labeled positive or negative. We follow the same evaluation protocol, replacing each image with the sentence's sequence of text tokens. In Eq. (1), we replace "↔image:" with "↔text:" and replace with the corresponding sentence sequence of text-token embeddings.
Open MI. Fast Open-Ended MiniImageNet (Open MI in the main paper), from VL-ICL Bench (Zong et al., 2025), asks the model to classify ImageNet images using concept names introduced by the demonstrations. We evaluate all 200 provided tasks, using the support images supplied for each task.
Matching MI. Fast Matching MiniImageNet (Matching MI in the main paper), also from VL-ICL Bench, asks whether two images satisfy a relationship illustrated by the demonstrations. We evaluate all 200 provided tasks and sample demonstrations from the supplied support set, including both positive and negative pairs.
VLGuard. VLGuard (Zong et al., 2024) contains images paired with user instructions. We ask the model to classify each pair as harmful or unharmful and evaluate the first 200 pairs in our prepared dataset.
VizWiz. VizWiz (Gurari et al., 2018) contains photographs and questions submitted by blind users. We use its answerability labels: the model predicts whether the question can be answered. We evaluate on 200 generated tasks.
SugarCrepe. SugarCrepe (Hsieh et al., 2023) pairs COCO images with correct captions and modified captions that do not match the image. We turn each image–caption pair into a yes/no question. We evaluate on 200 generated tasks.
MHaluBench. MHaluBench (Chen et al., 2024) provides images and textual claims annotated for hallucination. We ask the model to classify each claim as hallucination or non-hallucination. We evaluate on 200 generated tasks.
NaturalBench. We use the image-caption matching version of NaturalBench (Li et al., 2024). Each caption is presented as a yes/no question asking whether it describes the image. We evaluate on 200 generated tasks.
Questions and answers retain the dataset-specific formatting in Table 9. Each image placeholder occupies a separate line, followed by the question and a new line containing Answer: <answer>. Demonstrations are separated by a newline; the query ends at Answer:. Evaluation matches the greedy next token.

(a) Ministral 3 (3B)

(b) Ministral 3 (8B)

(c) Qwen 3.5 (9B)

(d) Qwen 3.5 (4B)

(e) Qwen 3 (4B)
Figure 23: NCC accuracy in the top-k SDG dimensions of the input vision tokens (Layer ) and the forerunner token at .