Abstract
Aligning Large Language Models (LLMs) with diverse human values often leads to inter-attribute interference, where steering the model toward one goal (e.g., truthfulness) inadvertently degrades another (e.g., unbiasedness). We present Multi-Subspace Representation Steering (MSRS), a framework that decomposes the representation space into orthogonal shared and private subspaces. By dynamically selecting semantically relevant tokens and adaptively weighting these subspaces, MSRS achieves superior multi-attribute alignment while preserving or even enhancing general reasoning capabilities.
Introduction
The challenge of aligning LLMs with human values is frequently characterized by a "Whac-A-Mole" dynamic. Techniques like activation steering—manipulating internal representations during inference—often succeed in promoting a single attribute but fail to maintain others. For instance, increasing truthfulness might lead to biased framing or reduced linguistic coherence. This phenomenon, known as inter-attribute interference, arises because standard steering methods often collapse distinct attribute directions into the same mathematical space.
MSRS addresses this by isolating behaviors into distinct mathematical subspaces, ensuring that interventions for one attribute do not negatively impact others.
Methodology
The MSRS framework is built upon three core technical innovations designed to decouple and optimize steering directions.
Subspace Decomposition and Orthogonal Isolation
MSRS utilizes Singular Value Decomposition (SVD) on model activations to identify the primary directions associated with specific attributes. The representation space is partitioned into a shared subspace, capturing features common across tasks, and multiple private subspaces, each unique to a specific attribute (e.g., truthfulness, fairness). To prevent interference, these private subspaces are constrained to be orthogonal to one another, ensuring that steering along one attribute's axis has zero projection onto others.
Dynamic Token Selection and Adaptive Weighting
Unlike traditional methods that apply steering to the final token of a prompt, MSRS identifies "semantically relevant" tokens by projecting representations onto the attribute subspaces. Steering is then applied precisely to these critical tokens. Furthermore, a lightweight "mask network" learns to dynamically weight these subspaces during inference, allowing the model to modulate the intensity of each steering direction based on the input context.
Evaluation and Results
MSRS was evaluated on a comprehensive suite of benchmarks, including TruthfulQA (truthfulness), BBQ (bias mitigation), and HelpSteer (helpfulness and coherence). General intelligence was monitored via MMLU, GLUE, and HellaSwag.
Key findings include:
- Simultaneous Alignment: On Llama3-8B, MSRS achieved a +13% improvement in TruthfulQA and a +4% improvement in BBQ scores simultaneously. This contrasts with baseline methods like ReFT and ITI, which often exhibited performance trade-offs.
- Enhanced Generalization: MSRS improved scores on general reasoning benchmarks, such as HellaSwag (+3.8%) and GLUE (+4.9%), suggesting that cleaner internal representations benefit overall model logic.
- Efficiency: The method is highly efficient, utilizing a low-rank intervention (typically rank 8), making it a viable, lightweight alternative to full fine-tuning.
Discussion
A critical insight from this work is the importance of the shared subspace. By maintaining a common mathematical ground for general knowledge, MSRS prevents specialized steering from degrading the model's foundational capabilities. Additionally, the shift from "last token" steering to "important token" steering proves that the location of the intervention is as crucial as the direction.
Limitations and Future Work
While MSRS demonstrates robust performance, it remains sensitive to the choice of transformer layer for intervention, currently requiring a grid search for optimization. Future work will explore automated layer selection. Additionally, the quality of the initial subspace extraction is dependent on the diversity of the activation-generating data. Scaling MSRS to handle dozens of potentially conflicting attributes simultaneously remains an open research question.
Summary updated