TL;DR

KnitTrans coordinates mini-batch admission, topology-aware trajectory storage and shared multimodal encoding. Large-model experiments report less pipeline-induced policy staleness and faster transfer plus training. Its maximum 5.8× speedup concerns that measured path, not the full rollout-to-convergence cost.

Why it matters

RL throughput depends on when completed trajectories become trainable and which payloads each worker actually needs. KnitTrans shows how preserving source quotas, reducing redundant transfers and reusing shared encoder computation can address different bottlenecks without treating all trajectory movement as a transport-bandwidth problem.

Key findings

  1. 01

    Progressive readiness targets allow early mini-batches to differ from the final source mixture. Before admission, feasibility guards check that remaining batch slots can still satisfy outstanding source quotas. This separates early training from whole-batch readiness while protecting the final composition.

  2. 02

    Trajectory fields and multimodal inputs are independently addressable storage units. Reads follow tensor/context-parallel consumer assignments; micro-batch preparation and pinned-memory staging overlap GPU computation. Shared multimodal inputs are encoded once per mini-batch, with gradients accumulated across backbone micro-batches before deferred encoder backpropagation.

  3. 03

    The implementation builds on VeRL, TransferQueue, SGLang and Megatron. Experiments use 32 nodes with eight Hopper-architecture GPUs each, GRPO with 16 rollouts per prompt and routing replay. Models are Qwen3-VL-235B, MiMo-V2.5-309B and DeepSeek-v3.2-671B, using FP8 training and inference.

  4. 04

    CodeAgent training mixes SWE-smith, Multi-SWE-bench, Terminal-Lego and Scale-SWE, with a 256K maximum context. Multimodal tests use two in-house video-grounding datasets at 64K context. DeepSeek is tested only on CodeAgent; the other two models cover both tasks.

  5. 05

    Architectural staleness is the excess parameter-version gap relative to a matched colocated run. With eight mini-batches, it drops from 1.01 to 0.07 steps for DeepSeek, approximately 93%; Qwen drops from 0.94 to 0.11 and MiMo from 0.96 to 0.19. This is not a 93% reduction in all sources of off-policy staleness.

  6. 06

    Across four multimodal model–dataset pairs, exposed transfer latency is reported 217.6–264.3× lower than the configured TransferQueue baseline, while transfer plus training improves 1.5–5.8×. The baseline spends roughly 380–520 seconds per step redistributing multimodal inputs, explaining why these gains depend strongly on data layout.

  7. 07

    For MiMo CodeAgent, the mean avg@n reward gap from colocated training shrinks from 0.082 with train-batch admission to at most 0.007 with four mini-batches. A separate trace-driven quota experiment reduces architectural staleness from 0.470 to 0.286 steps versus linear targets, a 39.2% relative reduction, while satisfying final quotas.

  • The 5.8× maximum is transfer-plus-training speedup, not total RL wall time, rollout throughput, time to a fixed held-out score or dollar savings. Exposed transfer latency measures waiting on the training critical path, not all network traffic or bandwidth.

  • The 93% maximum measures the additional version lag caused by disaggregated pipelining relative to colocated execution. Partial rollouts remain off-policy; the experiments retain a staleness bound of four and do not eliminate all stale tokens.

  • avg@n is mean reward over sampled rollouts, not SWE-bench pass@1 or independent held-out capability. The reported convergence comparison and trace-driven constraint replay provide different evidence and should not be combined into a single benchmark gain.

  • The video-grounding datasets are in-house, and gains depend on large multimodal payloads, shared inputs, model topology and a 256-GPU testbed. These results do not establish comparable speedups for small clusters or text-only workloads dominated by backbone computation.

  • The MegaScale-Data comparison is an adaptation implemented from its paper because original code was unavailable. Main results provide no independent-run confidence intervals, and the reviewed article does not link a KnitTrans-specific code release.

  • Author metadata differs across source views: this note follows the seven-author arXiv abstract record; the v1 HTML title block additionally lists Yun Ma. The discrepancy is recorded rather than silently treating the lists as identical.

Scaling dimensions

Models, methods & benchmarks

Models
Qwen3-VL-235B, MiMo-V2.5-309B, DeepSeek-v3.2-671B
Algorithms
GRPO, Constraint-preserving mini-batch admission, Multimodal encoding deduplication
Benchmarks
CodeAgent training mixture, Grounding A, Grounding B

Topics

Read the original sourcearXiv ↗