在真实环境中安全测试语言模型智能体
Testing Language Model Agents Safely in the Wild
AI总结:
本文提出AgentMonitor安全监控框架,通过上下文敏感审计和严格安全边界来保障LLM智能体在开放互联网上的安全测试,并在AutoGPT真实测试中验证其有效性及局限性。
摘要:
实现真实环境中的安全自主性的前提是能够在真实环境中进行安全测试。然而,现实世界的自主测试面临着若干独特的安全挑战,既包括在测试过程中可能造成伤害的可能性,也包括通过与现实世界以及潜在恶意行为者的交互而遭遇新的不安全智能体行为的风险。我们提出了一个在开放互联网上进行安全自主智能体测试的框架:智能体的行为由上下文敏感的监控器进行审计,该监控器强制执行严格的安全边界以停止不安全的测试,可疑行为会被排序并记录,以供人类检查。我们设计了一个基本的安全监控器(AgentMonitor),它足够灵活,能够监控现有的LLM智能体,并且,通过使用一个对抗性模拟智能体,我们测量了它识别和阻止不安全情况的能力。然后,我们将AgentMonitor应用于AutoGPT的一系列真实世界测试中,并识别出随着自主智能体能力不断增强,创建安全的真实环境测试将面临的若干局限性和挑战。
英文摘要:
A prerequisite for safe autonomy-in-the-wild is safe testing-in-the-wild. Yet real-world autonomous tests face several unique safety challenges, both due to the possibility of causing harm during a test, as well as the risk of encountering new unsafe agent behavior through interactions with real-world and potentially malicious actors. We propose a framework for conducting safe autonomous agent tests on the open internet: agent actions are audited by a context-sensitive monitor that enforces a stringent safety boundary to stop an unsafe test, with suspect behavior ranked and logged to be examined by humans. We design a basic safety monitor (AgentMonitor) that is flexible enough to monitor existing LLM agents, and, using an adversarial simulated agent, we measure its ability to identify and stop unsafe situations. Then we apply the AgentMonitor on a battery of real-world tests of AutoGPT, and we identify several limitations and challenges that will face the creation of safe in-the-wild tests as autonomous agents grow more capable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。