arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.00203cs.LGstat.ML
收藏

Diffusion LLM 是任何 LLM 的天然对手

Diffusion LLMs are Natural Adversaries for any LLM

Department of Computer Science \& Munich Data Science Institute Technical University of Munich, Germany

David Lüdke, Tom Wollschläger, Paul Ungermann, Stephan Günnemann, Leo Schwinn

AI总结:

提出一种将对抗性提示优化转化为摊销推理的新框架,利用预训练的非自回归 Diffusion LLM 作为替代模型进行条件生成,高效发现低困惑度且具强迁移性的越狱提示,为红队测试与自动化提示优化提供了新方向。

摘要:

我们引入了一个新颖的框架,将资源密集型的(对抗性)提示优化问题转化为高效的摊销推理任务。我们的核心洞察是,预训练的非自回归生成式 LLM(例如 Diffusion LLM),它们对提示-响应对的联合分布进行建模,可以作为提示搜索的强大替代品。这种方法能够直接进行条件生成提示,有效地用少量可并行化的样本替代了昂贵的逐实例离散优化。我们提供了概率分析,证明在温和的保真度假设下,仅需少量条件样本即可恢复高奖励(有害)提示。在实验中,我们发现生成的提示是低困惑度、多样化的越狱提示,对包括经过鲁棒训练的模型和专有 LLM 在内的广泛黑盒目标模型表现出强大的可迁移性。除了对抗性提示,我们的框架还为红队测试、自动化提示优化以及利用新兴的 Flow 和 Diffusion 基 LLM 开辟了新方向。

英文摘要:

We introduce a novel framework that transforms the resource-intensive (adversarial) prompt optimization problem into an \emph{efficient, amortized inference task}. Our core insight is that pretrained, non-autoregressive generative LLMs, such as Diffusion LLMs, which model the joint distribution over prompt-response pairs, can serve as powerful surrogates for prompt search. This approach enables direct conditional generation of prompts, effectively replacing costly discrete optimization with a small number of parallelizable samples. We provide a probabilistic analysis demonstrating that under mild fidelity assumptions, only a few conditional samples are required to recover high-reward (harmful) prompts. Empirically, our method substantially outperforms prior attacks in both success rate and compute cost, producing low-perplexity, diverse jailbreaks that transfer to a wide range of black-box target models, including robustly trained and proprietary LLMs. Beyond adversarial prompting, our framework opens new directions for red teaming, automated prompt optimization, and leveraging emerging Flow- and Diffusion-based LLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑