TL;DR
Video editing models are notoriously slow—ironically, even slower than generating a video from scratch, because they have to process both the original source video and the new edited video. This paper uncovers a simple truth: source tokens barely change compared to target tokens, so we shouldn't waste equal compute on both. By introducing DnA (Divide and Accelerate), a training-free framework that caches and prunes source tokens much more aggressively than target tokens, the authors achieve up to 10× speedup in FLOPs while keeping the edited videos sharp and artifact-free.
What Problem Does This Paper Address?
Modern AI video editors are built on top of massive text-to-video diffusion models. While they produce impressive edits, they inherit the heavy computational cost of video generation—and then make it worse by also encoding and attending to the input source video.
This creates a strange paradox: editing starts with more information (the source video already gives you the layout, motion, and appearance), yet it costs more compute than generating from scratch. Existing acceleration tricks—like feature caching (reusing intermediate computations across denoising steps) and token reduction (dropping redundant tokens across frames)—were designed for video generation, where there is only one stream of tokens. When applied naively to video editing, they treat source and target tokens identically. Under tight compute budgets (like 5× or 10× speedup), this one-size-fits-all approach causes severe ghosting, blur, and broken edits.
Methods
The authors propose DnA (Divide and Accelerate), a plug-and-play, training-free framework that decouples how compute is spent on source versus target tokens:
- Role-Aware Feature Caching: Instead of a single caching schedule, DnA maintains separate caching controls and histories for the source and target streams. When one stream is reused from cache and the other is recomputed, cross-stream attention is preserved by letting the fresh queries attend to the other stream's most recently cached keys and values. This works with existing adaptive caching methods (EasyCache, DiCache) and schedule-based ones (MagCache).
- Role-Aware Temporal Token Reduction: Within each recomputed step, DnA measures how much each token changes from the preceding frame using cosine distance. Tokens with the smallest changes are temporarily removed before the expensive attention operation, and their outputs are restored afterward by copying from the nearest retained frame. Crucially, DnA uses separate reduction ratios for source and target tokens, allowing much heavier pruning on the redundant source stream.
- Budget-Aware Policy Search: Because caching and token reduction interact in complex ways, DnA uses an offline evolutionary search on a tiny calibration set (just 4 videos) to find the optimal combination of source/target caching and token-reduction settings that maximizes video editing quality (measured by VQA) within a target FLOPs budget.
Datasets
- ReCo-Bench: Primary evaluation on 100 random test videos spanning four editing tasks: Add, Remove, Replace, and Style.
- OpenVE-Bench: Used to test zero-shot, cross-dataset generalization by directly transferring policies calibrated on ReCo-Bench without any dataset-specific tuning.
No new datasets were introduced.
Key Insights and Ideas
- Source and target tokens are fundamentally asymmetric: Across three distinct editor architectures (ReCo, VideoCoF, and Bernini), source features vary dramatically less than target features—both across denoising steps (up to 15.25× less variation in ReCo) and across adjacent video frames (up to 5.57× less in Bernini).
- Why this matters: Because the source video is fixed conditioning information, its representations stabilize quickly and repeat heavily across frames. Target tokens, by contrast, are actively synthesizing new content and need more compute.
- Role-awareness beats uniform acceleration: Even without automated policy search, simply separating source and target controls manually outperforms naive caching across the board.
Key Results
Tested across three video editors (ReCo, VideoCoF, and Bernini-R) and three caching baselines (EasyCache, MagCache, DiCache) at standard (~3×), aggressive (~5×), and extreme (~10×) FLOPs speedups:
- Consistent quality-compute gains: Integrating DnA improves VQA, DOVER (perceptual quality), and LPIPS (perceptual similarity to the unaccelerated vanilla editor) across all architectures, with the largest margins at 5× and 10× speedups.
- Stronger than specialized baselines: DnA significantly outperforms prior training-free video editing accelerators like HetCache and VidToMe across all metrics, without requiring input masks.
- Generalizes across datasets: Policies calibrated on just 4 ReCo-Bench videos transfer directly to OpenVE-Bench while maintaining their quality-efficiency advantages.
Limitations and Future Work
- Upfront calibration cost: DnA requires an offline policy search involving multiple runs and VQA evaluations on a small calibration set, though this is a one-time cost per editor and budget.
- Broader principle: The authors suggest that "role-aware computation"—allocating resources based on each token's function and redundancy—could extend beyond video editing to other multimodal and generative architectures.
Summary updated