Gaussian Process Convolutional Dictionary Learning

Andrew H. Song, Bahareh Tolooshams, Demba E. Ba · DOI

Abstract

Convolutional dictionary learning (CDL), the problem of estimating shift-invariant templates from data, is typically conducted in the absence of a prior/structure on the templates. In data-scarce or low signal-to-noise ratio (SNR) regimes, learned templates overfit the data and lack smoothness, which can affect the predictive performance of downstream tasks. To address this limitation, we propose GPCDL, a convolutional dictionary learning framework that enforces priors on templates using Gaussian Processes (GPs). With the focus on smoothness, we show theoretically that imposing a GP prior is equivalent to Wiener filtering the learned templates, thereby suppressing high-frequency components and promoting smoothness. We show that the algorithm is a simple extension of the classical iteratively reweighted least squares algorithm, independent of the choice of GP kernels. Through simulation and application to neural spiking data, we show that GPCDL learns smooth dictionaries with better accuracy and predictive performance than unregularized or parametric alternatives.

Introduction

Convolutional Dictionary Learning (CDL) is a powerful tool for decomposing signals into a set of repeating "templates" and their locations—such as identifying specific neural spikes in an EEG or point spread functions in astronomy. However, standard CDL is purely data-driven. When data is scarce or the signal-to-noise ratio (SNR) is low, the algorithm tends to overfit, producing "jagged" templates that capture noise rather than the underlying signal. While researchers have tried to fix this using parametric models (like assuming a spike is a sum of Gaussians) or simple smoothing penalties, these approaches are often either too rigid to capture complex shapes or difficult to optimize.

Methodology

The proposed GPCDL framework places a Gaussian Process prior on the dictionary templates, favoring smoothness without forcing templates into a specific functional box.

Key technical highlights: * Generalized Framework: The model is designed for the "natural exponential family," meaning it works for Gaussian noise as well as Bernoulli (spiking) or Poisson (counting) data. * Optimization: The authors use an alternating minimization strategy. Sparse coding is handled by Convolutional Orthogonal Matching Pursuit (COMP), while the dictionary update extends the classical Iteratively Reweighted Least Squares (IRLS) algorithm to include the GP prior. * Wiener Filter Connection: A major theoretical contribution is proving that for Gaussian data, the GP prior acts as a Wiener filter. The gain of this filter is data-adaptive: it automatically balances the "smoothness" of the prior against the "evidence" in the data based on the SNR.

The relationship between the GP kernel's Power Spectral Density (PSD) and the resulting Wiener filter gain.

Experimental Evaluation

The authors evaluated GPCDL on simulated Gaussian data containing hidden templates and real-world neural spiking data from the barrel cortex of mice.

Key Insights

  • Nonparametric Flexibility: Unlike a Mixture of Gaussians (MOG) model, GPCDL is flexible enough to learn the correct shape (e.g., sigmoids) while still suppressing noise.
  • Data-Adaptive Smoothing: In GPCDL, the "filtering" strength changes based on data availability. As more data is collected, the likelihood dominates the prior, allowing the model to capture finer, high-frequency details that were previously indistinguishable from noise.
  • Seamless Integration: The GP constraint integrates directly into the IRLS update, making it computationally efficient for typical template sizes.

Key Results

Experiments demonstrated that GPCDL consistently produces more accurate and visually interpretable templates than its competitors. In low-SNR simulations, GPCDL significantly reduced dictionary error compared to unregularized versions.

When applied to mouse spiking data, GPCDL recovered smooth, multi-peaked response templates validated by the stimulus pattern. It outperformed the parametric MOG baseline in both predictive log-likelihood and $R^2$ metrics, as shown in the visual comparison below.

Visual comparison of learned neural templates showing GPCDL's ability to recover smooth, multi-peaked responses.

Conclusion and Future Work

GPCDL introduces a robust nonparametric Bayesian framework for learning smooth templates. While it outperforms unregularized and parametric models, future work involves automating hyperparameter selection (like the lengthscale $l_c$) and improving scalability for very large templates or high-dimensional data through sparse GP approximations.

Summary updated

BibTeX
@article{song2021gaussian,
  author = {Andrew H. Song and Bahareh Tolooshams and Demba E. Ba},
  title = {{Gaussian Process Convolutional Dictionary Learning}},
  journal = {IEEE Signal Processing Letters},
  year = {2021},
  doi = {10.1109/lsp.2021.3127471},
}
Figure