TL;DR
This paper uncovers internal representation vectors in Large Language Models (LLMs) that govern censorship and refusal behavior, providing a mechanism to precisely dial a model's level of censorship up or down at inference time. Crucially, the authors discover a novel form of censorship in DeepSeek-R1 reasoning models termed "thought suppression"—where the model skips its chain-of-thought process on politically sensitive topics—and demonstrate that activation steering can successfully restore the model's hidden reasoning and latent knowledge.
What Problem Does This Paper Address?
LLMs undergo extensive safety tuning (via supervised fine-tuning, RLHF, or DPO) to prevent them from generating harmful content. However, these safety guardrails often act as a blunt instrument of censorship, blocking benign requests or suppressing politically sensitive information based on the geopolitical or corporate preferences of the model's creators.
Prior work in representation engineering typically treated refusal as a binary state, which often degraded text quality when bypassed. Furthermore, the recent rise of reasoning LLMs (like DeepSeek-R1) introduces a new layer of complexity: how do safety mechanisms interact with long Chain-of-Thought (CoT) reasoning? The authors address the lack of fine-grained control over LLM refusal and investigate how censorship uniquely manifests within the hidden "thinking" phases of reasoning models.
Methods
The authors leverage representation engineering and activation steering to manipulate model behavior at inference time without modifying weights:
- Refusal-Compliance Vector Extraction: Instead of treating refusal as binary, they compute a continuous "refusal score" for prompts by analyzing the next $N$ predicted tokens using string matching (categorizing outputs into full refusal, partial refusal, or compliance). They apply a Weighted Mean Difference (WMD) approach to find a direction in the activation space that separates refusal from compliance.
- Neutralized Activation Steering: To avoid degrading text quality on benign prompts, they first "neutralize" the activation by subtracting its projection along the refusal vector (moving it to a neutral origin) before applying a steering coefficient ($\lambda$). A negative $\lambda$ evades censorship, while a positive $\lambda$ enforces it.
- Thought Suppression Vector: For reasoning models, they identify a distinct censoring mechanism where the model outputs an empty thought block (
<think>\n\n</think>). They compute a thought suppression score based on the single-token probability of\n\n(stop thinking) versus\n(continue thinking) immediately after the<think>token, extracting a steering vector to force the model to engage its reasoning process.
Datasets
- Vector Extraction: 2.2K harmful instructions from
REDTEAM-2K,MALICIOUSINSTRUCT,TDC2023, andSTRONGREJECT, paired with 2.2K harmless instructions fromALPACA. - Evaluation Benchmarks:
JAILBREAKBENCH(100 distinct misuse behaviors),SORRYBENCH(440 unsafe instructions on risky topics), andXSTEST(450 safe/unsafe contrastive prompts to test exaggerated safety). - Sensitive Datasets (for Reasoning Models):
CCP-SENSITIVEandDECCP(datasets containing prompts on topics historically censored or considered sensitive by the Chinese Communist Party, such as the Tiananmen Square protests, Taiwan independence, and Xinjiang).
Key Insights and Ideas
- Censorship is Continuous, Not Binary: Internal representations of refusal exist on a spectrum. By neutralizing the base refusal projection before steering, the authors achieve fine-grained control over the model's tone and compliance without breaking its syntax.
- Orwellian "Thought Suppression": In distilled DeepSeek-R1 models, censorship doesn't just happen at the final answer stage. On sensitive political topics, the model actively suppresses its own reasoning process, generating an empty
<think>block. This prevents the model from "thinking" about taboos, often leading to final answers that mimic state-aligned propaganda (resembling Orwellian "doublespeak"). - The Knowledge Remains Intact: Suppressing the reasoning process does not erase the model's underlying knowledge. Forcing the model to think (by applying the negative thought suppression vector) unlocks its latent historical and political knowledge, allowing it to generate detailed, objective analyses of censored topics.
Key Results
- Effective Censorship Evasion: Applying the refusal-compliance vector with $\lambda = -1$ reduced the refusal probability on harmful benchmarks to under 10% for most models (e.g., Gemma-7B dropped from 94% to 2% on JailbreakBench).
- Fine-Grained Control: As shown in Figure 1, varying $\lambda$ from $-1$ to $1$ smoothly transitions the model from full compliance to total refusal across multiple benchmarks.
- Unlocking Suppressed Thoughts: For DeepSeek-R1-Distill-Qwen-7B, sensitive prompts originally triggered thought suppression over 75% of the time. Steering with a negative thought suppression vector successfully forced the model to generate standard CoT reasoning, revealing accurate historical details about the Tiananmen Square protests and recognizing Taiwan's complex geopolitical status rather than defaulting to a canned refusal or state-sanctioned response. Figure 3 demonstrates how steering shifts the next-token probability from
\n\n(suppression) to\n(reasoning).
Limitations and Future Work
- String Matching Noise: The refusal score calculation relies on predefined lexical patterns, which might miss nuanced or novel refusal strategies employed by newer models.
- Safety vs. Freedom Trade-off: While the method successfully removes political censorship, it also bypasses critical safety guardrails against genuinely malicious requests (e.g., cyberattacks, harassment), highlighting a dual-use risk.
- White-Box Dependency: The activation steering method requires access to internal model weights and activations, making it inapplicable to closed-source, API-only models like OpenAI's o1 or o3 without provider-side implementation.
- Future Directions: The authors suggest exploring how these internal steering mechanisms can be used defensively by model providers to dynamically adjust safety boundaries based on user context (e.g., stricter guardrails for minors vs. open access for researchers).
Summary updated