Introduction: The Faithfulness Gap in LLM Safety
Large Language Models (LLMs) are increasingly aligned using representation intervention—a technique that directly edits internal activations to suppress harmful behaviors. This approach relies heavily on the Linear Representation Hypothesis, which posits that high-level concepts like "harmfulness" exist in neat, linear subspaces that can be easily deactivated.
However, in practice, these interventions frequently fail against out-of-distribution (OOD) jailbreaks. Attackers can bypass safety filters by wrapping harmful requests in complex roleplay scenarios or code puzzles, effectively tangling harmful intent with benign logic.
The Theoretical Hurdle: Non-Linear Entanglement
The authors identify a fundamental "faithfulness gap" in current safety interventions. Through a formal mathematical proof (Theorem 2.2), they demonstrate that if harmful and benign concepts are non-linearly entangled within the model's representation space, it is theoretically impossible to perfectly erase the harmful concepts without simultaneously distorting the model's benign capabilities.
This impossibility theorem explains why current safety filters are easily bypassed by clever prompting: simply locating where a concept lives is insufficient if the underlying geometry of the model's representation space is messy.
The Solution: Concept Concentration (COCA)
Rather than designing a more complex intervention tool to navigate this messy geometry, the authors propose simplifying the representation space itself. They introduce COCA (COncept ConcentrAtion), a data-level linearizer.
COCA refactors safety training data into a structured reasoning process using specific XML-style tags:
<think>: The model reasons about the user's intent.<concept>: The model explicitly identifies and lists underlying concepts (e.g., "illegal drug trafficking").<check>: A safety gating step to verify if any identified concepts are prohibited.<erase unsafe concepts>: An explicit instruction to "forget" the harmful elements.<response>: The final safe output.
By training the model to articulate these steps, COCA forces the LLM to map harmful information into a compact, concentrated, and—crucially—linear direction in its embedding space. In this way, Chain-of-Thought (CoT) reasoning acts as a geometric regularizer. It organizes the internal geometry of the model, making it significantly easier for standard intervention tools to cleanly find and delete harmful concepts during inference.
Experimental Validation and Key Results
The researchers evaluated COCA across several base models (LLaMA-3.1-8B, Qwen-2.5-7B, Gemma-2-9B, and Mistral-7B-v0.3) using a mix of safety datasets (Beavertails, Evol-Instruct) and benchmarks (HarmBench, WildChat, HumanEval, GSM8K). The results demonstrate that COCA acts as a powerful enabler for existing representation intervention methods like LoFiT:
- Robustness to Jailbreaks: On LLaMA-3.1-8B, combining COCA with LoFiT reduced the success rate of the sophisticated "PAIR" jailbreak attack from 71.8% to just 17.1%. Overall, the COCA-trained LLaMA-3.1-8B achieved an average jailbreak success rate of 10.4%, outperforming proprietary models like Gemini-1.5 Pro (24.6%) and DeepSeek-R1 (30.4%).
- Linear Separability: Linear probe experiments validated the core theory. After applying COCA, the maximum ROC-AUC for distinguishing harmful from benign prompts rose from approximately 0.89 to 0.97, proving that the concepts became highly concentrated and linearly separable.
- Zero Utility Loss: Unlike many safety methods that degrade general intelligence, COCA maintained or even improved performance on standard benchmarks. For instance, LLaMA-3.1-8B's score on the GSM8K math benchmark increased from 54.7% to 56.5% with COCA-enhanced data.
Limitations and Future Directions
While highly effective, the study notes a few limitations. Due to academic resource constraints, the method was tested on models up to 14B parameters; its efficacy on frontier-scale models (70B+) remains to be verified.
Additionally, adaptive attackers might attempt to trick the model into generating benign <concept> tags for harmful intents. The authors suggest hiding these internal reasoning tags from users to mitigate such attacks. Finally, heavily obfuscated intents, such as those in CodeAttack (which hides harm in complex code), still pose a challenge because they can bypass the initial concept identification stage. Future work will involve synthesizing specialized data to train the <think> stage to see through such obfuscation.
Summary updated