[论文解读] From Refusal Tokens to Refusal Control: Discovering and Steering Category-Specific Refusal Directions
该论文证明类别拒绝令牌能够将基于 Llama 的模型微调为可分离、与类别对齐的残差流方向,从而在推理时实现引导,以通过类别引导向量实现可控,降低良性过度拒绝并增加有害拒绝,通过类别引导向量和一个可学习的低秩组合实现,可在相似架构之间迁移。
Language models are commonly fine-tuned for safety alignment to refuse harmful prompts. One approach fine-tunes them to generate categorical refusal tokens that distinguish different refusal types before responding. In this work, we leverage a version of Llama 3 8B fine-tuned with these categorical refusal tokens to enable inference-time control over fine-grained refusal behavior, improving both safety and reliability. We show that refusal token fine-tuning induces separable, category-aligned directions in the residual stream, which we extract and use to construct categorical steering vectors with a lightweight probe that determines whether to steer toward or away from refusal during inference. In addition, we introduce a learned low-rank combination that mixes these category directions in a whitened, orthonormal steering basis, resulting in a single controllable intervention under activation-space anisotropy, and show that this intervention is transferable across same-architecture model variants without additional training. Across benchmarks, both categorical steering vectors and the low-rank combination consistently reduce over-refusals on benign prompts while increasing refusal rates on harmful prompts, highlighting their utility for multi-category refusal control.
研究动机与目标
- Motivate and formalize the problem of multi-category refusals beyond binary refuse/allow.
- Show that categorical refusal tokens induce separable residual-stream directions aligned to refusal categories.
- Develop inference-time mechanisms (categorical steering vectors and a low-rank combination) to control refusal behavior.
- Demonstrate transferability of the learned interventions across same-architecture models without retraining.
- Evaluate safety-usability tradeoffs and provide open-source tooling for steering interventions.
提出的方法
- Extract residual-stream activations at each transformer layer after processing prompts appended with refusal-category or respond tokens.
- Compute per-category harmful and benign mean activations, apply thresholding, and form raw direction vectors as the difference between category and benign means.
- Sparsify and normalize these category directions to obtain steering vectors per layer.
- Select an optimal layer l* based on separation of categories and yardstick performance, and apply steering vectors at inference time with strength alpha.
- Train a lightweight linear probe on residual activations to classify prompts as benign or harmful for inference-time steering decisions.
- Introduce a low-rank combination of steering directions by whitening (ZCA) and orthonormalizing directions, then learning a low-rank operator to combine them into a single s for steering, optimized with a joint harmful/benign loss.
实验结果
研究问题
- RQ1Can categorical refusal tokens induce separable, category-aligned activation directions in the residual stream of LLMs?
- RQ2How can we extract and use category-specific steering vectors to control refusal behavior at inference time?
- RQ3Can a low-rank, whitened, orthonormal combination of categorical directions improve multi-category refusal control and transfer across similar models?
- RQ4What is the impact of inference-time steering on safety (refusal rates on harmful prompts) and usability (over-refusal on benign prompts) across diverse benchmarks?
主要发现
- Categorical steering vectors reduce benign over-refusals on average by 13.70% and increase harmful refusals by 14.17% on Refuse-Llama.
- The learned low-rank combination reduces benign over-refusals on average by 8.93% and increases harmful refusals by 12.86%, while preserving general capabilities.
- A single optimal layer (layer 18) yields best separation of harmful categories and effective steering.
- Transferred low-rank interventions to Llama 3 8B Instruct and DeepSeek R1 Distill Llama show beneficial but not perfect zero-shot transfer, with varying magnitudes of effect.
- The approach preserves general model performance on standard benchmarks, with negligible degradation compared to Refuse-Llama.
- Cosine similarities between Refuse-Llama category directions and base Llama 3 8B Base are low, suggesting refusal-specific features arise from refusal-token fine-tuning.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。