arXiv(opens in a new tab)cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.22788

TailSieve: Partial-Rollout-Guided Tail Routing for LLM Rollouts

Tianqi Xu, Lu Lv, Haoyang Huang, Wenjie Huang, Zhanming Shen, Yuhao Shen, Baolin Zhang, Xinyi Hu, Shuang Ge, Jun Dai, Tianyu Liu, Suorong Yang, Zhikai Li, Ye Bai, Jun Zhang, Lei Chen, Yue Li, Mingchen Wan

Tianqi Xu ∗1,2^{*1,2}, Lu Lv ∗1^{*1}, Haoyang Huang ∗1,3^{*1,3}, Wenjie Huang ∗1,3^{*1,3}, Zhanming Shen 3^{3}, Yuhao Shen 3^{3}, Baolin Zhang 1^{1}, Xinyi Hu †1^{\dagger1}, Shuang Ge 1^{1}, Jun Dai 1^{1}, Tianyu Liu 1^{1}, Suorong Yang 4^{4}, Zhikai Li 5^{5}, Ye Bai 1^{1}, Jun Zhang †1^{\dagger1}, Lei Chen 1^{1}, Yue Li 1^{1} and Mingchen Wan 1^{1}

1^{1}Qwen Business Unit of Alibaba, 2^{2}Carnegie Mellon University, 3^{3}Zhejiang University, 4^{4}National University of Singapore, 5^{5}Institute of Automation, Chinese Academy of Sciences

∗^{*} Equal contribution. †^{\dagger} Corresponding author.

Uniform Routing

Figure

TailSieve

Mixed Batches Slow

Long-Tail Requests...

Qwen3.5-35B-A3B

Figure 1 | Overview of TAILSIEVE (left) and routing-with-speculation speedups on two Qwen3.5 models (right).

Large-scale rollouts have become a core component of modern LLM systems, spanning reinforcement learning (RL) post-training, on-policy distillation (OPD), and sampling-heavy evaluation pipelines. Unlike online serving, which is typically optimized for request-level latency and throughput, a small number of long-tail generations can dominate the end-to-end makespan of an entire rollout step. In practice, rollout requests are often routed uniformly across replicas, which can place extremely long generations inside high-concurrency decoding batches.

To address this, we present TAILSIEVE, a partial-rollout-guided framework that jointly controls tail routing and replica allocation for LLM rollouts. In an idealized setting with known completion lengths, we show that makespan-optimal routing in the long-tail regime combines tail isolation with load balancing, and that a simple top-k policy closely approximates this offline optimum. Leveraging the observation that long-tail prompts tend to remain long-tailed across policy updates, TAILSIEVE uses partial rollouts as a training-free signal for identifying candidate tail groups. A hierarchical controller then jointly adapts the number of isolated groups and the replica split between the tail and bulk pools using collected response-work history and a measured concurrency-throughput model. TAILSIEVE achieves up to 1.67× routing-only speedup over uniform group routing. The resulting low-concurrency tail pool further enables route-specialized speculative decoding with MTP or DFlash, achieving up to 2.59× speedup over uniform routing. Selected prompts are regenerated under the current policy, preserving on-policy generation and avoiding additional routing-induced length bias in steady state.

1. Introduction

Large-scale rollouts have become a fundamental component of modern large language model (LLM) pipelines. Reinforcement learning with verifiable rewards (RLVR) relies on repeatedly sampling responses and evaluating them with objective reward signals (Guo et al., 2025), while on-policy distillation (OPD) trains a student model on trajectories sampled from its own policy and supervised by a teacher model (Agarwal et al., 2024). Large-scale rollout generation is also widely used for synthetic data generation and sampling-intensive evaluation, such as pass@k and best-of-N evaluation (Wang et al., 2023; Chen et al., 2021). Across these settings, hundreds or thousands of responses may be generated in each optimization step, making rollout generation a dominant component of end-to-end training cost.

Unlike online serving systems, where the primary objectives are request-level latency, throughput, and cost efficiency (Qiu et al., 2024; Liu et al., 2026c; Yuan et al., 2026; Hu et al., 2026), synchronous rollout pipelines are governed by a different performance objective: step-level makespan. The optimization process cannot proceed until a required set of generations is completed. Therefore, the completion time of a rollout step is determined by the slowest unfinished requests. Since LLM response lengths exhibit strong skewness, a small number of extremely long generations can dominate the overall execution time and stall the entire rollout process.

The long-tail rollout problem has recently attracted increasing attention. Existing approaches mainly improve rollout efficiency from three perspectives. First, asynchronous or partial-rollout systems (Fu et al., 2025; Zhou et al., 2025; Qu et al., 2025; Kimi Team, 2025) reduce synchronization stalls by decoupling generation from optimization or carrying unfinished trajectories across steps; these designs must manage policy lag or cross-policy trajectory reuse. Second, tail-aware scheduling methods, including RollPacker (Gao et al., 2026) and StreamRL (Zhong et al., 2026), exploit output-length skewness to rebalance generation workloads. RollPacker improves efficiency through workload reorganization, while StreamRL relies on output-length prediction for skewness-aware dispatching. Third, speculative rollout methods (Qin et al., 2026; Shao et al., 2026; He et al., 2026; Xu et al., 2026; Liu et al., 2025a) accelerate decoding through prediction and verification, improving per-request generation efficiency.

Yet even with perfect knowledge of response lengths, the optimal routing strategy remains unclear: How should requests be distributed across replicas to minimize step-level makespan?

To answer this question, we begin by studying the offline optimal assignment, assuming that all response lengths are known in advance. Our analysis shows that, in the long-tail regime, the optimum exhibits a tail-isolation-with-balancing structure. It assigns a small number of extreme-tail requests to one replica, which we call the tail replica, while routing most requests to the other, or bulk replica. A small amount of additional traffic is assigned to the tail replica to balance the completion times of the two replicas. Thus, the optimum balances replica completion times rather than request counts. Moreover, a simple top-k isolation policy recovers most of the oracle gain without solving the full assignment problem (Sections 2.1 and 2.2; Figure 3).

This oracle result reveals the desired routing structure, but not how to realize it online. Response lengths are unknown before generation, and the best routing configuration varies with both the response-work distribution and concurrency-dependent decoding throughput. Consequently, neither a fixed isolation size nor a fixed replica split is optimal across workloads. The key opportunity is that this evolution is gradual: prompts that produce relatively long responses in one rollout round tend to remain relatively long in the next. Meanwhile, the overall response-length distribution also evolves progressively as the policy is updated, allowing the routing configuration to be tracked and adjusted online. We therefore use partial rollout to identify likely tail prompts for the next round. Prompt groups that remain unfinished at the cutoff form a training-free, high-recall candidate set (Section 2.3, Appendix B; Figure 4). An online hierarchical controller therefore jointly adjusts the isolation size and replica split. Its inner loop balances pool completion times, while its outer loop balances marginal-capacity pressure using response-work history and the measured concurrency–throughput model (Section 2.4; Figure 5). Together, these mechanisms lead to TAILSIEVE, a two-pool routing framework that identifies likely tail prompts through partial rollout and adapts tail workload and replica capacity as the rollout workload evolves.

Figure 1 illustrates the core design and headline results of TAILSIEVE. Unlike predictor-based skewness-aware dispatch, TAILSIEVE requires no auxiliary length model; unlike asynchronous or partial-rollout systems, it does not reuse unfinished trajectories across policy updates. Instead, it derives a training-free tail signal directly from partial rollout: groups unfinished at the cutoff become candidates for the next round and are regenerated on low-concurrency tail replicas. An online controller jointly adapts tail workload and replica capacity as the rollout workload evolves.

Unlike methods that drop long responses or accumulate them into separate tail-heavy rounds, TAILSIEVE only changes where long-tail prompts are executed. In steady state, regenerated tail responses and fresh bulk responses remain interleaved within every update batch, and all consumed responses are sampled from scratch under the current policy. Therefore, TAILSIEVE preserves on-policy generation and introduces no additional routing-induced length bias.

Our contributions are summarized as follows:

• We formulate long-tail-aware rollout routing as a step-level makespan minimization problem and characterize the offline optimum in the long-tail regime. The optimum follows tail isolation with load balancing, and a simple top-k policy closely approximates the exact oracle.

• We develop TAILSIEVE, a partial-rollout-guided framework for joint workload and replica allocation. Partial rollout provides a training-free prompt-level tail signal, while a hierarchical controller adjusts the isolated workload and replica split using pool completion times, response-work history, and measured decoding throughput. Regenerating selected prompts under the current policy preserves on-policy generation without introducing additional routing-induced length bias in steady state.

• We co-design tail routing with route-specialized speculative decoding and evaluate the resulting system across five Qwen models and two rollout workloads. TAILSIEVE achieves up to 1.67× routing-only speedup and up to 2.59× speedup with MTP or DFlash; end-to-end GRPO experiments further show that these gains persist as the policy and rollout distribution evolve.

References (67)