arXiv:2611.06984cs.AINov 2026

Manuscript Offprint

arXiv:2611.06984

Resource-Efficient Reinforcement Learning Post-Training through Elastic Expert Parallelism

Jia Wei, Ziyi Qiu, Yi Xu, Xuehai Qian

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

ABSTRACT

Reinforcement learning post-training improves the capabilities of large language models, but generating training responses is a major computational bottleneck. In mixture-of-experts models, workers that finish their assigned responses may remain occupied because their experts are still needed by workers processing longer responses. Consequently, approximately one-third of occupied worker time in the baseline occurs after local response generation finishes. Here we present FlexFloor, a system that enables earlier resource release during synchronous response generation while preserving the expert computation required by ongoing responses. FlexFloor jointly adapts response scheduling and the active group of workers. It uses historical response lengths and memory constraints to guide batching and prompt placement, then progressively releases workers while maintaining expert availability and correct communication. Compared with the verl baseline, FlexFloor generates approximately 65.40% more response tokens per unit of occupied computing time and increases response generation throughput by 52.74%, with little observed variation in rollout reward. By making reinforcement learning post-training more efficient, FlexFloor supports faster development and iterative improvement of large language models and AI agents.

1 INTRODUCTION

Reinforcement-learning (RL) post-training generates multiple responses to a prompt, scores them, and updates a shared policy (Ouyang et al., 2022, Shao et al., 2024). Sparse mixture-of-experts (MoE) models increase parameter capacity while activating only selected experts for each token (Shazeer et al., 2017, Lepikhin et al., 2021, Fedus et al., 2022). Expert parallelism (EP) distributes those experts across cooperating ranks. Long-tail generation leaves locally finished ranks waiting for the rollout to end. It must nevertheless remain in expert dispatch, computation, and combine because unfinished responses elsewhere still require access to its experts.

This coupled tail creates two related but distinct inefficiencies. Long responses extend rollout wall time. Completed ranks also remain allocated even when remaining responses fit on fewer ranks that collectively host the full expert set. We call this completed-but-coupled interval dummy run. The name describes allocation rather than claiming that every kernel is a no-op. Reclaiming the interval requires changing expert placement and collective membership, not simply declaring the device idle.

We evaluate FlexFloor through two primary metrics. Rollout throughput counts generated response tokens per second. Rank-time resource efficiency counts the same response work per actually occupied rank-second. The second metric includes both faster execution and fewer occupied ranks. It charges preparation, transition, cleanup, and restoration whenever the primary job owns the rank. Releasing devices from dummy execution saves rank-time regardless of subsequent use.

Tail-aware batching and prediction reduce response skew (Gao et al., 2026, He et al., 2026), while worker-level reuse exploits slack between workers (Hu et al., 2026). FlexFloor targets the remaining coupling inside the EP group of an active worker. Three requirements must be satisfied together. Prompt placement must advance a completion quorum rather than merely minimize pairwise length gaps. Survivors must retain expert availability and sufficient KV capacity. Finally, the runtime must change and restore the distributed world without violating collective ordering or the assumptions of its decode graphs.

FlexFloor combines historical length prediction and guarded epoch batching with floor-conditioned KV admis-sion and quota-aware prompt matching. For each step it selects a feasible survivor ladder and maps prompt groups to physical rank roles. Its elastic runtime waits for observed completions, detaches finished ranks, and continues on fewer ranks hosting all model experts. Direct graph reuse is unsafe across these topology changes. We design topology-aware full-decode recapture and native-sleep lifecycle management for FlexFloor, keeping expert placement, communicators, weights, and KV state consistent with each capture.

We implement two variants to trade throughput against rank-time resource efficiency. Natural constructs survivor resources on demand to favor resource reclamation, whereas Planned pre-provisions them to reduce transition overhead and favor throughput. On the same graph-enabled backend, the evaluated Planned variant improves throughput by 52.74% and rank-time resource efficiency by approximately 65.40% over the verl baseline. Both figures use the same configuration and generated-work accounting. Controlled experiments additionally isolate quota-aware placement, compare configured eager and graph paths, and demonstrate actual sidecar inference with exact paired primary outputs. An additional code workload improves throughput by 22.02% under matched frozen-policy rollout, with sampled pass@1 of 70/160 versus 71/160.

The paper makes three contributions.

  • We identify EP-coupled rank occupancy as a resource-efficiency problem beyond rollout wall time and establish consistent throughput and occupied rank-time accounting.

  • We design a latency-guarded, KV-aware planner that jointly chooses completion quorums, prompt placement, and feasible EP floors.

  • We implement lossless elastic EP execution with topology-aware graph recapture and lifecycle management, and evaluate throughput, rank-time efficiency, and quality on mathematics and code workloads using a common backend.