Research Papers 论文研究 5h ago Updated 1h ago 更新于 1小时前 51

Groundhog Bit-Flip Attack: Seeding Infinite Generation Loops in Mixture-of-Experts LLMs through Bit Flips Groundhog比特翻转攻击:通过比特翻转在混合专家LLM中植入无限生成循环

Groundhog Bit-Flip Attack (GBFA) is the first bit-flip-based Denial-of-Wallet availability attack targeting Mixture-of-Experts (MoE) LLMs The attack exploits the correlation between specific experts and certain tokens (e.g., end-of-sequence), allowing adversaries to manipulate model behavior through lightweight routing-layer perturbations Manually deactivating fewer than 4 experts on average across four real-world MoE LLMs drives output inflation to 5912%, with most samples reaching maximum toke 提出GBFA(Groundhog Bit-Flip Attack),首个针对MoE架构LLM的位翻转拒绝服务攻击 利用MoE路由机制中特定专家与终止token(EOS)的强关联性,通过翻转路由层比特实现攻击 在4个真实MoE LLM上,平均停用少于4个专家即可实现5912%的输出膨胀 攻击在对话、推理和智能体三种任务模式下均有效,同时保持语义保真度

72
Hot 热度
78
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • Groundhog Bit-Flip Attack (GBFA) is the first bit-flip-based Denial-of-Wallet availability attack targeting Mixture-of-Experts (MoE) LLMs
  • The attack exploits the correlation between specific experts and certain tokens (e.g., end-of-sequence), allowing adversaries to manipulate model behavior through lightweight routing-layer perturbations
  • Manually deactivating fewer than 4 experts on average across four real-world MoE LLMs drives output inflation to 5912%, with most samples reaching maximum token limits
  • GBFA successfully extends decoding token usage across conversational, reasoning, and agentic task modes while largely preserving semantic fidelity
  • The findings reveal a fundamental robustness vulnerability in MoE architectures to bit-flip attacks, with significant implications for LLM availability and cost security

Why It Matters

This research exposes a critical and previously unexplored attack surface in MoE-based LLM deployments: the routing mechanism that enables efficiency also introduces fragility to adversarial bit manipulation. For AI practitioners and infrastructure providers, this means that cost controls and availability guarantees cannot be taken for granted, as minimal perturbations can trigger massive token inflation without degrading output quality enough to trigger detection.

Technical Details

  • Attack vector: GBFA targets the routing layer of MoE architectures, specifically flipping bits associated with expert activations that are disproportionately correlated with tokens like end-of-sequence (EOS), effectively preventing the model from terminating generation
  • Attack classification: Categorized as a Denial-of-Wallet availability attack, where the goal is not model hijacking or data extraction but rather inflating computational costs to exhaustion
  • Experimental scope: Evaluated across four real-world MoE-based LLMs and three distinct operational modes—conversational, reasoning, and agentic tasks—demonstrating consistent vulnerability across diverse use cases
  • Key metric: Average output inflation of 5912% achieved by deactivating fewer than 4 experts per model, with the majority of test samples hitting maximum token limits, indicating near-complete breakdown of generation control
  • Preservation of fidelity: A critical feature of GBFA is that it maintains semantic coherence in outputs, making the attack difficult to detect through standard quality monitoring or output inspection

Industry Insight

  • Security auditing must expand to routing layers: MoE model providers and deployers should treat expert routing mechanisms as a first-class security concern, implementing bit-level integrity checks and anomaly detection on routing decisions rather than focusing solely on input/output monitoring
  • Cost protection mechanisms need architectural redesign: Current token-limit enforcement is insufficient against attacks that exploit the model's own generation logic; providers should consider hard routing constraints, expert activation budgets, or secondary termination validators to complement existing safeguards
  • MoE adoption requires new threat models: As MoE architectures become the dominant scaling strategy for LLMs, the industry must develop standardized benchmark suites for routing-layer robustness, similar to how adversarial robustness benchmarks exist for dense models, to prevent cost-based availability attacks from becoming a systemic risk

TL;DR

  • 提出GBFA(Groundhog Bit-Flip Attack),首个针对MoE架构LLM的位翻转拒绝服务攻击
  • 利用MoE路由机制中特定专家与终止token(EOS)的强关联性,通过翻转路由层比特实现攻击
  • 在4个真实MoE LLM上,平均停用少于4个专家即可实现5912%的输出膨胀
  • 攻击在对话、推理和智能体三种任务模式下均有效,同时保持语义保真度

为什么值得看

MoE架构已成为主流LLM设计范式,该研究揭示了其路由机制存在的安全漏洞,对保障MoE模型部署安全具有重要参考价值。

技术解析

  • MoE架构通过路由机制选择性激活专家子网络以实现可扩展性,但自适应设计引入了新的攻击面:特定专家与某些token(如end-of-sequence)过度关联
  • GBFA通过识别并翻转路由层中与相关专家激活关联的比特位,实现对模型行为的轻量级扰动操控
  • 在对话、推理和智能体三种LLM模式下,GBFA均能显著延长解码token使用量,同时保持语义保真度
  • 实验覆盖四个主流真实MoE LLM,手动停用平均少于4个专家即可驱动平均输出膨胀达5912%,多数测试样本达到最大token限制

行业启示

  • MoE架构需加强路由层的安全防护设计,建立针对位翻转攻击的鲁棒性评估标准
  • 模型部署方应将此类可用性攻击纳入安全风险评估框架,特别是在计费场景下防范"拒绝付费"攻击
  • 未来MoE模型设计需在效率与安全性之间寻求平衡,考虑路由机制的抗攻击能力

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Security 安全 Research 科学研究 Inference 推理