🛰️ Daily AI Frontier
‹ back to 2026-09-11

SpecGuard: Inference-Time Backdoor Detection For Free

arXiv cs.CR LLM Security Rui Wen, Ahmed Salem, Andrew Paverd, Mark Russinovich, Zheng Li 2026-09-10

TL;DR - SpecGuard detects backdoor-triggered LLM behavior by reusing token-acceptance signals already produced during speculative decoding, adding no model-computation overhead. This enables always-on runtime monitoring without assumptions about trigger structure or extra generation passes.

  • Backdoor activation creates a prediction mismatch between a clean draft model and the compromised target model, changing draft-token acceptance rates.
  • The authors formalize this signal and argue that attackers cannot suppress it without weakening the backdoor.
  • SpecGuard reportedly works across multiple backdoor types and model families, including stealthy attacks missed by input-level filters.
  • The approach repurposes an existing inference optimization rather than adding separate detection computation.

view merged work →