TL;DR
The Motion-inductive Object Discovery (MOD) model enables unsupervised object discovery in videos by directly processing RGB frames rather than relying on pre-computed optical flow. By enforcing temporal consistency across randomly paired frames, the model learns a sense of "object permanence," allowing it to segment objects even when they stop moving, all while achieving state-of-the-art performance at a blazing 100 FPS.
What Problem Does This Paper Address?
Discovering objects in videos without manual annotations (unsupervised discovery) usually relies on motion cues. Most existing methods use optical flow—a representation of how pixels move between frames—as their primary input. However, this approach has three major flaws:
- The "Statics" Problem: If an object stops moving or is partially occluded, it disappears from the optical flow field, leaving the model with no cues to find it.
- Texture Loss: Optical flow is a "lossy" encoding that throws away rich texture information, making it difficult to maintain temporal consistency (tracking the same object over time).
- Computational Overhead: Calculating dense optical flow is slow, creating a bottleneck for real-time applications.
The authors aim to build a model that uses raw RGB frames to exploit both motion and texture, ensuring that objects are recognized as persistent entities even when they are momentarily still.
Methods
The authors propose the Motion-inductive Object Discovery (MOD) model. Its architecture consists of several key stages:
- Spatial-temporal Visual Encoder: It uses a SwinV2-T backbone to extract features from individual frames, followed by a Transformer-based global fusion module to build dependencies across the entire video clip.
- Random-paired Frame Comparator: Instead of just looking at adjacent frames, the model randomly pairs frames from the sequence. This forces the model to estimate motion at different "paces" and even handle static cases (where the same frame is paired with itself), pushing it to rely on temporal coherence rather than just raw pixel shifts.
- Dual-layered Flow Decoder: Inspired by slot attention, this module decomposes the scene into two layers: foreground and background. It reconstructs the optical flow by compositing these layers using inferred "opacity weights," which effectively serve as the segmentation masks.
Training Strategy: The model is self-supervised. During training, it uses an off-the-shelf flow estimator (like RAFT) as a "teacher" to provide a reconstruction target. Crucially, it employs a Temporal Consistency Loss, which ensures that the segmentation mask for a specific frame remains the same regardless of which other frame it is paired with for motion estimation.
Datasets
The model was evaluated on three standard benchmarks for unsupervised video object segmentation:
- DAVIS2016: 50 high-quality video sequences with pixel-accurate annotations.
- SegTrackv2: 14 sequences featuring challenges like motion blur and complex deformations.
- FBMS-59: 59 sequences with varied resolutions and multiple moving objects.
For all datasets, the authors followed the standard protocol of merging multi-object annotations into a single foreground mask for evaluation.
Key Insights and Ideas
- Object Permanence via RGB: By using RGB frames, the model retains texture cues. Even if an object stops moving (becoming invisible in a flow field), its visual features remain, allowing the model to "remember" it.
- The Power of Random Pairing: Pairing frames at random intervals (e.g., frame 1 with frame 5) provides a much stronger signal for object discovery than just looking at consecutive frames. It helps the model distinguish between transient noise and persistent objects.
- Efficiency is a Feature: By moving the flow estimation "inside" the model as a training-only induction task, the inference process becomes significantly faster because it no longer needs to wait for external flow pre-computation.
Key Results
MOD sets new performance bars for unsupervised methods:
- Accuracy: On DAVIS2016, it achieved 73.9% mIoU without any post-processing, outperforming the previous state-of-the-art (MG) by 5.8%. With test-time adaptation, this rose to 79.2%.
- Speed: The model reaches a throughput of 100 FPS on a standard Tesla V100 GPU, making it highly practical compared to flow-dependent pipelines.
- Ablation Studies: The authors confirmed that both the temporal fusion module and the consistency loss are critical. Removing the temporal fusion dropped DAVIS performance from 73.9% to 68.3%.
Limitations and Future Work
- Memory Constraints: Processing multiple consecutive RGB frames simultaneously is memory-intensive, which limited the authors to a maximum window of 7 frames.
- Single Object Focus: The current dual-layer approach effectively groups all moving things into one "foreground" slot. The authors note that extending this to segment multiple distinct objects (multi-slot discovery) is a promising future direction.
- Pre-training: The model was trained from scratch. Leveraging large-scale pre-trained visual features could potentially further boost performance and reduce training time.
Summary updated