Bayesian Coreset Optimization for Personalized Federated Learning

Prateek Chanda, Shrey Modi, Ganesh Ramakrishnan

In the world of distributed machine learning, Federated Learning (FL) has emerged as a champion for privacy, allowing models to learn from data spread across thousands of devices without that data ever leaving its home. But there’s a catch: training on a mobile phone or a medical sensor is computationally expensive. If a client has a massive local dataset, processing every single point is a recipe for drained batteries and slow updates.

A new paper from researchers at IIT Bombay proposes a clever solution: CORESET-PFEDBAYES. By using "Bayesian Coresets"—small, intelligently weighted subsets of data—they show that clients can achieve near-optimal personalization while significantly reducing the heavy lifting.

TL;DR

CORESET-PFEDBAYES introduces a framework that replaces a client's full local dataset with a "coreset"—a tiny, weighted fraction of representative data points. This approach achieves minimax optimal generalization bounds and outperforms standard personalized federated learning methods, even when those methods use significantly more data.

What Problem Does This Paper Address?

Standard Federated Learning often struggles with two main issues:

  1. Resource Constraints: Training on a client's entire local dataset is often too "cumbersome" for edge devices.
  2. Data Heterogeneity: Different clients have different data (non-i.i.d.). A one-size-fits-all global model rarely works well for everyone, leading to the need for Personalized Federated Learning (PFL).

While researchers have tried simple data reduction (like random sampling), these methods often discard the most "informative" points, leading to a massive drop in accuracy. The challenge is: How do we select a tiny subset of data that acts as a perfect proxy for the whole, specifically for personalized models?

Methods

CORESET-PFEDBAYES Architecture

The authors bridge the gap between Bayesian Coresets and Personalized Federated Learning.

  • Bayesian Coresets: Instead of treating all data points equally, the algorithm selects a sparse subset and assigns them weights. The goal is to ensure the "posterior distribution" (what the model learns) from this small subset is as close as possible to the distribution it would have learned from the full dataset.
  • CORESET-PFEDBAYES Architecture: They formulate a bi-level optimization problem. The client doesn't just minimize local loss; it minimizes the KL Divergence between the distribution learned from the coreset and the "ideal" distribution from the full data.
  • A-IHT (Accelerated Iterative Hard Thresholding): To find these coreset weights efficiently without blowing up the client's computation, they use an accelerated sparse regression technique.
  • Personalization: The framework uses a regularization constant ($\zeta$) that allows each client to balance between the global "consensus" model and their unique local data characteristics.

Datasets

The researchers validated their approach on a mix of standard benchmarks and high-stakes real-world data:

  • Standard Benchmarks: MNIST, FashionMNIST, and CIFAR-10 (partitioned in non-i.i.d. ways to simulate real-world device diversity).
  • Medical Datasets: COVID-19 Radiography Database, APTOS 2019 Blindness Detection, and OCTMNIST. These are particularly relevant because medical data is often scarce, private, and highly variable between hospitals.

Key Insights and Ideas

Posterior Approximation with Coresets
  • Intelligent Selection Beats Brute Force: One of the most striking "aha" moments is that CORESET-PFEDBAYES with only 50% of the data often outperforms other state-of-the-art PFL models trained on 100% of the data. This suggests that "noisy" or redundant data points in the full set might actually be hindering personalization.
  • Theoretical Optimality: The authors provide a rigorous proof that their generalization error is minimax optimal up to logarithmic factors. They even derived a closed-form function to measure exactly how much error is introduced by using a coreset of a specific size.
  • Model-Centric vs. Data-Centric: Most subset selection methods (like submodular optimization) look for diverse data. This paper argues for a model-centric approach: select data that specifically helps the Bayesian model approximate the true posterior.

Key Results

  • Accuracy Gains: On MNIST, the coreset approach (at 50% size) beat the random-sampling baseline by +4.87%. On FashionMNIST, the gain was even higher at +8.61%.
  • Efficiency: The coreset models converged much faster. In the MNIST experiments, the KL divergence (the "difference" between the coreset model and the full model) dropped to near zero within just a few epochs.
  • Medical Performance: In the medical domain, CORESET-PFEDBAYES consistently outperformed "diversity-based" submodular selection methods (like LogDet or DispSum), proving that being "representative" for a model is better than just being "diverse" for a dataset.

Limitations and Future Work

While the results are promising, the authors and the context of the work suggest a few areas for further exploration:

  • Adversarial Robustness: The paper notes that future work should investigate how this coreset scheme handles "poisoned" or intentionally skewed data from malicious clients.
  • Privacy Interplay: While coresets reduce data usage, the weights themselves might leak information. Integrating this with Differential Privacy is a logical next step.
  • Dynamic Data: The current model assumes a static local dataset. In the real world, client data grows over time; adapting the coreset optimization to "streaming" data would be a significant practical upgrade.

Reference: Chanda, P., Modi, S., & Ramakrishnan, G. (2024). Bayesian Coreset Optimization for Personalized Federated Learning.

Summary updated

BibTeX
@inproceedings{chanda2024bayesian,
  author = {Prateek Chanda and Shrey Modi and Ganesh Ramakrishnan},
  title = {{Bayesian Coreset Optimization for Personalized Federated Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=uz7d2N2zul},
}
Figure