NeurIPS 2026QuestionsPapersAreasAboutMarkdown

SPIRIT: Speed-Driven Online Adaptation for Self-Speculative Decoding

Chenghao Liu, Hui Lu, Chengbo Zhan, Jia Rao

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Speculative Decoding Optimization · Type: new method · Keywords: self-speculative decoding, online adaptation, throughput optimization, layer-skipping, LLM inference

Summary

SPIRIT is a speed-driven online adaptation framework for self-speculative decoding that directly optimizes realized decode throughput using runtime feedback, achieving up to 1.74× speedup over baselines.

Explained to a 5-year-old

Computers make up stories word by word, which can be slow. A new idea lets the computer skip some steps to go faster, but it must choose the right steps. It watches how fast the computer works and picks the best steps to skip. This makes the computer talk faster while still giving the same answers. It helps computers give quick answers in many different situations.

Explained to a 5-year-old, longer

When you ask a computer to tell a story, it writes each word one after another. Writing each word takes time, especially for long stories. Some scientists thought they could make the computer faster by letting it skip some words. But skipping the wrong words could make the story wrong, so they needed a smart way to decide. The new idea watches how fast the computer is working while it tells the story. It looks at how often the computer guesses right and how fast those guesses happen. By checking both how correct and how quick the guesses are, it picks the best words to skip. This way the computer can go faster without making mistakes. It also changes its skipping plan when the story gets longer or the computer works differently. The method works on many kinds of stories and with different computer sizes. As a result, the computer can give answers much quicker, up to almost twice as fast. This makes using big computer helpers easier and faster for everyone.

For a technical reader

SPIRIT is a runtime-aware adaptation framework for self-speculative decoding that directly optimizes token generation throughput by measuring tokens per second. It first selects an optimal skip ratio that balances draft-target agreement and intrinsic speed gains, then refines layer-skipping patterns within that ratio. The system incorporates length-aware normalization and shift-aware profiling to quickly adjust to task changes and non-stationary request streams. Empirical evaluations across multiple tasks and model scales show up to 1.74× speedup over existing training-free baselines while preserving output distributions. This approach provides a practical, plug-and-play solution for high-throughput LLM inference without requiring offline profiling or retraining.

Problem

Self-speculative decoding aims to accelerate LLM inference, but existing methods rely on agreement-based proxies and ignore runtime differences, leading to suboptimal throughput when layer-skipping configurations have similar acceptance but different speed. The challenge is to identify effective layer-skipping configurations online without retraining or offline profiling to maximize realized decode throughput.

Method

The approach uses window-level runtime feedback to directly optimize generated tokens per second, first selecting an effective skip ratio that balances consistency and speed, then refining layer-skipping patterns within that ratio. It incorporates length-aware normalization and shift-aware profile-based adaptation to handle task shifts and non-stationary request streams.

Results

Across diverse tasks and model scales, the approach consistently outperforms strong training-free baselines, achieving up to 1.74× speedup while preserving the target model's output distribution.

Contributions

It introduces a speed-driven online adaptation framework that directly optimizes realized decode throughput, leverages skip ratio as a control variable, and provides length-aware and shift-aware adaptation for rapid response to task shifts. The work establishes a practical foundation for plug-and-play, high-throughput LLM inference.

Practical relevance

It enables fast, plug-and-play acceleration of LLM inference on diverse workloads, making high-throughput deployment more practical for practitioners.

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