Signed-Permutation Coordinate Transport for RMSNorm Transformers
This paper identifies that RMSNorm transformers possess a signed-permutation gauge () rather than a simple permutation gauge (), and introduces a sign-marginalized Hungarian matching method to enable robust coordinate transport across checkpoints, thereby significantly improving the transferability of interpretability tools, steering vectors, and optimizer states while resolving symmetry-induced failures in existing alignment approaches.
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 have two identical houses built from the same blueprint. In one house, every room is labeled "Kitchen," "Bedroom," and "Bathroom." In the other house, the rooms are in the exact same spots, but someone has shuffled the labels.
If you want to move a specific piece of furniture (like a "steering vector" that makes the house say "no" to bad requests) from House A to House B, you need to know which label in House B corresponds to the "Kitchen" in House A. If you guess wrong, you might put the "No" button in the "Bathroom," and the house won't work right.
This paper is about solving a very specific, tricky version of this "shuffled labels" problem for modern AI models.
The Core Problem: The "Sign" Mystery
For a long time, researchers thought the only way these AI houses could be shuffled was by permuting (swapping) the rooms. If Room 1 became Room 5, you just swapped the labels.
However, the author discovered that for the most popular modern AI models (called RMSNorm models, used by giants like Llama and Qwen), there is a second, hidden way the rooms can be scrambled: flipping the signs.
Think of a room's label not just as a name, but as an arrow pointing in a direction.
- Permutation: Swapping the arrow from pointing North to pointing East.
- Sign Flip: Keeping the arrow pointing North, but flipping it so it points South.
In these modern models, every single room can independently flip its arrow (North South) without breaking the house. This creates a massive amount of confusion. If you try to move a tool from one model to another using only the old "swapping" rules, you might accidentally flip half the arrows.
The "Broken Compass" Analogy
The paper argues that current tools for aligning AI models are like a compass that only knows "North" and "East," but is blind to "South."
- The Old Way (Permutation Only): You try to match the rooms by looking at how they behave. If Room A in Model 1 is very similar to Room B in Model 2, you match them. But if Room A actually behaves like the opposite of Room B (because of a sign flip), the old compass thinks they are totally different and refuses to match them.
- The Result: When researchers tried to move "steering tools" (like a button to make the AI refuse harmful requests) using the old method, the tools often broke completely. The "Refusal" button was flipped to "Accept," or the tool just stopped working.
The Solution: The "Sign-Marginalized" Map
The author introduces a new method called Signed-Permutation Transport.
Imagine you are trying to match the rooms again, but this time you have a special magnifying glass. Instead of just asking, "Is Room A like Room B?" you ask, "Is Room A like Room B, or is it the exact opposite of Room B?"
- Look at the Magnitude: First, you check the strength of the connection, ignoring whether it's positive or negative. This finds the correct room, even if the arrow is flipped.
- Check the Sign: Once you've found the matching room, you check the arrow's direction. If it's flipped, you flip it back before moving your tool.
The paper proves mathematically that if you ignore the sign flips, you will fail about 50% of the time (because half the arrows might be flipped). By accounting for the flips, you can recover the correct alignment almost 100% of the time.
Real-World Tests in the Paper
The author didn't just do math; they tested this on real AI models:
- The "Refusal" Test: They took a tool that makes an AI refuse to answer harmful questions.
- Old Method: The tool failed. The AI started accepting harmful requests instead of refusing them (because the sign was flipped).
- New Method: The tool worked perfectly, preserving 95.8% of its original power.
- The "Dictionary" Test: They tried to move a dictionary of features (SAE) from one model to another.
- Old Method: The dictionary was useless (reconstruction error was huge).
- New Method: The dictionary worked almost perfectly.
- The "Resume" Test: They paused training an AI, changed the labels (gauge), and tried to resume training.
- Old Method: The AI forgot where it was and took a completely different path.
- New Method: The AI continued exactly where it left off, as if nothing happened.
The Big Takeaway
The paper concludes that for modern AI models, you cannot just ask, "Which neuron is this?" without first specifying the "gauge" (the rulebook for how the labels and signs are arranged).
If you want to move tools, dictionaries, or training states between these models, you must use the new "Signed-Permutation" rules. If you don't, you are essentially trying to drive a car with the steering wheel flipped 180 degrees: you think you're going straight, but you're actually going backward.
In short: Modern AI models have a hidden "sign flip" symmetry. To move things between them, you must fix the signs, not just the names. The paper provides the map and the compass to do exactly that.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.