Make-A-Protagonist: Generic Video Editing with An Ensemble of Experts

Yuyang Zhao, Enze Xie, Lanqing Hong, Zhenguo Li, Gim Hee Lee

TL;DR

Make-A-Protagonist is a generic video editing framework that allows users to replace video subjects (protagonists) and backgrounds using a combination of visual reference images and textual descriptions. By employing a novel mask-guided fusion mechanism, it enables fine-grained, one-stage editing of "indescribable" content—specific objects or people that text prompts alone cannot accurately capture.

What Problem Does This Paper Address?

While text-to-video diffusion models have made massive leaps, they face a significant hurdle: controllability. Current methods generally fall into two camps, both with limitations:

  1. Text-based editing: Models like FateZero or Tune-A-Video rely on text prompts. If you want to replace a "Suzuki Jimny" with a "black car," text works. But if you want to replace it with a specific unnamed car from a personal photo, text is too coarse to describe the unique details.
  2. Personalization: Methods like DreamBooth can learn a specific subject, but they require multiple reference images and a time-consuming fine-tuning process for every new subject.

The authors identify a gap for a "generic" framework that can handle arbitrary subjects from a single reference image while simultaneously allowing text-based background changes, all without needing extensive per-subject retraining.

Methods

The core of Make-A-Protagonist is a visual-textual-based video generation model that disentangles the subject from the scene.

1. The Base Architecture

The framework builds on Stable UnCLIP, a latent diffusion model (LDM) that accepts both CLIP image and text embeddings. The authors "inflate" this model into a Text-to-Video (T2V) generator by adding temporal convolution and attention layers, then fine-tune it on the source video using DDIM inversion to preserve the original motion and structure.

2. Mask-Guided Fusion

This is the paper's primary innovation. To prevent the reference image's background from "bleeding" into the target video, the system uses masks (generated by Segment Anything and tracked via XMem) to separate the protagonist from the background.

The overall inference framework showing how masks and control signals are used to fuse visual and textual clues.
  • Feature Fusion: It fuses the reference image embedding ($I_R$) for the protagonist area and a text-derived embedding ($I_P$, often via a DALL-E 2 Prior) for the background area directly into the U-Net's residual blocks.
  • Attention Fusion: To maintain background consistency, the model blends the self-attention maps of the source video with the new generation.
  • ControlNet: For precise spatial control (like pose or depth) of the protagonist within its mask, a ControlNet branch is integrated.

Datasets

The authors do not introduce a new large-scale dataset. Instead, they evaluate their model on various real-world video clips (e.g., a car driving, a man playing basketball) and pair them with diverse reference images. They compare their results against established baselines including Tune-A-Video, FateZero, Gen-1, and a hybrid baseline they call DreamBooth-V.

Key Insights and Ideas

  • Visual + Textual Synergy: The authors argue that text is best for "describable" concepts (like "at sunset" or "in the snow"), while images are necessary for "indescribable" identities. Combining them provides the best of both worlds.
  • Disentanglement via Masks: By applying different conditioning to different spatial regions (defined by masks), the model avoids the common pitfall where a reference image's background overwrites the source video's background.
  • Temporal Scheduling of Fusion: They introduce timestamp parameters ($\tau_F, \tau_A$) to control the fusion process. By stopping the fusion of source attention maps in the later stages of denoising, the model can refine fine-grained details of the new protagonist without being overly constrained by the source's pixels.

Key Results

Make-A-Protagonist demonstrates versatile applications, including protagonist editing, background editing, and full text-to-video editing with a specific subject.

Figure 1. Three applications of Make-A-Protagonist. <car> is the protagonist in the video. Bold blue denotes the textual description.
  • Qualitative Superiority: As shown in Figure 4, Make-A-Protagonist maintains much higher subject fidelity than text-only methods and produces more realistic results than DreamBooth-V, which often overfits and creates artifacts.
  • Quantitative Performance: In a user study, Make-A-Protagonist was preferred 71.6% of the time for video quality and 67.2% for subject fidelity compared to DreamBooth-V.
  • Multi-Protagonist Support: Unlike many previous works, this framework can handle multiple distinct protagonists in a single video by using multiple masks and reference images.
Example of editing two protagonists (man and motorbike) in one video.

Limitations and Future Work

  • CLIP Limitations: The model relies on CLIP embeddings, which may not capture every intricate detail of highly complex subjects.
  • Subject Deformability: The authors note that the model currently performs better on rigid objects (like cars) than on highly deformable subjects (like humans).
  • Ethical Concerns: As with all high-fidelity video editing tools, there is a risk of misuse for creating deceptive content, necessitating the development of safety checks.

Summary updated

BibTeX
@misc{zhao2023make,
  author = {Yuyang Zhao and Enze Xie and Lanqing Hong and Zhenguo Li and Gim Hee Lee},
  title = {{Make-A-Protagonist: Generic Video Editing with An Ensemble of Experts}},
  year = {2023},
  eprint = {2305.08850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.08850},
}
Figure