arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.15238cs.LGcs.AIcs.CR
收藏

弥合对抗训练在大语言模型中的分布差距

Closing the Distribution Gap in Adversarial Training for LLMs

Technical University of Munich, Germany(慕尼黑技术大学)

Chengzhi Hu, Jonas Dornbusch, David Lüdke, Stephan Günnemann, Leo Schwinn

AI总结:

本文提出DAT方法,通过扩散模型近似真实分布,提升大语言模型对抗鲁棒性。

摘要:

大语言模型的对抗训练是提高对对手攻击可靠性的最 promising 方法之一。然而,尽管取得了显著进展,模型仍易受简单同分布攻击的威胁,例如将提示转换为过去时或翻译成其他语言。我们认为这种持续的脆弱性源于当前对抗训练算法的根本限制:它们最小化训练集上的对抗损失,但未能充分覆盖数据分布,导致对看似简单的攻击敏感。为弥合这一差距,我们提出了分布对抗训练(DAT)。我们利用扩散语言模型近似提示和响应的真实联合分布,从而生成多样且高似然的样本,以解决泛化失败问题。通过结合扩散模型提供的数据分布优化与连续对抗训练,DAT在对抗鲁棒性上显著优于先前方法。

英文摘要:

Adversarial training for LLMs is one of the most promising methods to reliably improve robustness against adversaries. However, despite significant progress, models remain vulnerable to simple in-distribution exploits, such as rewriting prompts in the past tense or translating them into other languages. We argue that this persistent fragility stems from a fundamental limitation in current adversarial training algorithms: they minimize adversarial loss on their training set but inadequately cover the data distribution, resulting in vulnerability to seemingly simple attacks. To bridge this gap, we propose Distributional Adversarial Training, DAT. We leverage Diffusion LLMs to approximate the true joint distribution of prompts and responses, enabling generation of diverse, high-likelihood samples that address generalization failures. By combining optimization over the data distribution provided by the diffusion model with continuous adversarial training, DAT achieves substantially higher adversarial robustness than previous methods.

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

↑