AegisAgent:一种对抗LLM-HAR中提示注入攻击的自主防御代理
AegisAgent: An Autonomous Defense Agent Against Prompt Injection Attacks in LLM-HARs
AI总结:
AegisAgent通过自主推理和验证机制,有效降低LLM-HAR系统中提示注入攻击的成功率,提升系统安全性。
摘要:
将大型语言模型(LLMs)整合到可穿戴传感中,正在创造一类能够精细理解人类活动的新型移动应用。然而,这些系统的可靠性受到其对提示注入攻击的易受攻击性严重削弱,其中攻击者故意向LLMs输入欺骗性指令。传统的防御措施基于静态过滤和僵化的规则,无法应对这些新攻击的语义复杂性。我们主张需要一种范式转变——从被动过滤到主动保护和自主推理。我们介绍了AegisAgent,一种自主代理系统,旨在确保LLM驱动的HAR系统的安全性。与仅仅阻止威胁不同,AegisAgent充当一个认知守护者。它能够自主感知潜在的语义不一致,通过咨询动态记忆中的过去交互来推断用户的真正意图,并通过生成和执行多步骤验证和修复计划来行动。我们实现AegisAgent为一个轻量级的全栈原型,并在三个公共数据集上对15种常见的攻击进行了系统评估,使用五种最先进的基于LLM的HAR系统。结果表明,它在平均情况下将攻击成功率降低了30%,同时仅在GPU工作站上引入了78.6毫秒的延迟开销。我们的工作为构建安全且可信的LLM驱动的HAR系统迈出了第一步。
英文摘要:
The integration of Large Language Models (LLMs) into wearable sensing is creating a new class of mobile applications capable of nuanced human activity understanding. However, the reliability of these systems is critically undermined by their vulnerability to prompt injection attacks, where attackers deliberately input deceptive instructions into LLMs. Traditional defenses, based on static filters and rigid rules, are insufficient to address the semantic complexity of these new attacks. We argue that a paradigm shift is needed -- from passive filtering to active protection and autonomous reasoning. We introduce AegisAgent, an autonomous agent system designed to ensure the security of LLM-driven HAR systems. Instead of merely blocking threats, AegisAgent functions as a cognitive guardian. It autonomously perceives potential semantic inconsistencies, reasons about the user's true intent by consulting a dynamic memory of past interactions, and acts by generating and executing a multi-step verification and repair plan. We implement AegisAgent as a lightweight, full-stack prototype and conduct a systematic evaluation on 15 common attacks with five state-of-the-art LLM-based HAR systems on three public datasets. Results show it reduces attack success rate by 30\% on average while incurring only 78.6 ms of latency overhead on a GPU workstation. Our work makes the first step towards building secure and trustworthy LLM-driven HAR systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。