NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning to Segment Moving Objects

Pavel Tokmakov, Cordelia Schmid, Karteek Alahari · DOI

TL;DR

This paper introduces a novel deep learning framework for segmenting moving objects in unconstrained videos. It leverages a two-stream network (appearance and motion) combined with an explicit "visual memory" module (ConvGRU) to capture temporal object evolution, achieving state-of-the-art results on challenging benchmarks.

What Problem Does This Paper Address?

Segmenting moving objects in videos is a crucial but challenging task. Existing methods often struggle with unconstrained scenarios, relying on hand-crafted features or requiring manual annotations for initial frames. A key difficulty is handling objects that change their motion patterns, stop moving, or appear in cluttered scenes. Furthermore, many approaches fail to effectively exploit the temporal consistency inherent in video sequences, treating each frame in isolation or relying on frame-based propagation. This paper aims to address these limitations by developing a learning-based framework that integrates appearance, motion, and temporal memory for robust video object segmentation without requiring manual input for each video.

Methods

The proposed framework is a two-stream neural network with an explicit memory module.

  • Appearance Stream: This stream uses a pre-trained DeepLab network (initially v1, later upgraded to v2 with ResNet101) to extract high-level semantic features from individual video frames. This helps in recognizing object identities and correcting motion estimation errors.
  • Motion Stream (MP-Net): This is a novel convolutional neural network trained on synthetic data to segment independently moving objects based on optical flow. It's designed as an encoder-decoder architecture to capture fine motion details and produce output at the original image resolution. The network is trained on synthetic data with ground-truth optical flow and motion labels.
  • Visual Memory Module (ConvGRU): This is the core innovation, a convolutional Gated Recurrent Unit (ConvGRU). It takes the concatenated features from the appearance and motion streams as input. The ConvGRU learns to capture the spatio-temporal evolution of objects over time, effectively building a "visual memory" for each video. This memory helps in segmenting objects even when they become stationary or when motion prediction is ambiguous. The module is trained bidirectionally (forward and backward passes) to better capture temporal dynamics.

The final segmentation is produced by combining the outputs of these components and passing them through a convolutional layer and a softmax non-linearity.

Datasets

  • Training:
    • Flying Things3D (FT3D): A synthetic dataset used to train the motion stream (MP-Net). It provides ground-truth optical flow and allows for automatic generation of moving object segmentation masks.
  • DAVIS: Used for training the ConvGRU visual memory module. This dataset is manually annotated and contains realistic videos.
  • FusionSeg: Used for exploring the impact of training on real-world data and for finetuning the MP-Net.
  • Evaluation:
    • DAVIS: A primary benchmark for evaluating the full framework.
  • Freiburg-Berkeley Motion Segmentation (FBMS): Another benchmark dataset.
  • SegTrack-v2: Used for evaluation, noted for its low-resolution videos which pose a challenge.

Key Insights and Ideas

  • Synergy of Appearance and Motion: The paper strongly emphasizes that combining appearance and motion cues is crucial. While motion is key for identifying moving objects, appearance helps disambiguate and correct errors, especially when motion is subtle or objects stop.
  • The Power of Synthetic Data for Motion: Training the motion estimation network (MP-Net) on synthetic data with ground-truth optical flow proved highly effective, allowing it to learn robust motion patterns that generalize well.
  • Explicit Visual Memory for Temporal Consistency: The ConvGRU module is a key contribution, enabling the model to "remember" object appearances and motions over time. This is vital for handling complex scenarios like objects stopping or changing motion, which frame-based methods struggle with.
  • Bidirectional Processing for Enhanced Memory: Applying the ConvGRU bidirectionally (forward and backward) significantly improves the ability to capture temporal dynamics and correct motion prediction errors, especially for objects that start moving later in a video.
  • Robustness to Flow Quality: The visual memory module makes the overall segmentation framework surprisingly robust to variations in optical flow estimation quality, as it can rely on appearance and temporal consistency cues.

Key Results

  • State-of-the-Art Performance: The proposed method achieved state-of-the-art results on the DAVIS dataset, outperforming previous methods by a significant margin (e.g., 2% over ARP on mean IoU, and substantial improvements in temporal stability).
  • Strong Generalization: The framework demonstrated competitive performance on FBMS and SegTrack-v2, even when trained primarily on DAVIS.
  • Ablation Study Highlights Component Importance: Ablation studies confirmed the critical role of each component: removing the appearance stream led to a significant performance drop (26.6% IoU on DAVIS), while the ConvGRU memory module provided a 6% improvement over a non-recurrent baseline. Bidirectional processing also yielded a ~3% improvement.
  • MP-Net Performance: The motion stream (MP-Net) achieved high IoU scores on FT3D (up to 85.9%) and showed good transferability to DAVIS (up to 52.4% with estimated flow).

Limitations and Future Work

  • Low-Resolution Video Challenges: The method, like many deep learning approaches, struggles with very low-resolution videos (e.g., SegTrack-v2), potentially due to domain shift from high-resolution training data.
  • Synthetic vs. Real Data Domain Gap: While synthetic data is effective for training motion, there's a notable performance gap when transferring to real-world videos, especially for appearance features. Finetuning on real data helps mitigate this.
  • "Stuff" Motion: The paper notes that motion of "stuff" (e.g., water patterns) can be confused with object motion and requires post-processing or further refinement.
  • Future Work: The authors suggest exploring instance-level video object segmentation and further improving the motion estimation network. They also mention the potential for replacing components with newer architectures for further gains.

Summary updated

BibTeX
@article{tokmakov2017learning,
  author = {Pavel Tokmakov and Cordelia Schmid and Karteek Alahari},
  title = {{Learning to Segment Moving Objects}},
  journal = {Int. J. Comput. Vis.},
  year = {2017},
  doi = {10.1007/s11263-018-1122-2},
}
Figure