[Paper Review] Bayesian Nonparametric Spectral Estimation
This paper proposes Bayesian Nonparametric Spectral Estimation (BNSE), a novel nonparametric Bayesian framework that models signals and spectra jointly using Gaussian processes to enable exact Bayesian inference. By leveraging the Fourier transform of a GP prior, BNSE provides an analytically tractable, functional-form posterior power spectral density (PSD) that naturally accounts for uncertainty in noisy, unevenly-sampled data, outperforming classical methods like Lomb-Scargle in uncertainty quantification and periodicity detection.
Spectral estimation (SE) aims to identify how the energy of a signal (e.g., a time series) is distributed across different frequencies. This can become particularly challenging when only partial and noisy observations of the signal are available, where current methods fail to handle uncertainty appropriately. In this context, we propose a joint probabilistic model for signals, observations and spectra, where SE is addressed as an exact inference problem. Assuming a Gaussian process prior over the signal, we apply Bayes' rule to find the analytic posterior distribution of the spectrum given a set of observations. Besides its expressiveness and natural account of spectral uncertainty, the proposed model also provides a functional-form representation of the power spectral density, which can be optimised efficiently. Comparison with previous approaches, in particular against Lomb-Scargle, is addressed theoretically and also experimentally in three different scenarios. Code and demo available at https://github.com/GAMES-UChile/BayesianSpectralEstimation.
Motivation & Objective
- Address the lack of a nonparametric, Bayesian, and tractable framework for spectral estimation that handles uncertainty in missing, noisy, and unevenly-sampled data.
- Overcome limitations of classical parametric and nonparametric methods—such as periodogram and Lomb-Scargle—that fail to represent uncertainty or require heuristic error bars.
- Develop a joint generative model for signals and spectra using Gaussian processes to enable exact posterior inference on the power spectral density (PSD).
- Provide a functional-form posterior PSD that allows efficient optimization of periodic components without exhaustive search or expensive non-convex optimization.
- Demonstrate the method’s robustness on real-world time series, including heart-rate signals and sunspot data, where it recovers true spectral features from limited, noisy observations.
Proposed method
- Model the latent signal as a Gaussian process (GP) with a stationary covariance kernel, enabling nonparametric modeling of temporal structure.
- Apply Bayes’ rule to derive the analytic posterior distribution of the spectrum given observed data, leveraging the Fourier transform of the GP prior.
- Express the posterior power spectral density (PSD) in closed form as the Fourier transform of the GP covariance function, enabling exact inference.
- Use the functional form of the posterior PSD to enable efficient optimization of spectral peaks via derivative-free methods (e.g., Powell’s method), avoiding costly grid searches.
- Incorporate uncertainty propagation naturally through the GP framework, where missing or noisy observations are handled via marginalization over the posterior distribution.
- Utilize the conjugate structure of the GP and Fourier transform to avoid Monte Carlo or variational approximations, ensuring tractable and exact inference.
Experimental results
Research questions
- RQ1Can a nonparametric Bayesian model be constructed for spectral estimation that inherently accounts for uncertainty in noisy and unevenly-sampled data?
- RQ2Does a joint generative model of signals and spectra via Gaussian processes yield a tractable, analytically solvable posterior distribution for the power spectral density?
- RQ3Can the functional form of the posterior PSD enable efficient optimization of periodic components without relying on non-convex optimization or exhaustive search?
- RQ4How does the proposed method compare to classical approaches like Lomb-Scargle and GP-based spectral mixture models in terms of uncertainty quantification and spectral peak detection?
- RQ5Can BNSE generalize to unseen data and recover true spectral features from limited, noisy observations, even when trained on different signals?
Key findings
- BNSE provides an exact, analytic posterior distribution over the spectrum, enabling principled uncertainty quantification without relying on bootstrapping or Monte Carlo approximations.
- The posterior power spectral density (PSD) is expressed in a functional form that allows linear-cost optimization of spectral peaks, significantly reducing computational cost compared to non-convex optimization in spectral mixture models.
- In experiments with heart-rate signals, BNSE’s posterior PSD included the ground truth (Lomb-Scargle on full data) even when trained on one signal and tested on a different, unseen signal with only 10% of the data.
- For the sunspots dataset, BNSE successfully identified the true 11-year period (frequency ≈ 0.089) as the global maximum of the posterior PSD, while spectral mixture GP and Lomb-Scargle failed to converge under gradient-based optimization.
- BNSE’s spectral estimates were consistent with Lomb-Scargle in terms of lobewidths and included the LS estimate within its uncertainty bounds, demonstrating reliable uncertainty calibration.
- The method is robust to nonstationarity and non-Gaussianity, as demonstrated by successful recovery of periodicity in the nonstationary sunspot series despite poor convergence of alternative methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.