Skip to content

Study reveals the safety cost of speculative decoding and proposes the SecureSD hardening methodSecure Speculative Decoding for Large Language Models

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2610.08678· Yichi Zhang, Zhiqi Wang, Neil Gong, Yuchen Yang·Indexed by this site · 2026-10-07· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe study systematically measures the safety impact of speculative decoding and finds a clear safety-utility asymmetry: across several lossy speculative decoding methods, the increase in jailbreak and prompt injection attack success rates from inference efficiency gains is much faster than the utility decline. Based on this, the authors propose SecureSD, and theoretical analysis indicates that the safety degradation mainly comes from tokens generated early by the draft model, so stricter verification criteria are applied to draft tokens at early decoding positions. Experiments on safety and utility benchmarks show that SecureSD significantly improves safety while maintaining efficiency and utility.

Questions
Speculative decoding uses a small draft model to propose first, and a large target model to verify, reducing latency. Lossy verification relaxes acceptance for speed, but existing work mainly looks at efficiency and utility. The authors want to determine whether this relaxation weakens jailbreak and prompt injection defenses faster.
Methods
SecureSD does not change the verifier itself; it uses a correction schedule η to mix standard verification and relaxed verification by decoding position. η of 0 is standard verification, and 1 is the original relaxed rule. Default is a step schedule with L=1, applying standard verification only at the earliest position.
Experiments and results
On Qwen3-0.6B/8B, the average PRR across the six lossy methods is 0.744 on safety benchmarks and 0.905 on utility benchmarks. Adding the default SecureSD brings the average ΔPRR for that pairing on Jailbreak-SD to +0.270. Llama3 generally needs a larger L to approach this recovery.
Limitations and future work
The authors state that more diverse adaptive attacks should also be evaluated, and that SecureSD does not eliminate existing vulnerabilities in the target model. The experiments cover four draft–target pairings and six lossy verifiers; AgentDojo is only reported for Qwen3-0.6B/8B. The paper does not report the number of repetitions.

Related events and news

2 events · 1 news mentions

News that mentions this paper

Adversa AI 11月精选24项GenAI安全资源

Related papers

Show 3 more papers
Read originalarxiv.org