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

Genetic Algorithm for Hyperparameter Optimization in Gaussian Process Modeling

А. Н. Филиппов, Imene Goumiri, Benjamin W. Priest2020

TL;DR

This paper introduces a novel approach combining Genetic Algorithms (GAs) with Gaussian Processes (GPs) to optimize the hyperparameters of complex convolutional neural network-Gaussian Process (NNGP) kernels. This method successfully tackles the challenge of optimizing discrete and continuous hyperparameters in NNGP models, leading to significantly improved accuracy in star-galaxy image classification.

What Problem Does This Paper Address?

Gaussian Processes (GPs) are powerful tools for regression and classification, especially with complex, non-linear data. However, their performance heavily relies on the choice of hyperparameters within the covariance function (kernel). For simple kernels like RBF, gradient-based optimization methods work well. But for more intricate kernels, such as convolutional NNGP kernels, which involve discrete parameters (like the number of layers) and complex relationships, gradient-based methods become impossible. This paper addresses the challenge of efficiently and effectively optimizing these complex kernels with both continuous and discrete hyperparameters, which is crucial for unlocking the full potential of GPs in demanding applications like image analysis.

Methods

The core of this paper is the development and application of a Genetic Algorithm (GA) for optimizing the hyperparameters of convolutional recursively determined dual neural network-Gaussian process (NNGP) kernels.

Here's a breakdown of the approach:

  • Gaussian Processes (GPs): The paper starts by outlining the fundamentals of GPs, including their probabilistic nature, the role of the covariance function (kernel), and how they model functions. It explains the mathematical formulation of GP predictions and the marginal likelihood function, which is a common objective for hyperparameter optimization.
  • Complex Kernels (NNGP): The authors focus on NNGP kernels, which are built using recursive equations and exhibit similarities to Deep Neural Networks. These kernels introduce a larger number of hyperparameters, including continuous ones (like Gaussian weights and biases) and discrete ones (like the number of layers and filter sizes).
  • Genetic Algorithm (GA): To overcome the limitations of gradient-based methods for these complex kernels, a GA is employed. The GA works by:
  • Initialization: Creating an initial population of candidate solutions (chromosomes), where each chromosome represents a set of hyperparameters.
  • Crossover and Mutation: Applying evolutionary operators to generate new offspring (new sets of hyperparameters) by combining and altering existing ones.
  • Ranking: Evaluating the performance of each hyperparameter set using a "fitting function."
    • Perturbation: Making small random changes to the best-performing chromosomes to explore local optima.
  • Selection: Retaining the fittest chromosomes for the next generation.
  • This cycle repeats until convergence, aiming to find the optimal hyperparameter configuration.
  • Fitting Function: For the star-galaxy classification task, the Matthews Correlation Coefficient (MCC) is used as the fitting function. MCC is a robust metric for binary classification, providing a balanced measure of performance even with imbalanced datasets.

Datasets

The paper utilizes a publicly available dataset from the Hyper Suprime-Cam Subaru Strategic Program. This dataset contains images of stars and galaxies.

  • Training Set: 500 star images and 500 galaxy images.
  • Testing Set: 50 star images and 50 galaxy images.
  • Image Size: Each image is 64x64 pixels.

Key Insights and Ideas

  • GA for Complex Kernels: The paper demonstrates that GAs are a viable and effective method for optimizing hyperparameters of complex GP kernels, especially when these kernels involve discrete parameters that preclude gradient-based approaches.
  • NNGP Kernels Mimic Deep Networks: The NNGP kernels are shown to have similarities with infinitely wide Deep Neural Networks, suggesting a bridge between traditional kernel methods and deep learning architectures.
  • MCC as a Robust Fitting Function: Using the Matthews Correlation Coefficient as the fitting function for the GA is a smart choice for imbalanced classification tasks like star-galaxy separation, providing a more reliable measure of performance than simple accuracy.
  • Significant Performance Gains: The optimized hyperparameters derived from the GA lead to a notable improvement in classification accuracy, highlighting the importance of proper hyperparameter tuning for these complex models.

Key Results

The primary quantitative result is the significant improvement in classification accuracy achieved by using the GA-optimized hyperparameters for the NNGP kernel in the star-galaxy separation task. While specific percentage improvements are not explicitly detailed in the provided text, the abstract and introduction strongly emphasize this outcome. The paper also notes that the GA requires thousands of calls to the fitting function, and simulations were accelerated using GPUs on LLNL HPC.

Limitations and Future Work

  • Computational Cost: The paper acknowledges that GAs require a significant number of fitting function evaluations, which can be computationally intensive. The use of GPU-enabled architectures for acceleration is a direct response to this.
  • Generalizability of GA Parameters: While the paper describes the GA's steps, the specific parameters of the GA itself (e.g., population size, mutation rate, crossover strategy) are not extensively discussed in terms of their impact or optimization.
  • Future Work: The paper implicitly suggests that this GA-NNGP framework can be applied to other complex classification and regression problems where GPs with intricate kernels are beneficial. Further exploration into optimizing the GA parameters themselves could also be a direction for future research.

Summary updated

BibTeX
@misc{2020genetic,
  author = {А. Н. Филиппов and Imene Goumiri and Benjamin W. Priest},
  title = {{Genetic Algorithm for Hyperparameter Optimization in Gaussian Process Modeling}},
  year = {2020},
  doi = {10.2172/1659396},
}
Figure