HAICOSYSTEM:一个用于在人机交互中沙箱化安全风险的生态系统
HAICOSYSTEM: An Ecosystem for Sandboxing Safety Risks in Human-AI Interactions
AI总结:
针对AI智能体人机交互安全风险上升的问题,提出HAICOSYSTEM框架,通过模块化沙箱和多维度评估检验智能体安全性,实验显示主流LLM超半数案例存在风险,同时开源代码平台助力生态建设。
摘要:
AI智能体在与人类用户及工具的交互中自主性日益增强,导致交互安全风险不断上升。我们提出HAICOSYSTEM,这是一个在多样且复杂的社会交互中检验AI智能体安全性的框架。HAICOSYSTEM具备模块化沙箱环境,可模拟人类用户与AI智能体之间的多轮交互,其中AI智能体配备多种工具(如患者管理平台)以应对各类场景(如用户试图访问其他患者的档案)。为检验AI智能体在这些交互中的安全性,我们开发了一套全面的多维度评估框架,采用涵盖操作风险、内容相关风险、社会风险和法律风险的指标。通过基于7个领域(如医疗、金融、教育)的92个场景运行1840次模拟,我们证明HAICOSYSTEM能够模拟真实的用户-AI交互以及AI智能体对工具的复杂使用。我们的实验表明,无论是专有还是开源的最先进LLM,在超过50%的案例中都存在安全风险,且模型在与模拟的恶意用户交互时通常表现出更高的风险。我们的发现凸显了构建能够安全应对复杂交互的智能体这一持续存在的挑战,尤其是在面对恶意用户时。为推动AI智能体安全生态的发展,我们发布了一个代码平台,允许从业者创建自定义场景、模拟交互并评估其智能体的安全性与性能。
英文摘要:
AI agents are increasingly autonomous in their interactions with human users and tools, leading to increased interactional safety risks. We present HAICOSYSTEM, a framework examining AI agent safety within diverse and complex social interactions. HAICOSYSTEM features a modular sandbox environment that simulates multi-turn interactions between human users and AI agents, where the AI agents are equipped with a variety of tools (e.g., patient management platforms) to navigate diverse scenarios (e.g., a user attempting to access other patients' profiles). To examine the safety of AI agents in these interactions, we develop a comprehensive multi-dimensional evaluation framework that uses metrics covering operational, content-related, societal, and legal risks. Through running 1840 simulations based on 92 scenarios across seven domains (e.g., healthcare, finance, education), we demonstrate that HAICOSYSTEM can emulate realistic user-AI interactions and complex tool use by AI agents. Our experiments show that state-of-the-art LLMs, both proprietary and open-sourced, exhibit safety risks in over 50\% cases, with models generally showing higher risks when interacting with simulated malicious users. Our findings highlight the ongoing challenge of building agents that can safely navigate complex interactions, particularly when faced with malicious users. To foster the AI agent safety ecosystem, we release a code platform that allows practitioners to create custom scenarios, simulate interactions, and evaluate the safety and performance of their agents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。