Tensor Product Representation Probes Reveal Shared Structure Across Linear Directions

Andrew Lee, Fernanda Viégas, Martin WattenbergarXiv 2026

TL;DR

While the popular linear representation hypothesis suggests that neural networks represent concepts as isolated directional vectors, this paper demonstrates that these directions possess a deeper, compositional structure. By training Tensor Product Representation (TPR) probes on OthelloGPT, the authors show that a model's internal representations can be factorized into meaningful components (like board squares and piece colors) that capture the underlying relational structure of the domain.

What Problem Does This Paper Address?

Mechanistic interpretability often relies on the linear representation hypothesis—the idea that models represent concepts as distinct directions in activation space. However, treating concepts as a flat "bag of linear directions" fails to capture how concepts relate to one another in the real world. For instance, in a board game, a square and a piece color are distinct concepts, but they must be bound together to describe a board state.

The authors investigate a fundamental question: Are these seemingly independent linear directions actually projections of a more structured, compositional underlying representation? To study this, they look at OthelloGPT, a model known to possess linear representations of board states, and test whether a more structured probing architecture can uncover hidden relational rules.

Methods

The authors introduce Tensor Product Representation (TPR) probes to decode the internal states of OthelloGPT. Instead of training 192 independent linear probes (64 squares $\times$ 3 possible states), the TPR probe factorizes the representation:

  1. Bilinear TPR Probes: The probe learns a set of role embeddings (representing the 64 board squares), filler embeddings (representing the 3 possible states: Empty, Current, Opponent), and a linear mapping from the model's hidden states to a latent binding matrix. The state is decoded via a bilinear unbinding operation: $\ell_{s,c} = r_s^\top B f_c$.
  2. Trilinear TPR Probes: This variation further factorizes the board squares into distinct row and column embeddings ($\ell_{ij,c} = \langle T, u_i \otimes v_j \otimes f_c \rangle$), explicitly capturing the 8x8 grid structure.
  3. Causal Interventions: To prove these structures are causally active, the authors perform interventions by modifying the latent binding matrix, mapping the change back to the activation space using a pseudo-inverse, and verifying if OthelloGPT alters its next-move predictions accordingly.
Visualizing the factorization of OthelloGPT's board-state representation via TPR probes.

Datasets

The study evaluates OthelloGPT, an 8-layer Transformer trained on 20 million game transcripts of Othello. The probes are trained and evaluated using:

  • Move Transcripts: 295,699 sequences for training, 512 for validation, and 1,000 held-out sequences for testing.
  • Synthetic Control Baselines: The authors construct two baselines to isolate the source of the geometric structure:
  • TPR-OOD: Trained on randomized, invalid board states to test the probe architecture's inductive biases.
  • TPR-Random Coding: Uses synthetic random encodings instead of real model activations to isolate the effect of board-state statistics.

Key Insights and Ideas

  • Linearity as a Projection: The most profound takeaway is that independent linear directions found by standard probing are actually low-rank projections of a unified, compositional structure. Remarkably, the independently trained linear probes from prior work can be mathematically recovered directly from the parameters of the trained TPR probe.
  • Emergent Board Geometry: The learned square embeddings spontaneously map out the physical layout of the Othello board. When visualized, they form a continuous, saddle-like 3D manifold where rows and columns are clearly organized, despite the model only ever seeing flat text move sequences.
  • Efficiency via Structural Constraints: TPR probes achieve near-perfect decoding accuracy while using significantly fewer parameters than standard linear probes, proving that structural constraints make interpretability tools both more faithful and more compact.

Key Results

  • High Accuracy with Fewer Parameters: The bilinear TPR probe achieves 99% accuracy at layer 7 using only ~57.5% of the parameters of a standard linear probe.
Bilinear TPR probe accuracy across different role and filler dimensions.
  • Geometric Alignment: The pairwise cosine similarity of the square embeddings strongly correlates with actual board distance ($R^2 = 0.54$), vastly outperforming the random coding baseline ($R^2 = 0.24$) and the OOD baseline ($R^2 = 0.03$).
  • Causal Validity: Causal interventions using the TPR probe successfully manipulate the model's behavior, achieving near-zero error counts when predicting the new set of legal moves after an intervention.

Limitations and Future Work

  • A Priori Structural Knowledge: A major limitation is that TPR probes require researchers to know the underlying relational structure (e.g., the concept of roles and fillers) in advance. It is a supervised probing method, not an unsupervised discovery tool like Sparse Autoencoders (SAEs).
  • Simplicity of Binding: The current work only explores a single layer of binding, whereas real-world language models likely employ hierarchical or nested structures to represent complex language semantics.
  • Future Directions: The authors suggest integrating structural constraints into unsupervised methods (like SAEs) to discover interactions and compositional features without manual supervision.

Summary updated

Abstract

While researchers are finding concepts represented as linear directions in language models, a bag of linear directions fails to capture relational structure. To better understand this dichotomy, we study a model with known linear representations, but trained in a highly structured domain -- the board game Othello. While the model's internal board-state representation is linearly decodable, we find additional structure in the form of tensor product representations (TPRs). We train TPR probes to recover shared structure amongst the linear probes, yielding a factorization into square-embeddings, color-embeddings, and a binding matrix that composes them to construct the model's board-state representation. We find geometric signatures within the weights of our TPR probe that align with the structure of the board, but perhaps more importantly, that the linear probes can be recovered directly from the parameters of our TPR probe. Our findings suggest that directional representations may be projections of more structured underlying representations.
BibTeX
@misc{lee2026tensor,
  author = {Andrew Lee and Fernanda Viégas and Martin Wattenberg},
  title = {{Tensor Product Representation Probes Reveal Shared Structure Across Linear Directions}},
  year = {2026},
  eprint = {2605.09967},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.09967},
}

Loading related content...

Figure