Controlled Decoding Attacks on Black-Box LLMs
Jesson Wang, Shawn Li, Wei Yang, Franck Dernoncourt, Ryan A. Rossi, Charith Peris, Yue Zhao
University of Southern California · Adobe · Amazon
Published September 29, 2026 · on the feed October 2, 2026 · ▲ 6 · arXiv 2609.36956
The abstract
Manipulating next-token probabilities during generation can bypass the safety alignment of large language models. Existing approaches, however, rely on access to model weights or numerical token probabilities and therefore do not apply to interfaces that return only sampled text. Reconstructing probabilities from sampled outputs offers a possible alternative, but finite sampling produces sparse and noisy estimates, while repeating this process at every generation step incurs substantial query costs. Our empirical observations suggest that large distributional changes along successful jailbreak trajectories are concentrated at a small subset of positions, motivating selective control. We introduce , a framework for jailbreaking through text-only continuation interfaces that permit repeated sampling and assistant-prefix continuation. Sample-Based Distribution Reconstruction combines sampled outputs with a prior over unobserved actions to obtain a usable control signal. Risk-Gated Residual Control uses the evolving response prefix to decide when to reconstruct and modify the distribution, concentrating sampling costs at selected positions. Speculative Multi-Token Execution further amortizes target calls by verifying and accepting draft prefixes that require no intervention. Across four target endpoints and three benchmarks, achieves the highest mean score most comparisons against baselines.
The Brief
2:26A short podcast summary of the paper. Written and voiced by AI.
Transcript
Controlled Decoding Attacks on Black-Box LLMs. By Jesson Wang and six others, from the University of Southern California, Adobe, and one other institution. Published on the twenty-ninth of September. Its code repository is worked out: about one hundred source files, with a readme and a licence.
Manipulating next-token probabilities while a large language model generates can bypass its safety alignment. Existing attacks of that kind, though, need access to the model's weights or to its numerical token probabilities. That rules them out for interfaces that return only sampled text, where the caller sees words and never the numbers behind them.
One alternative is to reconstruct the probabilities from samples: ask many times and count what comes back. That has two problems. Finite sampling gives sparse and noisy estimates, so the reconstructed distribution is rough. And repeating the reconstruction at every step of generation runs up substantial query costs, because every step needs its own batch of samples.
An empirical observation points the way. Along successful jailbreak trajectories, the large changes in distribution are concentrated at a small subset of positions. If only a few positions matter, control can be selective. The authors build a framework for jailbreaking through text-only continuation interfaces, the kind that allow repeated sampling and continuing from an assistant prefix. Nothing more than sampled text has to come back from the model.
It has three parts. Sample-Based Distribution Reconstruction combines sampled outputs with a prior over actions that were never observed, which yields a control signal usable despite sparse samples. Risk-Gated Residual Control watches the response prefix as it evolves and decides when to reconstruct and modify the distribution, so that sampling cost is spent only at selected positions.
The third part, Speculative Multi-Token Execution, amortizes calls to the target further. Draft prefixes that need no intervention are verified and accepted, rather than generated one controlled step at a time.
Evaluation covers four target endpoints and three benchmarks. Against the baselines, the framework achieves the highest mean score in most of the comparisons made.
Earlier decoding attacks needed weights or probabilities, which a text-only interface does not expose. This one asks for less: repeated sampling and prefix continuation are enough to rebuild a usable signal, and spending queries only at the few positions where the distribution shifts is what keeps the cost in check.
Paper Quest · 7 chapters · about 22 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
No weights, no probabilities, just text. This quest starts behind a closed door.
You are a safety researcher testing a chat model that only returns sampled text. Known attacks that push its next-token probabilities need the weights or the numerical probabilities, and this interface shows neither.
The road ahead
- 1 · The problem ~2 min
- 2 · What came before ~3 min
- 3 · The key idea ~3 min
- 4 · Choose your own research ~3 min
- 5 · Build the method ~3 min
- 6 · The experiment ~3 min You’ll guess: Tested on four target endpoints and three benchmarks against baseline attacks, how did the sample-only framework score?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.