The Alignment Tax Concentrates in Output Projections
Ming Liu
NeurIPS page · OpenReview · Open on the map
Category: AI Safety, Security & Alignment › Alignment Collapse and Mitigation in Fine-Tuning · Type: new method · Keywords: alignment tax, transformer projections, gradient analysis, attribution-based rollback, output-constrained DPO, language model alignment
Areas: Safety & Security › Safe Alignment › Fragility of Safety Alignment
Summary
The paper identifies a consistent sub-layer hierarchy of harmful projections in transformer MLPs and attention, and proposes a training-free rollback of attribution-ranked components (Surgical Alignment Reversal) and an output-constrained DPO method to recover most of the alignment tax while preserving safety.
Explained to a 5-year-old
When we teach a big computer brain new words, it sometimes makes mistakes in the pictures it draws. We discovered that some parts of the brain are more responsible for these mistakes than others. By fixing just those parts, we can make the brain draw much better pictures again, without having to teach it everything from scratch.
Explained to a 5-year-old, longer
Imagine you have a toy robot that learns to follow instructions by reading many stories. After learning, the robot sometimes makes mistakes when it tries to answer questions that need a specific format, like listing items in order. Scientists looked inside the robot and found that some internal connections are more likely to cause these mistakes than others. They noticed a pattern: the connections that send information backward are less likely to cause problems, while the connections that send information forward are more likely to cause them. By carefully turning off the most problematic connections, the robot can answer questions correctly again, almost like it never made the mistakes. This fixing process does not require retraining the robot on all the stories again, which saves a lot of time and energy. The scientists also tried a new way of teaching the robot that makes it pay attention to the shape of the answers, which helps it avoid mistakes even more. All of this was tested on many different robots, and the robot stayed safe, meaning it still refused to answer harmful questions.
For a technical reader
The study maps gradient magnitudes across transformer layers to pinpoint which weight matrices contribute most to the alignment tax. It shows a consistent hierarchy (W_down > W_up > W_gate in MLPs; W_V/W_O > W_Q/W_K in attention) that is architectural rather than alignment-specific. The authors propose a training-free rollback of the most harmful components, validated on held-out datasets, and demonstrate that an output-constrained DPO variant can largely eliminate the tax while preserving safety metrics.
Problem
Instruction tuning can degrade structured generation in large language models, and it is unclear which internal projections within transformer layers cause this degradation. Understanding which components are responsible would enable targeted mitigation of the alignment tax.
Method
The approach first maps the internal projections of transformer layers to quantify their contribution to the alignment tax, then ranks components by attribution or gradient magnitude, and finally applies a training-free rollback of the most harmful components to recover performance.
Results
The approach recovers up to 47% of the alignment tax (cross-entropy) on cross-dataset hold-out, with in-domain gains of 2.8-5.3×, and largely eliminates the tax; safety checks show refusal-rate changes ≤1.4 pp and ASR changes ≤6 pp, while gradient asymmetry persists at larger models.
Contributions
The paper identifies a consistent sub-layer hierarchy of harmful projections in transformer MLPs and attention, shows this hierarchy is architectural, and proposes a training-free rollback of attribution-ranked components to mitigate the alignment tax. It also demonstrates that a DPO-style method that constrains outputs can eliminate the tax while preserving safety, and validates findings across model sizes.
Practical relevance
The findings enable targeted, training-free mitigation of alignment-induced performance loss, allowing practitioners to recover lost capabilities without compromising safety.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction