NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Spectral Mixture Kernels for Bayesian Optimization

Yi Zhang, Cheng HuaarXiv 2025 · DOI

Abstract

Bayesian Optimization (BO) relies heavily on the choice of a surrogate model's kernel to capture the underlying structure of expensive black-box functions. Traditional kernels often struggle with non-smooth or multi-scale data. This paper proposes a novel approach using spectral mixture kernels—specifically a combination of Cauchy and Gaussian distributions in the Fourier domain. By transforming kernel selection into a continuous optimization of spectral densities, the proposed CSM+GSM model achieves significant performance gains, including an 11% average improvement and a 76% reduction in the optimality gap across diverse high-dimensional benchmarks.

Introduction

Bayesian Optimization is a powerful framework for optimizing functions that are costly to evaluate, such as hyperparameter tuning for deep learning or experimental design in chemistry. The core of BO is the surrogate model, typically a Gaussian Process (GP), which provides a probabilistic estimate of the objective function. However, the effectiveness of the GP is constrained by the choice of the covariance function, or kernel.

Standard kernels like the Squared Exponential (SE) or Matérn families are often selected for their simplicity and well-understood properties. Yet, these "off-the-shelf" kernels frequently fail to capture the complex, jagged, or periodic patterns found in real-world data. While automated kernel search methods exist, they are often computationally prohibitive and difficult to optimize. This paper addresses these limitations by moving the kernel design process from the spatial domain to the frequency domain.

The Cauchy-Gaussian Spectral Mixture (CSM+GSM)

The authors leverage Bochner’s Theorem, which states that any stationary kernel can be represented by a spectral density. Instead of choosing a discrete kernel shape, they propose parameterizing the spectral density as a mixture of distributions.

The proposed model, CSM+GSM, combines two distinct spectral components:

  1. Gaussian Spectral Mixture (GSM): These components are infinitely differentiable in the spatial domain, allowing the model to capture smooth, global trends.
  2. Cauchy Spectral Mixture (CSM): Cauchy distributions have "heavy tails" in the frequency domain. In the spatial domain, this corresponds to kernels that are only finitely differentiable, enabling the GP to model sharp local variations and high-frequency oscillations.
Comparison of CSM, GSM, and the combined CSM+GSM surrogate models in a Bayesian Optimization task.

By mixing these components, the surrogate model gains adaptive smoothness. The weights, locations, and scales of these spectral components are tuned continuously via gradient descent, maximizing the Marginal Log-Likelihood (MLL). This approach effectively replaces the discrete search for a kernel with a continuous optimization problem.

Experimental Evaluation

The CSM+GSM method was evaluated against a wide range of benchmarks, including synthetic "torture tests" (up to 30 dimensions) and real-world applications such as robot pushing and portfolio optimization.

Kernel Approximation

A key strength of the spectral mixture approach is its ability to approximate a wide variety of "true" underlying kernels. In tests against ground truths like SE, Matérn, and Rational Quadratic (RQ) kernels, the CSM+GSM model consistently provided superior fits.

Kernel approximation performance of CSM+GSM compared to standard kernels across various ground truth covariance structures.

Optimization Performance

In practical BO tasks, the spectral mixture kernels outperformed state-of-the-art baselines such as Automatic BO (ABO) and Adaptive Kernel Selection (ADA). The performance advantage was particularly pronounced in high-dimensional spaces (e.g., 20d Rosenbrock and 30d Levy functions), where standard kernels often over-smooth the search space and miss the global optimum. Results showed an 11% average performance boost and a 76% reduction in the optimality gap compared to standard methods.

Key Insights

  • Continuous Kernel Learning: Parameterizing in the Fourier domain allows for a more flexible and efficient search for the "correct" kernel compared to combinatorial searches over discrete kernel libraries.
  • The Power of Non-Smoothness: The inclusion of Cauchy components is critical. While practitioners often favor smooth kernels for stability, the "rougher" Cauchy components allow for better exploration of high-frequency features in the early stages of optimization.
  • Efficiency: Despite its increased expressiveness, the method maintains computational efficiency comparable to standard GP models, avoiding the overhead associated with complex kernel search algorithms.

Conclusion

This paper demonstrates that spectral mixture kernels offer a robust and flexible alternative to traditional kernel selection in Bayesian Optimization. By combining Gaussian and Cauchy components, the CSM+GSM model provides the adaptive smoothness necessary to navigate complex, high-dimensional objective functions. Future work may extend this framework to non-stationary kernels or explore additional distribution families in the spectral domain to further enhance the surrogate's representational power.

Summary updated

BibTeX
@misc{zhang2025spectral,
  author = {Yi Zhang and Cheng Hua},
  title = {{Spectral Mixture Kernels for Bayesian Optimization}},
  year = {2025},
  eprint = {2505.17393},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.17393},
}
Figure