Paper: JoyAI-Video-Edit: Real-Time Open-Ended Video Editing with Autoregressive Diffusion arXiv: 2608.03974 | Team: JD Joy Future Academy | Category: cs.CV TL;DR: 16B parameters, 720p @ 30 FPS, real-time editing of arbitrarily long streams — turning video editing from "post-production" into "live-synced."
The Problem: Why Editing Has Always Been Done "After the Fact"
Imagine livestreaming while kicking a soccer ball in the desert. Viewers spam: "Change it to a rainy stadium!" — and a second later the scene really becomes a rainy stadium: raindrops, puddles, soaked clothing, all rendered live. Then: "Put Iron Man armor on!" — and metallic armor with reflections and joint articulation appears in real time. This is what JoyAI-Video-Edit does.
Before this paper, video editing lived in two disconnected worlds:
- Offline editing (VACE, OpenVE-Edit, Bernini-R): the model sees all past and future frames via bidirectional attention, iteratively denoises, and outputs the finished result. Great quality (3.6+ on OpenVE-Bench), but unusable for live streams.
- Streaming/real-time editing (StreamDiffusionV2, SANA-Streaming, LiveEdit, XMax-X2.0): causal generation, frame by frame. Real-time, but quality collapses — scores only 1.2–2.6 on OpenVE-Bench (out of 5), with blur, color drift, and poor instruction following.
- 3.60 overall, ~1 point above the best streaming rival; first place in 4 of 5 task categories.
- Nearly matches the 27B offline model Bernini-R (3.72); tied for top on local edits (4.47).
- Nearly 2× the score of the runner-up while being 44.4% faster — other streaming methods visibly degrade on long videos, confirming the drift problem.
- Yicheng Xiao, Wenxun Dai, et al. "JoyAI-Video-Edit: Real-Time Open-Ended Video Editing with Autoregressive Diffusion." arXiv:2608.03974, 2026.
- JD Joy Future Academy: https://research.joyai.com/
The core question: can we get offline-level quality at streaming latency?
Why Naive Causalization Fails
Simply converting an offline model to causal attention hits a train-inference mismatch. During training with teacher forcing, the model always sees clean ground-truth history; at inference it must rely on its own imperfect generations. Errors compound like a game of telephone — the long-term drift problem: color shifts, identity drift, background detail loss. Video editing is harder still, because the model must also stay aligned to the source video: unedited regions should be preserved exactly, while instructions must be executed stably.
The Three-Part Solution
1. Chunk-Wise Autoregression
Architecture: an MLLM encodes the natural-language instruction plus the first frame; a causal VAE compresses video (8×24×24 compression — 8 frames to 1 latent frame); an MM-DiT does the heavy lifting.
Video is split into chunks along time: bidirectional attention within a chunk, causal attention across chunks. A sliding window of recent chunks + the first chunk as a global anchor keeps the context size constant no matter how long the stream runs.
Training uses Resampling Forcing: each historical chunk is first passed through a single denoising step of the model itself (no gradients), producing "model-made" imperfect history, so the model learns to work with its own flawed outputs from day one.
2. SA-DMD: Source-Anchored Distribution Matching Distillation
Real-time requires shrinking dozens of denoising steps to very few via DMD distillation. But vanilla DMD on video editing causes the generator to drift from the source over long autoregressive rollouts — even hallucinating.
SA-DMD fixes this: during distillation training only, the teacher additionally references time-aligned frames of the original source video, with classifier-free guidance splitting "text-instruction strength" and "source-fidelity strength" into independent knobs. At deployment the model runs a single branch — no source-video recomputation needed.
> Analogy: when copying a painting, staring only at your own previous strokes makes you drift; a teacher who glances back at the original instills a self-correcting habit baked into the student.
Result: denoising compressed to two steps.
3. LHAD: Long-Horizon Autoregressive Distillation
Models trained only on seconds-long clips never see the deep error states that emerge after 50+ seconds of editing. LHAD splits a long rolling sequence of m chunks into short contiguous segments, computes SA-DMD gradients per segment, clears the computation graph (avoiding OOM), and accumulates gradients for one unified update. A dynamic mirror looping trick (playing video forward/backward alternately) extends short sources into long "virtual sources" without abrupt jumps.
Results
Short-video editing (OpenVE-Bench, Gemini judge, out of 5)
| Method | Params | Resolution | Score | |---|---|---|---| | StreamDiffusionV2 | 1.3B | 480×832 | 1.23 | | SANA-Streaming | 2B | 704×1280 | 2.62 | | LiveEdit | 1.3B | 480×832 | 2.00 | | Xmax-X2.0 | — | 832×1440 | 1.87 | | Bernini-R (offline) | 27B | 480×848 | 3.72 | | JoyAI-Video-Edit | 16B | 720×1280 | 3.60 |
Long-video editing (LongV2VBench, newly proposed; 229 tasks, 1-minute videos)
| Method | Resolution | Throughput | Score | |---|---|---|---| | StreamDiffusionV2 | 480×832 | 18.07 FPS | 1.21 | | SANA-Streaming | 704×1280 | 14.51 FPS | 1.64 | | LiveEdit | 480×832 | 15.45 FPS | 1.23 | | XMax-X2.0 | 832×1440 | 20.90 FPS | 1.71 | | JoyAI-Video-Edit | 720×1280 | 30.19 FPS | 3.30 |
Ablations
| SA-DMD | LHAD | Score | |---|---|---| | ✗ | ✗ | 2.81 | | ✓ | ✗ | 3.23 | | ✗ | ✓ | 3.06 | | ✓ | ✓ | 3.30 |
SA-DMD mainly curbs visual degradation (global style 3.61→4.24); LHAD stabilizes late-video states (background replace 2.45→2.60); together they win local add/edit/delete categories.
Human preference
vs LiveEdit: 90%; vs SANA-Streaming / StreamDiffusionV2: 87%; vs XMax-X2.0: 81%; vs offline Bernini-R: 48–44% (tie); vs commercial closed models Kling-3.0 Omni / Seedance 2.0: 56%.
Deployment: How 720p@30FPS Is Achieved
On a single NVIDIA B200 GPU, per 8-frame chunk: VAE encode 22 ms, DiT denoising (2 steps) 185 ms, VAE decode 19 ms → 226 ms request-to-response latency, ~266 ms with KV-cache construction → ~30.1 FPS.
Engineering: FP8 quantization, compiled and auto-tuned VAE, host–GPU pipeline overlap, warm-up, persistent compilation artifacts, and memory pools. End-to-end at 81-frame input: 2.68 s / 30.19 FPS / 200 FPS VAE throughput — lowest latency and highest throughput at higher resolution than all rivals, showing the advantage is system-level co-optimization rather than any single algorithm.
Training Data: Solving Paired-Data Scarcity
High-quality (source video, edited video) pairs are scarce. Two pipelines:
1. Keyframe-guided edit propagation: edit one representative frame with an image editor, then propagate the edit across the video with an image+video→video model, preserving motion and unedited content. 2. Latent-shared I2V generation: generate source and edited videos from two I2V branches sharing early-denoising latents (consistent motion) while conditioning on different images late (introducing the edit).
Both are filtered by quality, edit correctness, change magnitude, and temporal coherence; an MLLM cross-checks source vs edited videos and refines instruction text.
Key Takeaways
1. Long-video drift is finally quantified: the dedicated LongV2VBench shows that without targeted optimization, 1-minute editing quality can halve versus 10-second clips — prior "real-time" methods were mostly short-clip results. 2. Move inference cost into training: SA-DMD's philosophy ("cram before the exam, perform from memory") applies to other real-time-quality trade-offs like live speech translation or face reconstruction. 3. System-level optimization matters: the 30 FPS comes from VAE + DiT + caching + quantization co-design; every saved 5 ms counts. 4. Open problems: 30 FPS currently needs 16B parameters on a B200; consumer-hardware deployment remains future work.