LEDE reframes speculative decoding as an MDP and applies offline RL to learn dynamic policies for exit layer and speculation length selection, delivering 2.0-2.7x speedups over autoregressive decoding on Llama-2/3 models.
Experience-Driven Dynamic Exits for LLMs with Reinforcement Learning
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
Large Language Models suffer from slow autoregressive inference. While self-speculative decoding accelerates this process, its efficiency is hampered by static configurations like fixed exit layers and speculation lengths. We reframe this optimization as a \textbf{Markov Decision Process} and propose \textbf{LEDE}, a framework that uses offline reinforcement learning. LEDE learns a policy to dynamically select the optimal exit layer and speculation length based on the local context of the generated sequence at each step, balancing computational cost and draft quality. Comprehensive evaluations on Llama-2 and Llama-3 models show LEDE achieves up to a $2.0\times$$\sim$$2.7\times$ speedup over autoregressive decoding and and provides an additional 17\% speedup over the static speculative baselines.
fields
cs.CL 1years
2026 1verdicts
UNVERDICTED 1representative citing papers
citing papers explorer
-
Experience-Driven Dynamic Exits for LLMs with Reinforcement Learning
LEDE reframes speculative decoding as an MDP and applies offline RL to learn dynamic policies for exit layer and speculation length selection, delivering 2.0-2.7x speedups over autoregressive decoding on Llama-2/3 models.