Decentralized High-Dimensional Bayesian Optimization With Factor Graphs

Trong Nghia Hoang, Quang Minh Hoang, Ruofei Ouyang, Kian Hsiang Low

Introduction

Bayesian Optimization (BO) is a premier method for optimizing expensive black-box functions, such as hyperparameter tuning for deep neural networks. However, BO traditionally suffers from the "curse of dimensionality," where the computational cost of finding optimal points grows exponentially with the number of input variables. DEC-HBO addresses this by modeling the objective function as a sparse factor graph, capturing complex local interdependencies while maintaining computational efficiency through decentralized message passing.

The Scalability Challenge

Researchers typically tackle high-dimensional BO using two extreme assumptions:

  1. Low-Rank Embeddings: Assuming the function depends on only a few "important" dimensions. This fails if the objective function is truly high-dimensional.
  2. Total Decoupling: Assuming all input variables act independently. This scales linearly but ignores critical joint effects between variables.

DEC-HBO identifies a middle ground: interdependencies are often local or indirect. A variable might directly influence only a few neighbors, which in turn influence others. Factor graphs provide the ideal mathematical framework to represent these sparse, overlapping dependencies.

Methodology: DEC-HBO

DEC-HBO (Decentralized High-Dimensional Bayesian Optimization) introduces several key innovations:

  • Factor Graph Representation: The high-dimensional objective function $f$ is decomposed into a sum of "factor functions," each depending on a small subset of variables. This captures local interactions without the exponential cost of a full global model.
  • Additive GP Model: Each factor is modeled as an independent Gaussian Process (GP). The global belief is the sum of these individual GPs.
  • Decentralized Acquisition: To select the next evaluation point, the algorithm uses a modified GP-Upper Confidence Bound (GP-UCB). The optimization of this acquisition function is solved using distributed message passing (similar to the max-sum algorithm), avoiding the need for a central coordinator.
  • Theoretical Guarantees: The authors prove that DEC-HBO achieves "no-regret" performance, guaranteeing convergence to the global maximum even in continuous high-dimensional spaces.

Key Results and Insights

The algorithm was evaluated on synthetic benchmarks (Shekel, Hartmann, Michalewicz) and complex real-world tasks, including protein structure prediction with 1,811 hyperparameters and CNN hyperparameter tuning on CIFAR-10.

Figure 4: Performance comparison showing (a) cumulative time and (b-d) regret across different synthetic functions. DEC-HBO variants maintain low computational cost while achieving significantly lower regret than standard additive models.

Performance Highlights

  • Superior Accuracy: DEC-HBO consistently achieved lower regret than state-of-the-art methods like ADD-GP-UCB and REMBO. For instance, on the Shekel function, the DEC-HBO (MF3) variant reached a final regret of ~1.43, significantly outperforming the standard additive approach (~3.83).
  • Efficiency and Scalability: As shown in Figure 4(a), while traditional GP-UCB time costs grow rapidly, DEC-HBO maintains a near-linear time complexity relative to iterations, similar to simpler independent models but with much higher accuracy.
  • Massive Hyperparameter Spaces: DEC-HBO successfully optimized 1,811 hyperparameters in the PIC model experiment, a scale where traditional BO methods typically stall.
Figure 6: Error and RMSE reduction over iterations for a high-dimensional optimization task. DEC-HBO variants (MF2, MF3) converge faster to lower error rates compared to baseline additive models.

Conclusion

DEC-HBO demonstrates that high-dimensional Bayesian Optimization is feasible by exploiting the sparsity of local interactions. By combining factor graphs with decentralized message passing, the algorithm bridges the gap between oversimplified independent models and intractable global optimizers. Future work may explore learning the graph structure directly from data and applying the method to multi-robot systems requiring physical decentralized coordination.

Summary updated

BibTeX
@inproceedings{hoang2018decentralized,
  author = {Trong Nghia Hoang and Quang Minh Hoang and Ruofei Ouyang and Kian Hsiang Low},
  title = {{Decentralized High-Dimensional Bayesian Optimization With Factor Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=Z1oYY0SMyvv},
}
Figure