Polymorphism Is Rotation: Operational Mechanistic Interpretability from a Two-Layer Transformer to Pythia-70m
This paper demonstrates that independently trained transformers compute identical functions using mutually unintelligible internal coordinates related by a uniform random rotation, a phenomenon termed "polymorphism" that can be resolved via a single orthogonal Procrustes fit to enable the direct transfer of feature dictionaries and steering vectors without retraining.
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
Imagine you and a friend are both building identical, complex Lego castles from the same instruction manual. You both end up with castles that look exactly the same from the outside and perform the exact same functions (they have the same doors, windows, and towers).
However, inside your castles, the "blueprints" for how the bricks are arranged are completely different. In fact, they are so different that if you tried to use your friend's internal blueprint to understand your own castle, you would get confused. It's not that your castles are different; it's that you are speaking two different "internal languages" to describe the same thing.
This paper calls this phenomenon "Polymorphism." It means "same function, different internal coordinates."
Here is the breakdown of what the researchers found, using simple analogies:
1. The "Decoder" vs. The "Encoder" (The Dictionary Problem)
In AI research, scientists often try to understand what a model is thinking by looking at its "features" (like a dictionary of concepts). They found that if they looked at the end of the process (the "decoder"), the dictionaries looked almost identical between two different models. It was like two people using the exact same dictionary to write a story.
The Twist: The researchers realized that while the dictionary (the decoder) was the same, the way they read the dictionary (the encoder) was completely scrambled.
- The Analogy: Imagine two people reading a book. Person A reads it normally. Person B has the book rotated 90 degrees and is reading it upside down. If you just look at the words they point to (the decoder), they match perfectly. But if you try to read Person B's notes using Person A's perspective, the notes make no sense. The "notes" (activations) are in a rotated frame of reference.
2. The Catastrophic Failure
When researchers tried to take the "feature dictionary" from Model A and apply it directly to Model B, it failed completely. The reconstruction of the model's internal thoughts was worse than just guessing the average answer.
- The Analogy: It's like trying to use a map of New York City to navigate London. The landmarks (decoder columns) might look similar in a list, but the streets (internal coordinates) are oriented differently. If you follow the New York map in London, you will get lost immediately.
3. The Magic Fix: One Matrix Multiplication
The paper's biggest discovery is how to fix this. You don't need to retrain the models or change their brains. You just need to apply a single mathematical "rotation" (a specific type of math operation called a Procrustes fit) to align the two models.
- The Analogy: Imagine you and your friend are both looking at a sculpture, but you are standing on opposite sides of a rotating platform. You see the same object, but from different angles. If you just rotate your platform to match your friend's, suddenly your views align perfectly.
- The Result: Once they applied this single "rotation" to Model B's internal data, the dictionary from Model A worked perfectly on Model B. The "internal language" was translated instantly.
4. Is it a Specific Rotation or Random?
The researchers wanted to know: Is this rotation a specific, meaningful shift, or is it just random chaos?
- The Finding: It is essentially random. The rotation between two independently trained models is like a random spin on a wheel. It's not a "special" angle; it's just a uniform random rotation.
- The Analogy: If you spin a globe randomly and stop it, the orientation is random. The paper shows that every time two AI models are trained from scratch, they end up with a "globe" that is stopped at a random angle relative to each other.
5. What This Means for "Steering" (Changing Behavior)
The paper also tested "steering vectors"—tools used to nudge a model to behave differently (e.g., making it more polite or more creative).
- The Finding: If you try to use a "steering nudge" from Model A on Model B without fixing the rotation first, it often fails or even does the opposite of what you want.
- The Analogy: Imagine you have a remote control for a toy car (Model A). If you try to use that remote on a different toy car (Model B) that is facing a different direction, pressing "Forward" might make the second car go "Left" or "Backward." You have to first figure out how the second car is facing (the rotation) and adjust your remote's signals accordingly.
Summary of the "Rules"
The paper establishes three main rules for how these models relate:
- Same Function, Different Coordinates: Two models trained separately do the same job but use different internal "maps."
- The Decoder Lies: Just because the "end of the line" features look similar doesn't mean the models understand things the same way.
- The Fix is Cheap: You can align two totally different models with a single, simple math calculation (one matrix multiplication) without needing to retrain them.
The Scale of the Discovery
The researchers proved this on two levels:
- The "Toy" Model: A tiny, simple model (104,000 parameters) where they could check every single brick to ensure the theory was true.
- The "Real" Model: A much larger, real-world language model (Pythia-70m) with 70 million parameters. The same "random rotation" rule held true here too.
The Bottom Line: AI models are like twins who speak the same language but with different accents and orientations. They do the same things, but to understand one another, you just need to rotate your perspective. Once you do that, their internal secrets become readable.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.