Covariance-Free Sparse Bayesian Learning

Alexander Lin, Andrew H. Song, Berkin Bilgic, Demba E. Ba · DOI

TL;DR

Sparse Bayesian Learning (SBL) is a gold standard for sparse signal recovery but has long been crippled by the $O(D^3)$ computational cost of inverting large covariance matrices. This paper introduces CoFEM (Covariance-Free Expectation Maximization), a clever reformulation that uses numerical linear algebra tricks to estimate posterior statistics without ever building the full covariance matrix. The result is an algorithm that is up to 3,800x faster than standard EM, scales to hundreds of thousands of dimensions, and maintains the high accuracy and uncertainty quantification that make SBL desirable.

The Dimensionality Tax of Sparse Bayesian Learning

The goal of sparse coding is to recover a sparse signal $z$ from noisy measurements $y = \Phi z + \epsilon$. While point-estimate methods like Lasso are common, Sparse Bayesian Learning (SBL) is often preferred because it automatically learns regularization parameters and provides posterior variance (uncertainty quantification).

However, SBL's primary inference engine, the Expectation-Maximization (EM) algorithm, requires maintaining and inverting a $D \times D$ covariance matrix. For high-dimensional signals like images, where $D$ can exceed 65,000, the $O(D^3)$ time and $O(D^2)$ space requirements are prohibitive. Existing alternatives like Approximate Message Passing (AMP) or Variational Inference (VI) often introduce bias or fail when the dictionary matrix $\Phi$ is structured or doesn't meet strict mathematical criteria.

CoFEM: Breaking the $O(D^3)$ Barrier

The authors propose CoFEM, which bypasses the covariance bottleneck by observing that the EM algorithm only needs the diagonal elements of the covariance matrix and the mean vector, rather than the entire matrix.

Theoretical time and space complexity comparison of SBL algorithms.

Key technical innovations include:

  • Diagonal Estimation Rule: Instead of explicit inversion, CoFEM uses a "probing" technique with random Rademacher vectors to compute unbiased estimates of the diagonal elements.
  • Parallel Conjugate Gradient (CG): The underlying linear systems are solved using CG, which only requires matrix-vector multiplications. This is particularly efficient for structured operators like Fourier or Wavelet transforms.
  • Diagonal Preconditioning: A specific preconditioner ensures the number of CG iterations remains small and constant, regardless of dimensionality.
  • Theoretical Guarantees: For matrices satisfying the Restricted Isometry Property (RIP), the number of probes and CG steps does not need to scale with $D$, ensuring true scalability.

Empirical Performance and Scalability

CoFEM was evaluated against synthetic benchmarks and real-world high-dimensional datasets, including Calcium Imaging ($D \approx 14,400$) and MRI Reconstruction ($D = 40,000$).

Performance comparison across different dictionary types and sparsity levels.

Key Results

  • Massive Speedups: For a DCT dictionary at $D = 2^{15}$, CoFEM was 360x faster on a CPU and 3,800x faster on a GPU compared to standard EM.
  • Extreme Scalability: CoFEM successfully handled problems with over 262,000 dimensions ($D = 2^{18}$) in seconds, while traditional methods either crashed or required hours.
  • Superior Accuracy: Unlike AMP or VI, which make structural approximations, CoFEM provides an unbiased estimate of exact EM updates. As shown in the performance plots, CoFEM matches the accuracy of the "slow" gold-standard EM/IRLS across Gaussian, DCT, and Convolutional dictionaries, even in regimes where other fast methods fail.
  • Uncertainty as a Feature: By remaining within the Bayesian framework, CoFEM produces "variance maps" that highlight reconstruction uncertainty—a critical feature for medical imaging that point-estimate methods lack.

Limitations and Future Work

While CoFEM offers dramatic improvements, its efficiency relies on the dictionary $\Phi$ having a fast matrix-vector multiplication (like the FFT). For truly dense, unstructured matrices, the speedup is less pronounced. Additionally, the number of probes ($K$) and CG steps ($U$) may require tuning for non-RIP dictionaries. Future work aims to extend this covariance-free approach to non-Gaussian noise models and more complex hierarchical priors.

Summary updated

BibTeX
@article{lin2021covariance,
  author = {Alexander Lin and Andrew H. Song and Berkin Bilgic and Demba E. Ba},
  title = {{Covariance-Free Sparse Bayesian Learning}},
  journal = {IEEE Trans. Signal Process.},
  year = {2021},
  doi = {10.1109/tsp.2022.3186185},
}
Figure