Video-kMaX: A Simple Unified Approach for Online and Near-Online Video Panoptic Segmentation

Inkyu Shin, Dahun Kim, Qihang Yu, Jun Xie, Hong-Seok Kim, Bradley Green, In So Kweon, Kuk-Jin Yoon, Liang-Chieh Chen

Abstract

Video Panoptic Segmentation (VPS) aims to achieve comprehensive pixel-level scene understanding by segmenting all pixels and associating objects in a video. Current solutions can be categorized into online and near-online approaches. Evolving over the time, each category has its own specialized designs, making it nontrivial to adapt models between different categories. To alleviate the discrepancy, in this work, we propose a unified approach for online and near-online VPS. The meta architecture of the proposed Video-kMaX consists of two components: within clip segmenter (for clip-level segmentation) and cross-clip associater (for association beyond clips). We propose clip-kMaX (clip k-means mask transformer) and HiLA-MB (Hierarchical Location-Aware Memory Buffer) to instantiate the segmenter and associater, respectively. Our general formulation includes the online scenario as a special case by adopting clip length of one. Without bells and whistles, Video-kMaX sets a new state-of-the-art on KITTI-STEP and VIPSeg for video panoptic segmentation, and VSPW for video semantic segmentation.

Introduction

Video Panoptic Segmentation (VPS) represents a significant challenge in computer vision, requiring simultaneous semantic segmentation of every pixel and temporal tracking of individual object instances. Traditionally, the field has diverged into two distinct paradigms: online approaches, which process video frame-by-frame for real-time efficiency, and near-online approaches, which process small clips to leverage temporal context.

The architectural divergence between these two paradigms has historically made cross-adaptation difficult. Video-kMaX addresses this by introducing a unified "meta-architecture" that bridges the gap. By treating the online scenario as a special case where the clip length is one, Video-kMaX provides a single framework capable of excelling in both settings.

Overview of the Video-kMaX framework, illustrating the clip-kMaX segmenter and the HiLA-MB associater.

Methodology

The Video-kMaX architecture is built upon two core innovations: a within-clip segmenter and a cross-clip associater.

clip-kMaX: Within-Clip Segmenter

The within-clip segmenter, clip-kMaX, extends the kMaX-DeepLab framework to video. It conceptualizes mask transformers as a k-means clustering process. Rather than employing complex 3D convolutions, the model concatenates features from all frames in a clip along the spatial dimension. The k-means cross-attention mechanism treats the entire clip as a single high-dimensional image, naturally grouping pixels into temporal "tubes" (3D masks). This approach is robust to the long sequences inherent in video data, as object queries act as cluster centers.

HiLA-MB: Hierarchical Location-Aware Memory Buffer

To maintain object identity across clips or frames, the Hierarchical Location-Aware Memory Buffer (HiLA-MB) is employed. Unlike traditional methods that rely primarily on appearance, HiLA-MB integrates:

  • Location Awareness: It utilizes bounding box coordinates and a constant-velocity motion model to predict object positions, aiding re-identification during occlusions.
  • Hierarchical Matching: It employs a two-stage process: "Video Stitching" via IoU matching for immediate temporal association, followed by memory buffer retrieval for long-term tracking of previously unmatched objects.

Experimental Results

Video-kMaX was evaluated on major benchmarks including KITTI-STEP (driving scenes), VIPSeg (large-scale in-the-wild), and VSPW (semantic segmentation).

Performance comparison of Video-kMaX against existing online and near-online methods on the VIPSeg dataset.

The model established new state-of-the-art (SOTA) performance:

  • KITTI-STEP: Achieved 78.9 STQ, a +4.6% improvement over the previous best near-online model, TubeFormer.
  • VIPSeg: In the online configuration ($T=1$), it outperformed Video K-Net by +5.6% STQ.
  • Efficiency: The architecture achieves these results without scenario-specific "bells and whistles" like extra loss functions or complex post-processing (e.g., NMS).

Conclusion

Video-kMaX demonstrates that a unified architecture can effectively handle both online and near-online video panoptic segmentation. By leveraging k-means clustering for segmentation and a location-aware memory buffer for association, it simplifies the VPS pipeline while improving accuracy. While the model currently relies on a constant-velocity assumption for tracking—which can fail during erratic motion—it sets a strong foundation for future research into more sophisticated motion modeling and 3D context integration.

Summary updated

BibTeX
@inproceedings{shin2024video,
  author = {Inkyu Shin and Dahun Kim and Qihang Yu and Jun Xie and Hong-Seok Kim and Bradley Green and In So Kweon and Kuk-Jin Yoon and Liang-Chieh Chen},
  title = {{Video-kMaX: A Simple Unified Approach for Online and Near-Online Video Panoptic Segmentation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=AmCrpBkZcM},
}
Figure