2025-05-21 · 专家 · 机器学习 · 自然语言处理 · 计算机视觉

Lessons from Defending Gemini Against Indirect Prompt Injections

这篇论文通过构建自适应攻击框架,评估了Gemini模型对抗间接提示注入攻击的鲁棒性,并从中学习到了提高模型安全性的主要经验。

更新于 2025-05-21。作者:Chongyang Shi、Sharon Lin、Shuang Song、Jamie Hayes、Ilia Shumailov、Itay Yona、Juliette Pluto、Aneesh Pappu、Christopher A. Choquette-Choo、Milad Nasr、Chawin Sitawarin、Gena Gibson、Andreas Terzis、John "Four" Flynn。

中文摘要

Gemini正越来越多地被用于代表用户执行任务,其中函数调用和工具使用能力使模型能够访问用户数据。然而,一些工具需要访问不受信任的数据,这引入了风险。攻击者可以在不受信任的数据中嵌入恶意指令,导致模型偏离用户的期望并错误处理他们的数据或权限。在本报告中,我们概述了Google DeepMind评估Gemini模型对抗鲁棒性的方法,并描述了在此过程中学到的主要经验教训。我们通过一个对抗性评估框架测试了Gemini在面对一个复杂对手时的表现,该框架部署了一套自适应攻击技术,持续地对Gemini的过去、当前和未来版本进行攻击。我们描述了这些持续评估如何直接帮助使Gemini更具抗操纵性。

英文摘要

Gemini is increasingly used to perform tasks on behalf of users, where function-calling and tool-use capabilities enable the model to access user data. Some tools, however, require access to untrusted data introducing risk. Adversaries can embed malicious instructions in untrusted data which cause the model to deviate from the user's expectations and mishandle their data or permissions. In this report, we set out Google DeepMind's approach to evaluating the adversarial robustness of Gemini models and describe the main lessons learned from the process. We test how Gemini performs against a sophisticated adversary through an adversarial evaluation framework, which deploys a suite of adaptive attack techniques to run continuously against past, current, and future versions of Gemini. We describe how these ongoing evaluations directly help make Gemini more resilient against manipulation.

解读

一句话总结

这篇论文通过构建自适应攻击框架,评估了Gemini模型对抗间接提示注入攻击的鲁棒性,并从中学习到了提高模型安全性的主要经验。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源