Research map / Large language models / Language, safety and interpretability
LARGO: Latent Adversarial Reflection through Gradient Optimization for Jailbreaking LLMs
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Proposes LARGO, a jailbreak attack that optimizes a continuous latent suffix embedding by gradient descent, then has the target LLM decode it into natural-language suffixes via self-reflection, iterating until success.
Problem
Gradient-based jailbreak attacks struggle in discrete language space, producing illegible token suffixes (e.g., GCG) that perplexity filters catch, while LLM-driven attacks need human prototyping or attacker training. The paper seeks fluent, effective, transferable jailbreaks.
Approach
Optimize an adversarial latent suffix in the continuous embedding space with cross-entropy toward an affirmative target, then recursively prompt the same instruction-tuned LLM to interpret the latent into readable text, and project the text back to embeddings for refinement.
Key results
- On AdvBench with Llama-2-7B, LARGO reaches 42.0% keyword ASR versus 39.0% for GCG, 18.0% for AutoDAN and 2.0% for AdvPrompter.
- On JailbreakBench with Llama-2-13B, LARGO reaches 58.0% ASR versus 24.0% for GCG; in the universal setting on Llama-2-7B it reaches 22.0% ASR versus 9.5% for GCG with perplexity 18.54 versus 1094.11.
- Transfer from Llama-2-13B to Llama-2-7B yields up to 31.37% success, and Phi-3 to Qwen-2.5-14B yields 13.29%.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use LARGO instead of GCG for single-prompt attacks | Llama 2-7B · AdvBench | ASR: 39.0 -> 42.0 | Helped |
| use LARGO instead of GCG for single-prompt attacks | Llama 2-7B · JailbreakBench | ASR: 38.5 -> 56.0 | Helped |
| use LARGO instead of GCG | Llama 2-7B · AdvBench | StrongREJECT: 25.5 -> 28.0 | Helped |
| use LARGO instead of GCG for universal attacks | Llama 2-7B · Universal attack, 200 test prompts | ASR: 9.5 -> 22.0 | Helped |
| use LARGO instead of GCG for universal attacks | Llama 2-13B · Universal attack, 200 test prompts | ASR: 5.5 -> 20.5 | Helped |
| use LARGO instead of GCG for universal attacks | Phi 3-4B · Universal attack, 200 test prompts | ASR: 8.0 -> 20.0 | Helped |
| transfer the LARGO suffix rather than GCG from Llama 2-13B | Llama 2-7B · Cross-model transfer | ASR: 12.50 -> 31.37 | Helped |
| transfer the LARGO suffix rather than GCG from Phi 3-4B | Qwen 2.5-14B · Cross-family transfer | ASR: 2.75 -> 13.29 | Helped |
| replace random latent vectors with optimized latent vectors (ablation) | LARGO · AdvBench | ASR: 2.0 -> 42.0; 2.5 -> 51.0; 5.5 -> 79.0 | Helped |
| replace random latent vectors with optimized latent vectors (ablation) | LARGO · AdvBench | Perplexity: 179.38 -> 64.88; 253.96 -> 25.69; 537.30 -> 53.95 | Helped |
| increase suffix length from 50 to 300 tokens (ablation) | LARGO on Llama 2-7B · AdvBench | ASR: 13.0 -> 65.0 | Helped |
| increase suffix length from 50 to 100 tokens (ablation) | LARGO on Llama 2-7B · AdvBench | ASR: 13.0 -> 19.5 | Helped |
Surprising findings
- Random latent vectors interpreted through the same decoding process still yield fluent text but achieve only 2.0-5.5% ASR, versus 42-79% for optimized latents.
- Suffix length strongly affects success: ASR rises from 13.0% at 50 tokens to 65.0% at 300 tokens on Llama-2-7B.
Limitations
- Keyword-based ASR is the default metric; under StrongREJECT scores drop (e.g., LARGO 28.0 on Llama-2-7B), and the keyword lists are manually extracted per prompt.
- Requires white-box gradient access to the source model for latent optimization; transfer performance is uneven across models.
- Successful suffixes use 200 tokens, so they are long, and the universal attack results are modest in absolute ASR.
Experimental setup
Datasets: AdvBench JailbreakBench
Benchmarks: AdvBench JailbreakBench
Metrics: keyword-based attack success rate StrongREJECT score GPT-2 perplexity
Baselines: GCG AutoDAN AdvPrompter
Builds on: GCG AutoDAN AdvPrompter SelfIE LatentQA
Closest papers by meaning
- GASP: Efficient Black-Box Generation of Adversarial Suffixes for Jailbreaking LLMs (NeurIPS 2025 · similarity 0.91)
- VERA: Variational Inference Framework for Jailbreaking Large Language Models (NeurIPS 2025 · similarity 0.90)
- Adversarial Reasoning at Jailbreaking Time (ICML 2025 · similarity 0.89)
- Fight Back Against Jailbreaking via Prompt Adversarial Tuning (NeurIPS 2024 · similarity 0.89)
- AdvPrompter: Fast Adaptive Adversarial Prompting for LLMs (ICML 2025 · similarity 0.89)
- Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapes (NeurIPS 2024 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
