LatentDuet: Streaming Autoregressive Video with Edge Generation and Cloud Corrections

Hao Zhou, Hongxin Zhang, Ziyang Xu, Chenhan Jin, Hao Qin, Shengze Xu, Tieyong ZengarXiv 2026

TL;DR

Streaming real-time video from a massive cloud-based AI model feels great—until your Wi-Fi hiccups and the picture freezes. LatentDuet splits the job between a large cloud model and a tiny model on your device: the edge model always generates the next video chunk, while the cloud sends compact corrections before it hits the screen. If the network drops out, playback never stalls—you just watch the edge model’s best guess until the cloud catches up.

Figure 1: A 4.5 s network outage. The pixel stream freezes on the last frame received (middle row). In the bottom row, LatentDuet continues generating the dancer’s movement on the edge and resumes applying cloud corrections when they arrive. The top row shows the cloud output given the displayed history. The middle row illustrates freezing with reference frames free of coding loss.

What Problem Does This Paper Address?

Autoregressive video diffusion models generate video one short chunk at a time, reusing a key–value (KV) cache of past frames much like a language model predicts the next word. The best open models have around 14 billion parameters and require data-center GPUs. To watch their output, the cloud has to stream pixels (using a codec like H.264), which ties playback directly to the network. Because interactive streams can't buffer far ahead, any late packet freezes the video.

Running a smaller (~1B parameter) model locally avoids stalls, but the video quality is visibly weaker. Meanwhile, existing hybrid schemes that pair a small and large model on a single machine pass internal KV caches back and forth—state that is over 1,400× larger than the video latent itself (0.86 GB per chunk), making it impossible to ship across a wide-area network.

Methods

LatentDuet keeps both the cloud (14B) and edge (1.3B) models synchronized on the exact same history of displayed chunks, using a shared CPU-generated random seed so both sides are deterministic.

Figure 2: Per-chunk correction and outage replay in LatentDuet. When a residual arrives on time (solid blue), the edge adds the decoded residual to its prediction and displays the reconstructed chunk. During an outage (dashed orange), the edge displays its sampler’s chunk immediately. It later reports the chunk index so the cloud sampler replica can replay it. Both endpoints append the same reconstruction to their local KV histories. Each cloud replica takes 0.23 s per chunk on the RTX PRO 6000.
  • Closed-loop residual coding: Because the cloud knows the shared history and seed, it runs a local replica of the edge model to see what the edge will predict ($E_m$). It then computes the difference between its own output ($C_m$) and the edge's prediction, compresses this residual using a training-free 4×4 block Discrete Cosine Transform (DCT) and entropy coding, and sends only the residual. The edge adds the residual to its prediction, displays the chunk through a fast lightweight decoder (TAEHV), and both sides append the exact same reconstructed chunk to their KV caches.
  • Graceful outage fallback: If a residual misses its playback deadline, the edge immediately displays its own generated chunk and appends it to its history. It later reports the missed chunk indices so the cloud's replica can replay them and resync.
  • Two LoRA adapters on one backbone: The authors give the 1.3B edge model two separate low-rank adapters (LoRAs): a predictor adapter distilled to minimize residual bits, and a sampler adapter (scaled by $\alpha = 0.4$) trained to smoothly continue the cloud's video during outages.
  • Temporal skipping at low bitrates: Rather than cranking up quantization—which blurs the video—LatentDuet's lowest bitrate tiers send a correction only every $k$-th chunk (skip-2 or skip-4) and let the edge sampler fill in the rest.

Datasets

  • Training (Distillation): 971 prompts from MovieGen.
  • Evaluation: 32 prompts from MovieGen (5.25 s clips) for main results, 16 prompts from VBench for generalization to unseen prompts, and 8 MovieGen prompts (15 s clips) for long-run drift tests.
  • Network Simulation: 86 real-world Norwegian HSDPA cellular commute traces (replayed across 430 simulated 120-second sessions).

Key Insights and Ideas

  • A good predictor is a bad sampler: Distilling the edge model to minimize residual bitrate makes it regress toward the conditional mean of the cloud's output. That's great for compression, but if you actually display its output during an outage, the video looks blurry (standalone MUSIQ drops from 68 to 25). Splitting prediction and sampling into two separate LoRA adapters resolves this rate–distortion–perception tradeoff.
Figure 3: Predicting and sampling trade off. Scaling the sampler adapter moves outage chunks closer to the cloud but lowers standalone quality; most of the closeness is gained by 𝛼= 0.4 (dotted). Eight held-out teacher videos.
  • Correct the future, not the past: Injecting late cloud chunks into the edge's past history doesn't work—it fails to help if it arrives more than one chunk late, and causes jarring visual jumps at chunk boundaries. Correcting chunks before they are displayed avoids retroactive changes.
  • Latent residuals are not white noise: Adjacent elements in the latent residual are spatially correlated, so a simple, integer-reproducible 4×4 block DCT saves significant bits without needing a heavy learned hyperprior codec.

Key Results

  • Cloud quality at video-call bitrates: With a 14B cloud model and 1.3B edge model, LatentDuet achieves a MUSIQ perceptual quality score of 71.4 at 1.25 Mbps, virtually matching the cloud model's 71.5.
  • Bitrate savings: Predicting residuals saves 13–39% of the bits required to send the cloud's latent under the same DCT codec. Below ~1 Mbps, LatentDuet stays closer to the cloud's output (measured by LPIPS) than H.264.
  • Zero stalls on cellular networks: Across 430 simulated cellular sessions, chunk-wise H.264 streaming stalls for 17.8% of the session time. LatentDuet never stalls, achieving higher fidelity-based QoE than H.264 in 92% of sessions at measured bandwidth (100% at half bandwidth, 70% at double).
  • Resilient to outages: During a 9.75 s outage, mean per-chunk MUSIQ drops by just 0.43 points, and fidelity recovers within three chunks once corrections resume.

Limitations and Future Work

The authors note several practical constraints:

  • Tight compute margins: The 14B cloud model takes 3.20 s per 0.75 s chunk on a single RTX PRO 6000 (so the network simulations assume an on-time cloud). On an RTX 5090, the edge takes 0.69 s per 0.75 s chunk—real-time, but with only an 8% margin, and only if it knows in advance whether a residual is arriving.
  • Decoder floor: Using the tiny TAEHV decoder for real-time edge display introduces a small fidelity floor (LPIPS $\approx 0.035$) compared to the full VAE.
  • Evaluation scope: The network results are trace-driven with a fixed 80 ms RTT and no TCP dynamics or packet loss, and only one model pair was tested. Furthermore, if fallback chunks are compared against an independent cloud-only run rather than a same-history reference, the QoE win rate over H.264 drops from 92% to 21%.

Summary updated

BibTeX
@misc{zhou2026latentduet,
  author = {Hao Zhou and Hongxin Zhang and Ziyang Xu and Chenhan Jin and Hao Qin and Shengze Xu and Tieyong Zeng},
  title = {{LatentDuet: Streaming Autoregressive Video with Edge Generation and Cloud Corrections}},
  year = {2026},
  eprint = {2612.02544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.02544},
}
Figure