What Arranges Features in Activation Space? Non-Classical Predictive Geometry in Next-Token Predictors
Adam Shai, Thomas J Elliott, Paul Riechers
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Transformer Algorithmic Decomposition · Type: theory · Keywords: predictive representations, activation geometry, mechanistic interpretability, neural network geometry, synthetic datasets
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Algorithmic Transformers; Interpretability › Neural Representation Analysis › Interpretable Representations
Summary
The paper shows that the computational class of the training-data generator determines the geometry of predictive representations in neural networks, and demonstrates that transformers, LSTMs, GRUs, and vanilla RNNs learn compact non-classical geometries for HMM, quantum, and generalized-probabilistic processes.
Explained to a 5-year-old
We want to know how a computer brain organizes its ideas in its hidden space. The authors found that the kind of data the brain sees decides how those ideas are arranged. They made simple puzzles that show three different ways ideas can be arranged, like a triangle, a ball on a sphere, and a special shape. They taught small computer models these puzzles and saw that the models naturally learned those special arrangements. This helps us understand how computers think.
Explained to a 5-year-old, longer
Imagine a computer brain that has hidden places where it stores its thoughts. These hidden places are like rooms where different ideas live. The authors wanted to know why some rooms look different from others. They discovered that the kind of stories the computer learns from decides the shape of those rooms. If the stories follow simple rules like a game of hide-and-seek, the rooms form a triangle shape. If the stories follow rules that are like magic quantum rules, the rooms look like points on a ball. If the stories follow even stranger rules, the rooms have a special shape that is not like anything we have seen before. To test this, they built three special puzzle datasets that show these three kinds of rooms. They then trained tiny computer models, like small robots, on these puzzles. The models automatically learned to arrange their thoughts in the correct room shapes. A simple rule could read the thoughts and tell which room they belong to. This tells us that computers organize information in ways that match the difficulty of the stories they learn from.
For a technical reader
The paper links the computational class of the data generator to the geometry of a network’s internal representations. By constructing synthetic datasets with known predictive geometries (HMM, quantum, and generalized-probabilistic), they show that a single linear decoder can recover these representations from various architectures. The results indicate that neural networks naturally capture non-classical geometries better than classical Markov models.
Problem
Understanding what principles govern the arrangement of features and circuits into geometric structures in activation space is challenging. The problem is to determine how the computational class of the data generator influences the geometry of predictive states in neural networks.
Method
The authors derive a theoretical relationship linking the data generator's computational class to the geometry of predictive beliefs, then construct synthetic datasets whose minimal predictive representations correspond to classical HMM, quantum, and generalized-probabilistic processes. They train transformers, LSTMs, GRUs, and vanilla RNNs on these datasets and decode activations with a single affine map to recover the underlying predictive geometry.
Results
Neural networks learn compact non-classical predictive geometries that are accurately recovered by a single affine decoder, outperforming classical Markov baselines.
Contributions
The paper provides a theoretical insight that the generator class determines the geometry of predictive beliefs, and demonstrates empirically that neural networks capture this geometry across HMM, quantum, and generalized-probabilistic processes.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction