通过语义缓存、嵌套学习和AI可持续性缓解提示注入
Prompt Injection Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Caching
AI总结:
本文通过语义缓存、嵌套学习和AI可持续性方法,提出了一种缓解提示注入的系统,实现安全、高效且环保的LLM部署。
摘要:
提示注入仍然是安全部署大型语言模型的主要障碍,尤其是在多智能体设置中,中间输出可能传播或放大恶意指令。在先前引入四维总注入漏洞评分(TIVS)的工作基础上,本文扩展了评估框架,加入基于语义相似性的缓存和第五指标(可观察性评分比),以获得TIVS-O,研究防御效果与透明度在受HOPE启发的嵌套学习架构中的相互作用。所提出的系统结合了智能体流水线与实现跨301个合成注入聚焦提示的语义相似性缓存的连续记忆系统,这些提示来自十个攻击家族,同时第四个智能体使用五个关键性能指标进行全面的安全分析。除了传统注入指标外,OSR量化了每个智能体暴露的安全相关推理的丰富性和清晰度,使能够显式分析严格缓解与可审计性之间的权衡。实验表明,系统实现了无高风险漏洞的安全响应,同时语义缓存带来了显著的计算节省,实现了41.6%的LLM调用减少,并相应地减少了延迟、能耗和碳排放。五种TIVS-O配置揭示了缓解严格性与取证透明度之间的最佳权衡。这些结果表明,可观察性意识的评估可以在多智能体流水线中揭示非单调效应,并且记忆增强的智能体可以共同最大化安全稳健性、实时性能、运营成本节省和环境可持续性,而无需修改底层模型权重,提供了一条安全且绿色的LLM部署的生产就绪路径。
英文摘要:
Prompt injection remains a central obstacle to the safe deployment of large language models, particularly in multi-agent settings where intermediate outputs can propagate or amplify malicious instructions. Building on earlier work that introduced a four-metric Total Injection Vulnerability Score (TIVS), this paper extends the evaluation framework with semantic similarity-based caching and a fifth metric (Observability Score Ratio) to yield TIVS-O, investigating how defence effectiveness interacts with transparency in a HOPE-inspired Nested Learning architecture. The proposed system combines an agentic pipeline with Continuum Memory Systems that implement semantic similarity-based caching across 301 synthetically generated injection-focused prompts drawn from ten attack families, while a fourth agent performs comprehensive security analysis using five key performance indicators. In addition to traditional injection metrics, OSR quantifies the richness and clarity of security-relevant reasoning exposed by each agent, enabling an explicit analysis of trade-offs between strict mitigation and auditability. Experiments show that the system achieves secure responses with zero high-risk breaches, while semantic caching delivers substantial computational savings, achieving a 41.6% reduction in LLM calls and corresponding decreases in latency, energy consumption, and carbon emissions. Five TIVS-O configurations reveal optimal trade-offs between mitigation strictness and forensic transparency. These results indicate that observability-aware evaluation can reveal non-monotonic effects within multi-agent pipelines and that memory-augmented agents can jointly maximize security robustness, real-time performance, operational cost savings, and environmental sustainability without modifying underlying model weights, providing a production-ready pathway for secure and green LLM deployments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。