paper-with-me

Papers

ReasoningGuard: Safeguarding Large Reasoning Models with Inference-time Safety Aha Moments

2025-08-06 · Yuquan Wang, Mi Zhang, Yining Wang, Geng Hong, Mi Wen, Xiaoyu You, Min Yang arxiv

Large Reasoning Models (LRMs) have demonstrated impressive performance in reasoning-intensive tasks, but they remain vulnerable to harmful content generation, particularly in the mid-to-late steps of their reasoning processes. Current defense methods, however, depend on costly fine-tuning and additional expert knowledge, which limits their scalability. In this work, we propose ReasoningGuard, an inference-time safeguard for LRMs. It injects timely safety aha moments during the reasoning process to guide the model towards harmless yet helpful reasoning. Our approach leverages the internal attention mechanisms of the LRM to accurately identify key points in the reasoning path, triggering safety-oriented reflections. To safeguard both the subsequent reasoning steps and the final answers, we implement a scaling sampling strategy during decoding to select the optimal reasoning path. With minimal additional inference cost, ReasoningGuard effectively mitigates four types of jailbreak attacks, including recent ones targeting the reasoning process of LRMs. Our approach outperforms nine existing safeguards, providing state-of-the-art defenses while avoiding common exaggerated safety issues.

📄 PDF Abstract BibTeX arXiv:2508.04204

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

OmniGuard: Unified Omni-Modal Guardrails with Deliberate Reasoning

2025-12-02 · Boyu Zhu, Xiaofei Wen, Wenjie Jacky Mo, Tinghui Zhu 외 arxiv

Omni-modal Large Language Models (OLLMs) that process text, images, videos, and audio introduce new challenges for safety and value guardrails in human-AI interaction. Prior guardrail research largely targets unimodal se…

Binary Classification

Assessing Deanonymization Risks with Stylometry-Assisted LLM Agent

2026-02-26 · Boyang Zhang, Yang Zhang arxiv

The rapid advancement of large language models (LLMs) has enabled powerful authorship inference capabilities, raising growing concerns about unintended deanonymization risks in textual data such as news articles. In this…

Safeguarding Large Language Models in Real-time with Tunable Safety-Performance Trade-offs

2025-01-02 · Joao Fonseca, Andrew Bell, Julia Stoyanovich

Large Language Models (LLMs) have been shown to be susceptible to jailbreak attacks, or adversarial attacks used to illicit high risk behavior from a model. Jailbreaks have been exploited by cybercriminals and blackhat a…

Text Generation

A Framework for Real-time Safeguarding the Text Generation of Large Language Model

2024-04-29 · Ximing Dong, Dayi Lin, Shaowei Wang, Ahmed E. Hassan

Large Language Models (LLMs) have significantly advanced natural language processing (NLP) tasks but also pose ethical and societal risks due to their propensity to generate harmful content. Existing methods have limitat…

Language ModelingLanguage ModellingLarge Language ModelText Generation+1

MERGE: Minimal Expression-Replacement GEneralization Test for Natural Language Inference

2025-10-28 · Mădălina Zgreabăn, Tejaswini Deoskar, Lasha Abzianidze arxiv

As many benchmarks have become saturated, it has become increasingly important to create new datasets that evaluate the generalization capacity of current state-of-the-art models in reasoning. However, designing high-qua…

Natural Language Inference