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

Interactive Video Object Mask Annotation

Trung-Nghia Le, Tam V. Nguyen, Quoc-Cuong Tran, Lam Nguyen, Trung-Hieu Hoang, Minh-Quan Le, Minh-Triet Tran

Introduction

Deep learning models for video object detection and segmentation require vast amounts of densely annotated data. Manually outlining objects in every frame—a process known as masking—is an "exhausting, tedious, and extremely time-consuming" task. While interactive tools exist for static images, they often fail to leverage the temporal continuity of video, forcing annotators to work frame-by-frame.

The Challenge of Video Annotation

Existing automated tools are often restricted to specific object categories (e.g., cars or people). To address this, we present a category-agnostic system that allows human annotators to guide an AI through simple interactions, significantly reducing the manual labor required for high-quality video datasets.

Methodology

The system architecture bridges a user-friendly front-end with a powerful back-end capable of real-time mask generation and propagation.

Control-Point-based Scribbles-to-Mask (CPSM)

Instead of defining complex polygons, users provide simple "scribbles" on a keyframe. The CPSM module converts these scribbles into a set of control points. A backpropagating refinement algorithm then generates a multi-object mask, which is further polished using a memory-based model (STM).

The CPSM workflow: from user scribbles to refined object masks via control points and probability maps.

Multi-Referenced Guided Segmentation (MRGS)

Once a mask is established for a single frame, the MRGS module propagates it to adjacent frames. Unlike standard trackers that use rectangular bounding boxes, MRGS utilizes a "natural-shaped Region-of-Interest (ROI)" that follows the object's contours. This approach, which leverages a DeepLab3+ model trained on MS-COCO and DAVIS datasets, minimizes background noise and improves accuracy when objects are in close proximity.

System Architecture and Feedback Loop

The system is designed for continuous interaction. If propagation errors occur due to occlusion or fast motion, the user can intervene with corrective scribbles. The system then re-propagates these corrections bi-directionally (forward and backward) to maintain consistency.

The overall system architecture connecting the local Annotation Interface with the cloud-based Visualizer and Storage Service.

Key Insights

  • Efficiency via Control Points: Treating scribbles as sampled control points allows optimization algorithms to "shrink-wrap" masks faster than manual drawing.
  • Natural-Shaped ROIs: Contoured ROIs reduce ambiguity in complex scenes compared to traditional rectangular boxes.
  • Reliable Reference Selection: The system automatically filters out low-quality reference frames (e.g., blurry or anomalous masks) to ensure robust propagation.

Results

The system's performance was validated during the DAVIS 2020 Challenge:

  • Interactive Segmentation: The CPSM module secured 2nd place with an AUC of 76.7.
  • Semi-Supervised Segmentation: The MRGS module achieved 4th place with a global score of 79.3.

Conclusion

This interactive framework demonstrates that human-in-the-loop systems can drastically accelerate video annotation without sacrificing precision. Future work will explore additional interaction modalities, such as clicks or boundary dragging, to further streamline the process for complex visual scenarios.

Summary updated

BibTeX
@inproceedings{le2021interactive,
  author = {Trung-Nghia Le and Tam V. Nguyen and Quoc-Cuong Tran and Lam Nguyen and Trung-Hieu Hoang and Minh-Quan Le and Minh-Triet Tran},
  title = {{Interactive Video Object Mask Annotation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i18.18014},
}
Figure