Harmfulness signals stay clear while refusal weakens after fine-tuning
Harmfulness Remains Linearly Decodable While Refusal Behavior Degrades under Benign Fine-Tuning
Computation and LanguageArtificial IntelligenceMachine Learning
Summary
Sometimes, AI chat models are adjusted to be more polite and cooperative, which can make them say yes to harmful requests more often. This paper finds that even when a model agrees to harmful requests more, the internal signals in the AI still clearly separate harmful from harmless inputs. What changes instead is how the model's response shifts toward accepting harmful requests, not the underlying ability to detect harm. The researchers checked this across many models and fine-tuning methods to be sure.
What this means in practice
- •For chatbot developers: Assess whether changes in refusal behavior after fine-tuning reflect internal detection degradation or just altered response patterns to harmful prompts.
- •For ai safety engineers: Monitor internal harmfulness signals independently of refusal rates to improve detection of harmful content despite fine-tuning shifts.
Authors
Gongce Cao, Mingyang Lyu, Enmeng Lu, Feifei Zhao, Yu Chen, Zhengqi Wang, Yiyang Jia, Ping Wu, Yi Zeng
Abstract
Benign fine-tuning can weaken an aligned chat model's refusals of harmful requests. A weaker refusal can mean two things: the model's internal states no longer separate harmful from harmless requests, or they still do and the model refuses less. Refusal rates cannot tell the two apart. We fit linear harmfulness probes on each aligned model, freeze them, and apply them unchanged to 138 fine-tuned versions of eight chat models from five families (8B-32B parameters, one a mixture of experts), trained with LoRA on five benign datasets and, for two models, in full. At the request's last token, the frozen probe separates harmful from harmless requests in every fine-tuned model as well as in the aligned one, including models that comply with most harmful requests. The readout changes instead at the chat template's last token, just before the answer begins: harmful requests drift toward the harmless side while harmless requests stay put. The drift grows with the rise in harmful compliance, within every model and across models, and is largest for the requests a model complies with. Refit and nonlinear probes, other activation sites, length-matched pairs and out-of-source requests agree. Every fine-tune that weakened refusal is thus of the second kind.