Compressed Dynamic Mode Decomposition for Real-Time Object Detection

N. Benjamin Erichson, Steven L. Brunton, J. Nathan KutzarXiv 2015

Introduction

Real-time video analysis in High-Definition (HD) presents a significant computational challenge for computer vision tasks like surveillance and traffic monitoring. Traditional methods for foreground-background separation, such as Robust Principal Component Analysis (RPCA), often rely on iterative convex optimization. While mathematically elegant, these approaches are frequently too slow for live HD streams on standard hardware. This paper introduces Compressed Dynamic Mode Decomposition (cDMD), a novel framework that leverages dynamical systems theory and compressive sensing to achieve real-time performance without sacrificing significant accuracy.

Methodology: DMD and Compressive Sensing

The cDMD approach is built upon two foundational pillars: Dynamic Mode Decomposition (DMD) and Compressive Sensing.

Dynamic Mode Decomposition (DMD)

Originally developed for fluid mechanics, DMD treats a video sequence as a dynamical system. It decomposes snapshots of the video into spatial "modes," each associated with a specific temporal frequency. The critical insight is that the static background corresponds to modes with near-zero frequency (stationary), while moving foreground objects occupy higher frequency modes.

The cDMD Workflow

Standard DMD requires a Singular Value Decomposition (SVD) of the full video matrix, which is the primary computational bottleneck. cDMD bypasses this by projecting high-dimensional frames into a lower-dimensional space using a random measurement matrix before analysis.

The cDMD workflow: from video stream to dynamic mode decomposition.

The workflow consists of three main steps:

  1. Compression: Randomly sample or project video frames into a reduced space.
  2. Analysis: Perform DMD on the compressed data to identify temporal modes.
  3. Reconstruction: Map the low-rank background modes back to the original full-resolution space to isolate the foreground.

Key Insights: Frequency as a Filter

By treating background subtraction as a frequency-domain problem, cDMD effectively extracts the "DC component" of the video—the stationary background. This allows for a robust separation of dynamics based on their characteristic timescales. Because video is "sparse" in certain bases, a small number of random measurements can capture enough information to reconstruct the low-rank background.

Dominant eigenvalues and amplitudes over time, illustrating the separation of background and foreground dynamics.

As shown in the spectral analysis, the background mode sits at the origin (zero frequency), while foreground objects and other dynamics (like waving trees or sensor noise) are distributed across the complex plane. This separation allows the algorithm to ignore static scenery and focus exclusively on moving elements.

Experimental Results

The researchers evaluated cDMD using the Background Models Challenge (BMC) benchmark, which includes difficult outdoor scenarios like changing illumination, bad weather, and dynamic backgrounds.

Performance and Speed

The computational efficiency of cDMD is its primary advantage. By reducing the SVD's dependence from the number of pixels ($n$) to the number of random samples ($p$, where $p \ll n$), the algorithm achieves a 3 to 5.5x speedup over standard DMD.

  • CPU: Real-time processing of 720p video on a standard laptop.
  • GPU: A CUDA-accelerated implementation reached speeds of ~170 fps for 720p video, roughly 7 times faster than standard real-time requirements.

Accuracy

On the BMC dataset, cDMD achieved an average F-measure of 0.671. This performance is superior to other fast approximations like GoDec (0.632) and LSADM (0.650), though it remains slightly below the more computationally intensive RSL method (0.707).

Conclusion and Future Work

Compressed Dynamic Mode Decomposition provides a scalable solution for real-time HD video analysis. While highly effective, the method currently faces challenges with highly dynamic backgrounds (e.g., heavy foliage movement) and "sleeping" objects that stop moving for extended periods. Future research may integrate multi-resolution DMD (mrDMD) to better distinguish between various timescales of motion, further refining the separation of complex foreground and background dynamics.

Summary updated

BibTeX
@misc{erichson2015compressed,
  author = {N. Benjamin Erichson and Steven L. Brunton and J. Nathan Kutz},
  title = {{Compressed Dynamic Mode Decomposition for Real-Time Object Detection}},
  year = {2015},
  eprint = {1512.04205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1512.04205},
}
Figure