Information-Theoretic Bounds on the Generalization Error and Privacy Leakage in Federated Learning

Semih Yagli, Alex Dytso, H. Vincent Poor

TL;DR

This paper provides a unified information-theoretic framework to quantify two critical aspects of machine learning: how well a model generalizes to new data and how much private information it leaks. By analyzing centralized, distributed, and federated learning (FL) through the lens of mutual information, the authors prove that the decentralized nature of FL provides inherent privacy benefits that scale with the number of participants without necessarily sacrificing model accuracy.

What Problem Does This Paper Address?

As machine learning moves from massive data centers to edge devices like smartphones and IoT sensors, two major challenges emerge: generalization and privacy.

Generalization error tells us if a model has actually learned underlying patterns or just memorized its training set (overfitting). Privacy leakage measures how much an adversary (or even the central server) can infer about an individual user's raw data by looking at the model updates they send. While Federated Learning is often touted as "privacy-preserving" because data stays on-device, quantifying exactly how much privacy it provides—and how that interacts with learning performance—has been theoretically murky. The authors aim to bridge this gap with a rigorous mathematical framework.

Methods

The authors utilize Information Theory—specifically mutual information—to derive upper and lower bounds for both generalization error and privacy leakage.

Key technical components include:

  • Bayesian Mutual Information Privacy: Instead of the standard $\epsilon$-differential privacy, the authors use a mutual-information-based metric. They argue this is more computationally amenable while still providing strong privacy guarantees.
  • Donsker-Varadhan Variational Representation: This tool allows them to relate the difference in expectations (the generalization error) to the mutual information between the training data and the resulting model.
  • Comparative Modeling: They formally define and compare three paradigms:
  • Centralized: All data is sent to one server.
  • Distributed: Users train locally once and send a final model for one-shot aggregation.
  • Federated: Users participate in multiple iterative rounds of local training and global model updates, often with only a subset of users active at any given time.

Datasets

The paper is primarily theoretical and does not use large-scale empirical datasets like CIFAR-10 or ImageNet. Instead, it validates its theoretical bounds using a Gaussian Mean Estimation problem. This serves as a controlled environment to analytically compute generalization error and privacy leakage, providing a "sanity check" for the derived theorems.

Key Insights and Ideas

  • The "Inherent Privacy" of Crowds: In distributed and federated settings, the central server only sees an aggregate of updates. As more users join the task, the "noise" from other users makes it harder for the server to isolate any single user's data. The paper mathematically proves that multi-user learning provides a baseline level of privacy simply by existing.
  • Generalization is "Free" in Distributed Learning: Surprisingly, for the Gaussian case, the generalization error in a distributed setting with $K$ users (each with $n$ data points) is identical to a centralized setting with one massive dataset of size $Kn$. Distributing the task doesn't inherently hurt the model's ability to generalize.
  • Active User Advantage: In Federated Learning, not every user is active in every round. The authors show that this partial participation actually reduces privacy leakage compared to a standard distributed setting where everyone sends an update at once.

Key Results

The paper provides explicit scaling laws for generalization error and privacy:

  • Generalization Scaling: In the federated setting, the generalization error scales as $O(1/tnK_a)$, where $t$ is the number of rounds and $K_a$ is the number of active users. This shows that more rounds and more participants both drive down overfitting.
  • Privacy Trade-off: The privacy leakage is finite in distributed settings, unlike centralized settings where it can be infinite (since the server has the raw data).
  • Federated vs. Distributed Privacy: As shown in Figure 1, if all users are active, FL and distributed learning leak the same amount of information. However, when only a subset of users participates (a common reality in FL), the privacy leakage is significantly lower.
Fig. 1. Comparison of privacy leakages in distributed and federated learning.

Limitations and Future Work

  • Simplified Models: The concrete examples rely on Gaussian distributions and mean estimation. While the general theorems hold for broader classes, calculating the specific "psi-functions" (Legendre duals of cumulant generating functions) for complex deep neural networks remains a significant challenge.
  • Assumption of Independence: The current bounds assume that datasets across different users are independent. In many real-world FL scenarios, user data is highly correlated (e.g., users in the same city having similar typing patterns), which could impact both generalization and privacy in ways not fully captured here.
  • Communication Costs: While the paper mentions communication efficiency as a motivation for FL, it does not explicitly incorporate communication constraints into the information-theoretic bounds.

Summary updated

BibTeX
@inproceedings{yagli2020information,
  author = {Semih Yagli and Alex Dytso and H. Vincent Poor},
  title = {{Information-Theoretic Bounds on the Generalization Error and Privacy Leakage in Federated Learning}},
  booktitle = {SPAWC},
  year = {2020},
  doi = {10.1109/spawc48557.2020.9154277},
}
Figure