Skip to main content
QUICK REVIEW

[Paper Review] FedHPO-B: A Benchmark Suite for Federated Hyperparameter Optimization

Zhen Wang, Weirui Kuang|arXiv (Cornell University)|Jun 8, 2022
Recommender Systems and TechniquesComputer Science6 citations
TL;DR

This paper introduces FedHPO-B, a comprehensive benchmark suite for federated hyperparameter optimization (HPO), addressing the lack of standardized evaluation tools for HPO in federated learning (FL). Built on the FederatedScope platform, FedHPO-B supports diverse FL tasks, enables efficient function evaluations via tabular and surrogate modes, and provides configurable simulation for realistic cost estimation, facilitating reproducible and extensible benchmarking of FedHPO methods.

ABSTRACT

Hyperparameter optimization (HPO) is crucial for machine learning algorithms to achieve satisfactory performance, whose progress has been boosted by related benchmarks. Nonetheless, existing efforts in benchmarking all focus on HPO for traditional centralized learning while ignoring federated learning (FL), a promising paradigm for collaboratively learning models from dispersed data. In this paper, we first identify some uniqueness of HPO for FL algorithms from various aspects. Due to this uniqueness, existing HPO benchmarks no longer satisfy the need to compare HPO methods in the FL setting. To facilitate the research of HPO in the FL setting, we propose and implement a benchmark suite FedHPO-B that incorporates comprehensive FL tasks, enables efficient function evaluations, and eases continuing extensions. We also conduct extensive experiments based on FedHPO-B to benchmark a few HPO methods. We open-source FedHPO-B at https://github.com/alibaba/FederatedScope/tree/master/benchmark/FedHPOB.

Motivation & Objective

  • To address the absence of standardized benchmarks for federated hyperparameter optimization (FedHPO), which is critical for fair and reproducible method comparison in FL.
  • To identify the unique challenges in FedHPO—such as augmented search space dimensions, fidelity control, and communication constraints—distinguishing it from centralized HPO.
  • To design a benchmark suite that supports comprehensive, efficient, and extensible evaluation of FedHPO methods across diverse FL tasks and configurations.
  • To enable both exact and approximate function evaluations through tabular, surrogate, and simulated execution modes for realistic performance estimation.
  • To foster community adoption and extension by integrating with the open-source FederatedScope platform.

Proposed method

  • FedHPO-B is implemented as an extension of the FederatedScope FL platform, leveraging its existing infrastructure for seamless integration and extensibility.
  • The benchmark includes a diverse set of FL tasks spanning multiple domains, model architectures (e.g., MLP, CNN, BERT), and data heterogeneity levels.
  • It supports three evaluation modes: tabular (precomputed results), surrogate (fast approximation via trained models), and simulated (configurable system model with realistic communication cost tracking).
  • The system model allows configurable participant heterogeneity, including varying data sizes, model update frequencies, and communication delays, to simulate real-world FL conditions.
  • Function evaluations are encapsulated with reproducible execution via containerized environments to ensure consistency across platforms.
  • The benchmark is open-sourced at https://github.com/alibaba/FederatedScope/tree/master/benchmark/FedHPOB to encourage community contributions and long-term maintainability.

Experimental results

Research questions

  • RQ1How do traditional HPO methods perform when applied to federated learning workloads, given the unique constraints of data distribution and communication overhead?
  • RQ2To what extent do existing HPO benchmarks fail to capture the true performance of FedHPO methods due to mismatched task settings?
  • RQ3How effective are surrogate models and tabular modes in approximating exact FedHPO evaluations while preserving performance ranking fidelity?
  • RQ4What is the impact of varying data heterogeneity and system configurations on the convergence and robustness of HPO methods in FL?
  • RQ5Can a modular and extensible benchmarking framework accelerate the development and evaluation of new FedHPO algorithms?

Key findings

  • FedHPO-B enables consistent and reproducible evaluation of HPO methods across diverse FL tasks, including FEMNIST, BERT, and OpenML benchmarks, with results stable across different runtime environments.
  • In surrogate mode, TPE with hierarchical Bayesian (TPE-HB) and TPE with multi-distribution (TPE-MD) strategies achieved the lowest final validation loss on the FEMNIST CNN benchmark (0.0458), outperforming other methods.
  • On the BERT CoLA benchmark, TPE-MD achieved the best surrogate-mode result (0.3687), significantly outperforming random search (0.5013) and other Bayesian optimization variants.
  • The mean rank over time analysis showed that BOHB and DEHB consistently ranked among the top methods across multiple benchmarks, including LR, MLP, and FEMNIST, under both FedAvg and FedOPT settings.
  • The benchmark's simulated mode accurately reflected real-world communication costs, with execution time tracking aligned with actual deployment overhead in distributed settings.
  • The open-sourced FedHPO-B framework has been successfully extended with new tasks and HPO methods, demonstrating strong community adoption and extensibility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.