Lune

ICML2024顶会

RigorLLM: Resilient Guardrails for Large Language Models against Undesired Content

Zhuowen Yuan, Zidi Xiong, Yi Zeng, Ning Yu, Ruoxi Jia, Dawn Song, Bo Li

摘要

Recent advancements in Large Language Models (LLMs) have showcased remarkable capabilities across various tasks in different domains. However, the emergence of biases and the potential for generating harmful content in LLMs, particularly under malicious inputs, pose significant challenges. Current mitigation strategies, while effective, are not resilient under adversarial attacks. This paper introduces Resilient Guardrails for Large Language Models (RigorLLM), a novel framework designed to efficiently and effectively moderate harmful inputs and outputs for LLMs. By employing a multifaceted approach that includes energy-based training data generation through Langevin dynamics, optimizing a safe suffix for inputs via minimax optimization, and integrating a fusion-based model combining robust KNN with LLMs based on our prompt augmentation, RigorLLM offers a robust solution to harmful content moderation. Our experimental evaluations demonstrate that Rigor-LLM not only outperforms existing baselines like OpenAI API and Perspective API in detecting harmful content but also exhibits unparalleled resilience to jailbreaking attacks. The innovative use of constrained optimization and a fusionbased guardrail approach represents a significant step forward in developing more secure and reliable LLMs, setting a new standard for content moderation frameworks in the face of evolving digital threats. Our code is available at https: //github.com/eurekayuan/RigorLLM .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Jailbreak-Tuning: Models Efficiently Learn Jailbreak Susceptibility 引用了 Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!
  • Jailbreak-Tuning: Models Efficiently Learn Jailbreak Susceptibility 引用了 Training language models to follow instructions with human feedback
  • Sok: Evaluating Jailbreak Guardrails for Large Language Models 引用了 Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
  • Sok: Evaluating Jailbreak Guardrails for Large Language Models 引用了 Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!
  • Sok: Evaluating Jailbreak Guardrails for Large Language Models 引用了 Training language models to follow instructions with human feedback
  • Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! 引用了 Training language models to follow instructions with human feedback
  • Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation 引用了 Training language models to follow instructions with human feedback
  • C-SafeGen: Certified Safe LLM Generation with Claim-Based Streaming Guardrails 引用了 Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
  • C-SafeGen: Certified Safe LLM Generation with Claim-Based Streaming Guardrails 引用了 Training language models to follow instructions with human feedback
  • ExpGuard: LLM Content Moderation in Specialized Domains 引用了 Training language models to follow instructions with human feedback
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Sok: Evaluating Jailbreak Guardrails for Large Language ModelsXunguang Wang, Zhenlan Ji, Wenxuan Wang, Zongjie Li 等S&P 2026 · 27 次引用
  2. DynaGuard: A Dynamic Guardian Model With User-Defined PoliciesMonte Hoover, Vatsal Baherwani, Neel Jain, Khalid Saifullah 等ICLR 2026 · 18 次引用
  3. C-SafeGen: Certified Safe LLM Generation with Claim-Based Streaming GuardrailsMintong Kang, Zhaorun Chen, Bo LiNeurIPS 2025 · 4 次引用
  4. ExpGuard: LLM Content Moderation in Specialized DomainsMinseok Choi, Dongjin Kim, Seungbin Yang, Subin Kim 等ICLR 2026 · 3 次引用
  5. Jailbreak-Tuning: Models Efficiently Learn Jailbreak SusceptibilityBrendan Murphy, Dillon Bowen, Shahrad Mohammadzadeh, Tom Tseng 等EMNLP 2025 · 1 次引用

它引用的 Paper10

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  2. Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!Xiangyu Qi, Yi Zeng, Tinghao Xie, Pin-Yu Chen 等ICLR 2024 · 1,104 次引用
  3. Tree of Attacks: Jailbreaking Black-Box LLMs AutomaticallyAnay Mehrotra, Manolis Zampetakis, Paul Kassianik, Blaine Nelson 等NeurIPS 2024 · 835 次引用
  4. Cross-Entropy Loss Functions: Theoretical Analysis and ApplicationsAnqi Mao, Mehryar Mohri, Yutao ZhongICML 2023 · 790 次引用
  5. Catastrophic Jailbreak of Open-source LLMs via Exploiting GenerationYangsibo Huang, Samyak Gupta, Mengzhou Xia, Kai Li 等ICLR 2024 · 481 次引用

相关 Paper

  1. MrGuard: A Multilingual Reasoning Guardrail for Universal LLM SafetyYahan Yang, Soham Dan, Shuo Li, Dan Roth 等EMNLP 2025
  2. LS-Guard: Adaptive Safety Guardrails Tailored to Individual LLMsJinggui Liang, Lizi LiaoACL Findings 2026
  3. Look Before You Leap: Enhance Attention and Vigilance Regarding Harmful Content with GuidelineLLMShaoqing Zhang, Zhuosheng Zhang, Kehai Chen, Rongxiang Weng 等AAAI 2025 · 1 次引用
  4. The Asymmetric Vulnerability: Bypassing LLM Defenses via Guardrail-Model MismatchJunyi Wang, Zhibin Zhu, Chuanyi LiuWWW 2026
  5. R2-Guard: Robust Reasoning Enabled LLM Guardrail via Knowledge-Enhanced Logical ReasoningMintong Kang, Bo LiICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖