DuoEdit: A Unified Local Video Editing Model Learning Only Two Primitive Operators
Abstract
DuoEdit is a unified local video editing model that learns removal and insertion primitives to enable zero-shot compositional multi-subject edits with precise spatial control by decoupling appearance from spatial guidance and routing references via shared subject IDs.
Local video editing requires fine-grained subject control while harmonizing associated scene effects. These demands become more challenging when different edits involve multiple interacting subjects, yet high-quality paired training videos for such compositional edits are difficult to obtain. We show that compositional editing does not require compositional training data: it can emerge from learning only two primitive operators, removal and insertion, on simple paired videos. Based on this philosophy, we present DuoEdit, a unified local video editing model in which the two primitives are controlled by independent conditions. Because these conditions are independent, they can be activated together, so replacement and mixed multi-subject edits are performed zero-shot in a single inference run. Additionally, to accept unaligned appearance references as persistent context throughout diffusion, DuoEdit decouples appearance from spatial guidance and learns to route each reference to its target box trajectory using shared subject IDs, enabling precise spatial control over each subject. Experimental results demonstrate that DuoEdit matches or surpasses state-of-the-art performance on removal and insertion, while producing more reliable zero-shot compositional edits than mainstream unified video editing models and sequential editing baselines.
Get this paper in your agent:
hf papers read 2611.35509 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper