🤖 AI 资讯

· · ↗
← 返回列表

ThinkSafe: Self-Generated Safety Alignment for Reasoning Models

arXiv cs.AI2026-11-02 05:00:00大模型,AI应用,开源,阿里巴巴,DeepSeek,推理思考,搜索RAG,扩散模型,强化学习,微调蒸馏,模型安全对齐,招聘HR,论文原文 ↗

arXiv:2601.23143v5 Announce Type: replace

Abstract: Large reasoning models achieve strong performance through reinforcement learning but can suffer safety degradation. External teacher distillation can restore safety yet may compromise reasoning performance. We formalize safety realignment as a KL projection: the student's native filter-accepted distribution is uniquely KL-optimal, while teacher targets incur excess KL when they differ. Guided by this analysis, we propose ThinkSafe, which generates safety-alignment data from the frozen student without external teachers. Refusal steering elicits safety reasoning, and a safety guard filters the responses before offline fine-tuning. Our analysis bounds steering-induced target distortion and gives a sufficient condition for lower average target KL than teacher distillation. Experiments on DeepSeek-R1-Distill and Qwen3 show substantial safety improvements with competitive reasoning performance. On Qwen3-0.6B, ThinkSafe achieves better safety and comparable reasoning to GRPO in about one-seventh of the wall-clock time, including data generation. Code, models, and datasets are available at https://github.com/seanie12/ThinkSafe and https://huggingface.co/Seanie-lee/collections.