🤖 AI Summary
This study investigates how Large Vision-Language Models (LVLMs) construct linear representations of contextual images. By analyzing the principles of linear self-attention projections through both gradient descent analysis and empirical validation, this work elucidates the dimensionality reduction mechanisms operating in early network layers. The primary contribution is the first characterization of a novel mechanism by which LVLMs exploit visual modality properties to achieve dimensional reduction of contextual images. Specifically, the findings reveal that early layers perform a principal component analysis-like process, compressing images into linearly separable representations while discovering shared discriminative geometric structures. This mechanism effectively facilitates downstream classification tasks, offering new insights into the representational dynamics of vision-language architectures.
📝 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.