arXiv(opens in a new tab)cs.CLSep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.01068

OUTLETS: Output-Length Prediction from Speculative Decoding Backbones

Weihuang Wen, Yingying Liu, Yichuan Liu, Wenqi Zeng, Li Zhou, Chumin Sun, Jie Sun, Tianshu Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The heavy-tailed distribution of output lengths in Large Language Model (LLM) serving poses major challenges for resource provisioning and cluster scheduling. Although output-length prediction can mitigate these issues, existing approaches have key drawbacks: external proxy models add substantial latency and often have limited fidelity, whereas internal state-based methods are efficient but rely on shallow probes of current model states. We identify a structural connection between speculative decoding (SD) and length prediction: latent representations produced by the draft decoder in advanced frameworks (e.g., EAGLE-3) encode signals that are predictive of generation length. Building on this insight, we introduce OUTLETS (Output-Length Prediction from Speculative Decoding Backbones), which repurposes the speculative backbone as a trajectory-aware length predictor. When its draft representations are already computed for speculative decoding, OUTLETS adds only a lightweight regression head and achieves lower MAE than the evaluated methods. Under saturated disaggregated serving, OUTLETS predictions enable standard scheduling policies to prioritize shorter requests and distribute requests more evenly across decoding instances, reducing short-request P99 latency by 34.8%.

1 Introduction

The efficiency of Large Language Model (LLM) serving is fundamentally constrained by the stochastic nature of autoregressive generation. To improve hardware utilization, modern deployment systems increasingly adopt disaggregated serving architectures (Zhong et al., 2024; Patel et al., 2024), which decouple prefill and decoding to support massive concurrency and large batch sizes. Unlike traditional deep learning workloads with deterministic tensor shapes, however, LLM inference

exhibits substantial variance. As illustrated in Figure 1a, different user requests impose highly heterogeneous computational loads, while Figure 1b shows that output lengths can vary by orders of magnitude even within the same model family. This variability creates severe system-level bottlenecks when concurrency slots or KV-cache capacity become saturated. In particular, standard First-Come-First-Served (FCFS) schedulers suffer from Head-of-Line (HOL) blocking, where short, latency-sensitive requests are delayed behind unexpectedly long generations, severely degrading tail latency (Fu et al., 2024). At the same time, output-length uncertainty makes agnostic dispatching policies such as round-robin ineffective: without trajectory awareness, they cannot balance load across decoding instances, leading to resource fragmentation and reduced throughput. As a result, effective scheduling and resource provisioning depend critically on the ability to anticipate generation trajectories.

To address this challenge, output length prediction has emerged as a key primitive for advanced scheduling policies. Yet existing methods face a persistent trade-off between overhead and accuracy. Proxy-based approaches, such as external BERT regressors, often incur substantial latency and memory overhead while offering limited predictive fidelity. More recent internal state-based methods improve efficiency by attaching lightweight Multilayer Perceptron (MLP) to the LLM hidden states. However, these predictors remain shallow and therefore cannot fully exploit the rich semantic and structural information already present in the model representations, especially the long-range signals associated with generation dynamics.

A parallel line of research reduces latency through speculative decoding (SD). SD accelerates generation by using a drafter to propose future tokens, which are then verified by the target model.

*Corresponding authors.

Figure

(a) Workload Variability. Distinct application scenarios (e.g., summarization vs. coding) exert drastically different pressures on GPU memory and computational load.

Figure

(b) Output Length Distributions. Empirical analysis of Qwen3-30B-A3B outputs reveals length variance spanning orders of magnitude.

Figure 1: The challenge of variance in LLM serving. High stochasticity in output length degrades scheduler efficiency.

We observe a previously underexplored connection between SD and length prediction: both depend on modeling the future evolution of a sequence. In advanced SD frameworks such as EAGLE-3 (Li et al., 2025), the draft decoder constructs hierarchical lookahead features to model upcoming token trajectories. This differs from conventional hidden-state probing: a probe attached to the target LLM observes states optimized for immediate next-token prediction, whereas a speculative draft decoder is trained to roll representations forward. Since termination is a property of the future continuation, these lookahead states provide a natural substrate for length prediction.

Motivated by this observation, we propose OUTLETS (Output-Length Prediction from Speculative Decoding Backbones), a unified framework with a shared speculative backbone. OUTLETS connects speculative decoding and output-length prediction at the representation level. Our goal is not to introduce a new scheduling policy, but to study whether speculative lookahead features can provide the missing length signal needed by existing scheduling mechanisms. This design repurposes the speculative backbone as a trajectory-aware predictor and reuses computation from the shared drafting graph; when the speculative backbone is already available, the additional cost is dominated by a lightweight regression head. We further show that the resulting predictions provide an effective scheduling signal in a disaggregated serving system.

Our contributions are summarized as three empirically validated claims:

  1. Speculative lookahead states provide use-

ful length-prediction features. We reveal a structural connection between speculative decoding and length prediction, and show that draft-decoder representations overcome the expressivity limitations of simple MLP probes over target-model hidden states.

  1. Length prediction is compatible with draft-model training. OUTLETS uses a dual-head framework to jointly optimize token drafting and length regression, and ablations show that the auxiliary objective preserves speculative acceptance while retaining strong static prediction accuracy.

  2. The resulting predictions are useful scheduling signals. We integrate OUTLETS-derived predictions into a real disaggregated serving system, where standard load balancing and Shortest-Job-First scheduling reduce short-request P99 latency and improve throughput.

References (1)

  • Following the saturated-regime scope in Section 5.3, speculative acceleration is disabled in all configurations