Skip to content

Improved techniques for optimization-based jailbreak attacks on large language models (I-GCG)Improved Techniques for Optimization-Based Jailbreaking on Large Language Models

arXiv· arXiv:2405.21018· ICLR 2025· Xiaojun Jia, Tianyu Pang, Chao Du, Yihao Huang, Jindong Gu, Yang Liu, Xiaochun Cao, Min Lin·Indexed by this site · 27 days ago· Originally publishedAttacks
AI summary

Researchers proposed several improved techniques based on the Greedy Coordinate Gradient (GCG) attack, combined into an optimization-based jailbreak method I-GCG. The improvements include replacing the single Sure template with diverse target templates containing harmful self-suggestions or guidance, introducing an automatic multi-coordinate update strategy to accelerate convergence, and techniques such as easy-to-hard initialization. Experiments on benchmarks such as the NeurIPS 2023 Red Teaming Track show that these improvements help GCG outperform state-of-the-art jailbreak attacks, with attack success rates approaching 100%. The code is open-sourced at https://github.com/jiaxiaojunQAQ/I-GCG。

Read originalICLR 2025