arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.01929cs.CL
收藏

面向鲁棒且具基础的大语言模型的逆向语言建模

Inverse Language Modeling towards Robust and Grounded LLMs

Sapienza University of Rome(罗马萨皮恩扎大学);OmnAI Lab(OmnAI实验室)

Davide Gabrielli, Simone Sestito, Iacopo Masi

AI总结:

针对大语言模型防御机制零散薄弱的问题,提出逆向语言建模统一框架,同时提升模型抗输入扰动的鲁棒性与原生基础对齐能力,助力红队测试,为更可控可信的下一代大语言模型奠基。

摘要:

当前大语言模型(LLM)的防御机制体系零散且发展不足,这与此前在分类器上的相关研究形成反差。为进一步提升LLM的对抗鲁棒性,我们提出逆向语言建模(Inverse Language Modeling,ILM)——一个统一框架,它同时实现两个目标:1)提升LLM对输入扰动的鲁棒性;2)通过反转模型输出来识别潜在的有毒或不安全输入触发词,实现原生基础对齐。ILM将LLM从静态生成器转变为可分析的鲁棒系统,有望助力红队测试(RED teaming)。ILM可为下一代LLM奠定基础,这类模型不仅具备鲁棒性与基础对齐能力,从根本上也更可控、更可信。代码已在github.com/davegabe/pag-llm公开。

英文摘要:

The current landscape of defensive mechanisms for LLMs is fragmented and underdeveloped, unlike prior work on classifiers. To further promote adversarial robustness in LLMs, we propose Inverse Language Modeling (ILM), a unified framework that simultaneously 1) improves the robustness of LLMs to input perturbations, and, at the same time, 2) enables native grounding by inverting model outputs to identify potentially toxic or unsafe input triggers. ILM transforms LLMs from static generators into analyzable and robust systems, potentially helping RED teaming. ILM can lay the foundation for next-generation LLMs that are not only robust and grounded but also fundamentally more controllable and trustworthy. The code is publicly available at github.com/davegabe/pag-llm.

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

↑