Explainable Benchmarking for Iterative Optimization Heuristics

Niki van Stein, Diederick Vermetten, Anna V. Kononova, Thomas BäckarXiv 2024 · OpenReview

TL;DR

This paper introduces "explainable benchmarking" and a new software framework, IOHxplainer, to move beyond traditional performance-focused evaluations of optimization algorithms. By analyzing the impact of individual components and hyperparameters across a vast number of configurations and benchmark functions, it provides deeper insights into why algorithms perform as they do, paving the way for more informed algorithm design and selection.

What Problem Does This Paper Address?

Benchmarking optimization heuristics is crucial for understanding their effectiveness, but current practices often fall short. Researchers typically evaluate only a limited set of algorithm configurations on a small number of scenarios, leading to incomplete and potentially biased conclusions about an algorithm's true capabilities. This lack of transparency makes it difficult to understand the influence of specific algorithmic components or hyperparameters, hindering the design of more robust and adaptable optimization methods. The paper aims to bridge this gap by providing a systematic way to analyze and explain the behavior of iterative optimization heuristics.

Methods

The core contribution is the concept of explainable benchmarking, implemented through the IOHxplainer software framework. This framework leverages Explainable AI (XAI) techniques to analyze large-scale experimental data. Key steps include:

  • Modularization: Using modular optimization frameworks (like modular CMA-ES and modular DE) allows for systematic variation of individual components and hyperparameters.
  • Extensive Experimentation: IOHxplainer can run thousands to millions of algorithm configurations on benchmark suites. The paper uses the BBOB (Black-Box Optimization Benchmark) suite.
  • Performance Measurement: An "anytime" performance measure, the normalized Area Over the Convergence Curve (AOCC), is used.
  • XAI for Analysis: For each benchmark function, a regression model (e.g., XGBoost) is trained on the experimental data. Then, SHAP (SHapley Additive exPlanations) values are computed to quantify the marginal contribution of each hyperparameter and component to the algorithm's performance.
  • Visualization: SHAP values are aggregated and visualized (e.g., using swarm plots) to provide intuitive insights into hyperparameter influence across different functions and dimensions.

Datasets

The primary dataset used for evaluation is the BBOB (Black-Box Optimization Benchmark) suite, specifically the 24 noiseless functions. The experiments were conducted for both 5 and 30 dimensions, using 5 instances per function and 5 independent runs per instance, with a budget of 10,000 evaluations.

Key Insights and Ideas

  • Beyond Performance Metrics: Traditional benchmarking often focuses solely on final performance. Explainable benchmarking shifts the focus to understanding why certain configurations perform better, by dissecting the influence of individual components.
  • Hyperparameter Influence Varies by Function: The impact of a specific hyperparameter or module is not universal; it can differ significantly across different benchmark functions. This highlights the need for function-specific tuning or adaptive strategies.
  • Interactions Matter: While SHAP values reveal individual component contributions, the paper acknowledges that higher-order interactions between modules can be crucial and are a direction for future work.
  • Robustness and Variance Analysis: The framework can analyze the impact of random seeds (stochastic variance) and problem instances (instance variance), providing insights into an algorithm's robustness.
  • Potential for Algorithm Selection: The detailed analysis can inform the development of automated algorithm selectors and configuration tools, potentially outperforming static "average-best" configurations.

Key Results

  • Extensive Configuration Analysis: The study analyzed a staggering 52,128 algorithm configurations (15,840 for modCMA and 36,288 for modDE) across 24 BBOB functions in both 5 and 30 dimensions.
  • Identified Key Hyperparameter Impacts: For modCMA, parameters like 'covariance' and 'elitist' showed consistent, though sometimes varying, impacts. For modDE, population size (λ) and the adaptation method had significant influences.
  • Performance Gains from Optimization: Using the "average-best" configuration for modCMA instead of an arbitrary one yielded an AOCC improvement of 0.09-0.30. A perfect per-function selector could further improve this.
  • Structural Bias Detected: The analysis revealed that many "best" configurations exhibited structural bias (e.g., towards boundaries or the center of the search space), which is important to consider when generalizing results.
  • Comparison of Frameworks: While not the primary goal, the comparison indicated that modCMA generally outperformed modDE on most BBOB functions for d=5, though modDE showed potential for greater performance gains through hyperparameter optimization.

Limitations and Future Work

  • Limited Evaluation Budget: The 10,000 evaluation budget was noted as potentially impacting the assessment of certain modules (like local restart) on harder problems or higher dimensions. Increasing this budget is suggested for future work.
  • Focus on Single-Module Impacts: The current SHAP analysis primarily captures the influence of individual modules. Investigating higher-order interactions between modules is a key area for future research.
  • Broader Problem Domains: The current study is focused on BBOB. Extending the framework to other types of optimization problems and incorporating more complex landscape features is desirable.
  • Advanced XAI and ML Techniques: While SHAP is powerful, exploring other XAI methods and more sophisticated machine learning models for automated algorithm configuration could yield further insights.
  • Generalization of Findings: The paper emphasizes that conclusions are specific to the experimental setup and that generalizing findings requires careful consideration.

Summary updated

Abstract

Benchmarking heuristic algorithms is vital to understand under which conditions and on what kind of problems certain algorithms perform well. In most current research into heuristic optimization algorithms, only a very limited number of scenarios, algorithm configurations and hyper-parameter settings are explored, leading to incomplete and often biased insights and results. This paper presents a novel approach we call explainable benchmarking. Introducing the IOH-Xplainer software framework, for analyzing and understanding the performance of various optimization algorithms and the impact of their different components and hyper-parameters. We showcase the framework in the context of two modular optimization frameworks. Through this framework, we examine the impact of different algorithmic components and configurations, offering insights into their performance across diverse scenarios. We provide a systematic method for evaluating and interpreting the behaviour and efficiency of iterative optimization heuristics in a more transparent and comprehensible manner, allowing for better benchmarking and algorithm design.
BibTeX
@misc{stein2024explainable,
  author = {Niki van Stein and Diederick Vermetten and Anna V. Kononova and Thomas Bäck},
  title = {{Explainable Benchmarking for Iterative Optimization Heuristics}},
  year = {2024},
  eprint = {2401.17842},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.17842},
}
Figure