A comparison of optimisation algorithms for high-dimensional particle and astrophysics applications

Csaba Balázs, Melissa van Beekveld, S. Caron, Barry M. Dillon, Ben Farmer, Andrew Fowlie, Eduardo C. Garrido‐Merchán, Will Handley, Luc Hendriks, G. Jóhannesson, Adam Leinweber, J. Mamuzic, Gregory D. Martinez, Sydney Otten, Roberto Ruiz de Austri, Pat Scott, Zachary Searle, Bob Stienen, Joaquin Vanschoren, M. J. White

Abstract

Optimisation problems are ubiquitous in particle and astrophysics, and involve locating the optimum of a complicated function of many parameters that may be computationally expensive to evaluate. We describe a number of global optimisation algorithms that are not yet widely used in particle astrophysics, benchmark them against random sampling and existing techniques, and perform a detailed comparison of their performance on a range of test functions. These include four analytic test functions of varying dimensionality, and a realistic example derived from a recent global fit of weak-scale supersymmetry. Although the best algorithm to use depends on the function being investigated, we are able to present general conclusions about the relative merits of random sampling, Differential Evolution, Particle Swarm Optimisation, the Covariance Matrix Adaptation Evolution Strategy, Bayesian Optimisation, Grey Wolf Optimisation, and the PyGMO Artificial Bee Colony, Gaussian Particle Filter and Adaptive Memory Programming for Global Optimisation algorithms.

Introduction

In the fields of particle physics and astrophysics, the search for new physical laws often translates into a complex mathematical challenge: finding the global maximum of a likelihood function within a high-dimensional parameter space. Theories such as Supersymmetry (SUSY) can involve dozens or even hundreds of free parameters. To validate these theories against experimental data, researchers must navigate "likelihood landscapes" that are frequently non-differentiable, multimodal (containing many false peaks), and computationally expensive to evaluate.

A recent study by the DarkMachines High Dimensional Sampling Group provides a rigorous benchmarking of 11 global optimization algorithms. By testing these tools against both synthetic mathematical functions and realistic physics models, the researchers aim to identify the most robust strategies for high-dimensional sampling in modern physics.

Methodology and the HDS Framework

The research team developed a custom Python framework called HDS (High-Dimensional Sampling) to evaluate a diverse set of optimization strategies. The algorithms tested include:

  • Evolutionary and Bio-inspired: Differential Evolution (DE), Particle Swarm Optimisation (PSO), Grey Wolf Optimisation (GWO), and Artificial Bee Colony (ABC).
  • Covariance-based: Covariance Matrix Adaptation Evolution Strategy (CMA-ES).
  • Bayesian Optimisation: Standard Gaussian Process-based (GPyOpt) and Trust Region-based (TuRBO).
  • Specialized Techniques: Gaussian Particle Filter (GPF) and Adaptive Memory Programming for Global Optimisation (AMPGO).

These algorithms were benchmarked using two distinct types of landscapes:

  1. Analytic "Hidden" Functions: Four mathematical functions designed to mimic specific challenges (pathologies) found in physics, such as extremely sharp spikes or a vast number of local minima. These were tested in 2, 3, 5, and 7 dimensions.
  2. The MSSM7 Likelihood: A realistic 12-dimensional problem derived from a global fit of the Phenomenological Minimal Supersymmetric Standard Model. To enable efficient benchmarking, the authors utilized a Deep Neural Network (DNN) trained to act as a fast proxy for the actual, computationally intensive likelihood function.

Key Results and Comparative Analysis

The study's findings highlight the "No Free Lunch" theorem: no single algorithm is universally superior across all types of problems. However, clear trends emerged regarding the robustness and efficiency of specific tools.

The Physics Champion: Differential Evolution

For the 12-dimensional MSSM7 problem—the most realistic test case for particle physics—the Diver implementation of Differential Evolution was the clear winner. It consistently found deeper minima than any other algorithm, demonstrating remarkable robustness in the face of the complex, correlated landscapes typical of BSM (Beyond the Standard Model) physics.

The Analytic Winner: Artificial Bee Colony

In the realm of mathematical test functions, the PyGMO Artificial Bee Colony (ABC) algorithm proved to be the most consistent performer. It excelled at navigating functions with high multimodality, where other algorithms often became trapped in local optima.

The Curse of Dimensionality in Bayesian Methods

While Bayesian Optimization (specifically GPyOpt) performed exceptionally well in low-dimensional spaces (up to 5D), its performance degraded significantly as dimensionality increased. In the 12D MSSM7 test, it struggled to find the global minimum, highlighting a significant limitation for its application in high-dimensional physics models. The Trust Region approach (TuRBO) showed better resilience than standard Gaussian Processes but still lagged behind evolutionary methods in higher dimensions.

The Baseline: Random Sampling

Interestingly, simple random sampling proved to be a surprisingly tough baseline. In high dimensions, several sophisticated algorithms actually performed worse than random sampling, underscoring the risk of complex logic getting "stuck" in sub-optimal regions of the parameter space.

Conclusion and Future Directions

The benchmarking results suggest that while bio-inspired algorithms like ABC are excellent for general mathematical optimization, Differential Evolution (specifically Diver) remains the most reliable choice for high-dimensional physics applications.

The authors acknowledge potential biases, such as the DNN proxy being trained on data originally sampled by Diver, which may favor that algorithm. Future work will involve expanding the HDS framework to include even higher-dimensional problems (O(100)) and exploring hybrid approaches that combine the global search capabilities of evolutionary algorithms with the local precision of Bayesian or gradient-based methods.

Paper Citation: Balázs, C., et al. (2021). A comparison of optimisation algorithms for high-dimensional particle and astrophysics applications. JHEP05(2021)108. https://doi.org/10.1007/JHEP05(2021)108

Summary updated

BibTeX
@article{balazs2021comparison,
  author = {Csaba Balázs and Melissa van Beekveld and S. Caron and Barry M. Dillon and Ben Farmer and Andrew Fowlie and Eduardo C. Garrido‐Merchán and Will Handley and Luc Hendriks and G. Jóhannesson and Adam Leinweber and J. Mamuzic and Gregory D. Martinez and Sydney Otten and Roberto Ruiz de Austri and Pat Scott and Zachary Searle and Bob Stienen and Joaquin Vanschoren and M. J. White and Martin White},
  title = {{A comparison of optimisation algorithms for high-dimensional particle and astrophysics applications}},
  journal = {Journal of High Energy Physics},
  year = {2021},
  doi = {10.1007/jhep05(2021)108},
}
Figure