效率反噬:对抗攻击下级联LLM引发级联故障
When Efficiency Backfires: Cascading LLMs Trigger Cascade Failure under Adversarial Attack
AI总结:
研究探讨了级联LLM系统在对抗攻击下的脆弱性,提出了一种新的攻击框架,通过约束序列协同优化对抗后缀,在级联依赖下同时利用轻量级模型和决策机制,验证了此类攻击的有效性和严重性。
摘要:
大型语言模型(LLM)级联系统通过使用轻量级模型处理查询并选择性地将复杂情况升级到更强大的模型,旨在平衡效率和性能。此类系统旨在减少计算成本和延迟,同时保持任务性能,使其成为大规模部署的有吸引力的选择。然而,级联设计通过扩展的攻击面引入了新的漏洞:轻量级前端模型和内部决策机制的引入带来了新的弱点。在本文中,我们首次研究了LLM级联系统对目标对抗操纵的易受性,这种操纵破坏了性能目标和级联设计的预期成本优势。我们提出了一种新的攻击框架,通过约束序列协同优化对抗后缀,在级联依赖下同时利用轻量级模型和决策机制。该框架适应于不同能力的对手,导致成本效率和准确性可控的降级。与以往针对独立模型的攻击不同,我们的方法战略性地利用级联结构,以实现更强的冲击效果。在多样化的数据集和代表性LLM级联系统上进行了广泛的实验,验证了此类攻击的实用性和严重性。我们的发现突显了对LLM级联系统安全性的严格审查的紧迫性,并呼吁对这种设计固有的系统风险引起更广泛的关注。
英文摘要:
Large Language Model (LLM) cascade systems are designed to balance efficiency and performance by processing queries with lightweight models while selectively escalating complex cases to more powerful ones. Such systems seek to reduces computational cost and latency while maintaining task performance, making it an appealing choice for large-scale deployment. However, the cascade design introduces new vulnerabilities through an expanded attack surface: the inclusion of lightweight front-end models and internal decision mechanisms introduces new weaknesses. In this work, we present the first study demonstrating that LLM cascade systems are susceptible to targeted adversarial manipulation, which disrupts both performance objectives and the intended cost advantages of the cascade design. We propose a novel attack framework that employs constrained sequential collaborative optimization of adversarial suffix under cascade dependencies, enabling simultaneous exploitation of lightweight models and decision mechanisms. This framework adapts to adversaries with varying capabilities, inducing controllable degradation in both cost-efficiency and accuracy. Unlike prior attacks targeting standalone models, our approach strategically leverages the cascade structure to achieve significantly stronger impact. Extensive experiments across diverse datasets and representative LLM cascade systems validate the practicality and severity of this attack. Our findings highlight the urgent need to rigorously scrutinize the security of LLM cascade systems and call for broader attention to the systemic risks inherent in such designs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。