Are Smarter LLMs Safer? Exploring Safety-Reasoning Trade-offs in Prompting and Fine-Tuning
Ang Li, Yichuan Mo, Mingjie Li, Yifei Wang, Yisen Wang
TL;DR
This work examines how strengthening LLM reasoning through prompting and fine-tuning affects safety and privacy. It reveals a consistent negative relationship between reasoning gains and safety when using prompt-based methods across multiple models and jailbreak attacks, and shows that fine-tuning on CoT-style and especially long CoT data can cause substantial safety degradation. The authors identify mitigation strategies, including careful prompting to balance safety and reasoning and incorporating reflective safety data during long CoT fine-tuning to achieve Pareto improvements. They extend the analysis to privacy, observing similar safety-privacy trade-offs, and propose practical safeguards for making reasoning-enhanced LLMs both more capable and trustworthy. Overall, the paper highlights the need for safety-aware design in reasoning-driven LLM improvements and points to directions like reinforced or multimodal reasoning to preserve trustworthiness.
Abstract
Large Language Models (LLMs) have demonstrated remarkable success across various NLP benchmarks. However, excelling in complex tasks that require nuanced reasoning and precise decision-making demands more than raw language proficiency--LLMs must reason, i.e., think logically, draw from past experiences, and synthesize information to reach conclusions and take action. To enhance reasoning abilities, approaches such as prompting and fine-tuning have been widely explored. While these methods have led to clear improvements in reasoning, their impact on LLM safety remains less understood. In this work, we investigate the interplay between reasoning and safety in LLMs. We highlight the latent safety risks that arise as reasoning capabilities improve, shedding light on previously overlooked vulnerabilities. At the same time, we explore how reasoning itself can be leveraged to enhance safety, uncovering potential mitigation strategies. By examining both the risks and opportunities in reasoning-driven LLM safety, our study provides valuable insights for developing models that are not only more capable but also more trustworthy in real-world deployments.
