Instance as Identity: A Generic Online Paradigm for Video Instance Segmentation

Feng Zhu, Zongxin Yang, Xin Yu, Yi Yang, Yunchao Wei

Introduction

Video Instance Segmentation (VIS) is the challenging task of simultaneously detecting, segmenting, and tracking objects within a video stream. Traditional online methods often follow a "tracking-by-detection" approach, treating detection and tracking as separate, decoupled steps. This separation frequently leads to failures in complex scenarios, such as when objects are heavily occluded or visually similar, as the model fails to utilize temporal context during the detection phase.

The IAI Paradigm

The "Instance As Identity" (IAI) framework proposes a unified approach by treating an object's identity as a predictable property, much like its class or mask. By integrating tracking directly into the detection process, the model leverages temporal "prior knowledge" to improve segmentation accuracy and tracking consistency.

The IAI framework (a) and its performance in occluded scenes (b) compared to the MaskTrack baseline.

Core Modules

The IAI architecture is built around two key modules designed to manage and associate object identities over time:

  1. Identification Module: This module includes an ID Head that predicts the probability of a detection belonging to a known ID or being a new instance. It is supported by an ID Bank that stores embeddings of previously encountered objects.
  2. Association Module: Centered on the Hybrid Association Block (HAB), this module uses a transformer-based architecture to correlate current image features with both Global Memory (the initial appearance of an object) and Local Memory (the immediate previous frame).
Detailed architecture of the Identification and Association Modules within the IAI framework.

IAI is designed as a generic paradigm and can be integrated with various base detectors, such as the one-stage CondInst or the two-stage Mask R-CNN.

Key Insights and Results

  • Robustness to Occlusion: The use of global memory allows the model to re-identify objects even after they have been hidden for multiple frames. On the challenging OVIS (Occluded Video Instance Segmentation) dataset, IAI achieved 20.3 mAP, a significant 4.9-point improvement over previous state-of-the-art online methods.
  • State-of-the-Art Performance: On the standard YouTube-VIS-2019 benchmark, IAI reached 41.9 mAP using a ResNet-101 backbone, outperforming other online competitors.
  • Real-Time Potential: The model maintains high efficiency, running at approximately 27.4 FPS on a Tesla V100 GPU, making it suitable for near real-time applications.

Limitations

While highly effective, the model is susceptible to error propagation. If an object is poorly segmented in its initial frame, the resulting "bad" memory can lead to persistent tracking errors throughout the sequence. Additionally, the computational overhead of processing temporal information during inference makes it slightly slower than simpler tracking-by-detection methods that do not look at previous frames during the detection phase.

Conclusion

The IAI paradigm represents a significant step forward for online VIS by unifying detection and tracking. By leveraging identity embeddings and a dual-memory association strategy, it provides a robust solution for tracking objects in complex, real-world video sequences.

Summary updated

BibTeX
@inproceedings{zhu2022instance,
  author = {Feng Zhu and Zongxin Yang and Xin Yu and Yi Yang and Yunchao Wei},
  title = {{Instance as Identity: A Generic Online Paradigm for Video Instance Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19818-2\_30},
}
Figure