检测的盲区:针对分布式大语言模型(LLM)推理中看门狗的对抗扰动攻击
The Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM Inference
AI总结:
本研究提出Hush-Up攻击,利用分布式LLM推理中看门狗的局部数值验证盲区,通过优化对抗扰动使模型提前终止生成,且能逃避检测,暴露了局部验证与端到端问责的差距。
摘要:
将大语言模型(LLM)推理去中心化到不可信的Web节点上需要强大的验证机制以确保计算完整性。现有的基于激活的验证与检测机制会将中间输出与参考值进行比对,允许一定的数值偏差以容纳良性的跨硬件差异。然而,一个关键的安全问题仍未解决:恶意工作节点在这些容差范围内能实现什么?在本研究中,我们提出了Hush-Up,一种针对分布式LLM推理的隐蔽可用性攻击,单个恶意工作节点可在逃避归因的同时停止生成。攻击者首先对其本地执行进行分析,以建立良性硬件错误的经验边界;将该错误边界作为可行性约束,攻击者对其输出激活优化对抗扰动,以最大化序列结束(EOS)标记的最终层概率,即“使模型沉默”。在多种模型和基准测试中,Hush-Up可有效迫使生成提前终止并破坏模型能力。此外,该攻击还能“使看门狗本身沉默”:现有防御措施往往无法完全检测到破坏行为,或错误地将放大的下游异常归因于诚实工作节点。我们的发现揭示了局部数值验证与端到端问责之间的根本差距:局部不足以指控工作节点的扰动,却足以全局破坏分布式推理。
英文摘要:
Decentralizing large language model (LLM) inference across untrusted Web nodes requires robust verification to ensure computational integrity. Existing activation-based verification and detection mechanisms validate intermediate outputs against reference values, permitting bounded numerical deviations to accommodate benign cross-hardware discrepancies. However, a critical security question remains: what can a malicious worker achieve while operating within these tolerance bounds? In this work, we introduce Hush-Up, a stealthy availability attack against distributed LLM inference, where a single malicious worker halts generation while evading attribution. The attacker first profiles its local execution to model an empirical bound of benign hardware errors. Using this error bound as a feasibility constraint, the attacker optimizes an adversarial perturbation on its output activations to maximize the final-layer probability of the end-of-sequence (EOS) token, i.e., to hush up the model. Across diverse models and benchmarks, Hush-Up effectively forces premature generation termination and collapses model capabilities. Furthermore, the attack hushes up the watchdogs themselves: existing defenses often fail to detect the sabotage entirely or falsely attribute the amplified downstream anomalies to honest workers. Our findings expose a fundamental gap between local numerical verification and end-to-end accountability: perturbations too small to indict a worker locally can nevertheless be powerful enough to break distributed inference globally.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。