How to Privately Tune Hyperparameters in Federated Learning? Insights from a Benchmark Study
Natalija Mitic, Apostolos Pyrgelis, Sinem Sav
TL;DR
The paper tackles privacy-preserving hyperparameter tuning in cross-silo federated learning by first benchmarking how locally discovered HPs can be aggregated at the server under IID and non-IID data. It finds that simple averaging suffices for IID settings, while density-based clustering robustly recovers optimal server HPs in non-IID scenarios. To safeguard client HPs from leakage, it then introduces PrivTuna, a multiparty homomorphic encryption-based framework implementing privacy-preserving aggregation strategies, notably PF-Mean and PF-DBSCAN. Empirical results demonstrate that PrivTuna achieves efficient computation and communication with minimal distortion in server HP tuning, enabling private, accurate configuration of FFPL hyperparameters prior to training. Overall, the work provides a practical pathway for private, single-shot server HP tuning in PPFL via server-client HP aggregation and encrypted computation.
Abstract
In this paper, we address the problem of privacy-preserving hyperparameter (HP) tuning for cross-silo federated learning (FL). We first perform a comprehensive measurement study that benchmarks various HP strategies suitable for FL. Our benchmarks show that the optimal parameters of the FL server, e.g., the learning rate, can be accurately and efficiently tuned based on the HPs found by each client on its local data. We demonstrate that HP averaging is suitable for iid settings, while density-based clustering can uncover the optimal set of parameters in non-iid ones. Then, to prevent information leakage from the exchange of the clients' local HPs, we design and implement PrivTuna, a novel framework for privacy-preserving HP tuning using multiparty homomorphic encryption. We use PrivTuna to implement privacy-preserving federated averaging and density-based clustering, and we experimentally evaluate its performance demonstrating its computation/communication efficiency and its precision in tuning hyperparameters.
