arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.04960cs.CRcs.AIcs.CLcs.CYcs.LG
收藏

IsolateGPT:一种用于基于LLM的智能体系统的执行隔离架构

IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systems

Washington University in St. Louis(圣路易斯华盛顿大学);University of Washington(华盛顿大学)

Yuhao Wu, Franziska Roesner, Tadayoshi Kohno, Ning Zhang, Umar Iqbal

AI总结:

针对基于LLM的智能体系统中因自然语言交互和第三方应用不可信导致的安全与隐私风险,本文提出执行隔离架构IsolateGPT,在保证功能不损失的前提下有效防御多种攻击,且多数查询性能开销低于30%。

摘要:

扩展为系统的大型语言模型(LLM),如ChatGPT,已开始支持第三方应用。这些LLM应用利用了LLM事实上的基于自然语言的自动执行范式:即应用及其交互以自然语言定义,被授予访问用户数据的权限,并被允许相互之间及与系统自由交互。这些LLM应用生态系统类似于早期计算平台的设置,即应用与系统之间缺乏充分的隔离。由于第三方应用可能不可信,加之自然语言接口的不精确性加剧了这一问题,当前设计给用户带来了安全和隐私风险。本文评估了这些问题是否可以通过执行隔离来解决,以及在基于LLM的系统中这种隔离可能呈现的形态,该系统中组件之间、LLM与应用之间以及应用之间存在任意的基于自然语言的交互。为此,我们提出了IsolateGPT,这是一种设计架构,展示了执行隔离的可行性,并为基于LLM的系统实现隔离提供了蓝图。我们针对多种攻击评估了IsolateGPT,并证明它能够防范非隔离的基于LLM系统中存在的许多安全、隐私和安全问题,且不损失任何功能。IsolateGPT为提升安全性而产生的性能开销在四分之三的测试查询中低于30%。

英文摘要:

Large language models (LLMs) extended as systems, such as ChatGPT, have begun supporting third-party applications. These LLM apps leverage the de facto natural language-based automated execution paradigm of LLMs: that is, apps and their interactions are defined in natural language, provided access to user data, and allowed to freely interact with each other and the system. These LLM app ecosystems resemble the settings of earlier computing platforms, where there was insufficient isolation between apps and the system. Because third-party apps may not be trustworthy, and exacerbated by the imprecision of natural language interfaces, the current designs pose security and privacy risks for users. In this paper, we evaluate whether these issues can be addressed through execution isolation and what that isolation might look like in the context of LLM-based systems, where there are arbitrary natural language-based interactions between system components, between LLM and apps, and between apps. To that end, we propose IsolateGPT, a design architecture that demonstrates the feasibility of execution isolation and provides a blueprint for implementing isolation, in LLM-based systems. We evaluate IsolateGPT against a number of attacks and demonstrate that it protects against many security, privacy, and safety issues that exist in non-isolated LLM-based systems, without any loss of functionality. The performance overhead incurred by IsolateGPT to improve security is under 30% for three-quarters of tested queries.

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

↑