Abstract
We address the relatively unexplored problem of hyper-parameter optimization (HPO) for federated learning (FL-HPO). We introduce Federated Loss SuRface Aggregation (FLoRA), a general FL-HPO solution framework that can address use cases of tabular data and any Machine Learning (ML) model including gradient boosting training algorithms and therefore further expands the scope of FL-HPO. FLoRA enables single-shot FL-HPO: identifying a single set of good hyper-parameters that are subsequently used in a single FL training. Thus, it enables FL-HPO solutions with minimal additional communication overhead compared to FL training without HPO. We theoretically characterize the optimality gap of FL-HPO, which explicitly accounts for the heterogeneous non-IID nature of the parties' local data distributions, a dominant characteristic of FL systems. Our empirical evaluation of FLoRA for multiple ML algorithms on seven OpenML datasets demonstrates significant model accuracy improvements over the considered baseline, and robustness to increasing number of parties involved in FL-HPO training.
Introduction
Hyper-parameter optimization (HPO) is a critical component of the machine learning pipeline, often determining the success or failure of a model. In centralized learning, practitioners can leverage established techniques like grid search or Bayesian optimization because they have direct access to the entire dataset. However, in Federated Learning (FL), data remains decentralized across multiple parties to preserve privacy. This architectural constraint turns HPO into a significant logistical and computational challenge.
Traditional HPO in an FL context is prohibitively expensive. Training even a single federated model requires numerous communication rounds between a central server and participating clients. Executing a full HPO suite—which might require training dozens or hundreds of model configurations—scales these communication costs linearly, leading to massive bandwidth consumption and latency. To solve this, we propose FLoRA (Federated Loss SuRface Aggregation), a "single-shot" framework designed to optimize hyper-parameters with minimal communication overhead.
The FLoRA Framework
FLoRA shifts the primary burden of HPO to the local parties, allowing for a "single-shot" workflow that identifies optimal settings before the final federated training begins. The process consists of four primary stages:
- Local Asynchronous HPO: Each party independently performs HPO on its local data using standard methods (e.g., Bayesian Optimization). This results in a set of hyper-parameter (HP) and corresponding loss pairs.
- Aggregation: Parties transmit these $(HP, loss)$ pairs to a central aggregator. Because these are small numerical values rather than model weights, the communication cost is negligible.
- Loss Surface Construction: The aggregator uses these points to construct a "unified loss surface"—a predictive model that estimates how any given HP configuration would perform across the entire federation. We explored several strategies for this construction:
- Single Global Model (SGM): Merging all points into a single regressor.
- SGM with Uncertainty (SGM+U): Penalizing regions where parties show high disagreement.
- Maximum of Per-Party Models (MPLM): A pessimistic approach targeting the "worst-off" party.
- Average of Per-Party Models (APLM): Averaging local predictions to find a globally robust configuration.
- The Single Shot: The aggregator identifies the best HP from the constructed map, and the federation performs exactly one full FL training run using those settings.
Experimental Methodology
We evaluated FLoRA across seven binary classification datasets from OpenML, including EEG eye state, Electricity, Pollen, and PC3. These datasets represent a variety of sample sizes and feature distributions. To demonstrate the framework's versatility, we tested three distinct machine learning algorithms:
- Histogram-based Gradient Boosted Trees (HGB)
- Support Vector Machines (SVM)
- Multi-layered Perceptrons (MLP)
Unlike many existing FL-HPO methods that rely on deep learning-specific "weight-sharing" tricks, FLoRA is model-agnostic. This makes it uniquely suited for tabular data and algorithms like Gradient Boosted Decision Trees (GBDTs), which are widely used in enterprise applications but difficult to optimize in federated settings.
Key Insights and Results
Performance and Scalability
FLoRA consistently outperformed the single-shot baseline (using default scikit-learn hyper-parameters). In many experimental scenarios, FLoRA achieved accuracy levels close to what would be possible with full, centralized HPO. Furthermore, the method demonstrated strong scalability; as the number of parties increased from 3 to 100, FLoRA maintained low "relative regret," proving robust even as data became more fragmented across the federation.
The Superiority of APLM
Among the aggregation strategies, the Average of per-party local models (APLM) emerged as the most effective. By averaging local predictions, APLM strikes a balance between the potential over-optimism of a single global model and the extreme pessimism of the MPLM approach, resulting in hyper-parameters that are robust across heterogeneous data distributions.
Theoretical Rigor
A core contribution of this work is the formal characterization of the "optimality gap." We provide a theoretical bound showing how the distance between FLoRA’s selected hyper-parameters and the true global optimum is influenced by the "Non-IIDness" (heterogeneity) of the data, measured via Wasserstein distance. This provides a mathematical foundation for understanding how data distribution affects HPO performance in FL.
Conclusion
FLoRA offers a pragmatic, low-bandwidth solution for tuning federated models. By enabling single-shot HPO, it removes the communication bottleneck that has previously hindered FL deployment in resource-constrained or high-latency environments. While future work will address the optimization of aggregator-specific hyper-parameters and the computational requirements for local clients, FLoRA currently provides a robust path forward for federated learning on tabular data and beyond.
Summary updated