AdvPrompter: A fast adaptive adversarial prompting method for large language modelsAdvPrompter: Fast Adaptive Adversarial Prompting for LLMs
AI summary
The paper proposes the AdvPrompter method, which uses another large language model to generate human-readable jailbreak adversarial prompts within seconds. The method is trained with an alternating optimization algorithm; the generated suffixes mask the instruction without changing its meaning, inducing the target model to give harmful answers. Experiments on multiple mainstream open-source target models show that the method achieves highly competitive results on the AdvBench and HarmBench datasets and can transfer to closed-source black-box large language models. The authors also show that training with adversarial suffixes generated by AdvPrompter is a promising strategy for improving model robustness against jailbreak attacks.