Efficient Tracking of Sparse Signals via an Earth Mover's Distance Dynamics Regularizer

Nicholas P. Bertrand, Adam S. Charles, John Lee, Pavel Dunn, Christopher J. Rozell

TL;DR

This paper introduces an efficient way to track sparse signals where the spatial or frequency relationships between elements matter. By reformulating the Earth Mover's Distance (EMD) using a "Beckmann formulation," the authors reduce the computational complexity of EMD-based tracking from quadratic to linear, making it practical for real-time applications like neurophysiology and imaging.

What Problem Does This Paper Address?

In signal processing, we often need to track sparse signals—signals where only a few components are active at once (like a single moving target in a video or a few dominant frequencies in a recording).

Standard tracking tools like the Kalman filter or Basis Pursuit Denoising (BPDN) use point-wise regularizers (like the $\ell_2$ or $\ell_1$ norm). These methods are "geometry-blind": if a target moves from pixel A to the adjacent pixel B, an $\ell_1$ regularizer sees this as a total mismatch because the "support" (the location of the signal) doesn't overlap.

The Earth Mover’s Distance (EMD) is a metric that understands geometry; it calculates the "work" needed to move mass from one configuration to another. While EMD is ideal for tracking moving targets, it is traditionally computationally expensive ($O(N^2)$), making it a "non-starter" for large-scale or real-time tracking.

Methods

The authors propose Earth Mover’s Distance Dynamic Filtering (EMD-DF). The key innovation is the use of the Beckmann formulation to solve the EMD problem.

  • Beckmann Formulation: Instead of solving for all possible transport paths between points (which is $O(N^2)$), this formulation treats EMD as a minimum flux problem of a fluid flowing through a vector field. This reduces the number of variables to $O(N)$.
  • Handling Unequal Mass: Standard Beckmann EMD requires both signals to have the same "total mass" (sum to 1). The authors introduce slack variables ($w, v$) to allow the algorithm to compare signals with different total intensities, which is essential for real-world data.
  • Optimization: The resulting problem is a linearly constrained quadratic program, which can be solved efficiently using off-the-shelf convex optimization software (like CVX, Gurobi, or Mosek).

Datasets

The paper evaluates the algorithm on three types of data:

  1. Real Neurophysiology Data: Tetrode recordings from a rat hippocampus, used to track time-varying neural oscillations (frequencies).
  2. Synthetic Traveling Waves: Data generated using a Kuramoto oscillator model (a 40x40 array), simulating how waves of activity move across a neural surface.
  3. Stylized Target Tracking: A synthetic benchmark used specifically to test how the algorithm's runtime scales as the signal size ($N$) increases.

Key Insights and Ideas

  • Geometry-Awareness is Crucial: In applications like frequency tracking, frequencies are ordered. EMD leverages this ordering to provide much smoother and higher-resolution "spectral sharpening" than point-wise methods.
  • Causality Matters: Unlike many high-resolution spectral methods that require looking at the whole dataset at once (batch processing), EMD-DF is causal. It only needs the current and previous time steps, making it suitable for online applications like closed-loop brain-machine interfaces.
  • Breaking the Complexity Barrier: By moving from a transport-map view of EMD to a flux-based view (Beckmann), the authors make EMD-based tracking nearly as fast as standard sparse recovery methods.

Key Results

  • Superior Resolution: In rat hippocampus data, EMD-DF produced time-frequency plots with significantly higher resolution than standard spectrograms and eliminated "leakage" artifacts in the 5–10Hz band.
  • Robustness to Movement: In the Kuramoto wave simulations, EMD-DF achieved nearly perfect recovery of the wavefront. In contrast, standard BPDN-DF actually performed worse than non-dynamic methods because its point-wise regularizer couldn't handle the shifting support of the wave.
  • Linear Scalability: The Beckmann formulation showed a massive speedup over the general EMD formulation. For a signal size of $N=2304$, the Beckmann version was orders of magnitude faster while maintaining a negligible difference in accuracy (RMSE $\approx 10^{-3}$).

Limitations and Future Work

  • Euclidean Constraint: The Beckmann formulation specifically requires the "ground cost" (the distance between points) to be Euclidean. While this covers grids (images) and lines (frequencies), it might not apply to more abstract graph-based geometries.
  • Hyperparameter Tuning: The authors noted that hyperparameters were tuned manually for real data. Developing automated ways to tune these parameters in real-time would be a significant practical improvement.
  • Complex Dynamics: The current model uses a relatively simple dynamics function $g(x)$. Future work could integrate more sophisticated physical or biological models into the EMD-DF framework.

Summary updated

Abstract

Tracking algorithms such as the Kalman filter aim to improve inference performance by leveraging the temporal dynamics in streaming observations. However, the tracking regularizers are often based on the ℓ <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">p</sub> -norm which cannot account for important geometrical relationships between neighboring signal elements. We propose a practical approach to using the earth mover's distance (EMD) via the earth mover's distance dynamic filtering (EMD-DF) algorithm for causally tracking time-varying sparse signals when there is a natural geometry to the coefficient space that should be respected (e.g., meaningful ordering). Specifically, this letter presents a new Beckmann formulation that dramatically reduces computational complexity, as well as an evaluation of the performance and complexity of the proposed approach in imaging and frequency tracking applications with real and simulated neurophysiology data.
BibTeX
@article{bertrand2020efficient,
  author = {Nicholas P. Bertrand and Adam S. Charles and John Lee and Pavel Dunn and Christopher J. Rozell},
  title = {{Efficient Tracking of Sparse Signals via an Earth Mover's Distance Dynamics Regularizer}},
  journal = {IEEE Signal Processing Letters},
  year = {2020},
  doi = {10.1109/lsp.2020.3001760},
}

Loading related content...

Figure