FLoRA: Single-shot Hyper-parameter Optimization for Federated Learning

Yi Zhou, Parikshit Ram, Theodoros Salonidis, Nathalie Baracaldo, Horst Samulowitz, Heiko LudwigarXiv 2021

Abstract

Hyper-parameter optimization (HPO) in Federated Learning (FL) is often prohibitively expensive due to high communication costs and the requirement for multiple global training rounds. We present FLoRA (Federated Loss SuRface Aggregation), a single-shot HPO framework that enables efficient tuning by aggregating local loss surfaces. FLoRA is particularly effective for tabular data and non-neural models like Gradient Boosted Decision Trees (GBDTs), where traditional HPO shortcuts are unavailable. Our results demonstrate significant accuracy gains with minimal communication overhead and robust scalability across varying numbers of participants.

Introduction

Federated Learning (FL) enables collaborative model training while keeping data decentralized and private. However, finding optimal hyper-parameters (HPs)—such as learning rates, tree depths, or batch sizes—remains a significant bottleneck. Traditional HPO requires training hundreds of model variations, which translates to prohibitive communication costs in a federated setting. Furthermore, while most FL research focuses on neural networks, enterprise applications often rely on tabular data and Gradient Boosted Decision Trees (GBDTs), for which standard HPO techniques like weight-sharing are inapplicable. FLoRA addresses these challenges by shifting the HPO process to a "single-shot" paradigm.

The FLoRA Framework

FLoRA shifts the burden of HPO from the global level to local participants, utilizing a four-step process:

  1. Local Asynchronous HPO: Each participant independently runs HPO on its private data, generating a set of hyper-parameter configurations and their corresponding local losses. This process is asynchronous, allowing parties to participate without being simultaneously online.
  2. Aggregation: Parties transmit these (HP, Loss) pairs to a central aggregator. This metadata is significantly smaller than model weights, minimizing communication overhead.
  3. Loss Surface Modeling: The aggregator constructs a global "loss surface" regressor to predict global performance across the HP search space. Four modeling strategies were evaluated:
  4. SGM (Single Global Model): A unified regressor trained on pooled pairs.
  5. SGM+U (SGM with Uncertainty): Adds a penalty for HP regions where the model is uncertain (e.g., using Gaussian Processes).
  6. MPLM (Maximum of per-party models): A pessimistic approach that picks the worst-case loss across parties.
  7. APLM (Average of per-party models): A balanced approach averaging local predictions.
  8. Single-shot Execution: The aggregator identifies the HP configuration that minimizes predicted global loss and initiates a single, final federated training run.

Experimental Evaluation

The framework was evaluated on seven binary classification datasets from OpenML, specifically chosen for their tabular nature: EEG eye state, Electricity, Heart statlog, Oil spill, PC3, Pollen, and Sonar. These datasets vary in size (from 208 to 45,312 rows) and feature complexity, providing a robust test for GBDT performance.

Key Results and Discussion

Accuracy and Efficiency

FLoRA demonstrates substantial performance improvements over standard default hyper-parameters. As shown in the comparison against baseline settings, FLoRA variants consistently achieve higher accuracy across multiple datasets.

Accuracy comparison of FLoRA variants against baseline settings for selected datasets.

For instance, on the "Oil spill" dataset, FLoRA improved accuracy from a baseline of ~59% to over 73%. Crucially, these gains are achieved with minimal communication—requiring only one additional round for metadata exchange and one final training round.

Scalability and Robustness

The method proved robust as the number of parties increased from 3 to 10. While performance on very small datasets (like Pollen) became more volatile with more parties, the "pessimistic" MPLM surface helped maintain stability.

Performance (error metrics) of FLoRA variants across varying numbers of parties (3, 6, and 10).

The success of SGM+U and APLM suggests that accounting for uncertainty or averaging local views is vital for handling non-IID (heterogeneous) data distributions. By leveraging local "scouting," FLoRA identifies high-performing HP regions without requiring a full global view of the data distribution.

Conclusion and Future Work

FLoRA provides a practical and efficient solution for HPO in federated learning, particularly for tabular data and non-neural models. By leveraging local loss surface aggregation, it avoids the massive overhead of multi-round global tuning. Future work will explore personalized hyper-parameters, where different parties might benefit from slightly different local settings, and "few-shot" approaches that evaluate a small number of final candidates to further refine performance.

Summary updated

BibTeX
@misc{zhou2021flora,
  author = {Yi Zhou and Parikshit Ram and Theodoros Salonidis and Nathalie Baracaldo and Horst Samulowitz and Heiko Ludwig},
  title = {{FLoRA: Single-shot Hyper-parameter Optimization for Federated Learning}},
  year = {2021},
  eprint = {2112.08524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.08524},
}
Figure