arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.29034

A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic Interpretability

Zhang Enyan, R. Thomas McCoy

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

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; [62]) 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, sparse autoencoders, and activation patching. Mathematically, we show that these methods can all be derived from TPRs. Empirically, we apply the derivations to a range of different models — from small toy models to LLMs — to construct instances of each of the above interpretability methods; these constructed variants perform comparably to their standard variants. We view this work as a step toward what interpretability will ideally provide: a unified account of the nature of neural networks, corroborated not just by individual observations but also by an explanation of the connections between them.¹

1 Introduction

In a classic story, several people are sent into a completely dark room containing an elephant. None of them have encountered an elephant before. One feels the elephant's trunk and concludes that elephants are like snakes. Another feels a leg and concludes that elephants are like trees. Another feels a tusk and concludes that elephants are like spears, and the others make observations based on an ear, a side, and a tail (which are like a fan, a wall, and a rope, respectively). Taken together, these observations leave a puzzle: What sort of entity could the elephant be? What underlying structure could explain all of the properties — the snake-like properties, the tree-like properties, the spear-like properties, etc.? The answer, of course, is a structure like this:

A similar situation is found when trying to understand neural network representations: interpretability work has made many important discoveries about neural network representations, but it is not obvious what structure underlies these observations. For instance, these representations support additive analogies [42, 52]; they can be linearly decoded [12, 1, 65, 24]; they can be decomposed into linear combinations of concepts [28, 57, 16]; and they can be edited (e.g., via activation patching) in ways that modify behavior [18, 70, 41, 21, 33]. All of these findings provide windows into the underlying

¹Code is available at https://github.com/Rock-Z/Unifying-Interp-TPRs

Preprint.

Figure

Figure 1: Left: Partial observations of an elephant point to a variety of properties—e.g., the trunk is snake-like and the ears are fan-like. All these partial observations can together be explained by the elephant's overall structure. Right: Similarly, different language model interpretability methods expose consistent but partial descriptions of the same underlying model. Here we ask what the model's underlying structure could be such that it supports all of these observations.

structure of the representations being analyzed. What might the nature of this structure be, such that it can explain all of the properties — the analogical properties, the decodability properties, etc. — that have been observed? An answer to this question would move the field toward a more complete picture of neural networks by unifying insights from different methods, behaviors, and types of models (Figure 1).

We posit that an account of a network's representations should ideally be both precise and explanatory:

(1) Precise: The account should provide an interpretable closed-form equation capturing the structure of the representations, such that representations can be constructed independently of the network being analyzed.

(2) Explanatory: The account should provide explanations of how representations can be analyzed and edited in ways that are compatible with empirical observations.

In this paper, we propose using Tensor Product Representations (TPRs; [62]), a formalism for encoding information in vector space, as a unifying account of neural network representations. Building on this formalism, we make the following contributions:

  1. We show that the closed-form equation provided by TPRs can be used to approximate the hidden states of a variety of neural networks across different tasks, corroborating prior work [39, 63, 40] and extending to new types of networks.

  2. Mathematically, we derive several existing interpretability methods from TPR operations, unifying them under the same structural assumption.

  3. Empirically, we apply the mathematical derivations to construct additive analogies, linear probes, sparse autoencoders, and activation patching from a single TPR approximation, finding performance that is comparable to applying these techniques in the standard ways.

The first contribution shows that the TPR formalism is precise (desideratum (1)), and the second and third contributions show that it is explanatory (desideratum (2)). This work shows that a formal theory of representational structure based on TPRs can connect multiple interpretability results, moving the field toward a more unified understanding of the structure of neural representations.

References (63)