STEm-Seg: Spatio-Temporal Embeddings for Instance Segmentation in Videos

Ali Athar, Sabarinath Mahadevan, Aljosa Osep, Laura Leal-Taixé, Bastian Leibe

Abstract

STEm-Seg introduces a unified, single-stage approach to segmenting and tracking object instances in videos by treating a video clip as a single 3D spatio-temporal volume. Instead of the traditional "detect-then-track" pipeline, it learns to map every pixel into an embedding space where pixels belonging to the same object naturally cluster together across both space and time.

Introduction

Most state-of-the-art video instance segmentation (VIS) methods follow a "top-down" tracking-by-detection paradigm. These systems typically detect objects in individual frames and then employ complex association modules to link detections over time. However, this approach suffers from high complexity, fragmented learning (as components are rarely end-to-end trainable), and sensitivity to rapid motion or heavy occlusions.

STEm-Seg provides a unified framework for various video segmentation tasks, including Video Object Segmentation (top), Video Instance Segmentation (middle), and Multi-Object Tracking & Segmentation (bottom).

STEm-Seg addresses these issues by proposing a bottom-up approach that treats video as a continuous 3D volume ($H \times W \times T$). By modeling the problem in this way, the system can "see" through occlusions; pixels before and after an object is hidden still belong to the same 3D cluster.

Methodology

The core of STEm-Seg is the mapping of every pixel into a spatio-temporal embedding space where instances are identified through clustering.

The STEm-Seg pipeline: video frames are encoded into a spatio-temporal volume where pixels are mapped to an embedding space. Instances are then identified as clusters modeled by Gaussian distributions.

Spatio-Temporal Embeddings and Mixing Functions

The network predicts an embedding vector for every pixel. To facilitate clustering, the authors "mix" these learned embeddings with coordinate information ($x, y, t$). This provides a powerful spatial and temporal prior. Additionally, "free dimensions"—extra learned features—allow the network to distinguish between similar-looking objects in close proximity.

Gaussian Modeling and TSE Decoder

During training, each object instance is modeled as a multivariate Gaussian distribution. The network learns to predict the cluster mean (the object's 3D center) and the variance (its extent). To process the 3D volume efficiently, the authors developed the Temporal Squeeze-Expand (TSE) Decoder. This architecture uses 3D convolutions to "squeeze" the temporal dimension for long-range context before "expanding" it back to produce precise pixel-level masks.

Experimental Evaluation

STEm-Seg was evaluated across several diverse benchmarks to prove its versatility:

  • DAVIS 2019 (Unsupervised): Achieved a $\mathcal{J}\&\mathcal{F}$ score of 64.7%, outperforming the previous best proposal-based method (AGNN, 61.1%).
  • YouTube-VIS: Achieved 34.6% AP, surpassing the popular MaskTrack R-CNN (30.3% AP).
  • KITTI-MOTS: While slightly behind the top-performing TrackR-CNN in raw MOTSA for cars, STEm-Seg demonstrated significantly higher temporal consistency, with 80% fewer ID switches for pedestrians.

The method is also efficient, running at approximately 7 FPS, which is significantly faster than many multi-stage competitors that often run at less than 1 FPS.

Conclusion

STEm-Seg demonstrates that a simple, bottom-up clustering approach in a 3D embedding space can outperform complex multi-stage detection-and-tracking pipelines. By treating time as a primary dimension, the model achieves superior temporal consistency and robustness to occlusions. Future work may involve improving memory efficiency for longer clips and integrating more sophisticated global association for long-term re-identification.

Summary updated

BibTeX
@inproceedings{athar2020stem,
  author = {Ali Athar and Sabarinath Mahadevan and Aljosa Osep and Laura Leal-Taixé and Bastian Leibe},
  title = {{STEm-Seg: Spatio-Temporal Embeddings for Instance Segmentation in Videos}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58621-8\_10},
}
Figure