DVIS: Decoupled Video Instance Segmentation Framework

Tao Zhang, Xingye Tian, Yu Wu, Shunping Ji, Xuebo Wang, Yuan Zhang, Pengfei Wan

Introduction

Video Instance Segmentation (VIS) is a complex computer vision task that requires a model to simultaneously identify, segment, and track every object across a video sequence. While existing models have shown promise on short, controlled clips, they often struggle in real-world scenarios characterized by long durations, frequent object occlusions, and complex motion. The DVIS (Decoupled Video Instance Segmentation) framework addresses these challenges by breaking the monolithic VIS task into three independent sub-tasks: segmentation, tracking, and refinement. By decoupling these processes, DVIS achieves state-of-the-art performance while maintaining exceptional computational efficiency.

The Problem: Tightly Coupled Architectures

Traditional VIS architectures generally fall into two categories, both of which suffer from inherent structural flaws:

  • Offline Methods: These models process the entire video at once. While they benefit from global context, they often treat all frames equally, leading to "temporal noise." Distant, unrelated frames can interfere with local tracking, causing inconsistencies.
  • Online Methods: These models process video frame-by-frame. While efficient, they often lack the long-term temporal context necessary to maintain object identity when an instance is partially hidden or leaves and re-enters the frame.

DVIS identifies that these "tightly coupled" approaches force a single architecture to solve disparate problems simultaneously, often leading to sub-optimal trade-offs between local accuracy and global consistency.

The DVIS Framework

DVIS introduces a modular pipeline consisting of three distinct components designed to specialize in specific aspects of the VIS task.

1. The Segmenter

The framework utilizes a standard image segmenter—specifically Mask2Former—to extract "instance representations" (queries) from each individual frame. To maintain stability and focus on temporal dynamics during later stages, this segmenter is kept frozen while the tracking and refinement modules are trained.

2. The Referring Tracker

Rather than relying on simple heuristic matching to link objects between frames, DVIS introduces a Referring Cross Attention (RCA) module. This module treats tracking as a "referring denoising" task. It uses the object queries from the previous frame as a reference point and refines the current frame's queries to match. To prevent the model from blending different objects together during the attention process, a specialized Identification (ID) mechanism is employed, ensuring distinct object identities are preserved even in crowded scenes.

3. The Temporal Refiner

The final stage is an offline component that analyzes the entire sequence of tracked instance representations. By utilizing 1D convolutions to capture short-term motion and self-attention for long-term global consistency, the refiner can "fix" segmentation errors in individual frames. For example, if an object is occluded in frame $t$, the refiner can use information from frames $t-n$ and $t+n$ to reconstruct the missing mask.

Key Insights

  • Tracking as Denoising: Treating object association as a denoising problem allows the model to be significantly more robust to sudden movements. By using the previous frame's output as a "noisy" starting point, the tracker effectively converges on the correct object location in the current frame.
  • Representation-Level Processing: Most of the heavy lifting in DVIS occurs on compact instance representation vectors rather than raw high-resolution image features. This architectural choice makes the tracker and refiner incredibly lightweight, adding only 1.69% to the total computational cost (FLOPs) of the segmenter.
  • Decoupling for Specialization: The authors demonstrate that a massive, end-to-end video transformer is not required for high performance. Instead, a strong image segmenter paired with specialized temporal modules is more effective and easier to train.

Results and Benchmarks

DVIS has set new performance benchmarks across several major datasets, particularly those emphasizing long-form video and occlusion:

  • OVIS (Occluded Video Instance Segmentation): DVIS surpassed previous state-of-the-art methods by a significant 7.3 AP (Average Precision).
  • YouTube-VIS: The model achieved top-tier results across the 2019, 2021, and 2022 versions of the benchmark.
  • VIPSeg: Demonstrating versatility in Video Panoptic Segmentation (VPS), DVIS achieved a 9.6 VPQ (Video Panoptic Quality) improvement, securing 1st place in the PVUW challenge at CVPR 2023.

Furthermore, DVIS is highly accessible; it can be trained and run on a single GPU with 11GB of memory, a stark contrast to many modern video models that require massive compute clusters.

Limitations and Future Work

While DVIS excels in complex scenes, the authors note a remaining gap in handling "infinite" video streams where an unlimited number of instances may appear and disappear over very long durations. Future research will focus on developing processing mechanisms to handle these disappearing and reappearing instances more gracefully, a vital requirement for applications in autonomous driving and long-term surveillance.

Summary updated

BibTeX
@inproceedings{zhang2023dvis,
  author = {Tao Zhang and Xingye Tian and Yu Wu and Shunping Ji and Xuebo Wang and Yuan Zhang and Pengfei Wan},
  title = {{DVIS: Decoupled Video Instance Segmentation Framework}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure