TriSpec: Ternary Speculative Decoding via Lightweight Proxy Verification
Haoyun Jiang, Junqi He, Feng Hong, Xinlong Yang, jianwei zhang, Zhengyang Zhuge, Zheng Li, Xiaofeng Cao, Zhiyong Chen, Bo Han, Junyang Lin, Jiangchao Yao
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Speculative Decoding Optimization · Type: new method · Keywords: speculative decoding, LLM inference acceleration, lightweight proxy verification, ternary verification, EAGLE-3 integration
Summary
TriSpec introduces a ternary speculative decoding framework with a lightweight proxy that reduces verification cost, achieving up to 35% speedup over standard SD.
Explained to a 5-year-old
TriSpec is a new trick that helps big computer programs, like chatbots, finish writing faster. It works like a game where the program guesses the next word, and a tiny helper checks if the guess is good. If the helper is sure, it says “yes” and the program moves on without using the big computer. If the helper is not sure, it asks the big computer to check the guess. This makes the whole process quicker and uses less power.
Explained to a 5-year-old, longer
TriSpec is a new idea that makes big language models write faster. It uses a two-step process: first a small model guesses what comes next. Then a lightweight checker looks at the guess to see if it is probably correct. If the checker is confident, it lets the guess pass without using the big model. If the checker is unsure, it asks the big model to verify the guess. This way the big model is only called when it is really needed. The result is that the whole writing process becomes much quicker. It also uses less computer power, which is good for the environment. The method can even work together with other speed-up tricks. Researchers tested it on popular language models and saw big speed gains. They found that the new method could speed up writing by up to 35% while using half as many big model calls. Overall, TriSpec helps make AI assistants faster and more efficient.
For a technical reader
TriSpec is a ternary speculative decoding framework that reduces the computational cost of verifying draft tokens during LLM generation. It introduces a lightweight proxy model that classifies draft sequences as easily verifiable or uncertain, allowing the full target model to be invoked only for uncertain tokens. By integrating with existing speculative decoding methods such as EAGLE-3, TriSpec can further lower verification overhead and achieve up to 35% end-to-end speedup. Experiments on Qwen3 and DeepSeek-R1-Distill-Qwen/LLaMA families demonstrate up to 50% fewer target model invocations while preserving accuracy. The approach is practical for production inference pipelines, offering a simple plug-and-play way to accelerate LLM decoding.
Problem
Large language model inference is limited by serial autoregressive generation, leading to high computational cost, especially for longer reasoning sequences. Existing speculative decoding methods have improved draft effectiveness but still incur high verification costs, limiting overall speedups.
Method
The approach introduces a lightweight proxy that classifies draft tokens as easily verifiable or uncertain, allowing the full model to be invoked only for uncertain tokens. This ternary verification scheme can be combined with existing speculative decoding methods to further reduce verification cost. The proxy is trained to minimize computational overhead while maintaining draft quality.
Results
The approach achieves up to 35% speedup over standard speculative decoding and reduces target model invocations by up to 50% while preserving comparable accuracy.
Contributions
It identifies verification cost as a critical bottleneck in speculative decoding and proposes a ternary verification framework with a lightweight proxy to lower computational demands. The method can be integrated with existing speculative decoding schemes to further improve acceleration.
Practical relevance
The method enables faster LLM inference on existing hardware, making large language models more practical for real-time and resource-constrained applications.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction