NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PRIMEdit: Probability Redistribution for Instance-aware Multi-object Video Editing with Benchmark Dataset

Samuel Teodoro, Agus Gunawan, Soo Ye Kim, Jihyong Oh, Munchurl Kim · DOI

Abstract

Recent AI-based video editing has enabled users to edit videos through simple text prompts, significantly simplifying the editing process. However, recent zero-shot video editing techniques primarily focus on global or single-object edits, which can lead to unintended changes in other parts of the video. When multiple objects require localized edits, existing methods face challenges, such as unfaithful editing, editing leakage, and lack of suitable evaluation datasets and metrics. To overcome these limitations, we propose Probability Redistribution for Instance-aware Multi-object Video Editing (PRIMEdit). PRIMEdit is a zero-shot framework that introduces two key modules: (i) Instance-centric Probability Redistribution (IPR) to ensure precise localization and faithful editing and (ii) Disentangled Multi-instance Sampling (DMS) to prevent editing leakage. Additionally, we present our new MIVE Dataset for video editing featuring diverse video scenarios, and introduce the Cross-Instance Accuracy (CIA) Score to evaluate editing leakage in multi-instance video editing tasks. Our evaluations demonstrate that PRIMEdit significantly outperforms recent state-of-the-art methods.

The Challenge of Multi-Object Editing

While AI-based video editing has made massive strides, most current "zero-shot" (no training required) methods are designed for global scene changes or single-object edits. When multiple objects require simultaneous, independent edits—for example, turning a man into an alien while changing a washing machine's color—existing models often suffer from two primary failures:

  1. Unfaithful Editing: The model ignores part of the prompt or produces visual artifacts.
  2. Attention Leakage: The colors or textures intended for one object bleed into another, or the background warps to match foreground prompts.

Methodology: IPR and DMS

PRIMEdit addresses these issues through two core modules that plug into existing Diffusion-based video models without requiring additional training.

Instance-centric Probability Redistribution (IPR)

Standard cross-attention layers in diffusion models lack inherent knowledge of object boundaries. The authors discovered that the "Start of sequence" (S) token in CLIP text embeddings often acts as an attention "sink," draining focus away from descriptive text tokens. IPR reallocates probability from this S-token to the actual text tokens (T) within the object's mask, while zeroing out edit-related attention outside the mask to ensure precise localization.

The instance-aware editing workflow demonstrates how masks are used to isolate and modify specific objects, such as changing a dress color.

Disentangled Multi-instance Sampling (DMS)

DMS utilizes a two-stage sampling process to prevent leakage. First, Series Noise Sampling (SNS) edits each object independently in its own "lane." Second, Parallel Noise Sampling (PNS) fuses and harmonizes these independent edits. A "re-inversion" step is used to align the fused latents with the original video's motion, preventing jitteriness.

The MIVE Dataset and CIA Score

To address the lack of benchmarks, the paper introduces the MIVE (Multi-Instance Video Editing) Dataset, containing 200 videos with 3 to 12 objects per clip, complete with precise masks and localized captions.

Performance is measured using the new Cross-Instance Accuracy (CIA) Score. This metric uses CLIP embeddings to verify if an edited object matches its own target prompt more closely than the prompts of other objects in the scene, providing a concrete numerical value for "leakage."

Multi-object editing success: PRIMEdit can simultaneously change a rabbit's color and transform a chick into a parrot without visual leakage between the two.

Key Results and Efficiency

  • Quantitative Superiority: PRIMEdit achieved a CIA Score of 0.6705, significantly outperforming competitors like VideoGrain (0.5868). It also led in background preservation (SSIM) and temporal consistency.
  • User Preference: In a study with 32 participants, PRIMEdit was preferred 56.87% of the time for textual faithfulness.
  • Computational Efficiency: The framework is 2.5x to 4x faster than previous methods and uses significantly less VRAM, making high-quality multi-object editing more accessible.

Limitations

Despite its success, PRIMEdit faces challenges with reflective surfaces; if an object is edited, its reflection may remain unchanged if not captured by the mask. Additionally, the system is dependent on the quality of input masks and the resolution limits of the underlying Latent Diffusion Model's VAE, which can struggle with very small objects.

Summary updated

BibTeX
@misc{teodoro2024primedit,
  author = {Samuel Teodoro and Agus Gunawan and Soo Ye Kim and Jihyong Oh and Munchurl Kim},
  title = {{PRIMEdit: Probability Redistribution for Instance-aware Multi-object Video Editing with Benchmark Dataset}},
  year = {2024},
  eprint = {2412.12877},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.12877},
}
Figure