Skip to content

Robust Prompt Optimization (RPO) for Defending Against Jailbreak Attacks on Language ModelsRobust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks

arXiv· arXiv:2401.17263· Andy Zhou, Bo Li, Haohan Wang·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

The researchers propose Robust Prompt Optimization (RPO), a system-level defense method against jailbreak attacks on large language models. The method incorporates adversarial attacks directly into the defense objective, optimizing a lightweight, transferable suffix so that the defense can adapt to worst-case adaptive attacks. On JailbreakBench, the method reduces the attack success rate to 6% for GPT-4 and 0% for Llama-2, which the authors state reaches the best level at the time. The code is open-sourced on GitHub (https://github.com/lapisrocks/rpo)。

Read originalarxiv.org