Parallel Mixed Bayesian Optimization Algorithm: A Scaleup Analysis

Jiri Ocenasek, Martin PelikanarXiv 2004

Introduction

Estimation of Distribution Algorithms (EDAs) represent a sophisticated class of evolutionary algorithms that replace traditional genetic operators—such as crossover and mutation—with probabilistic modeling. By building a model of the best solutions found in each generation and sampling that model to generate new candidates, EDAs can capture complex dependencies between variables. The Mixed Bayesian Optimization Algorithm (MBOA) is a prominent EDA that utilizes Bayesian networks and decision trees to model these dependencies. However, the computational intensity of model building has historically limited the practical application of MBOA to large-scale problems. This paper provides a rigorous complexity and scaleup analysis of a parallelized MBOA, demonstrating how to overcome these computational bottlenecks.

The Computational Challenge

In a sequential MBOA implementation, model building is the primary bottleneck, often accounting for approximately 95% of the total execution time. To make MBOA viable for high-dimensional problems, parallelization is essential. The authors identify the core challenge: ensuring that the Bayesian network remains a directed acyclic graph (DAG) across multiple processors without incurring prohibitive communication overhead.

Parallelization Strategy

The authors propose a strategy for parallel model building that focuses on asynchronous construction:

  • Acyclicity via Permutation: To avoid the high overhead of checking for cycles across a distributed system, the algorithm uses a random topological ordering (a permutation) of variables in each generation.
  • Asynchronous Construction: Because the variable ordering is predetermined, each processor can independently and asynchronously build decision trees for its assigned variables. This eliminates the need for frequent synchronization during the model-building phase.
  • Complexity Analysis: The sequential complexity of model building is established as $O(n^2 N \log N)$, where $n$ is the number of variables and $N$ is the population size. The parallel version aims to distribute this $n^2$ factor across the available processors.

Experimental Methodology

The algorithm's performance was evaluated using the 2D Ising spin glass benchmark, a classic NP-complete optimization problem from quantum physics. The experiments were conducted on a Beowulf cluster consisting of 502 Intel Pentium III nodes.

  • Problem Sizes ($n$): The study examined grids ranging from $10 \times 10$ to $30 \times 30$ (100 to 900 spins).
  • Population Sizes ($N$): Populations ranged from 500 to 8,000 individuals.
  • Metrics: The primary focus was on speedup ($S$), defined as the ratio of total sequential time to parallel execution time.

Key Insights and Results

Near-Linear Speedup

The parallel construction of decision trees achieved nearly linear speedup, effectively utilizing up to $P = n/2$ processors. The theoretical complexity model derived by the authors closely matched the experimental data, confirming that the overhead of the permutation-based approach is minimal.

The Shifting Bottleneck

A critical insight from the scaleup analysis is the concept of the "shifting bottleneck." While model building dominates sequential execution, as the number of processors ($P$) increases proportional to the problem size ($n$), other components that were previously negligible—such as Restricted Tournament Replacement (RTR) and fitness evaluation—become the new primary bottlenecks.

Scalability Guidelines

The paper provides a roadmap for scaling MBOA to larger clusters:

  1. Fixed $P$: If the number of processors is constant, parallelizing model building is sufficient.
  2. Scaling $P$ with $n$: If the goal is to scale the hardware alongside the problem size, developers must also parallelize the replacement operator (RTR) and potentially the fitness evaluation to prevent speedup saturation.

Cache Efficiency

Interestingly, for smaller problem sizes, the actual execution time was faster than the theoretical complexity predicted. The authors attribute this to CPU cache effects, where the reduced data footprint per processor allows for more efficient memory access than in the sequential case.

Conclusion and Future Work

The analysis confirms that MBOA can be efficiently parallelized to solve complex physics problems. By addressing the model-building bottleneck through asynchronous decision tree construction, the authors demonstrate that EDAs can scale to hundreds of processors. Future research directions include the parallelization of the identified "critical" components—specifically RTR and non-linear fitness functions—to ensure that MBOA remains efficient as it scales toward even larger, more complex problem domains.

Summary updated

BibTeX
@misc{ocenasek2004parallel,
  author = {Jiri Ocenasek and Martin Pelikan},
  title = {{Parallel Mixed Bayesian Optimization Algorithm: A Scaleup Analysis}},
  year = {2004},
  eprint = {cs/0406007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/cs/0406007},
}
Figure