Abstract
Semi-supervised video object segmentation (VOS) requires tracking a specific object throughout a sequence given only its initial mask. While existing methods often struggle to balance accuracy with real-time performance, FaSTGAN introduces a novel framework that achieves 32 fps by leveraging Generative Adversarial Networks (GANs) during training. By using spatial and temporal critics to enforce consistency, the model develops a robust, lightweight regressor that handles occlusions and rapid motion without the need for slow, per-video fine-tuning.
Introduction
Semi-supervised VOS is a challenging task where objects can change shape, undergo rapid motion, or disappear behind obstacles (occlusion). Current state-of-the-art methods typically fall into two categories: high-accuracy models that require slow per-video fine-tuning, and high-speed models that process frames independently but suffer from temporal "drift" or jitter. FaSTGAN aims to bridge this gap by creating a model that is temporally aware yet fast enough for real-world applications.
Methodology: The FaSTGAN Architecture
The core of the FaSTGAN framework is a generative approach where a regressor is guided by "critics" (discriminators) during the training phase.
The Regressor ($\phi$)
The regressor is a Siamese encoder-decoder network. It processes the current frame, the reference mask from the first frame, and the predicted mask from the previous frame. A key innovation is the temporal skip connection, which passes features from the previous frame's decoder to the current one, serving as a computationally efficient memory state.
Spatial and Temporal Critics
To ensure high-quality segmentation, the authors introduce two discriminators used exclusively during training:
- Spatial Critic ($D_S$): Evaluates the predicted mask against the RGB frame to penalize unrealistic boundaries or segmentation "leaks."
- Temporal Critic ($D_T$): Analyzes a window of $K$ frames (typically $K=4$) to ensure the sequence of masks is temporally coherent, teaching the model plausible motion and deformation patterns.
By moving these complex consistency checks into the training phase, the inference model remains a streamlined regressor capable of high-speed execution.
Experimental Setup and Datasets
The model was evaluated on standard VOS benchmarks:
- DAVIS 2016/2017: Benchmarks for single and multi-object segmentation.
- YouTube-VOS: A large-scale dataset used for pre-training to help the model learn general motion and object dynamics.
The training process utilized a combination of balanced binary cross-entropy and Wasserstein GAN (WGAN-GP) losses to maintain stability.
Key Results
- Real-Time Performance: FaSTGAN achieves 32 fps on a single Titan Xp GPU, making it approximately 4x faster than previous high-speed competitors like RGMP.
- Competitive Accuracy: On DAVIS 2016, the model reached a mean J&F score of 81.9, performing comparably to much slower state-of-the-art methods.
- Robustness to Occlusion: The temporal critic effectively "teaches" the model how objects move, allowing it to recover masks even after partial or temporary occlusions.
Discussion and Limitations
While FaSTGAN represents a significant step toward real-time VOS, some limitations remain. If temporal constraints are too rigid, the model may struggle to recover objects that are completely occluded for extended periods. Additionally, while the model supports multiple objects, its computational cost scales with the number of instances. Future research may focus on more efficient multi-object handling and further closing the accuracy gap with non-real-time methods.
Summary updated