Reproduce “Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yiran Zhao, Wenyue Zheng, Tianle Cai, Xuan Long Do, Kenji Kawaguchi, Anirudh Goyal, Michael Shieh
Researchers from the National University of Singapore, Princeton University, and Google DeepMind developed Probe Sampling, an algorithm that accelerates Greedy Coordinate Gradient (GCG) and other prompt optimization methods by up to 6.3 times. This method utilizes a smaller "draft model" to filter unpromising prompt candidates, simultaneously improving attack success rates for LLM jailbreaks and maintaining performance across various prompt learning tasks.
Key insights
- Dynamically measuring the agreement between a computationally cheaper draft model and a larger target model is effective for intelligently filtering prompt candidates without sacrificing overall optimization quality.
- The "draft-and-verify" paradigm can be effectively adapted from autoregressive token generation (e.g., speculative sampling) to discrete token optimization tasks like GCG, offering a generalized approach for efficiency.
- Acceleration from Probe Sampling can unexpectedly lead to improved attack success rates in LLM jailbreaking, suggesting that the introduced filtering mechanism helps greedy search algorithms escape local optima.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.