ReasoningShield: Safety Detection over Reasoning Traces of Large Reasoning Models
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Large Reasoning Models (LRMs) leverage explicit reasoning traces, known as Chain-of-Thought (CoT) reasoning, to decompose complex problems into intermediate steps before deriving final answers. However, these reasoning traces introduce unique safety challenges: harmful content can be embedded in intermediate steps even when final answers appear benign. Our study reveals that existing state-of-the-art moderation tools experience significant performance degradation on CoT moderation, with F1 scores dropping by up to 35.2% compared to traditional answer moderation. To address these challenges, we present ReasoningShield, a comprehensive benchmark and a suite of strong lightweight models for CoT safety moderation. Our benchmark includes 9.2K annotated (Query, CoT) pairs with structured stepwise risk analysis, consisting of a 7K-sample training set and a 2.2K human-annotated test set, spanning 10 risk categories, 3 safety levels, and 8 LRMs with diverse reasoning paradigms. To further demonstrate the utility of the benchmark, we develop lightweight models with 1B/3B parameters using a two-stage training strategy. Our models achieve 91.8% F1 on our benchmark, substantially outperforming leading tools such as LlamaGuard-4 by 35.6% and commercial models such as GPT-4o by 15.8%, while generalizing effectively across diverse reasoning paradigms and unseen scenarios. Resources are publicly available: Project Page: https://cosmosyi.github.io/ReasoningShield/, Code: https://github.com/CosmosYi/ReasoningShield, Models: https://huggingface.co/ReasoningShield/models, and Dataset: https://huggingface.co/datasets/ReasoningShield/ReasoningShield-Dataset.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 20 of its 49 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
20 of 49 references.
Closest ancestors · 6
Same direction, newest first
- 2025Fin-R1: A Large Language Model for Financial Reasoning through Reinforcement Learning20 Mar
- 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonable1 Mar
- 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinking18 Feb
- 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R118 Feb
- 2025SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilities17 Feb
- 2024OpenAI o1 System Card21 Dec
Other references · 14
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 496
- 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 384
- 2024HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMscited by 265
- 2024ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discoverycited by 235
- 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 228
- 2024AEGIS: Online Adaptive AI Content Safety Moderation with Ensemble of LLM Expertscited by 136
2 more
Built on by
Citing papers per year: 2025: 3; 2026: 6.
9 papers.
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Modelscited by 25
- 2025Refusal Falls off a Cliff: How Safety Alignment Fails in Reasoning?cited by 11
- 2026Do Reasoning LLMs Refuse What They Infer in Long Contexts?cited by 3
- 2025Annotating the Chain-of-Thought: A Behavior-Labeled Dataset for AI Safetycited by 1
- 2026HarmThoughts: A Benchmark for Fine-Grained Harmful Behavior Detection in Reasoning Tracescited by 1
- 2026Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Modelscited by 0
- 2026Calling the Bluff: Detecting Ever-Shifting Harmful Chat Dialogue via Ordered Reasoning Chain Regularizationcited by 0
- 2026Towards Mitigating Deceptive Safety Alignment in Large Reasoning Modelscited by 0
- 2026ACTR: Aligning Thoughts and Responses for Multilingual Safety in Reasoning LLMscited by 0
- 2026ACTR: Aligning Thoughts and Responses for Multilingual Safety in Reasoning LLMs29 Sep 2026
- 2026Towards Mitigating Deceptive Safety Alignment in Large Reasoning Models28 Sep 2026
- 2026Calling the Bluff: Detecting Ever-Shifting Harmful Chat Dialogue via Ordered Reasoning Chain Regularization9 Aug 2026
- 2026Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Models15 Jun 2026
- 2026HarmThoughts: A Benchmark for Fine-Grained Harmful Behavior Detection in Reasoning Traces21 Apr 2026
- 2026Do Reasoning LLMs Refuse What They Infer in Long Contexts?9 Feb 2026
- 2025Annotating the Chain-of-Thought: A Behavior-Labeled Dataset for AI Safety20 Oct 2025
- 2025Refusal Falls off a Cliff: How Safety Alignment Fails in Reasoning?7 Oct 2025
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Models4 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025SafeRBench: Dissecting the Reasoning Safety of Large Language Models
- 2026TRACE: An Evidence-Grounded Benchmark for Safety Evaluation of Large Reasoning Models
- 2026Chain of Risk: Safety Failures in Large Reasoning Models and Mitigation via Adaptive Multi-Principle Steering
- 2026Towards Safer Large Reasoning Models by Promoting Safety Decision-Making before Chain-of-Thought Generation
- 2025Beyond Safe Answers: A Benchmark for Evaluating True Risk Awareness in Large Reasoning Models
- 2025ReasoningGuard: Safeguarding Large Reasoning Models with Inference-time Safety Aha Moments
- 2025UnsafeChain: Enhancing Reasoning Model Safety via Hard Cases
- 2025When Models Outthink Their Safety: Unveiling and Mitigating Self-Jailbreak in Large Reasoning Models