Skip to content

GOCS: Gradient Backpropagation of One Chunk is All You Need for Streaming Video Generation

Xingyu Zhang, Yingjie Yin, Shihao Wang, Chenguang Ma

cs.CV

Abstract

Autoregressive streaming video generation enables low-latency, long-horizon synthesis, but scaling on-policy training to foundation models is constrained by activation memory. Conventional multi-chunk backward retains a separate computation graph for every supervised chunk, so peak memory grows with the rollout length. We introduce GOCS (Gradient backpropagation of One Chunk for Streaming), a memory-efficient framework that separates full-window trajectory construction from gradient computation. GOCS first records a no-grad rollout, constructs a single full-window distribution-matching target, and then replays the trajectory in temporal order while immediately backpropagating each supervised chunk. Under stop-gradient inter-chunk transitions, exact cache replay, and fixed parameters during gradient accumulation, we prove that sequential chunk backward yields the same generator gradient as simultaneous full-window backward. This reduces peak generator memory from O(|G|M+C) to O(M+C) while leaving the training target unchanged. The resulting memory profile enables 480p on-policy training of Wan2.1-T2V-14B with less than 60GB of memory per GPU. To our knowledge, GOCS provides the first demonstration of 480p on-policy streaming refinement for a 14B video foundation model within this memory envelope, turning a previously memory-prohibitive procedure into a practical training recipe without modifying the inference stack. Experiments show that GOCS achieves state-of-the-art streaming performance at both 1.3B and 14B scales under four-step, multi-resolution generation. These results establish that full-window distribution matching does not require simultaneous retention of all supervised-chunk computation graphs.

Create a lesson