IDPro: Flexible Interactive Video Object Segmentation by ID-Queried Concurrent Propagation

Kexin Li, Tao Jiang, Zongxin Yang, Yi Yang, Yueting Zhuang, Jun Xiao

Interactive Video Object Segmentation (iVOS) is the art of human-AI collaboration: a user provides a few scribbles on a video frame, and the model propagates those hints to segment the object across the entire sequence. While powerful, current tools often feel "clunky." They usually force you to work on one frame at a time and slow to a crawl as you add more objects to the scene.

In their paper, "IDPro: Flexible Interactive Video Object Segmentation by ID-queried Concurrent Propagation," Kexin Li and colleagues introduce a framework that finally lets users interact with videos the way they naturally want to—across multiple frames and multiple objects simultaneously—without the massive computational penalty.

TL;DR

IDPro is a new iVOS framework that enables "multi-frame" interaction and "concurrent" object processing. By using an ID-queried mechanism to handle multiple objects in a single pass, it achieves state-of-the-art accuracy on the DAVIS 2017 benchmark while running over 3x faster than previous leading methods in complex, multi-object scenarios.

What Problem Does This Paper Address?

The authors identify two major bottlenecks in existing iVOS systems:

  1. The Single-Frame Constraint: Most models only allow a user to annotate one frame per "round" of interaction. If you see a cat in frame 3 and a dog in frame 7, you have to annotate the cat, wait for the model to process, and then annotate the dog. This is a tedious, linear workflow that doesn't match how humans naturally scan video content.
  2. The Linear Scaling Problem: Traditional models process each object independently. If a video has $N$ objects, the inference time is roughly $N$ times longer than for a single object. In crowded scenes, this makes "real-time" interaction impossible.

Methods

IDPro introduces three architectural innovations to break these bottlenecks:

  • Across-Frame Interaction Module (AFI): This module allows users to scribble on different objects across different frames in one go. It uses Across-Frame Attention (AFA) to "migrate" scribble information between interactive frames, ensuring the model understands the global context of the user's intent before it even starts propagating masks.
  • ID-Queried Concurrent Propagation: Instead of running $N$ separate passes for $N$ objects, IDPro assigns a unique identification tag (ID) to each object. It then uses an ID-queried decoder to process all objects in parallel. This shifts the time complexity from $O(F \times N)$ to approximately $O(F)$, where $F$ is the number of frames.
  • Truncated Re-propagation Strategy: To avoid conflicts when propagating masks from multiple different starting points, the authors developed a strategy where propagation stops at the midpoint between two annotated frames. They also utilize an Across-Round Memory that stores and updates interaction information over time, allowing the model to "re-propagate" and refine masks more accurately as the user provides more feedback.

Datasets

The model was trained and evaluated using three primary datasets:

  • Lvis: A large-scale static image dataset used for pre-training to help the model recognize over 1,000 object categories.
  • YouTube-VOS (YTB): A massive video dataset used to train the model on diverse, real-world motion and object types.
  • DAVIS 2017: The primary benchmark for iVOS. The authors used the standard interactive track to compare accuracy (J&F scores) and inference speed against existing state-of-the-art (SOTA) methods.

Key Insights and Ideas

  • Parallelism via Identity: The most significant "aha moment" is the use of ID-queries. By treating object identities as distinct channels in a unified decoder, the model can distinguish between a "person" and a "horse" in a single forward pass, effectively "flattening" the computational cost of multi-object scenes.
  • Scribbles are Global: The AFI module recognizes that a scribble on frame 10 contains useful information for frame 1. By using attention to share this information across the time axis during the interaction phase, the model produces much higher-quality initial masks.
  • Memory Persistence: The across-round memory ensures that user input isn't "forgotten" between interaction rounds. Each new scribble doesn't just fix one frame; it updates a global representation of the object that improves the entire video's segmentation.

Key Results

  • Accuracy: IDPro (specifically the SwinB-IDPro variant) set a new state-of-the-art on DAVIS 2017 with a 89.6% J&F@60 score after just three rounds of interaction.
  • Speed: In scenarios with 10 objects, IDPro maintained a nearly flat inference time (approx. 12 ms/frame), while the previous SOTA (MiVOS) saw its inference time skyrocket to over 150 ms/frame. This represents a 3x to 10x speedup depending on object density.
  • Efficiency: The model's computational complexity (FLOPs) remains remarkably stable as the number of objects increases, whereas traditional methods scale linearly.

Limitations and Future Work

The authors acknowledge a few areas for improvement:

  • Scribble Sensitivity: Like most iVOS models, performance is still heavily dependent on the quality of user input. "Rough" or ambiguous scribbles can lead to significantly lower accuracy compared to "detailed" ones.
  • Hardware Constraints: While the algorithm is efficient, the concurrent processing is still limited by the GPU's memory and the batch size of the decoder (currently optimized for up to 10 objects).
  • Future Directions: The team suggests that future work could focus on making the model even more robust to low-quality user input and further optimizing the memory generate network to handle even longer video sequences.

Summary updated

BibTeX
@article{li2024idpro,
  author = {Kexin Li and Tao Jiang and Zongxin Yang and Yi Yang and Yueting Zhuang and Jun Xiao},
  title = {{IDPro: Flexible Interactive Video Object Segmentation by ID-Queried Concurrent Propagation}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2024},
  url = {https://openreview.net/forum?id=sP4Ou9GgbS},
}
Figure