StaleFlow: Staleness-Aware Data Management for Mitigating Data Skewness in Fully Disaggregated RL Post-Training

Haoyang Li, Sheng Lin, Fangcheng Fu, Yuming Zhou, Xiaodong Ji, Yanfeng Zhao, Lefeng Wang, Jie Jiang, Bin CuiarXiv 2026

TL;DR

StaleFlow is a novel reinforcement learning (RL) post-training system designed for fully disaggregated architectures that simultaneously tackles data staleness and workload skewness. By tracking data at the fine-grained trajectory level and introducing middleware data servers, StaleFlow safely applies flexible rollout coordination strategies to boost system throughput by up to 2.68× without sacrificing model convergence.

What Problem Does This Paper Address?

Reinforcement learning post-training has become the cornerstone for developing advanced reasoning capabilities in modern large language models (e.g., DeepSeek-R1, OpenAI-o1). To scale these workloads, the industry is shifting toward fully disaggregated architectures, which decouple the three core phases of RL—rollout (generating responses), reward (evaluating responses), and training (updating parameters)—onto separate, specialized hardware resources.

While highly scalable, this asynchronous execution introduces two critical data-level challenges:

  1. Data Staleness: Because rollout and training happen asynchronously, rollout instances often generate data using older model parameters. If left unchecked, this version mismatch severely harms model convergence.
  2. Data Skewness: In reasoning tasks, response lengths vary wildly. Shorter trajectories finish quickly, leaving GPUs underutilized while waiting for long-tail responses to finish.
Workload imbalance and time breakdown in disaggregated RL post-training workflows.

Existing systems suffer from a fundamental trade-off: techniques that strictly control staleness restrict the flexibility needed to balance workloads (like migrating or interrupting trajectories), while aggressive load balancing breaks staleness guarantees.

Figure 2: Comparison of different RL systems. Higher values on the vertical axis indicate stronger support for rollout coordination.

Methods

StaleFlow resolves this tension by shifting staleness control from a coarse, system-wide metric to a fine-grained, trajectory-level protocol.

The system introduces three core components:

  • Global Consistency Protocol: Each trajectory is tagged with a Trajectory Version Identifier ($V_{traj}$). StaleFlow uses a virtual "staleness buffer" abstraction with a Reserve-then-Occupy mechanism. When a rollout begins, it reserves a worst-case slot in the training pipeline; when it finishes, it greedily occupies the earliest valid slot. This guarantees that no trajectory violates the user-defined staleness bound ($\eta$).
  • Middleware Data Servers: StaleFlow introduces a centralized Trajectory Server (TS) and a distributed Parameter Server (PS). Decoupling data movement from rollout execution allows the system to flexibly route, interrupt, or migrate trajectories across GPU instances without losing track of parameter versions.
  • Snapshot-Command Cycle: A centralized Rollout Coordinator continuously samples system states (KV cache usage, running trajectories) and issues optimization commands. To prevent the coordinator from acting on outdated information, StaleFlow uses a speculative state validation mechanism to ensure previous commands have taken effect before making new decisions.
Figure 6: (Left) Overview of StaleFlow. A staleness manager en- forces strict data staleness control, while a rollout coordinator and two data servers provide flexible, efficient rollout coordination to mitigate data skewness. (Right) Standard data flow in StaleFlow. Trajectories are sourced from the TS ( 1○) and flow through the roll- out, reward, and training phases ( 2○– 3○). After training a batch, updated model parameters are pushed to the PS ( 4○), and rollout instances selectively pull fresh parameters as needed ( 5○).

Datasets

The authors evaluated StaleFlow using standard mathematical reasoning benchmarks and datasets:

  • Training Datasets: GSM8K, MATH, and the DAPO-Math-17k dataset.
  • Evaluation Benchmarks: AIME24 (American Invitational Mathematics Examination 2024).

Key Insights and Ideas

  • Trajectory-Level Granularity is the Key: Prior systems tracked staleness by simply counting total "in-flight" data. By tracking individual trajectories, StaleFlow can safely mix-and-match complex coordination techniques—like partial rollouts, redundant rollouts, and cross-instance migrations—without risking convergence failure.
  • Unifying Coordination as Routing: The authors realized that synchronization and migration can be mathematically abstracted as routing decisions. This allowed them to build a single, precise cost model that estimates marginal throughput gains to optimize the entire system globally.
  • Tolerating Staleness Safely Pays Off: The system actively pushes trajectories to the maximum allowable staleness bound ($\eta$). Fully exploiting this slack gives the coordinator the breathing room it needs to smooth out workload imbalances.

Key Results

Evaluated on a 128-GPU cluster using models like Qwen2.5-Math-7B and Qwen3-30B-A3B, StaleFlow demonstrated substantial performance leaps:

  • Throughput Gains: StaleFlow achieved up to 1.42–2.68× (1.18–1.91× on average) higher throughput compared to state-of-the-art strict staleness control systems like VeRL-Async, AReaL, and Roll Flash.
  • Convergence Preserved: Algorithmic evaluations confirmed that StaleFlow achieves identical convergence curves and final evaluation scores to fully synchronous baselines, proving that its aggressive load balancing does not degrade model quality.
  • Low Overhead: The global consistency protocol adds less than 1% to end-to-end latency, and the middleware servers account for less than 3% of total execution time.

Limitations and Future Work

While StaleFlow excels at handling text-based reasoning models where sequence length variance is high, its current implementation is tailored primarily to large language model post-training architectures. The authors note that future work will focus on extending StaleFlow to support a broader range of reinforcement learning tasks, such as coding and agent-based workflows, as well as expanding its capabilities to handle multimodal models.

Summary updated

BibTeX
@misc{li2026staleflow,
  author = {Haoyang Li and Sheng Lin and Fangcheng Fu and Yuming Zhou and Xiaodong Ji and Yanfeng Zhao and Lefeng Wang and Jie Jiang and Bin Cui},
  title = {{StaleFlow: Staleness-Aware Data Management for Mitigating Data Skewness in Fully Disaggregated RL Post-Training}},
  year = {2026},
  eprint = {2601.12784},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.12784},
}
Figure