AirGapAgent:保护隐私敏感型对话代理
AirGapAgent: Protecting Privacy-Conscious Conversational Agents
AI总结:
针对LLM对话代理易受上下文劫持攻击泄露隐私的问题,提出AirGapAgent,基于上下文完整性限制数据访问,实验证明其有效抵御攻击并保持核心功能。
摘要:
基于大语言模型(LLM)的对话代理在管理敏感用户数据方面的应用日益增多,这引发了重大的隐私担忧。尽管这些代理擅长理解上下文并据此行动,但这种能力可能被恶意行为者利用。我们提出了一种新的威胁模型,其中对抗性第三方应用操纵交互上下文,以诱使基于LLM的代理泄露与当前任务无关的私人信息。基于上下文完整性框架,我们引入了AirGapAgent,这是一种隐私敏感型代理,通过将代理的访问权限限制为仅特定任务所需的数据,来防止意外的数据泄露。使用Gemini、GPT和Mistral模型作为代理进行的广泛实验验证了我们的方法在缓解这种上下文劫持形式的同时保持核心代理功能的有效性。例如,我们展示了对Gemini Ultra代理的单次查询上下文劫持攻击将其保护用户数据的能力从94%降至45%,而AirGapAgent实现了97%的保护,使同样的攻击无效。
英文摘要:
The growing use of large language model (LLM)-based conversational agents to manage sensitive user data raises significant privacy concerns. While these agents excel at understanding and acting on context, this capability can be exploited by malicious actors. We introduce a novel threat model where adversarial third-party apps manipulate the context of interaction to trick LLM-based agents into revealing private information not relevant to the task at hand. Grounded in the framework of contextual integrity, we introduce AirGapAgent, a privacy-conscious agent designed to prevent unintended data leakage by restricting the agent's access to only the data necessary for a specific task. Extensive experiments using Gemini, GPT, and Mistral models as agents validate our approach's effectiveness in mitigating this form of context hijacking while maintaining core agent functionality. For example, we show that a single-query context hijacking attack on a Gemini Ultra agent reduces its ability to protect user data from 94% to 45%, while an AirGapAgent achieves 97% protection, rendering the same attack ineffective.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。