Non-negative matrix factorization of partial track data for motion segmentation

Anil M. Cheriyadat, Richard J. RadkeICCV 2009

Introduction

Motion segmentation is a fundamental task in computer vision, involving the grouping of tracked feature points into distinct sets corresponding to different moving objects in a scene. While traditional methods rely on complex geometric constraints and subspace clustering, they often struggle with the "messy" reality of real-world video. Trackers frequently lose targets due to occlusions, noise, or camera jitter, resulting in incomplete data. Most existing algorithms require "complete" trajectories or computationally expensive pre-processing to fill in missing values. This paper introduces a fast, robust method for motion segmentation that utilizes Non-Negative Matrix Factorization (NNMF) on local velocity profiles, offering a solution that is naturally immune to missing data and significantly faster than previous state-of-the-art approaches.

Motion segmentation results on various sequences: traffic (left), toy cars (center), and a pedestrian in a parking lot (right).

Methodology: Velocity Profiles and NNMF

The core innovation of this approach is the shift from raw spatial coordinates $(x, y)$ to velocity profiles. While the absolute position of a point on a moving object changes constantly, its instantaneous velocity—speed and direction—remains remarkably consistent with other points on the same object.

The process follows four key steps:

  1. Feature Extraction: Instantaneous speed and direction (sine and cosine of the angle) are calculated for every point track at every frame. These values are shifted to ensure non-negativity.
  2. Factorization: These profiles are arranged into a large matrix $V$. NNMF decomposes $V$ into two smaller matrices: $S$ (the basis motions) and $W$ (the weights representing the contribution of each basis to a specific track). Unlike Principal Component Analysis (PCA), NNMF's non-negativity constraint allows it to learn "parts-based" representations, which are better suited for identifying distinct motion components.
  3. Handling Missing Data: During the iterative NNMF update process, the algorithm is modified to ignore "holes" in the matrix caused by occlusions. This allows the model to learn motion components solely from available data without needing to estimate missing trajectories.
  4. Clustering: The weights in matrix $W$ are used to construct an affinity matrix. Spectral clustering (Normalized Cuts) is then applied to group the points into $N$ distinct motions.
The affinity matrix generated from the NNMF weights, demonstrating the clear separation of distinct motion groups into a block-diagonal structure.

Performance and Robustness

The researchers evaluated the algorithm using standard benchmarks like the Hopkins 155 and the Sugaya and Kanatani datasets, alongside new challenging sequences involving long-duration tracking and heavy occlusions.

The results demonstrate significant improvements in both accuracy and efficiency:

  • Accuracy: On the Hopkins 155 "Traffic" sequences, the method achieved a 0.1% misclassification rate, outperforming ALC (1.59%) and GPCA (1.41%).
  • Speed: The algorithm is exceptionally fast, processing data in just 3 seconds. In comparison, the Multi-Stage Learning (MSL) method required nearly 20 hours, and ALC took 21 minutes for the same tasks.
  • Robustness: The method maintains high performance even when 20-30% of tracking data is missing. Because NNMF treats missing data as a missing constraint rather than an error, it degrades gracefully compared to methods that require complete data reconstruction.

Conclusion and Future Directions

By leveraging the consistency of velocity profiles and the robustness of NNMF, this method provides a practical solution for real-time motion segmentation in noisy environments. While the current linear model may struggle with extreme perspective distortions or sharp camera rotations, future work involving Kernel PCA or fusion with image-level segmentation could further enhance its capabilities. Additionally, developing automated methods to determine the number of motions in a scene remains an active area for exploration.

Summary updated

BibTeX
@inproceedings{cheriyadat2009non,
  author = {Anil M. Cheriyadat and Richard J. Radke},
  title = {{Non-negative matrix factorization of partial track data for motion segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2009},
  doi = {10.1109/iccv.2009.5459311},
}
Figure