Joint Detection of Motion Boundaries and Occlusions

Hannah Halin Kim, Shuzhi Yu, Carlo Tomasi

Introduction

In computer vision, optical flow—the task of tracking pixel movement between video frames—is a fundamental challenge. While deep learning has significantly improved flow estimation in smooth regions, performance often degrades at Motion Boundaries (MBs), where objects move past one another, and in Occlusion regions (Occs), where pixels disappear or reappear.

A new approach from researchers at Duke University introduces MONet, a convolutional neural network designed to jointly detect motion boundaries and occlusions. By rethinking feature warping and decoder structures, MONet achieves state-of-the-art (SOTA) performance without the extensive fine-tuning typically required for these tasks.

The Challenge: Motion Boundaries and Occlusions

Standard optical flow algorithms assume motion is smooth and that every pixel in one frame has a corresponding match in the next. This assumption fails in two critical areas:

  1. Motion Boundaries: These represent the edges of moving objects. Because flow is discontinuous here, standard smoothness constraints can introduce errors.
  2. Occlusions: These occur when an object covers the background. In these regions, flow is undefined because the background pixels have no match in the subsequent frame.

Existing models often treat these as separate problems or rely on computationally expensive 4D cost volumes. Furthermore, traditional architectures frequently lose fine spatial details as they process information through a low-resolution "bottleneck."

Methodology: The MONet Architecture

MONet introduces several architectural innovations to address these limitations:

Bidirectional Reasoning and Direct Warping

MONet utilizes Siamese networks to process video in both forward (Frame 1 $\rightarrow$ 2) and backward (Frame 2 $\rightarrow$ 1) directions simultaneously. Unlike most models that use "reverse warping" to align frames, MONet employs direct warping. This technique naturally leaves "holes" in regions where occlusions occur, providing a strong signal to the network about disappearing pixels.

Fine-to-Coarse (F2C) Decoder

Most modern CNNs use a coarse-to-fine (C2F) decoder, starting at low resolution and upsampling. MONet reverses this logic with a Fine-to-Coarse (F2C) decoder. By processing high-resolution information first, the model preserves sharp edges and spatial details that are often lost in traditional bottlenecks.

Comparison of (a) traditional Coarse-to-Fine and (b) the proposed Fine-to-Coarse decoder architectures.

Spatial Attention

Since motion boundaries typically contour occlusion regions, MONet uses a spatial attention mechanism. This guides the MB predictor toward the edges of predicted occlusion maps, leveraging the physical relationship between an object's boundary and the "shadow" of occlusion it creates.

Experimental Results

MONet was trained on the FlyingThings3D (FT3D) dataset and evaluated on major benchmarks—MPI-Sintel and FlyingChairsOcc—without any task-specific fine-tuning.

Visualization of joint motion boundary and occlusion detection.

The model significantly outperformed previous SOTA methods:

  • Sintel (Clean) Motion Boundaries: Achieved a mean Average Precision (mAP) of 93.1, a substantial increase from the previous best of 86.3.
  • Sintel (Clean) Occlusions: Achieved an $F_1$ score of 74.4, surpassing the previous SOTA of 71.2.
  • Zero-Shot Generalization: MONet’s strong performance on unseen datasets suggests it has learned the underlying physics of motion rather than merely memorizing dataset-specific textures.

Conclusion

MONet demonstrates that joint reasoning and architectural shifts, such as the Fine-to-Coarse decoder, can dramatically improve the detection of complex motion phenomena. By treating the "holes" created by direct warping as a feature rather than a bug, the model provides a more robust framework for understanding dynamic scenes in video.

Summary updated

BibTeX
@inproceedings{kim2021joint,
  author = {Hannah Halin Kim and Shuzhi Yu and Carlo Tomasi},
  title = {{Joint Detection of Motion Boundaries and Occlusions}},
  booktitle = {BMVC},
  year = {2021},
}
Figure