Controlled Decoding Attacks on Black-Box LLMs
Wang, Jesson, Li, Shawn, Yang, Wei, Dernoncourt, Franck, Rossi, Ryan A., Peris, Charith, Zhao, Yue
–arXiv.org Artificial Intelligence
If LLMs are incorporated into similar decision-making pipelines, jailbreak vulnerabilities may introduce additional safety and privacy risks by allowing adversarial users to bypass intended safeguards. Safety alignment trains language models to refuse harmful requests (Ouyang et al., 2022; Bai et al., 2022), but this behavior remains vulnerable to interventions during generation. Decoding-time attacks act directly on the next-token distribution, using a helper model to redirect an aligned target's output (Zhao et al., 2025; Zhou et al., 2024). Related techniques in proxy tuning and controlled generation likewise steer a frozen model by modifying its output distribution (Liu et al., 2024a; Dathathri et al., 2020; Krause et al., 2021; Yang & Klein, 2021). Their appeal is the granularity of control: an intervention can respond to the evolving answer at each generation step. Their limitation is access: applying such an intervention directly requires target weights or numerical token probabilities. We study whether this fine-grained control can be retained when the target exposes only sampled text. Existing black-box jailbreaks primarily manipulate the input through prompt search (Chao et al., 2023; Mehrotra et al., 2023), template evolution (Liu et al., 2024b), multi-turn interaction (Russinovich et al., 2024), or encoded instructions (Yuan et al., 2024), leaving decoding-time control under such access comparatively unexplored. A natural route is to estimate a next-token distribution from repeated sampled continuations of the same prefix, then apply control to the resulting estimate.
arXiv.org Artificial Intelligence
Oct-30-2026
- Country:
- North America > United States > California (0.86)
- Genre:
- Research Report (0.65)
- Industry:
- Information Technology > Security & Privacy (0.34)
- Technology: