arXiv cs.AI· Jesson Wang, Shawn Li, Wei Yang, Franck Dernoncourt, Ryan A. Rossi, Charith Peris, Yue Zhao·· 14 小时前AI 评分38
针对黑盒 LLM 的受控解码攻击
Controlled Decoding Attacks on Black-Box LLMs
AI 导读
研究者提出受控解码攻击框架,可在仅返回采样文本的黑盒接口上绕过 LLM 的安全对齐。该方法通过基于采样的分布重建、风险门控残差控制和推测式多 token 执行,将采样成本集中在少数关键位置。在四个目标端点和三个基准上,该方法在多数对比中取得最高平均分。
正文 · 原文
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 \method{}, 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, \method{} achieves the highest mean score most comparisons against baselines.
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2609.36956 [cs.CR] |
| (or arXiv:2609.36956v2 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2609.36956 arXiv-issued DOI via DataCite |
Submission history
From: Li Li [view email]
[v1]
Tue, 29 Sep 2026 07:58:49 UTC (899 KB)
[v2]
Wed, 28 Oct 2026 19:24:49 UTC (899 KB)
来源:arXiv cs.AI · arxiv.org