Skip to content

Small Improvements Inspire Resilience: Toward Efficient Prefix Models Robust to LLM Red TeamingTiny Refinements Elicit Resilience: Toward Efficient Prefix-Model Against LLM Red-Teaming

arXiv· arXiv:2405.12604· Jiaxu Liu, Xiangyu Yin, Sihao Wu, Jianhong Wang, Meng Fang, Xinping Yi, Xiaowei Huang·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

Researchers propose an LLM sentinel model as a plug-and-play prefix module that restructures the input prompt with fewer than 30 additional tokens to reduce the toxicity of the target LLM's responses. The method alternately trains a red-team model and a sentinel model via PPO and coordinates the two with a value-head sharing mechanism. Text-to-text and text-to-image experiments show that the approach can also effectively mitigate toxic outputs on Llama-2, GPT-3.5 and Stable-Diffusion.

Read originalarxiv.org