SelfJudge: Faster Speculative Decoding via Self-Supervised Judge Verification
Kanghoon Yoon, Minsub Kim, Sungjae Lee, Joonhyung Lee, Sunghyeon Woo, Yeonjun In, Se Jung Kwon, Chanyoung Park, Dongsoo Lee
TL;DR
The paper tackles latency in autoregressive LLM inference by improving speculative decoding through a self-supervised judge verifier. SelfJudge trains verifiers from the target model’s own semantics using a semantic preservation score, quantified as a likelihood difference when substituting draft tokens, enabling automatic data generation without ground-truth labels. Empirically, SelfJudge achieves faster inference with smaller drops in task performance across GSM8K, MATH-500, LiveCodeBench, CNN/DailyMail, and MMLU, outperforming prior AutoJudge baselines in both speed and robustness. The approach generalizes beyond math and coding to open-ended NLP tasks due to its automatic data generation and a lightweight, bidirectionally informed verifier, marking a practical advancement for scalable, fast LLM inference.
Abstract
Speculative decoding accelerates LLM inference by verifying candidate tokens from a draft model against a larger target model. Recent judge decoding boosts this process by relaxing verification criteria by accepting draft tokens that may exhibit minor discrepancies from target model output, but existing methods are restricted by their reliance on human annotations or tasks with verifiable ground truths, limiting generalizability across diverse NLP tasks. We propose SelfJudge, which trains judge verifiers via self-supervision of the target model. Our method measures semantic preservation by assessing whether token-substituted responses preserve the meaning of original responses, enabling automatic verifier training across diverse NLP tasks. Our experiments show SelfJudge achieves superior inference-accuracy trade-offs than judge decoding baselines, offering a broadly applicable solution for faster LLM inference.
