Editto: Instruction-Based Video Editing Framework
- Editto is an instruction-based video editing framework that uses advanced diffusion models and curriculum learning to achieve precise, scalable, and photorealistic edits.
- It leverages a pretrained video generator (VACE) with a dedicated temporal enhancer and a massive synthetic dataset (Ditto-1M) to support both global and local video manipulation.
- The framework employs flow-matching loss and curriculum training on 1M curated triplets, achieving state-of-the-art fidelity, temporal coherence, and instruction adherence.
Editto is an instruction-based video editing framework designed to enable precise, scalable, and photorealistic video edits from natural language instructions. It combines a distilled diffusion model adapted from the VACE in-context video generator with a curriculum-based training strategy, a large-scale synthetic dataset (Ditto-1M), and a temporal enhancement module, establishing a new state-of-the-art for text-driven video manipulation in terms of fidelity, temporal coherence, and instruction-following ability (Bai et al., 17 Oct 2025).
1. Architectural Foundations
Editto builds directly upon a pretrained in-context video generator (VACE), adapted to instruction-based editing by integrating hierarchical multimodal conditioning and temporal enhancement modules. The architecture consists of three primary components:
- Context Branch (Frozen): This branch encodes the source video and (optionally) a reference key-frame , using a stack of temporal-spatial attention blocks. Each block uses
with , , computed from projected input features with learnable matrices , , .
- Main Branch (DiT Transformer Backbone): This branch processes text embeddings of the instruction alongside outputs of the Context Branch via alternating self- and cross-attention layers. Cross-attention fuses text/visual context by
0
where 1 is the concatenated context vector.
- Temporal Enhancer (Lightweight MoE Denoiser): Derived from the Wan2.2 MoE denoiser, this refinements step injects Gaussian noise 2 into the preliminary output video 3 and denoises via a specialized expert:
4
where 5 is an MoE expert, improving temporal and local detail.
The pipeline is highly efficient: all modules are post-training quantized (8-bit) and distilled (per Yin et al., CausVid), enabling batch inference at approximately 20% of the original cost. During fine-tuning, only the context block's linear projections (≈5% of the parameters) are updated, permitting rapid adaptation to instruction-based tasks.
2. Dataset Construction and Curriculum Training
Ditto-1M is a synthetic dataset comprised of 1,000,000 triplets 6, constructed from approximately 200,000 curated high-resolution videos sourced from Pexels. The processing pipeline is:
- Deduplication: DINOv2 cosine similarity threshold removes near-duplicates.
- Motion Filtering: CoTracker3 ensures sufficient motion.
- Instruction Generation: Video-LLMs (VLMs) generate a dense caption 7 for 8, then produce the instruction 9 using both 0 and 1.
- Key-frame and Depth Augmentation: Qwen-Image samples a reference frame 2, VideoDepthAny produces a depth sequence 3.
- Edit Synthesis: A distilled VACE model synthesizes the target video 4 conditioned on 5, 6, and 7.
- Automated Filtering: A VLM-based agent filters outputs for instruction fidelity, motion consistency, visual quality, and safety.
Of the 1M triplets, approximately 700k are global (style/color) edits and 300k are local (object-level) edits. Each sequence comprises 101 frames at resolution 8 and 20 FPS.
Curriculum Learning: A modality curriculum linearly anneals the probability 9 of providing the reference key-frame 0 over 5,000 steps:
1
Initially both video and reference frame are provided; after 2, only 3 and 4 are available.
Training: The model is trained for 16,000 steps (5,000 curriculum, 11,000 pure text), using AdamW with 5, 6, and weight decay 7, a constant learning rate 8, on 64 NVIDIA H-series GPUs, totaling approximately 12,000 GPU-days.
3. Loss Formulation and Optimization
Training employs the flow-matching loss for latent video diffusion:
9
where 0 is the clean target video, 1 is the noisy version at time 2, and 3 is text/visual context.
Notably, no adversarial or auxiliary perceptual losses are included. Weight decay is applied as a stability regularizer exclusively to the learnable context block projections.
4. Evaluation Methodologies and Results
Performance is quantitatively assessed using both automatic metrics and human evaluations:
- CLIP-T: Text-video similarity
4
- CLIP-F: Inter-frame consistency
5
- VLM-score: Holistic judgment by a VLM (1–10 scale).
- Human evaluation: 1–4 scale for Edit-Accuracy (Edit-Acc), Temporal Consistency (Temp-Con), Overall.
| Method | CLIP-T ↑ | CLIP-F ↑ | VLM-score ↑ | Edit-Acc ↑ | Temp-Con ↑ | Overall ↑ |
|---|---|---|---|---|---|---|
| TokenFlow | 23.63 | 98.43 | 7.10 | 1.70 | 1.97 | 1.70 |
| InsViE | 23.56 | 98.78 | 7.35 | 2.28 | 2.30 | 2.36 |
| Editto | 25.54 | 99.03 | 8.10 | 3.85 | 3.76 | 3.86 |
Qualitative samples (as shown in Figure 1 of the source) display marked improvements in both global stylization (e.g., color grading) and local edits (e.g., precise alterations such as “paint the suit black”), without introducing identity drift. Sim-to-real transfer experiments indicate the dataset’s photorealism by enabling the model to invert stylized sequences back to their original form.
Ablation studies demonstrate the impact of scale (raising training size from 100k to 1M improves CLIP-T by ≈1.5 points) and curriculum (removing reference-drop annealing reduces instruction adherence by ≈2 CLIP-T).
5. Strengths, Limitations, and Prospective Research
Strengths:
- Fully scalable data synthesis and training regime, achieving 1M video edits and balancing fidelity, efficiency, and diversity via distillation and quantization.
- Consistent state-of-the-art performance across both automatic and human evaluation benchmarks.
- A curriculum learning strategy enabling evolution from visual-text conditioning to pure-text.
Limitations:
- Quality remains constrained by the original VACE model’s motion priors, with a ceiling on achievable realism.
- Generation is limited to static, 101-frame, 720p video; extending to very long or ultra-high-resolution sequences is not directly supported.
- Quantization and distillation, while computationally advantageous, introduce a minor fidelity degradation compared to full-precision, multi-step inference.
Future Work:
- Design and implementation of temporal attention modules tailored for editing tasks (e.g., cross-clip reference attention).
- Support for multi-turn, interactive editing workflows, where edit sequences iteratively refine outputs.
- Expansion to other modalities, such as audio-driven edit instructions or editing of 3D scenes.
- Development of advanced, nuanced safety filters to further improve ethical compliance.
In summary, Editto demonstrates that large-scale, high-quality synthetic datasets, combined with efficient diffusion modeling and curriculum-driven training, enable substantial advances in instruction-based video editing, narrowing the gap between image and video manipulation (Bai et al., 17 Oct 2025).