Lucid Data Dreaming for Video Object Segmentation

Anna Khoreva, Rodrigo Benenson, Eddy Ilg, Thomas Brox, Bernt Schiele

Abstract

"Lucid Data Dreaming" is a novel training strategy for video object segmentation (VOS) that achieves state-of-the-art results while using up to 1000x less annotated data than traditional methods. By synthesizing thousands of plausible "future" frames from just a single annotated image, the authors demonstrate that small, "in-domain" datasets are often more effective than massive, generic ones for specialized tracking tasks.

Introduction

Deep learning models for pixel-level video object segmentation typically require massive amounts of training data—often between 1,000 and 100,000 manually annotated frames—to generalize well. Manually labeling every pixel in a video is an incredibly laborious and expensive task.

The authors tackle a fundamental question: Do we really need massive datasets to teach a network how to track an object? They argue that for VOS, generic "objectness" knowledge is less important than specific knowledge about the appearance and motion of the target object in its specific environment (the "target domain").

Methodology

The authors introduce a system called LucidTracker and a data generation process called Lucid Data Dreaming.

The LucidTracker pipeline: synthesizing a training set from a single annotated frame to perform video object segmentation.

1. Lucid Data Dreaming (Data Synthesis)

Instead of relying on external datasets, the authors "dream" up a training set using only the first annotated frame of a video. The process involves:

  • Illumination Changes: Randomly altering saturation and value.
  • Foreground/Background Split: Cutting out the foreground object and using inpainting to fill the background.
  • Object & Camera Motion: Applying random affine and non-rigid deformations (like thin-plate splines) to the object and background independently to simulate movement and viewpoint changes.
  • Merging: Recomposing the scene using Poisson matting to create realistic boundaries.

This produces approximately 2,500 "plausible" frame pairs per video, complete with ground-truth masks and optical flow.

2. LucidTracker Architecture

The model treats VOS as a mask refinement task. It takes three inputs to predict the mask for frame $t$:

  1. The current RGB image ($I_t$).
  2. The optical flow magnitude ($F_t$), providing motion cues.
  3. The mask from the previous frame ($M_{t-1}$), warped using optical flow to provide an initial estimate.

The architecture uses a VGG-based DeepLab network. For single objects, it uses a two-stream approach (RGB and Flow branches); for multiple objects, it uses a more efficient one-stream architecture that handles $N$ objects simultaneously in separate input channels.

Key Insights

  • In-Domain > Large-Scale: A small amount of data that looks exactly like the test video is more valuable than a massive dataset of unrelated objects. Training on just the "dreamed" versions of the first frame outperformed models trained on 11k+ real annotated images.
  • Convnets are Efficient Learners: Surprisingly, the authors found they could achieve competitive results (80.5 mIoU on DAVIS16) by training a 20-million parameter network from scratch using only one annotated image, without any ImageNet pre-training.
  • Motion is a Strong Signal: Incorporating optical flow magnitude as a direct input helps the model distinguish moving objects from complex backgrounds that might share similar colors or textures.

Results and Performance

LucidTracker was evaluated on several standard VOS benchmarks, including DAVIS16, YouTubeObjects, and SegTrackv2. For multiple objects, the team placed 2nd in the 2017 DAVIS Challenge.

Example of object tracking ($M_t$) in a complex scene with occlusions.
  • State-of-the-Art Performance: LucidTracker achieved 86.6 mIoU on DAVIS16, 77.3 on YouTubeObjects, and 78.0 on SegTrackv2, outperforming methods that used significantly more data.
  • Data Efficiency: The method reached these results using only 24–126 training images (the first frames of the test sequences), compared to the ~145k images used by some competitors.
  • Robustness: Qualitative results show the model successfully handles fast motion, camera shake, and partial occlusions, as seen in the dog agility sequence above.

Limitations and Future Work

While powerful, the "dreaming" process only deforms a 2D image and cannot simulate seeing the "other side" of a 3D object; dramatic 3D rotations still cause the tracker to fail. Additionally, spatial resolution loss during pooling makes it difficult to track very thin structures like bicycle spokes.

Future work may involve "online adaptation"—continuously dreaming and retraining as the video progresses—to help the model adapt to new viewpoints and appearances over time.

Summary updated

BibTeX
@article{khoreva2019lucid,
  author = {Anna Khoreva and Rodrigo Benenson and Eddy Ilg and Thomas Brox and Bernt Schiele},
  title = {{Lucid Data Dreaming for Video Object Segmentation}},
  journal = {Int. J. Comput. Vis.},
  year = {2019},
  doi = {10.1007/s11263-019-01164-6},
}
Figure