# Batched Early-Exit LLM Inference Done Right with DREX

DevFeed: [Batched Early-Exit LLM Inference Done Right with DREX](<https://devfeed.tech/articles/batched-early-exit-llm-inference-done-right-with-drex-131506.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2512.15705>)

Author: Xuting Liu, Daniel Alexander, Jiaheng Lu, Siva Kesava Reddy Kakarla, Behnaz Arzani, Vincent Liu

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [batching](<https://devfeed.tech/tags/batching.md>), [controller](<https://devfeed.tech/tags/controller.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decode](<https://devfeed.tech/tags/decode.md>), [deep](<https://devfeed.tech/tags/deep.md>), [llama](<https://devfeed.tech/tags/llama.md>), [llm-inference](<https://devfeed.tech/tags/llm-inference.md>), [memory](<https://devfeed.tech/tags/memory.md>), [next](<https://devfeed.tech/tags/next.md>), [quality](<https://devfeed.tech/tags/quality.md>), [serving](<https://devfeed.tech/tags/serving.md>), [skip](<https://devfeed.tech/tags/skip.md>), [synthetic](<https://devfeed.tech/tags/synthetic.md>), [system](<https://devfeed.tech/tags/system.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [using](<https://devfeed.tech/tags/using.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

## AI overview

DREX batches tokens that continue past an early-exit layer so a single deep-model pass can process waiting tokens across several decoding steps, avoiding repeated deep-weight reads without forcing exits. Its controller uses a calibrated cost model to choose between holding tokens until verification and speculative holding, which lets them decode from the exit layer's guess until a later deep pass verifies it; exited tokens are not verified. In reported evaluations, synthetic exits on Llama-2-70B yielded 2.22-2.24x decode speedup over non-early-exit inference, while per-row skipping gained at most 7.0%. With LayerSkip on CNN/DM at full memory, DREX achieved 1.58-1.91x speedup within 1.4 ROUGE-2 points of the non-early-exit model. The abstract reports no statistically resolved quality loss beyond LayerSkip's own early-exit model and says DREX's speedups were 9-63% larger than EAGLE's, each compared with its own non-early-exit target.

## Source excerpt

arXiv:2512.15705v2 Announce Type: replace Abstract: Early-exit (EE) LLMs let confident tokens skip a model's deep layers, but batched serving loses most of this gain. Current systems either force tokens to exit before their own ramp is confident, an error the ramp does not bound, or save almost nothing when decoding is weight-bound, because any continuing token makes a step read the deep weights. We present DREX, a batched EE serving system that never forces a token to exit. DREX introduces cross-iteration batching: tokens that continue past the exit layer wait there, and every few steps one deep pass over all waiting tokens reads the deep weights once for several steps. Its two policies differ in what such a token's request does: holding pauses it until the deep pass, and speculative holding lets it keep decoding from the exit layer's own guess, which the next deep pass verifies. Exited tokens are trusted and never verified. Using a calibrated cost model, a controller picks speculative holding where reading weights dominates a step and guesses are often right, and holding elsewhere. DREX keeps vLLM's asynchronous scheduling by planning each deep pass from exit counts of earlier steps. With synthetic exits where 90% of tokens exit at a quarter of the depth and 40% of guesses are correct, DREX achieves 2.22-2.24$\times$ decode speedup over non-EE across batch sizes on Llama-2-70B, while per-row skipping (vSkipper's design) gains at most 7.0%. On LayerSkip models, DREX adds no statistically resolved quality loss to the EE model's own. On CNN/DM at full memory, DREX with LayerSkip achieves 1.58-1.91$\times$ decode speedup while remaining within 1.4 ROUGE-2 points of the non-EE model. These speedups are 9-63% larger than EAGLE's across the evaluated model sizes, with each method measured against its own non-EE target.