Task Diversity in Bayesian Federated Learning: Simultaneous Processing of Classification and Regression
Junliang Lyu, Yixuan Zhang, Xiaoling Lu, Feng Zhou
TL;DR
The paper tackles the limitation of Federated Learning by handling heterogeneous local tasks (classification and regression) through a Bayesian, task-aware framework. It introduces pFed-Mul, which uses multi-output Gaussian processes at the client and aggregates posterior information on a global MOGP prior, with Polya-Gamma augmentation enabling analytic mean-field variational inference. The approach yields superior predictive performance, uncertainty calibration, and OOD detection, while achieving faster convergence thanks to the augmentation and inducing-point scalable inference. The method demonstrates strong results on synthetic and real data (CelebA, Dogcat) and includes comprehensive ablations and analysis, highlighting its potential for diverse, privacy-preserving, on-device learning scenarios. Code is publicly available to facilitate adoption and further research.
Abstract
This work addresses a key limitation in current federated learning approaches, which predominantly focus on homogeneous tasks, neglecting the task diversity on local devices. We propose a principled integration of multi-task learning using multi-output Gaussian processes (MOGP) at the local level and federated learning at the global level. MOGP handles correlated classification and regression tasks, offering a Bayesian non-parametric approach that naturally quantifies uncertainty. The central server aggregates the posteriors from local devices, updating a global MOGP prior redistributed for training local models until convergence. Challenges in performing posterior inference on local devices are addressed through the Pólya-Gamma augmentation technique and mean-field variational inference, enhancing computational efficiency and convergence rate. Experimental results on both synthetic and real data demonstrate superior predictive performance, OOD detection, uncertainty calibration and convergence rate, highlighting the method's potential in diverse applications. Our code is publicly available at https://github.com/JunliangLv/task_diversity_BFL.
