PUFFLE: Balancing Privacy, Utility, and Fairness in Federated Learning

Luca Corbucci, Mikko A. Heikkilä, David Solans Noguero, Anna Monreale, Nicolas KourtellisECAI 2024

TL;DR

This paper introduces PUFFLE, a novel framework for Federated Learning (FL) that simultaneously balances model utility, privacy, and fairness. PUFFLE allows clients to specify their desired trade-offs, achieving significant reductions in unfairness (up to 75%) while maintaining strict privacy guarantees and a manageable drop in accuracy.

What Problem Does This Paper Address?

In today's AI landscape, building trustworthy machine learning models is paramount. This involves not only ensuring high accuracy (utility) but also protecting user privacy and ensuring fairness across different demographic groups. However, these three pillars of trustworthiness often conflict. For instance, techniques to improve fairness might compromise privacy, and vice-versa. This challenge is amplified in Federated Learning (FL), where data is decentralized across multiple clients, leading to diverse data distributions and making it harder to achieve a global balance of these properties. Existing research often focuses on only two of these three aspects, leaving a critical gap in addressing all three simultaneously in the complex FL setting.

Methods

PUFFLE tackles this challenge by extending the Differentially Private Stochastic Gradient Descent (DP-SGD) algorithm. The core idea is to incorporate a fairness regularization term into the local loss function of each client during training. This term, based on Demographic Parity Loss (DPL), penalizes unfairness.

Key innovations include:

  • Tunable Fairness Parameter (λ): Instead of a fixed regularization parameter, PUFFLE introduces a "tunable λ" that dynamically adjusts based on a user-defined target disparity (T). This makes the approach more interpretable and easier to manage.
  • Decentralized DPL Calculation: Unlike prior work, PUFFLE doesn't require a public dataset for DPL calculation. It computes this loss directly on local batches, making it suitable for FL.
  • Sharing Local Statistics: To handle edge cases where clients might have data for only one sensitive group, PUFFLE proposes sharing aggregated local statistics with the server. This allows for accurate global fairness computation without compromising privacy.
  • Instance-Level DP: The framework ensures instance-level differential privacy by applying DP-SGD and adding noise to the gradients and shared statistics.

Datasets

The authors evaluated PUFFLE on three diverse datasets:

  • CelebA: An image dataset used for a "smiling" prediction task, with gender as the sensitive attribute.
  • Dutch: A tabular dataset for salary prediction, using gender as the sensitive attribute.
  • ACS Income: A tabular dataset from the American Community Survey for salary prediction, also using gender as the sensitive attribute. This dataset was naturally partitioned by state, making it suitable for FL experiments.

The paper also describes a novel data distribution algorithm (Algorithm 4) used to artificially create scenarios with varying degrees of client unfairness for experimental purposes.

Key Insights and Ideas

  • The "Tunable λ" is a Game-Changer: Moving from a fixed regularization parameter to a tunable one that directly targets a desired disparity makes the trade-off between fairness and utility much more interpretable and controllable for users.
  • Decentralized Fairness is Feasible: The ability to calculate fairness metrics locally and aggregate them, rather than relying on a central public dataset, is crucial for practical FL deployments.
  • Global Fairness Benefits Local Clients: Even though PUFFLE primarily targets global model fairness, the experiments show that it also positively impacts the fairness of individual clients' models.
  • Trade-offs are Inevitable but Manageable: The paper clearly demonstrates that achieving higher fairness and privacy comes at a cost to utility (accuracy), but PUFFLE provides a structured way to explore and manage these trade-offs.

Key Results

  • Significant Unfairness Reduction: PUFFLE reduced model unfairness by up to 75% across various datasets and configurations.
  • Controlled Utility Degradation: In the worst-case scenario, utility (accuracy) dropped by a maximum of 17% when aiming for very high fairness and privacy. This drop was often less severe, especially when compared to models trained with only DP.
  • Effective Across Diverse Settings: PUFFLE demonstrated its robustness across different datasets (image and tabular), model architectures (CNNs and simple neural networks), and data distributions.
  • Tunable λ Outperforms Fixed λ in Interpretability: While achieving comparable results, the tunable λ approach was found to be easier to interpret and use.

Limitations and Future Work

  • Handling Diverse Biases: The current PUFFLE framework assumes clients have biases in the same direction. Future work could extend it to handle scenarios where clients have biases towards different sensitive groups (e.g., some biased towards "male," others towards "female").
  • Exploring Other Fairness Metrics: The paper primarily uses Demographic Parity. Future research could explore integrating other differentiable fairness metrics to cater to a wider range of fairness definitions.
  • Personalized Requirements: The current approach assumes uniform privacy and fairness requirements across clients. Future work could investigate how to balance these three factors when clients have differing preferences.

Summary updated

BibTeX
@inproceedings{corbucci2024puffle,
  author = {Luca Corbucci and Mikko A. Heikkilä and David Solans Noguero and Anna Monreale and Nicolas Kourtellis},
  title = {{PUFFLE: Balancing Privacy, Utility, and Fairness in Federated Learning}},
  booktitle = {ECAI},
  year = {2024},
  url = {https://openreview.net/forum?id=22a5P903RE},
}
Figure