arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.19174cs.CRcs.AI
收藏

SHIELD:一种针对LLM资源耗尽攻击的自愈代理防御框架

SHIELD: An Auto-Healing Agentic Defense Framework for LLM Resource Exhaustion Attacks

The University of Sydney(悉尼大学);Western Sydney University(西部悉尼大学);University of New South Wales(新南威尔士大学);University of Wollongong(沃林戈大学)

Nirhoshan Sivaroopan, Kanchana Thilakarathna, Albert Zomaya, Manu, Yi Guo, Jo Plested, Tim Lynar, Jack Yang, Wangli Yang

AI总结:

SHIELD通过多代理自愈机制有效应对LLM资源耗尽攻击,整合语义检索、模式匹配和LLM推理,实现动态知识更新和防御优化。

摘要:

海绵攻击通过引发过度计算和DoS日益威胁LLM系统。现有防御措施要么依赖统计过滤器,无法应对语义上有意义的攻击,要么使用静态的LLM基于检测器,难以适应攻击策略的变化。我们介绍了SHIELD,一种多代理、自愈防御框架,核心是一个三阶段防御代理,整合了语义相似性检索、模式匹配和LLM推理。两个辅助代理,知识更新代理和提示优化代理,形成闭环自愈循环,当攻击绕过检测时,系统更新演进的知识库,并优化防御指令。大量实验表明,SHIELD在性能上始终优于基于困惑度的和独立LLM防御措施,在非语义和语义海绵攻击上均取得高F1分数,证明了代理自愈对抗演变资源耗尽威胁的有效性。

英文摘要:

Sponge attacks increasingly threaten LLM systems by inducing excessive computation and DoS. Existing defenses either rely on statistical filters that fail on semantically meaningful attacks or use static LLM-based detectors that struggle to adapt as attack strategies evolve. We introduce SHIELD, a multi-agent, auto-healing defense framework centered on a three-stage Defense Agent that integrates semantic similarity retrieval, pattern matching, and LLM-based reasoning. Two auxiliary agents, a Knowledge Updating Agent and a Prompt Optimization Agent, form a closed self-healing loop, when an attack bypasses detection, the system updates an evolving knowledgebase, and refines defense instructions. Extensive experiments show that SHIELD consistently outperforms perplexity-based and standalone LLM defenses, achieving high F1 scores across both non-semantic and semantic sponge attacks, demonstrating the effectiveness of agentic self-healing against evolving resource-exhaustion threats.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑