A Generative Appearance Model for End-to-end Video Object Segmentation

Joakim Johnander, Martin Danelljan, Emil Brissman, Fahad Shahbaz Khan, Michael Felsberg · DOI

Abstract

Video Object Segmentation (VOS) traditionally faces a trade-off between the high accuracy of slow online fine-tuning and the speed of feedforward methods. We present a novel end-to-end trainable network that bridges this gap using a fast, generative appearance module. By learning a probabilistic model of the target and background in a single forward pass, our system achieves state-of-the-art performance on benchmarks like YouTube-VOS and DAVIS 2017 while maintaining a practical speed of 15 FPS.

Introduction

Video Object Segmentation (VOS) involves tracking and pixel-perfect masking of specific objects across a video sequence, given only the mask for the first frame. Traditionally, the best-performing methods relied on "online fine-tuning"—retraining parts of the neural network on the first frame of every new video. While accurate, this approach is prohibitively slow and creates a training gap where the offline phase cannot account for inference-time behavior. Conversely, feedforward methods are fast but often struggle with occlusions and visually similar "distractor" objects. This paper addresses these challenges by introducing a differentiable generative appearance model.

Methods

The proposed architecture centers around a Generative Appearance Module that explicitly models the statistical distribution of target and background pixels using Gaussian Mixture Models (GMMs).

The proposed network architecture featuring the Generative Appearance Module and Mask-propagation branch.

As illustrated in the architecture diagram, the network consists of two main branches:

  1. Mask-propagation Module: This branch focuses on temporal continuity, utilizing the object's location in the previous frame to guide current segmentation.
  2. Appearance Module: This module uses differentiable GMMs to represent the foreground and background. By deriving the learning and prediction stages to be fully differentiable, the entire pipeline can be trained end-to-end via backpropagation.

To handle complex scenes, the model incorporates dedicated Gaussian components for "hard examples"—pixels that are initially misclassified. Furthermore, the GMM parameters are updated recurrently using a running average (controlled by a learning rate $\lambda$), allowing the model to adapt to lighting changes or viewpoint shifts throughout the video.

Results and Discussion

The model was evaluated on major benchmarks including YouTube-VOS and DAVIS 2017. On YouTube-VOS, the method achieved a score of 66.0%, outperforming previous methods including those utilizing slow online fine-tuning. On DAVIS 2017, it reached 67.2% J-mean, the best result among causal methods without fine-tuning.

Qualitative comparison showing our method's robustness against distractors compared to RGMP.

Qualitative results highlight the model's ability to distinguish targets from visually similar distractors, a common failure point for methods like RGMP. An ablation study confirmed the importance of end-to-end learning; failing to backpropagate through the appearance module's inference step resulted in a performance drop of over 7%. Crucially, the system operates at 15 frames per second (FPS), making it orders of magnitude faster than fine-tuning-based competitors.

Conclusion and Future Work

By integrating a generative model into an end-to-end trainable framework, this work demonstrates that robust appearance modeling can replace expensive online fine-tuning without sacrificing accuracy. While the model is highly effective and causal (suitable for real-time use), future work could explore non-causal extensions to further smooth errors or address potential drift in extremely long video sequences.

Summary updated

BibTeX
@inproceedings{johnander2018generative,
  author = {Joakim Johnander and Martin Danelljan and Emil Brissman and Fahad Shahbaz Khan and Michael Felsberg},
  title = {{A Generative Appearance Model for End-to-end Video Object Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2019.00916},
}
Figure