An Efficient Algorithm For Clustered Multi-Task Compressive Sensing

Alexander Lin, Demba E. Ba

TL;DR

This paper introduces CoFEM (Covariance-Free Expectation Maximization), an algorithm that makes clustered multi-task compressive sensing computationally feasible for high-dimensional data. By combining Monte Carlo sampling with iterative linear solvers, the authors achieve speedups of up to 1,000x and an order of magnitude better memory efficiency compared to traditional methods.

What Problem Does This Paper Address?

Compressive Sensing (CS) allows us to reconstruct sparse signals from a small number of measurements—a vital technique in medical imaging (MRI), astronomy, and microscopy. Often, we face multi-task problems where we need to solve several CS tasks simultaneously.

The challenge is that while some tasks are related (sharing the same "sparsity pattern"), others are not. Forcing unrelated tasks to share information actually degrades performance. Clustered multi-task CS solves this by automatically grouping related tasks into clusters. However, the standard way to solve this (using the Expectation-Maximization or EM algorithm) is a computational nightmare. It requires repeated matrix inversions and log-determinant calculations for massive $D \times D$ covariance matrices (where $D$ is the signal dimension). For a signal of size $D=10,000$, these matrices have 100 million entries, making standard EM too slow and memory-intensive for real-world use.

Methods

The authors propose CoFEM, which performs the EM steps without ever explicitly forming the large covariance matrices ($\Sigma$). Their approach relies on two clever mathematical "workarounds":

  1. Iterative Solvers for Means and Variances: Instead of inverting a matrix to find the posterior mean and variance, they use the Conjugate Gradient (CG) algorithm. CG only requires matrix-vector multiplications, which are much faster, especially when the sensing matrix has a fast implementation (like the Fast Fourier Transform).
  2. Stochastic Trace Estimation for Log-Determinants: To calculate the cluster assignment probabilities, the algorithm needs the log-determinant of the covariance matrix. CoFEM uses the Hutchinson trace estimator combined with Lanczos quadrature. Essentially, they reuse the intermediate outputs of the CG solver to approximate the log-determinant "for free."

By avoiding $O(D^3)$ matrix operations and $O(D^2)$ storage, they reduce the complexity to roughly $O(D)$ in both time and space.

Datasets

The authors evaluated their algorithm using synthetic datasets designed to mimic real-world CS scenarios:

  • Signal Structure: Sparse signals $z$ with only 5% non-zero components.
  • Sensing Matrices: They used undersampled Discrete Fourier Transform (DFT) matrices, a standard model for applications like MRI.
  • Scalability Tests: They tested dimensions ranging from $D=1,000$ to $D=100,000$ to compare CoFEM against the standard EM baseline.

Key Insights and Ideas

  • Clustering is a Performance Booster: The paper confirms that clustered multi-task CS outperforms both single-task and standard multi-task CS when the relationship between tasks is unknown. It "learns" which tasks should help each other.
  • Exactness isn't Required for Convergence: A major "aha moment" is that the stochastic approximations used in CoFEM (Monte Carlo probes) are accurate enough that the algorithm converges at the same rate as the exact, much slower EM algorithm.
  • Parallelism is Key: Because the tasks and clusters are independent within the E-step, the algorithm is "embarrassingly parallel," making it a perfect fit for GPU acceleration.

Key Results

  • Massive Speedups: CoFEM is up to thousands of times faster than standard EM. Hours of computation are reduced to a few seconds.
  • Memory Efficiency: CoFEM is roughly 14 times more memory-efficient. While standard EM crashed due to "out of memory" errors at $D=5,000$, CoFEM easily handled $D=100,000$.
  • Robustness: In experiments where tasks had different sparsity supports, the clustered approach maintained low error rates, whereas standard multi-task methods failed as the tasks became more dissimilar.

Limitations and Future Work

  • Sensing Matrix Structure: The efficiency of CoFEM depends on the sensing matrix $\Phi$ having a fast matrix-vector product (like FFT or wavelets). If $\Phi$ is a dense, unstructured matrix, the speedup—while still significant—will be less dramatic.
  • Hyperparameter Tuning: The algorithm assumes certain parameters (like the noise variance $\beta$) are known or can be estimated; future work could focus on learning these automatically within the same covariance-free framework.
  • Infinite Mixtures: The authors suggest extending this to "infinite" mixture models (using Dirichlet Process priors), where the number of clusters $C$ doesn't need to be specified in advance.

Summary updated

BibTeX
@inproceedings{lin2024efficient,
  author = {Alexander Lin and Demba E. Ba},
  title = {{An Efficient Algorithm For Clustered Multi-Task Compressive Sensing}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10448283},
}
Figure