NeurIPS 2026QuestionsPapersAreasAboutMarkdown

ReasoningShield: Safety Moderation over Reasoning Traces of Large Reasoning Models

Changyi Li, Jiayi Wang, Xudong Pan, Geng Hong, Min Yang

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: AI Safety, Security & Alignment › LLM Safety Attacks and Defenses · Type: new method · Keywords: CoT safety moderation, reasoning trace safety, benchmark dataset, lightweight safety models, AI safety evaluation

Areas: LLM Reasoning › Reasoning Mechanisms › Reasoning Safety; Safety & Security › Safe Alignment › Safety benchmarks; Evaluation & Benchmarks › Language Model and Agent Safety › Alignment Risk Evaluation

Summary

ReasoningShield introduces a large benchmark of annotated Query-CoT pairs and lightweight 1B/3B models trained with a two-stage strategy to achieve 91.8% F1 on safety moderation of reasoning traces.

Explained to a 5-year-old

We made a helper that looks at the step-by-step thinking of big AI models to check for bad ideas. It uses a small, fast model that learns from many examples of good and bad thinking steps. The helper can spot dangerous thoughts even when the final answer looks okay, making AI safer.

Explained to a 5-year-old, longer

Imagine a big robot that thinks out loud, writing down each step it takes to solve a puzzle. Sometimes those steps can contain mean or harmful words, even if the final answer is nice. We created a new set of examples where people marked which steps are safe and which are not. Using these examples, we trained two small AI models (one with a billion parts and one with three billion) to read those steps and tell if they are safe. The models learn by first learning to understand the steps and then learning to make safety judgments. They become really good at catching unsafe steps, much better than the current safety tools. This helps keep AI conversations safe and trustworthy.

For a technical reader

The work introduces a benchmark of 9.2K Query-CoT pairs with fine-grained risk annotations and a two-stage training pipeline that produces lightweight (1B/3B) safety models. These models achieve 91.8% F1 on the benchmark, significantly surpassing existing tools like LlamaGuard-4 and GPT-4o. The benchmark covers ten risk categories, three safety levels, and eight reasoning models, providing a comprehensive evaluation for future safety research.

Problem

Existing moderation tools struggle to detect harmful content hidden in intermediate reasoning steps of Chain-of-Thought processes, leading to significant performance drops when applied to reasoning traces.

Method

A two-stage training strategy is employed to develop lightweight models for safety moderation of reasoning traces, accompanied by a benchmark dataset of annotated Query-CoT pairs with structured stepwise risk analysis.

Results

The approach reaches 91.8% F1 on the benchmark, outperforming LlamaGuard-4 by 35.6% and GPT-4o by 15.8%.

Contributions

A large benchmark of annotated Query-CoT pairs with detailed risk analysis across multiple categories and models, and lightweight models trained via a two-stage strategy that achieve strong performance on CoT safety moderation.

Practical relevance

Provides tools and a benchmark to improve safety moderation for reasoning models, enabling safer deployment of large reasoning systems.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction