Video Panoptic Segmentation

Dahun Kim, Sanghyun Woo, Joon-Young Lee, In So Kweon

Abstract

Panoptic segmentation has become a new standard of visual recognition task by unifying previous semantic segmentation and instance segmentation tasks in concert. In this paper, we propose and explore a new video extension of this task, called video panoptic segmentation. The task requires generating consistent panoptic segmentation as well as an association of instance ids across video frames. To invigorate research on this new task, we present two types of video panoptic datasets. The first is a re-organization of the synthetic VIPER dataset into the video panoptic format to exploit its large-scale pixel annotations. The second is a temporal extension on the Cityscapes val. set, by providing new video panoptic annotations (Cityscapes-VPS). Moreover, we propose a novel video panoptic segmentation network (VPSNet) which jointly predicts object classes, bounding boxes, masks, instance id tracking, and semantic segmentation in video frames. To provide appropriate metrics for this task, we propose a video panoptic quality (VPQ) metric and evaluate our method and several other baselines. Experimental results demonstrate the effectiveness of the presented two datasets. We achieve state-of-the-art results in image PQ on Cityscapes and also in VPQ on Cityscapes-VPS and VIPER datasets.

Introduction

In computer vision, panoptic segmentation has unified the identification of "thing" instances (cars, people) and "stuff" categories (sky, road) within static images. However, real-world applications like autonomous driving and augmented reality require a dense, temporally consistent understanding of scenes. This paper introduces Video Panoptic Segmentation (VPS), a task that extends panoptic segmentation to the temporal domain, requiring consistent semantic labeling and instance tracking for every pixel across video sequences.

Previously, video recognition tasks were fragmented into Video Object Segmentation (VOS), Video Instance Segmentation (VIS), and Video Semantic Segmentation (VSS). VPS bridges these gaps by combining identity tracking with all-encompassing pixel labeling. The primary challenges involve maintaining temporal consistency—ensuring labels and IDs don't flicker or swap—and overcoming the scarcity of dense video annotations.

Methodology: VPSNet and VPQ

The authors propose VPSNet, a unified architecture designed to handle spatial and temporal complexities by building upon the UPSNet baseline with two specialized temporal modules.

The VPSNet architecture features a Fuse module for pixel-level temporal context and a Track module for object-level identity association.

1. Temporal Modules

  • Fuse Module (Pixel-level): To improve consistency, VPSNet aligns features from a reference frame to a target frame using optical flow. An "align-and-attend" mechanism then fuses these features, providing temporal context that smooths noise and handles occlusions.
  • Track Module (Object-level): A tracking head computes a similarity matrix between Region of Interest (RoI) proposals across frames. This allows the model to link instances over time based on visual features rather than just spatial overlap.

2. Video Panoptic Quality (VPQ)

Standard image metrics fail to capture temporal drift. The proposed VPQ metric treats a sequence of masks as a 3D tube. High scores require matching the ground truth tube's volume across a window of $k$ frames. This approach penalizes identity switches, as a swap mid-window significantly reduces the tube-level Intersection over Union (IoU).

Benchmarking with New Datasets

To facilitate research, the authors introduced two major benchmarks:

  • Cityscapes-VPS: An extension of the Cityscapes dataset where 500 video snippets were manually annotated every 5th frame with dense panoptic labels and consistent IDs, totaling 3,000 high-quality frames.
  • Reformatted VIPER: A massive synthetic dataset from the GTA-V engine, reformatted into a standard VPS format to support large-scale training.
Examples from the VIPER (top) and Cityscapes-VPS (bottom) datasets showing dense, temporally consistent panoptic annotations.

Results and Insights

Experimental results highlight the synergy between temporal fusion and tracking:

  • Performance Gains: VPSNet achieved state-of-the-art results on static Cityscapes (62.2 PQ) and the new Cityscapes-VPS (56.1 VPQ), significantly outperforming frame-by-frame baselines.
  • Robustness: The learned tracking head proved far more robust than simple IoU-matching, particularly in fast-moving scenes.
  • Benefits for "Stuff": Interestingly, temporal fusion improved the segmentation of static background classes (like buildings) by providing multi-view context and reducing sensor noise.

Conclusion and Future Work

While VPSNet sets a new standard, challenges remain in computational efficiency due to the reliance on dense optical flow. Future work may explore "keyframe" propagation to reduce overhead. Additionally, long-term re-identification after extended occlusion and maintaining ID consistency in extremely crowded scenes are areas for further improvement.

Summary updated

BibTeX
@inproceedings{kim2020video,
  author = {Dahun Kim and Sanghyun Woo and Joon-Young Lee and In So Kweon},
  title = {{Video Panoptic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=wMoYAgjw9YO},
}
Figure