How Should We Enhance the Safety of Large Reasoning Models: An Empirical Study

Zhexin Zhang, Xian Qi Loye, Victor Shea-Jay Huang, Junxiao Yang, Qi Zhu +6 more
5/21/2025
20 citations
cs.CL

Official code: thu-coai/LRM-Safety-Study (6 stars, Python, MIT, last commit 2025-08-15).

Abstract

Large Reasoning Models (LRMs) have achieved remarkable success on reasoning-intensive tasks such as mathematics and programming. However, their enhanced reasoning capabilities do not necessarily translate to improved safety performance-and in some cases, may even degrade it.

Show full abstract

This raises an important research question: how should we enhance the safety of LRMs? In this paper, we present a comprehensive empirical study on how to enhance the safety of LRMs through Supervised Fine-Tuning (SFT). Our investigation begins with an unexpected observation: directly distilling safe responses from DeepSeek-R1 fails to significantly enhance safety. We analyze this phenomenon and identify five key risky patterns that contribute to it. We then demonstrate that explicitly addressing these issues during the data distillation process can lead to substantial safety improvements. Next, we explore whether a long and complex reasoning process is necessary for achieving safety. Interestingly, we find that simply using short or template-based reasoning process can attain comparable safety performance. These findings prompt a deeper reflection on the role of reasoning in ensuring safety. Finally, we conduct a comprehensive ablation study to reveal the impact of different training configurations. Overall, we hope our empirical study could provide a more holistic picture on enhancing the safety of LRMs. The code and data used in our experiments are released in https://github.com/thu-coai/LRM-Safety-Study.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL'26] How Should We Enhance the Safety of Large Reasoning Models: An Empirical Study

60Python, Jupyter NotebookMay 21, 20251 years agoMIT

Similar Papers

Cite this paper

@article{zhang2025should,
  title  = {How Should We Enhance the Safety of Large Reasoning Models: An Empirical Study},
  author = {Zhexin Zhang and Xian Qi Loye and Victor Shea-Jay Huang and Junxiao Yang and Qi Zhu and Shiyao Cui and Fei Mi and Lifeng Shang and Yingkang Wang and Hongning Wang and Minlie Huang},
  year   = {2025},
  eprint = {2505.15404},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15404v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.15404.svg)](https://codeofpaper.com/paper/2505.15404)

Discussion