paper-with-me

Papers

RAG Makes Guardrails Unsafe? Investigating Robustness of Guardrails under RAG-style Contexts

2025-10-06 · Yining She, Daniel W. Peterson, Marianne Menglin Liu, Vikas Upadhyay, Mohammad Hossein Chaghazardi, Eunsuk Kang, Dan Roth arxiv

With the increasing adoption of large language models (LLMs), ensuring the safety of LLM systems has become a pressing concern. External LLM-based guardrail models have emerged as a popular solution to screen unsafe inputs and outputs, but they are themselves fine-tuned or prompt-engineered LLMs that are vulnerable to data distribution shifts. In this paper, taking Retrieval Augmentation Generation (RAG) as a case study, we investigated how robust LLM-based guardrails are against additional information embedded in the context. Through a systematic evaluation of 3 Llama Guards and 2 GPT-oss models, we confirmed that inserting benign documents into the guardrail context alters the judgments of input and output guardrails in around 11% and 8% of cases, making them unreliable. We separately analyzed the effect of each component in the augmented context: retrieved documents, user query, and LLM-generated response. The two mitigation methods we tested only bring minor improvements. These results expose a context-robustness gap in current guardrails and motivate training and evaluation protocols that are robust to retrieval and query composition.

📄 PDF Abstract BibTeX arXiv:2510.05310

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Triaging Threats to Specialized Guardrails

2026-05-29 · Wenjie Jacky Mo, Xiaofei Wen, Rui Cai, Boyu Zhu 외 arxiv

Building robust safety guardrails is essential for deploying Large Language Models across diverse real-world applications. However, this goal remains challenging because safety risks span heterogeneous threat domains, wh…

Jailbreaking Safeguarded Text-to-Image Models via Large Language Models

2025-03-03 · Zhengyuan Jiang, Yuepeng Hu, Yuchen Yang, Yinzhi Cao 외

Text-to-Image models may generate harmful content, such as pornographic images, particularly when unsafe prompts are submitted. To address this issue, safety filters are often added on top of text-to-image models, or the…

Language ModelingLanguage ModellingLarge Language Model

Safety Guardrails in the Sky: Realizing Control Barrier Functions on the VISTA F-16 Jet

2026-03-29 · Andrew W. Singletary, Max H. Cohen, Tamas G. Molnar, Aaron D. Ames arxiv

The advancement of autonomous systems -- from legged robots to self-driving vehicles and aircraft -- necessitates executing increasingly high-performance and dynamic motions without ever putting the system or its environ…

OpenGuardrails: A Configurable, Unified, and Scalable Guardrails Platform for Large Language Models

2025-10-22 · Thomas Wang, Haowen Li arxiv

As large language models (LLMs) are increasingly integrated into real-world applications, ensuring their safety, robustness, and privacy compliance has become critical. We present OpenGuardrails, the first fully open-sou…

Text Generation

LongGuard: Mechanistic Analysis and Training-Free Mitigation of Long-Context Failure in Safety Guardrails

2026-08-27 · Ziyang Chen, Xing Wu, Songlin Hu arxiv

Safety guardrails serve as the last line of defense against harmful inputs and outputs of large language models (LLMs), yet they are trained and evaluated almost exclusively on short text. We present LongGuard, a framewo…