LiveEdit: Towards Real-Time Diffusion-Based Streaming Video Editing
arXiv · HuggingFace · ▲82
Abstract (verbatim)
Streaming video editing has made rapid progress, yet practical deployment is still limited by two core issues: maintaining stable backgrounds and non-edited regions over time, and achieving the low latency required for real-time interactive scenarios. Meanwhile, recent streaming video generation methods are mostly developed for synthesis and cannot be directly applied to editing due to the strict preservation requirement and region-specific control. In this work, we present a novel streaming video editing framework that performs causal, frame-by-frame editing with strong content preservation and real-time responsiveness. Our key design is a three-stage distillation pipeline that progressively transfers editing capability from a powerful bidirectional foundation model to an efficient unidirectional streaming editor, enabling stable long-horizon edits without sacrificing visual fidelity. To further support real-time deployment, we introduce an AR-oriented mask cache that reuses region-related computation across frames, substantially reducing redundant processing and accelerating inference. Finally, we establish a dedicated benchmark for streaming video editing. Extensive evaluations demonstrate that our method achieves state-of-the-art visual quality among streaming baselines while drastically boosting inference speed to 12.66 FPS, making it suitable for interactive and augmented reality applications.
Background
Background Analysis
1. Technical Context and Real-World Needs
With the rise of augmented reality (AR), live streaming, and real-time interactive applications, video editing is shifting from offline batch processing to real-time streaming editing. For example, in AR scenarios, users need to modify specific objects in videos (e.g., changing virtual backgrounds) while preserving background stability; in live streaming, low-latency editing is critical for interactivity (e.g., adding effects in real time). The core requirements include: stable, high-quality, and low-latency frame-by-frame editing without future frame information.
2. Previous Limitations and Bottlenecks
Existing methods face two major challenges:
- Temporal Inconsistency: Traditional video diffusion models rely on bidirectional or global attention for consistency, but direct adaptation to streaming (only current/historical frames available) causes “forgetting effects” or flickering due to lack of global context.
- Computational Redundancy: Standard diffusion treats each frame as an independent task, but repeating dense computations (e.g., attention) on static or linearly moving backgrounds is inefficient for edge devices.
3. Proposed Solution
The paper introduces a staged distillation framework and AR-oriented mask caching:
- Three-Stage Distillation: Transfers editing capabilities from a powerful bidirectional diffusion model (Bidirectional DiT) to an efficient unidirectional streaming model (Causal DiT). Stage 1 trains the bidirectional model; Stage 2 uses teacher forcing to adapt to unidirectional inputs; Stage 3 compresses inference to 4 steps via Distribution Matching Distillation (DMD), achieving real-time performance (12.66 FPS).
- Mask Caching: Dynamically extracts masks by comparing edited outputs with source frames, reusing computations for static regions to reduce redundancy.
4. Key Differences from Prior Work
- Causality-Efficiency Trade-off: Unlike non-causal models, this work balances editing capability with streaming constraints via distillation.
- Targeted Optimization: Focuses on stream-specific issues (e.g., background redundancy) rather than general video generation.
- Benchmark Establishment: Introduces a dedicated benchmark for streaming video editing, demonstrating state-of-the-art performance in quality, consistency, and throughput.
This work bridges the gap between theory and deployment for real-time interactive and AR applications.




