[Paper Review] Personalized Federated Learning via Variational Bayesian Inference
This paper proposes pFedBayes, a personalized federated learning framework that uses variational Bayesian inference to model weight uncertainty in both local and global neural networks. By balancing local reconstruction error and KL divergence with a global prior, it achieves minimax-optimal generalization error and outperforms SOTA methods by up to 11.71% on personalized models under non-i.i.d. and limited data settings.
Federated learning faces huge challenges from model overfitting due to the lack of data and statistical diversity among clients. To address these challenges, this paper proposes a novel personalized federated learning method via Bayesian variational inference named pFedBayes. To alleviate the overfitting, weight uncertainty is introduced to neural networks for clients and the server. To achieve personalization, each client updates its local distribution parameters by balancing its construction error over private data and its KL divergence with global distribution from the server. Theoretical analysis gives an upper bound of averaged generalization error and illustrates that the convergence rate of the generalization error is minimax optimal up to a logarithmic factor. Experiments show that the proposed method outperforms other advanced personalized methods on personalized models, e.g., pFedBayes respectively outperforms other SOTA algorithms by 1.25%, 0.42% and 11.71% on MNIST, FMNIST and CIFAR-10 under non-i.i.d. limited data.
Motivation & Objective
- Address model overfitting and performance degradation in federated learning due to limited and non-i.i.d. client data.
- Introduce a personalized federated learning method that quantifies uncertainty in model predictions.
- Develop a Bayesian approach that uses a trained global distribution as a prior, avoiding mismatched prior assumptions.
- Theoretically guarantee minimax-optimal convergence for generalization error under non-i.i.d. data.
- Achieve superior performance on personalized models, especially with small data volumes.
Proposed method
- Formulate both local and global models as Bayesian neural networks (BNNs), treating network weights as random variables.
- Use variational inference to approximate the true posterior distribution over model weights at each client.
- Update local distributions by minimizing a trade-off between reconstruction error on private data and KL divergence from the global distribution.
- Use the aggregated global distribution from previous rounds as the prior for local clients, improving generalization.
- Alternate between local client updates and global model aggregation using a first-order stochastic gradient algorithm.
- Initialize weight parameters via a learned log-variance parameter ρ to stabilize training.
Experimental results
Research questions
- RQ1Can a Bayesian federated learning framework effectively reduce overfitting in personalized FL under limited data?
- RQ2How does using a learned global distribution as a prior improve performance compared to fixed priors?
- RQ3Does the proposed method achieve minimax-optimal convergence rates for generalization error in non-i.i.d. settings?
- RQ4Can the method provide reliable uncertainty estimates for model outputs in safety-critical applications?
- RQ5How does pFedBayes compare to SOTA personalized FL methods in terms of accuracy and convergence speed?
Key findings
- pFedBayes outperforms SOTA methods by 1.25%, 0.42%, and 11.71% on personalized models for MNIST, FMNIST, and CIFAR-10 under non-i.i.d. and limited data.
- On small datasets, pFedBayes converges faster and achieves stable performance after 50 training iterations, outperforming all baselines.
- The method achieves minimax-optimal convergence rate for averaged generalization error up to a logarithmic factor.
- pFedBayes provides uncertainty estimates for model outputs, which is valuable for robustness-critical applications like autonomous driving and medical diagnosis.
- The global model performance is competitive on small and medium datasets but degrades on large datasets due to inherent limitations of BNNs in high-data regimes.
- Parameter tuning shows that pFedBayes is robust with optimal settings: ρ = -2.5, ζ = 10, and learning rates η₁ = η₂ = 0.001.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.