Not All Language Model Features Are Linear
Auteurs : Joshua Engels, Isaac Liao, Eric J. Michaud, Wes Gurnee, Max Tegmark
Résumé scientifique
Recent work has proposed the linear representation hypothesis: that language models perform computation by manipulating one-dimensional representations of concepts ("features") in activation space. In contrast, we explore whether some language model representations may be inherently multi-dimensional. We begin by developing a rigorous definition of irreducible multi-dimensional features based on whether they can be decomposed into either independent or non-co-occurring lower-dimensional features. Motivated by these definitions, we design a scalable method that uses sparse autoencoders to automatically find multi-dimensional features in GPT-2 and Mistral 7B. These auto-discovered features include strikingly interpretable examples, e.g. circular features representing days of the week and months of the year. We identify tasks where these exact circles are used to solve computational problems involving modular arithmetic in days of the week and months of the year. Finally, we provide evidence that these circular features are indeed the fundamental unit of computation in these tasks with intervention experiments on Mistral 7B and Llama 3 8B, and we find further circular representations by breaking down the hidden states for these tasks into interpretable components.
Les articles autour de lui, par date et par proximité
Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article
Les articles autour de celui-ci
Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.
Les articles les plus proches
-
How Many Features Can a Language Model Store Under the Linear Representation Hypothesis?Nikhil Garg, Jon M. Kleinberg, Kenny Peng · 2026 · Annual Conference Computational Learning Theory · cité 11 fois · Pas encore résumé
How Many Features Can a Language Model Store Under the Linear Representation Hypothesis? formalise l’hypothèse de représentation linéaire et demande combien de caractéristiques un modèle peut stocker.
Résumé scientifique
We introduce a mathematical framework for the linear representation hypothesis (LRH), which asserts that intermediate layers of language models store features linearly. We separate the hypothesis into two claims: linear representation (features are linearly embedded in neuron activations) and linear accessibility (features can be linearly decoded). We then ask: How many neurons $d$ suffice to both linearly represent and linearly access $m$ features? Classical results in compressed sensing imply that for $k$-sparse inputs, $d = O(k\log (m/k))$ suffices if we allow non-linear decoding algorithms (Candes and Tao, 2006; Candes et al., 2006; Donoho, 2006). However, the additional requirement of l…
-
The Origins of Representation Manifolds in Large Language ModelsAlexander Modell, Patrick Rubin-Delanchy, Nick Whiteley · 2025 · arXiv.org · preprint, non relu par les pairs · cité 54 fois · Pas encore résumé
The Origins of Representation Manifolds in Large Language Models prolonge les caractéristiques linéaires vers des représentations multidimensionnelles et continues, comme celles étudiées ici.
Résumé scientifique
There is a large ongoing scientific effort in mechanistic interpretability to map embeddings and internal representations of AI systems into human-understandable concepts. A key element of this effort is the linear representation hypothesis, which posits that neural representations are sparse linear combinations of `almost-orthogonal' direction vectors, reflecting the presence or absence of different features. This model underpins the use of sparse autoencoders to recover features from representations. Moving towards a fuller model of features, in which neural representations could encode not just the presence but also a potentially continuous and multidimensional value for a feature, has be…
-
Do Large GPT Models Discover Moral Dimensions in Language Representations? A Topological Study Of Sentence EmbeddingsStephen Fitz · 2023 · Computation and Language · preprint, non relu par les pairs · cité 6 fois · Résumé IA disponible
Do Large GPT Models Discover Moral Dimensions in Language Representations? étudie la structure topologique des représentations de phrases et leurs dimensions morales.
Résumé scientifique
As Large Language Models are deployed within Artificial Intelligence systems, that are increasingly integrated with human society, it becomes more important than ever to study their internal structures. Higher level abilities of LLMs such as GPT-3.5 emerge in large part due to informative language representations they induce from raw text data during pre-training on trillions of words. These embeddings exist in vector spaces of several thousand dimensions, and their processing involves mapping between multiple vector spaces, with total number of parameters on the order of trillions. Furthermore, these language representations are induced by gradient optimization, resulting in a black box sys…
-
Visualizing LLM Latent Space Geometry Through Dimensionality ReductionAlex Ning, Vainateya Rangaraju, Yen-Ling Kuo · 2025 · arXiv.org · preprint, non relu par les pairs · cité 3 fois · Pas encore résumé
Visualizing LLM Latent Space Geometry Through Dimensionality Reduction visualise la géométrie des activations de GPT-2 et LLaMA avec PCA et UMAP.
Résumé scientifique
Large language models (LLMs) achieve state-of-the-art results across many natural language tasks, but their internal mechanisms remain difficult to interpret. In this work, we extract, process, and visualize latent state geometries in Transformer-based language models through dimensionality reduction. We capture layerwise activations at multiple points within Transformer blocks and enable systematic analysis through Principal Component Analysis (PCA) and Uniform Manifold Approximation and Projection (UMAP). We demonstrate experiments on GPT-2 and LLaMa models, where we uncover interesting geometric patterns in latent space. Notably, we identify a clear separation between attention and MLP co…
-
On the Origins of Linear Representations in Large Language ModelsYi-Bo Jiang, Goutham Rajendran, P. Ravikumar et al. · 2024 · International Conference on Machine Learning · cité 87 fois · Pas encore résumé
On the Origins of Linear Representations in Large Language Models explique l’émergence de représentations linéaires par un modèle latent et l’objectif de prédiction du prochain jeton.
Résumé scientifique
Recent works have argued that high-level semantic concepts are encoded"linearly"in the representation space of large language models. In this work, we study the origins of such linear representations. To that end, we introduce a simple latent variable model to abstract and formalize the concept dynamics of the next token prediction. We use this formalism to show that the next token prediction objective (softmax with cross-entropy) and the implicit bias of gradient descent together promote the linear representation of concepts. Experiments show that linear representations emerge when learning from data matching the latent variable model, confirming that this simple structure already suffices …
-
The Linear Representation Hypothesis and the Geometry of Large Language ModelsKiho Park, Yo Joong Choe, Victor Veitch · 2023 · International Conference on Machine Learning · cité 827 fois · Pas encore résumé
The Linear Representation Hypothesis and the Geometry of Large Language Models formalise la représentation linéaire et relie ses notions géométriques au sondage et au pilotage des modèles.
Résumé scientifique
Informally, the'linear representation hypothesis'is the idea that high-level concepts are represented linearly as directions in some representation space. In this paper, we address two closely related questions: What does"linear representation"actually mean? And, how do we make sense of geometric notions (e.g., cosine similarity or projection) in the representation space? To answer these, we use the language of counterfactuals to give two formalizations of"linear representation", one in the output (word) representation space, and one in the input (sentence) space. We then prove these connect to linear probing and model steering, respectively. To make sense of geometric notions, we use the fo…
-
Large Language Models Encode Semantics and Alignment in Linearly Separable RepresentationsBaturay Saglam, Paul Kassianik, Blaine Nelson et al. · 2025 · IJCNLP-AACL · cité 16 fois · Pas encore résumé
Large Language Models Encode Semantics and Alignment in Linearly Separable Representations mesure si l’information sémantique forme des sous-espaces linéairement séparables.
Résumé scientifique
Understanding the latent space geometry of large language models (LLMs) is key to interpreting their behavior and improving alignment. Yet it remains unclear to what extent LLMs linearly organize representations related to semantic understanding. To explore this, we conduct a large-scale empirical study of hidden representations in 11 autoregressive models across six scientific topics. We find that high-level semantic information consistently resides in low-dimensional subspaces that form linearly separable representations across domains. This separability becomes more pronounced in deeper layers and under prompts that elicit structured reasoning or alignment behavior$\unicode{x2013}$even wh…
-
Functional Subspace, where language models can use vector algebra to solve problemsJ. H. Lee, Sujith Vijayan · 2026 · Pas encore résumé
Functional Subspace, where language models can use vector algebra to solve problems examine comment des sous-espaces d’activations permettent aux modèles de résoudre des problèmes.
Résumé scientifique
Large language models (LLMs) were invented for natural language tasks such as translation, but they have proved that they can perform highly complex functions across domains. Additionally, they have been thought to develop new skills without being trained on them. These learning capabilities lead to LLMs adoption in a wide range of domains. Thus, it is imperative that we understand their operating mechanisms and limitations for proper diagnostics and repair. The earlier studies proposed that high level concepts are encoded as linear directions in LLMs activation space and that the geometry of embeddings have semantic meanings. Inspired by these studies, we hypothesize that LLMs may use subsp…
Les travaux antérieurs sur lesquels il s’appuie
-
Language Models Represent Space and TimeWes Gurnee, Max Tegmark · 2023 · Machine Learning · cité 421 fois · Résumé IA disponible
Language Models Represent Space and Time analyse les représentations linéaires de concepts spatiaux et temporels dans les modèles Llama-2.
Résumé scientifique
The capabilities of large language models (LLMs) have sparked debate over whether such systems just learn an enormous collection of superficial statistics or a coherent model of the data generating process -- a world model. We find evidence for the latter by analyzing the learned representations of three spatial datasets (world, US, NYC places) and three temporal datasets (historical figures, artworks, news headlines) in the Llama-2 family of models. We discover that LLMs learn linear representations of space and time across multiple scales. These representations are robust to prompting variations and unified across different entity types (e.g. cities and landmarks). In addition, we identify…
-
Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallKevin Wang, Alexandre Variengien, Arthur Conmy et al. · 2022 · Machine Learning · cité 1 418 fois · Résumé IA disponible
Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small utilise des interventions causales pour expliquer le calcul d’une tâche par GPT-2.
Résumé scientifique
Research in mechanistic interpretability seeks to explain behaviors of machine learning models in terms of their internal components. However, most previous work either focuses on simple behaviors in small models, or describes complicated behaviors in larger models with broad strokes. In this work, we bridge this gap by presenting an explanation for how GPT-2 small performs a natural language task called indirect object identification (IOI). Our explanation encompasses 26 attention heads grouped into 7 main classes, which we discovered using a combination of interpretability approaches relying on causal interventions. To our knowledge, this investigation is the largest end-to-end attempt at …
-
How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelMichael Hanna, Ollie Liu, Alexandre Variengien · 2023 · Neural Information Processing Systems · cité 260 fois · Pas encore résumé
How does GPT-2 compute greater-than? applique l’interprétabilité mécanistique pour identifier le circuit de calcul d’une tâche mathématique dans GPT-2.
Résumé scientifique
Pre-trained language models can be surprisingly adept at tasks they were not explicitly trained on, but how they implement these capabilities is poorly understood. In this paper, we investigate the basic mathematical abilities often acquired by pre-trained language models. Concretely, we use mechanistic interpretability techniques to explain the (limited) mathematical abilities of GPT-2 small. As a case study, we examine its ability to take in sentences such as"The war lasted from the year 1732 to the year 17", and predict valid two-digit end years (years>32). We first identify a circuit, a small subset of GPT-2 small's computational graph that computes this task's output. Then, we explain t…
-
Transformers represent belief state geometry in their residual streamA. Shai, Sarah E. Marzen, Lucas Teixeira et al. · 2024 · Neural Information Processing Systems · cité 93 fois · Pas encore résumé
Transformers represent belief state geometry in their residual stream étudie comment les états de croyance et leur géométrie sont représentés dans les activations.
Résumé scientifique
What computational structure are we building into large language models when we train them on next-token prediction? Here, we present evidence that this structure is given by the meta-dynamics of belief updating over hidden states of the data-generating process. Leveraging the theory of optimal prediction, we anticipate and then find that belief states are linearly represented in the residual stream of transformers, even in cases where the predicted belief state geometry has highly nontrivial fractal structure. We investigate cases where the belief state geometry is represented in the final residual stream or distributed across the residual streams of multiple layers, providing a framework t…
-
The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False DatasetsSamuel Marks, Max Tegmark · 2023 · Artificial Intelligence · preprint, non relu par les pairs · cité 844 fois · Résumé IA disponible
The Geometry of Truth étudie la structure linéaire des représentations internes associées aux énoncés vrais ou faux.
Résumé scientifique
Large Language Models (LLMs) have impressive capabilities, but are also prone to outputting falsehoods. Recent work has developed techniques for inferring whether a LLM is telling the truth by training probes on the LLM's internal activations. However, this line of work is controversial, with some authors pointing out failures of these probes to generalize in basic ways, among other conceptual issues. In this work, we curate high-quality datasets of true/false statements and use them to study in detail the structure of LLM representations of truth, drawing on three lines of evidence: 1. Visualizations of LLM true/false statement representations, which reveal clear linear structure. 2. Transf…
Les articles qui le citent
-
Spokes, not a Ring: Revisiting the Weekday Manifold in Language ModelsDiksha Gupta, Rieke Fruengel, S. Heimersheim · 2026 · Pas encore résumé
Spokes, not a Ring conteste l’interprétation du cercle des jours comme manifold continu, le décrivant plutôt comme sept états discrets.
Résumé scientifique
Recent work has hypothesised that large language models may represent some concepts as multi-dimensional manifolds instead of single directions. Using these manifolds to interpret or steer representations often assumes that moving along them corresponds to a continuous change in the represented concept. In this work, we test this continuous manifold assumption on the prototypical weekday manifold. Despite its striking circular geometry, we find that the weekday representations behave more like seven discrete states arranged in a circle than a continuous ring. First, we show that local sensitivity has seven minima aligned with the weekdays, producing a step-like mapping between representation…
-
Analyze Feature Flow to Enhance Interpretation and Steering in Language ModelsDaniil Laptev, Nikita Balagansky, Yaroslav Aksenov et al. · 2025 · International Conference on Machine Learning · cité 13 fois · Pas encore résumé
Analyze Feature Flow to Enhance Interpretation and Steering in Language Models suit les caractéristiques découvertes par autoencodeurs clairsemés entre couches et les utilise pour piloter le modèle.
Résumé scientifique
We introduce a new approach to systematically map features discovered by sparse autoencoder across consecutive layers of large language models, extending earlier work that examined inter-layer feature links. By using a data-free cosine similarity technique, we trace how specific features persist, transform, or first appear at each stage. This method yields granular flow graphs of feature evolution, enabling fine-grained interpretability and mechanistic insights into model computations. Crucially, we demonstrate how these cross-layer feature maps facilitate direct steering of model behavior by amplifying or suppressing chosen features, achieving targeted thematic control in text generation. T…
-
Persistent Topological Features in Large Language ModelsYuri Gardinazzi, Giada Panerai, Karthik Viswanathan et al. · 2024 · International Conference on Machine Learning · cité 17 fois · Pas encore résumé
Persistent Topological Features in Large Language Models suit l’évolution des trous topologiques à travers les couches de modèles de langage.
Résumé scientifique
Understanding the decision-making processes of large language models is critical given their widespread applications. To achieve this, we aim to connect a formal mathematical framework - zigzag persistence from topological data analysis - with practical and easily applicable algorithms. Zigzag persistence is particularly effective for characterizing data as it dynamically transforms across model layers. Within this framework, we introduce topological descriptors that measure how topological features, $p$-dimensional holes, persist and evolve throughout the layers. Unlike methods that assess each layer individually and then aggregate the results, our approach directly tracks the full evolutio…
-
Convergent Evolution: How Different Language Models Learn Similar Number RepresentationsDeqing Fu, Tian-Yi Zhou, Mikhail Belkin et al. · 2026 · arXiv.org · preprint, non relu par les pairs · cité 6 fois · Pas encore résumé
Convergent Evolution étudie les représentations périodiques des nombres et leur séparabilité géométrique pour des calculs modulo.
Résumé scientifique
Language models trained on natural text learn to represent numbers using periodic features with dominant periods at $T=2, 5, 10$. In this paper, we identify a two-tiered hierarchy of these features: while Transformers, Linear RNNs, LSTMs, and classical word embeddings trained in different ways all learn features that have period-$T$ spikes in the Fourier domain, only some learn geometrically separable features that can be used to linearly classify a number mod-$T$. To explain this incongruity, we prove that Fourier domain sparsity is necessary but not sufficient for mod-$T$ geometric separability. Empirically, we investigate when model training yields geometrically separable features, findin…
-
A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic InterpretabilityEnshang Zhang, R. Thomas McCoy · 2026 · cité 1 fois · Pas encore résumé
A Unifying Perspective on Language Model Representations propose les représentations par tenseurs pour relier des méthodes d’interprétabilité et la structure compositionnelle.
Résumé scientifique
A wide range of methods have been proposed for interpreting language models, delivering important insights into their inner workings. However, different methods and their resulting insights stand in relative isolation: what could the underlying structure of language models be, such that they give rise to all our interpretations? In this work, we propose using Tensor Product Representations (TPRs) as a unifying hypothesis. TPRs give a concrete proposal for how compositional structure could be represented in vector space --- as filler-role bindings. We show, both mathematically and empirically, that TPRs can unify several prior interpretability methods: additive analogies, linear probing, spar…
Aller plus loin
Comment ces articles sont-ils trouvés ?
Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.
Mis à jour le 31 octobre 2026.