TL;DR
Interactive world models generate playable video streams on the fly, but serving them in real time is a juggling act: you need instant startup, zero playback stalls, and snappy responses when the user hits a key. Reflex solves this by pairing sub-second GPU worker provisioning over RDMA with a clever "decoupled" parallelism trick that lets sessions borrow idle GPUs from buffered peers without stalling to copy gigabytes of attention history.
What Problem Does This Paper Address?
Imagine playing a video game where every frame is generated live by a 14-billion-parameter diffusion model (an autoregressive diffusion transformer, or AR-DiT). Unlike generating a static video clip from a prompt, an interactive world model produces video in discrete chunks (e.g., 12 frames every 750 ms) conditioned on live keyboard and mouse inputs.
Serving these sessions simultaneously requires hitting three conflicting targets:
- Fast startup: New players shouldn't wait tens of seconds for a GPU worker to load multi-gigabyte model weights from disk.
- Stall-free playback: Generating chunks slightly ahead of time builds a client playback buffer that absorbs compute hiccups.
- Low action-to-display latency: When a player presses
Wto move forward, they expect to see the world respond immediately.
Here is the catch: buffering ahead and responding fast are natural enemies. If a session builds a 2-chunk playback buffer and the user suddenly changes direction, those unplayed buffered chunks are now stale. Playing them out forces the user to wait; throwing them away drains the buffer and leaves less than a second to urgently regenerate the new chunk before the screen freezes. Meanwhile, naively adding more GPUs to speed up an urgent chunk stalls execution because the model's persistent attention Key-Value (KV) cache—which tracks recent video history—has to be redistributed across GPUs.
Methods
Reflex tackles these coupled bottlenecks with three coordinated runtime and scheduling designs:
- Peer-GPU RDMA Provisioning & Startup-Aware Routing: Instead of loading weights from SSD (which takes ~18 seconds) or relying on host-memory caches that miss during traffic spikes, Reflex provisions new workers directly from active workers' GPU memory. Source GPUs send disjoint weight shards in parallel over RDMA, and destination GPUs reconstruct the full model via a local all-gather. A startup-aware router then compares the queueing delay on busy active workers against the remaining RDMA transfer time on starting workers to route new sessions where they will finish their first chunk fastest.
- Decoupled $(A, S)$ Sequence Parallelism & Stage Scheduling: Rather than scaling whole-model parallelism synchronously, Reflex decouples the attention degree ($A$) from the KV-independent compute degree ($S$)—since linear projections, FFNs, and VAE decoding don't need historical KV caches. When a 4-GPU session ($A4S4$) borrows 4 helper GPUs, it executes a three-step transition:
- Immediate compute expansion ($A4S4 \to A4S8$): Helper GPUs immediately join KV-independent layers while the KV cache stays put.
- Background KV preparation ($A4S8 \to A8S8$): For longer borrows, historical KV shards are copied to helpers in the background.
-
Incremental write-back: Upon scale-down, only incremental KV updates are written back. A rolling-window stage scheduler plans these borrows across sessions to maximize on-time chunks and minimize cumulative playback stalls.
-
In-Place KV Rollback & Action Response Scheduling: When user controls change mid-stream, Reflex aborts invalidated in-flight generation at the next denoising-step boundary. Instead of saving costly full-KV snapshots after every chunk, it delays freeing evicted sliding-window KV entries so it can restore the valid context in place, then borrows GPUs from buffered peers to finish the response chunk before the currently playing chunk ends.
Datasets
The authors evaluate Reflex using synthesized multi-session streaming workloads:
- Session arrivals & durations: Derived from TurboServe's released production streaming trace.
- User action sequences: Sampled from VPT Contractor Demonstrations (OpenAI, 2022), preserving original input order, repeated states, and empty controls. (They also analyze WorldCam gameplay recordings in their motivation study to characterize action persistence.)
- Baselines: EDF (SGLang Diffusion extended with chunk-level earliest-deadline-first scheduling and on-demand weight loading) and TetriServe+ (TetriServe's elastic sequence-parallel scheduler equipped with Reflex's fast RDMA startup).
Key Insights and Ideas
- You don't need to move the KV cache to get most of the speedup: Synchronously redistributing the KV cache when scaling from 4 to 8 GPUs adds 100 ms of round-trip overhead—meaning you need at least three denoising steps just to break even. By decoupling $(A, S)$ and immediately expanding only KV-independent layers, Reflex cuts single-step round-trip scaling time from 180 ms to 105 ms (a 41.7% reduction).
- Binary deadline metrics hide how bad stalls feel: Two schedulers can achieve nearly identical on-time chunk delivery rates (Continuity Index), yet one can cause 3–4× longer playback freezes. Explicitly optimizing for cumulative stall duration using client buffer slack is what keeps playback smooth.
- User actions are sticky—until they aren't: In VPT and WorldCam, user controls stay the same for 2.4–3.4 chunks on average, making short lookahead buffers worthwhile. But prediction accuracy drops to 21–43% by chunk 3, proving that deep buffers without fast rollback will inevitably hurt responsiveness.
Key Results
Evaluated on a 32-GPU NVIDIA H800 cluster serving LingBot-World 2.0 (14B) at 368p and 480p:
- Startup latency (TTFC): Reduced by up to 44.0% compared to EDF. Peer-GPU RDMA provisioning loads the 14B model in 474 ms (4 GPUs) and 281 ms (8 GPUs)—a 38.0× to 64.1× speedup over SSD loading (18 s).
- Playback continuity: Reduced playback stall ratio by up to 66.3% (limiting stalls to 6.6% at peak load vs. 13.0% for TetriServe+ and 18.4% for EDF) and improved Continuity Index by up to 30.5%.
- Action responsiveness (TTA): Reduced time to action by up to 65.3% over EDF and 34.3% over TetriServe+, without degrading playback continuity.
Limitations and Future Work
The authors do not include a dedicated limitations section, though a few boundaries are clear from the evaluation:
- Reflex is evaluated on a single 14B model (LingBot-World 2.0) at 368p and 480p; as shown in their characterization, 720p generation exceeds the 750 ms real-time chunk budget even at batch size 1 on 8 H800 GPUs.
- Unlike lossy streaming systems that dynamically lower video quality under load, Reflex preserves fixed generation-quality settings and relies purely on compute elasticity.
Summary updated