TL;DR
Aligning streaming autoregressive (AR) video generators with human preferences is notoriously tricky because standard reinforcement learning (RL) relies on injecting random noise—a mismatch for deterministic, few-step video models. KVPO solves this by moving exploration from random noise to the model’s Key-Value (KV) memory cache, creating diverse, on-manifold storyline branches, and scoring them directly in the model's native velocity-field space. The result is sharper, more coherent, and better-aligned videos across both short clips and multi-prompt long-horizon narratives.
What Problem Does This Paper Address?
To generate video in real time, modern streaming AR models distill heavy diffusion models into fast, few-step generators that run via deterministic Ordinary Differential Equations (ODEs) and KV caching. While they are fast, getting them to follow complex prompts, maintain subject identity, and evolve a coherent storyline over long horizons remains a challenge.
Existing RL post-training methods (like Flow-GRPO and DanceGRPO) try to explore different video outcomes by injecting stochastic noise into the latents—essentially turning a deterministic ODE into a Stochastic Differential Equation (SDE). For distilled AR models, this causes two headaches:
- It breaks the model's native dynamics, often introducing off-manifold artifacts and degrading visual quality.
- Noise perturbs low-level appearance (like textures or local structure) rather than high-level semantics, motion, or plot progression.
Recent ODE-native alternatives (like NeighborGRPO and AR-CoPO) avoid noise injection by using Euclidean distance in latent space as a surrogate policy, but this assumes a uniform geometry that doesn't always reflect what the model actually prefers.
Methods
KVPO introduces an ODE-native online Group Relative Policy Optimization (GRPO) framework built on two core ideas:
- Causal History Routing (CHR) for Exploration: Instead of adding random noise, KVPO perturbs what the model remembers. In streaming AR video, future frames are conditioned on a KV cache split into a persistent "sink" (the earliest 3 frames) and a 9-slot local sliding window. At a randomly chosen pivot block, KVPO keeps the sink and the 3 most recent frames fixed, and stochastically refills the remaining 6 local slots from older history. Applied across a 5-block window and only during the first half of the ODE solver steps, this produces semantically diverse candidate branches that stay strictly on the data manifold.
- Trajectory Velocity Energy (TVE) for Policy Modeling: To figure out which branches the model naturally prefers without using SDEs or external distance metrics, KVPO replays the cached intermediate latents of each branch under the unperturbed deployment-time KV cache. It measures TVE—the squared difference between the replayed velocity and the branch's rollout velocity target. Lower energy means higher likelihood. KVPO converts these energies into a normalized Gibbs-form surrogate policy and updates the generator using a clipped PPO objective with a KL penalty against a frozen reference policy.
- Composite Rewards: To prevent reward hacking, branches are scored on three fronts: Visual Quality (VQ via HPSv3), Motion Quality (MQ via VideoAlign), and Text-Video Alignment (TA via VideoAlign).
Datasets
- Training Prompts: Sampled from the multi-prompt VidProM dataset and refined using Qwen3. Each training video is segmented into groups of four prompts, switching every 588 frames (147 latent frames).
- Base Models & Baselines: Evaluated on two state-of-the-art distilled AR video generators (LongLive and MemFlow) and compared against Astrolabe.
- Evaluation: Assessed using VQ, MQ, TA, four VBench metrics (Quality, Semantic, Consistency Score, and CLIP Score), and a 32-participant human preference study.
Key Insights and Ideas
- Memory is a better exploration knob than noise: Perturbing historical KV entries changes what happens next in the narrative rather than just adding visual jitter, leading to meaningful, causally structured branch diversity.
- Early solver steps govern semantics: Restricting KV routing to the first two denoising steps is enough to steer coarse layout and motion, whereas perturbing later steps hurts visual quality and wastes memory.
- Velocity-field space beats latent Euclidean distance: Replacing TVE with a geometric $\ell_2$ surrogate policy (as in NeighborGRPO) causes performance to drop across all metrics, confirming that staying in the model's native flow-matching velocity space is critical.
Key Results
KVPO delivers consistent gains across both short-video (single-prompt) and long-video (multi-prompt) benchmarks, outperforming both base models and Astrolabe:
- Single-prompt short-video: Improves LongLive by +15.2% VQ, +5.0% MQ, and +200.0% TA; improves MemFlow by +9.1% VQ, +2.7% MQ, and +50.0% TA.
- Multi-prompt long-video: The margin widens on long horizons. LongLive improves by +28.4% VQ, +6.4% MQ, and +26.3% TA; MemFlow improves by +10.5% VQ, +3.6% MQ, and +15.0% TA.
- Human Study: Across 32 participants evaluating VQ, MQ, and TA on long videos, KVPO secured a clear majority preference over both the base models and Astrolabe.
Limitations and Future Work
While the paper does not include a dedicated limitations section, the training setup is notably compute-intensive—requiring 32 NVIDIA H200 GPUs and roughly 1,000 GPU-hours (about 30 hours of wall-clock time) to reach the best checkpoint. Looking ahead, the authors suggest that semantic-space exploration and velocity-field surrogate modeling offer a general blueprint for aligning other ODE-based generative architectures beyond streaming video.
Summary updated