First Token Matters: Understanding Safety Collapse in Large Reasoning Models
Yizheng Yang, Haining Yu, Yuechen Wang, Yikai Hou, Xing Fu, Jinbo Yang, Tianqing Zhu
Abstract
Large Reasoning Models (LRMs) exhibit strong problem-solving abilities, yet their safety alignment often degrades when handling harmful queries. Existing approaches to improving safety largely rely on additional training or preference optimization, while offering limited understanding of the internal mechanisms behind safety failures. In this work, we investigate this failure through a token-level positional analysis of refusal dynamics and identify a localized vulnerability at the onset of reasoning, which we term Onset Refusal Collapse (ORC). We find that the refusal-related signal of LRMs drops sharply at the first generated token under harmful queries, which is associated with unsafe response generation. Motivated by this finding, we propose SafeToken, a lightweight inference-time intervention that injects a learned continuous safety anchor precisely at reasoning onset. Despite updating only a single token embedding, SafeToken effectively mitigates ORC, improves safety on harmful-query benchmarks, and largely preserves reasoning utility. These results suggest that safety failures in LRMs can arise from a transient breakdown at the critical transition from understanding to generation.
Create a lesson
Metadata
- Comments
- 18 pages, 7 figures, 10 tables. Includes appendices. Accepted at CICAI 2026
Related papers
Learning Heterogeneous Reasoning in Large Language Models: From Mode Compatibility to Local Bottlenecks
Shared title terminologycs.AISunbowen Li, Dandan Song, Shengkun Ma et al.
LogicTrack: Auditing Reasoning Trajectories of Large Language Models with Formal Logic Solvers
Shared title terminologycs.AIJingyu Hu, Shu Yang, Weiru Liu et al.
Safety Beyond the Interface: Detecting Harm via Latent States in Large Language Models
Shared title terminologycs.AIAlizishaan Khatri, Chiquita Prabhu, Omkar Neogi
MUSE: Benchmarking Large Vision-Language Models on Multi-Modal Understanding in Situated Education
Shared title terminologycs.AILuyao Zhu, Xun Wei Yee, Wei Li et al.
Beyond Routine Compliance: Cunning Data Cultivates Safety Vigilance in Large Language Models
Shared title terminologycs.AIYoujia Wang, Lin Xu, Yang Sun et al.
Anchoring What Matters: A Dual-Level Learning Framework for Visually-Grounded Multimodal Reasoning
Shared title terminologycs.AIXinxin Song, Siyuan Li, Tingxiong Xiao et al.