Skip to content

AmpleGCG: Learning a Universal and Transferable Adversarial Suffix Generation Model for Jailbreaking Open-Source and Closed-Source Large Language ModelsAmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs

arXiv· arXiv:2404.07921· Zeyi Liao, Huan Sun·Indexed by this site · 24 days ago· Originally publishedAttacks
AI summary

The researchers propose AmpleGCG, which uses successful adversarial suffixes overlooked during GCG optimization to train a generative model, and can generate hundreds of adversarial suffixes for any harmful query within seconds. The paper points out that GCG selects only the single suffix with the lowest loss, which misses successful suffixes in intermediate steps; AmpleGCG uses these successful suffixes as training data to learn the distribution of adversarial suffixes given a harmful query. On the two aligned models Llama-2-7B-chat and Vicuna-7B, AmpleGCG achieves an attack success rate close to 100%, surpassing the two strongest attack baselines; when transferred to closed-source models, it achieves a 99% attack success rate on the latest GPT-3.5. Generating 200 adversarial suffixes for one harmful query takes only 4 seconds, which the authors claim makes defense more challenging.

Read originalarxiv.org