AgentCrypt: 推动AI代理协作中的隐私与(安全)计算发展
AgentCrypt: Advancing Privacy and (Secure) Computation in AI Agent Collaboration
AI总结:
AgentCrypt通过三层框架提升AI代理协作中的隐私和安全计算,解决传统访问控制不足和LLM安全性的不足问题,实现数据安全计算和隐私保护。
摘要:
随着AI代理在复杂环境中的应用增加,确保可靠且上下文感知的隐私已成为合规的关键。传统访问控制不足,因为隐私风险常在访问后出现;代理可能在推理过程中通过与人类通信、泄露上下文给同僚或执行不安全的工具调用而破坏隐私。现有方法通常将隐私视为二元约束,忽略了计算依赖的细微需求。此外,大型语言模型(LLM)代理本质上是概率性的,缺乏对安全关键操作的正式保证。为此,我们引入AgentCrypt,一种三层框架,为任何AI平台添加确定性的保护层。AgentCrypt覆盖了隐私需求的整个范围:从无限制的数据交换(第1级),到上下文感知的掩码(第2级),再到使用同态加密的完全加密计算(第3级)。与基于提示的防御不同,我们的方法保证即使底层模型出错,标记数据的隐私也能严格保持。安全与代理的概率推理解耦,确保敏感数据在整个计算生命周期中得到保护。AgentCrypt使在原本无法访问的数据上进行协作计算成为可能,克服了诸如数据孤岛等障碍。我们使用LangGraph和Google ADK实现了并验证了它,展示了其在不同架构上的适应性。最后,我们引入了一个基准数据集,模拟隐私关键任务,以实现系统评估并促进可信、可调节的机器学习系统的发展。
英文摘要:
As AI agents increasingly operate in complex environments, ensuring reliable, context-aware privacy is critical for regulatory compliance. Traditional access controls are insufficient because privacy risks often arise after access is granted; agents may inadvertently compromise privacy during reasoning by messaging humans, leaking context to peers, or executing unsafe tool calls. Existing approaches typically treat privacy as a binary constraint, overlooking nuanced, computation-dependent requirements. Furthermore, Large Language Model (LLM) agents are inherently probabilistic, lacking formal guarantees for security-critical operations. To address this, we introduce AgentCrypt, a three-tiered framework for secure agent communication that adds a deterministic protection layer atop any AI platform. AgentCrypt spans the full spectrum of privacy needs: from unrestricted data exchange (Level 1), to context-aware masking (Level 2), up to fully encrypted computation using Homomorphic Encryption (Level 3). Unlike prompt-based defenses, our approach guarantees that tagged data privacy is strictly preserved even when the underlying model errs. Security is decoupled from the agent's probabilistic reasoning, ensuring sensitive data remains protected throughout the computational lifecycle. AgentCrypt enables collaborative computation on otherwise inaccessible data, overcoming barriers like data silos. We implemented and validated it using LangGraph and Google ADK, demonstrating versatility across architectures. Finally, we introduce a benchmark dataset simulating privacy-critical tasks to enable systematic evaluation and foster the development of trustworthy, regulatable machine learning systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。