Skip to content

RigorLLM: Resilient Guardrails for Large Language Models against Undesirable ContentRigorLLM: Resilient Guardrails for Large Language Models against Undesired Content

arXiv· arXiv:2403.13031· Zhuowen Yuan, Zidi Xiong, Yi Zeng, Ning Yu, Ruoxi Jia, Dawn Song, Bo Li·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

RigorLLM is a resilient guardrail framework for moderating harmful inputs and outputs of large language models, and experiments show that its harmful content detection outperforms baselines such as the OpenAI API and Perspective API. The framework performs energy-based training data augmentation via Langevin dynamics, adds safety suffixes to inputs via minimax optimization, and combines robust KNN with large language models. The authors claim it has unparalleled resistance to jailbreak attacks.

Read originalarxiv.org