HARP: 多智能体大语言模型系统中的危害放大测量
HARP: Measuring Harm Amplification in Multi-Agent LLM Systems
AI总结:
提出HARP方法,通过比较清洁与扰动执行轨迹,量化多智能体LLM系统中局部扰动如何传播为全局危害,并在金融七智能体系统中验证了不同攻击和防御的效果。
摘要:
多智能体大语言模型系统将工作流分解为智能体、工具、共享上下文、记忆和决策门。这种模块化提高了可解释性,但也带来了传播风险:对一个组件的有限扰动可能被其他智能体重用并放大为系统级危害。我们提出了HARP(通过角色扰动导致的危害放大),一种用于研究多智能体LLM系统中局部到全局危害放大的轨迹优先方法。HARP比较成对的清洁和扰动执行,记录专家输出、工具调用、记忆读/写、防护事件、预言日志、延迟、令牌成本和决策。我们将局部危害定义为对目标智能体或受损通道的偏离,全局危害定义为对整个轨迹的偏离,危害放大为(H_global/H_local)。这补充了攻击成功率,衡量编排如何将危害传播到攻击点之外。我们在一个面向金融的七智能体系统中实例化HARP,该系统具有确定性决策门和可配置的攻击框架,用于专家妥协、合谋、共享上下文破坏以及时间或记忆持久攻击。在五种防御中,仅提示防御保持了良性效用但留下高成功率和隐蔽性;工具前和步骤级防护以效用或延迟成本减少了部分失败;而IntegrityGuard,一种轨迹一致性防御,实现了最低的攻击成功率和全局危害,但引入了效用/成本权衡。结果表明,单一专家妥协产生最强的放大,共享上下文破坏产生最高的攻击成功率,时间持久性产生最大的恶意影响。HARP认为,安全的多智能体评估不仅必须衡量绕过,还必须衡量传播。
英文摘要:
Multi-agent LLM systems decompose workflows across agents, tools, shared context, memory, and decision gates. This modularity improves interpretability, but creates a propagation risk: a bounded perturbation to one component can be reused by other agents and amplified into system-level harm. We introduce HARP (Harm Amplification through Role Perturbation), a trace-first methodology for studying local-to-global harm amplification in multi-agent LLM systems. HARP compares paired clean and perturbed executions and records specialist outputs, tool calls, memory reads/writes, guard events, oracle logs, latency, token cost, and decisions. We define local harm as deviation from targeted agents or corrupted channels, global harm as deviation over the full trace, and harm amplification as (H_global/H_local). This complements attack success rate with a measure of how strongly orchestration spreads harm beyond the attack point. We instantiate HARP in a finance-oriented seven-agent system with a deterministic decision gate and configurable attack harness for specialist compromise, collusion, shared-context corruption, and temporal or memory-persistent attacks. Across five defenses, prompt-only defenses preserve benign utility but leave high success and stealth; pre-tool and step-level guards reduce some failures with utility or latency costs; and IntegrityGuard, a trace-consistency defense, achieves the lowest attack success and global harm but introduces utility/cost trade-offs. Results show that single-specialist compromise produces the strongest amplification, shared-context corruption yields the highest attack success, and temporal persistence produces the largest malicious impact. HARP argues that secure multi-agent evaluation must measure not only bypass, but propagation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。