Semi-Nonnegative Matrix Factorization for Motion Segmentation with Missing Data

Quanyi Mo, Bruce A. DraperECCV 2012

Introduction

Motion segmentation—the process of grouping pixels or point tracks in a video based on their movement—is a fundamental precursor to high-level computer vision tasks such as action recognition and autonomous navigation. Despite its importance, the field faces two significant challenges: the prevalence of missing data due to occlusions and the prohibitive computational complexity of current state-of-the-art methods.

Traditional approaches, particularly those based on spectral clustering, often require the construction of massive affinity matrices. For dense trajectory sets, these methods can take dozens of hours to process just a single minute of video. This paper introduces a framework based on Semi-Nonnegative Matrix Factorization (SNMF) that bridges the gap between efficient subspace methods and robust clustering techniques, offering a solution that is over 100 times faster than existing baselines while maintaining high accuracy.

Methodology

Semi-Nonnegative Matrix Factorization (SNMF)

The core of the proposed method is the decomposition of a velocity history matrix $X$ into two lower-rank matrices, $F$ and $G$. In this context:

  • $X$ (Velocity History): Contains the $x$ and $y$ displacements of tracked points over time.
  • $F$ (Basis): Represents the fundamental motion components or trends within the scene.
  • $G$ (Coefficients): Represents the degree to which each motion component applies to a specific point track.

The "Semi" in SNMF refers to the constraints placed on these matrices. While the motion basis ($F$) can contain negative values—essential for representing velocity in any direction—the coefficients ($G$) are constrained to be non-negative. This constraint forces the model to treat motion as an additive process, where an object's observed movement is a sum of parts. This naturally leads to the extraction of semantically meaningful segments, such as separating foreground objects from the background.

Handling Missing Data

In real-world video sequences, objects frequently move behind one another or exit the frame, resulting in incomplete point tracks. To address this, the authors incorporate an indicator matrix ($W$) into the iterative update rule. This matrix acts as a mask, ensuring the algorithm only minimizes errors for observed data points. By effectively ignoring the "holes" left by occlusions, the SNMF approach remains robust in the presence of significant missing data.

Segmentation Propagation

Matrix factorization can become unstable as video length increases and the proportion of missing data grows. To maintain stability, the authors employ a sliding window approach. The video is divided into short, 10-frame windows which are segmented using SNMF. These local results are then stitched into a consistent global segmentation using a "Segmentation Propagation" technique—a voting mechanism that ensures temporal consistency across overlapping windows.

Experimental Results

Dataset and Metrics

The method was evaluated using the Berkeley Motion Segmentation Dataset (BMSD), which consists of 26 video sequences of varying lengths. The dataset is designed to test a system's ability to handle dense point tracks, with performance measured by overall error, average error, and over-segmentation.

Performance and Efficiency

The SNMF method demonstrated a massive reduction in computational overhead:

  • Short Sequences: For a 10-frame sequence with approximately 15,000 tracks, the SNMF method required only 1.36 seconds, compared to 497 seconds for the Brox & Malik baseline.
  • Long Sequences: On the 528-frame "Marple7" video, the proposed method finished in 18 minutes, while the baseline required 33 hours.

In terms of accuracy, SNMF achieved a lower overall error (6.98%) on short segments compared to the state-of-the-art (7.66%). When utilizing the sliding window propagation method for longer sequences, the algorithm remained highly competitive, staying within 1-3% of the accuracy of significantly slower, more complex spectral methods.

Discussion and Future Work

The efficiency of the SNMF approach stems from its ability to bypass the $O(N^3)$ complexity bottleneck associated with building full $N \times N$ affinity matrices. By focusing on the additive parts of motion, the algorithm naturally separates distinct moving entities.

However, the current model relies exclusively on velocity vectors and does not yet incorporate spatial information (the proximity of pixels). Future research could involve adding post-processing steps to enforce spatial regularity, which may close the small accuracy gap on long-term sequences. Additionally, as SNMF involves non-convex optimization, exploring better initialization strategies could help the algorithm avoid local minima in cases of extreme data sparsity.

Summary updated

BibTeX
@inproceedings{mo2012semi,
  author = {Quanyi Mo and Bruce A. Draper},
  title = {{Semi-Nonnegative Matrix Factorization for Motion Segmentation with Missing Data}},
  booktitle = {European Conference on Computer Vision},
  year = {2012},
  doi = {10.1007/978-3-642-33786-4\_30},
}
Figure