← Latest papers
💬 NLP

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

This paper proposes Tensor Product Representations (TPRs) as a unifying framework that mathematically and empirically demonstrates how diverse language model interpretability methods, such as linear probing and sparse autoencoders, can be derived from a single underlying structure of filler-role bindings.

Original authors: Zhang Enyan, R. Thomas McCoy

Published 2026-09-01
📖 5 min read🧠 Deep dive

Original authors: Zhang Enyan, R. Thomas McCoy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the quiet, humming world of artificial intelligence, researchers are trying to understand how massive computer programs, known as language models, actually think. These systems can write poetry, solve math problems, and hold conversations, but inside their digital brains, information is stored as long lists of numbers. For years, scientists have used various tools to peek inside these black boxes, finding that the models seem to organize information in surprisingly orderly ways. Some tools show that the models can solve puzzles by adding and subtracting these number lists, while others reveal that specific parts of the model light up when they encounter a particular word or idea. Yet, these discoveries have remained isolated, like separate clues found in different rooms of a dark house. The big question has been whether there is a single, underlying structure that explains all these different behaviors, or if the models are just a chaotic jumble of unrelated tricks.

A team of researchers at Yale University has proposed a unifying answer to this puzzle. They suggest that these complex language models are built on a specific architectural principle called Tensor Product Representations. In plain terms, this means the models store information by tightly binding two things together: the content of an idea (like a specific word) and its role in a sentence (like whether it is the subject or the object). Imagine a filing system where every piece of information is stored not just by what it is, but by exactly where it belongs in a structure. The researchers found that this simple, structured way of organizing data can explain a wide range of previously unrelated discoveries. It accounts for why the models can perform mathematical analogies, why simple tests can reveal hidden concepts, and why changing a single part of the model's internal state can alter its behavior in predictable ways.

To test this idea, the team did not just rely on theory; they built a new kind of tool to act as a translator. They created a system that takes the known structure of a sentence—identifying the subject, verb, and object—and converts it into the specific number patterns the models use. They then compared this translated version against the actual internal workings of several different computer models, ranging from small, simple networks to massive, state-of-the-art language systems. The results were strikingly consistent. In tests involving sequences of numbers and structured English sentences, the researchers' structural translation matched the models' internal states with extremely high precision. For the simpler models, the match was nearly perfect, capturing almost all the variation in how the models processed information. Even for the largest, most complex language models, the translation captured the vast majority of the information, suggesting that these giant systems, despite their size, rely on this same fundamental method of binding content to position.

The power of this finding lies in how it connects different methods of investigation. The researchers showed that the mathematical logic behind their structural translation could be used to recreate the results of four major interpretability techniques that scientists use today. First, they explained why language models can perform "additive analogies," a phenomenon where subtracting one concept from another and adding a third yields a fourth related concept. Their work demonstrated that this happens because the models are essentially calculating the difference between specific content-and-role pairings. Second, they showed how "linear probes," which are simple tests used to detect if a model knows a certain fact, are actually just a way of unbinding the role from the content to retrieve the original idea. Third, they explained how "sparse autoencoders," which break down complex signals into simpler parts, are effectively identifying these same content-and-role bindings. Finally, they demonstrated that "activation patching," a technique where researchers swap parts of a model's brain to see how it changes behavior, works because they are directly swapping these specific structural bindings.

In a series of experiments, the team proved that they could use their structural translation to build these four different testing tools from scratch, without needing to train them on the models first. When they used these constructed tools to analyze the models, they performed just as well as the standard, heavily trained tools used by the field. For instance, when they used their method to predict which word would appear next in a sentence, or to identify the subject of a sentence, the accuracy was nearly identical to the best existing methods. In one specific test involving a large language model, the difference between their structural prediction and the standard method was so small it was almost invisible, with a correlation score of nearly one. This suggests that the complex, learned behaviors of these models are not mysterious or accidental, but are direct consequences of this underlying structural rule.

The researchers also explored how well this structure holds up when the models face new situations. They trained their structural translator on a set of sentences and then tested it on sentences containing words and roles it had never seen before. The translator successfully generalized, accurately reconstructing the model's internal state for these novel combinations. This indicates that the models are not simply memorizing specific examples but are using a flexible system to combine new content with known roles. The study did not claim to solve every mystery of artificial intelligence, nor did it suggest that all models are identical. However, it provided strong evidence that a single, coherent framework can explain how these systems represent the world. By showing that diverse interpretability methods all point to the same structural reality, the work moves the field closer to a unified understanding of how neural networks function, turning a collection of isolated observations into a single, coherent picture of the machine's mind.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →