Private Multi-Task Learning: Formulation and Applications to Federated Learning

Shengyuan Hu, Steven Wu, Virginia Smith

Abstract

In federated learning, standard client-level differential privacy (DP) often imposes a severe utility penalty on personalized models by treating a user's own data as a potential privacy risk to themselves. We introduce Private Multi-Task Learning (PMTL), a framework that utilizes "billboard privacy" (a form of joint differential privacy) to decouple a user's local utility from the privacy guarantees provided to the rest of the network. By allowing personalized models to leverage local data while ensuring rigorous privacy against all other participants, PMTL effectively rescues model utility in high-privacy regimes. We evaluate our approach on standard benchmarks including FEMNIST, StackOverflow, and CelebA, demonstrating significant accuracy improvements over traditional private federated learning baselines.

Introduction: The Privacy-Personalization Paradox

Federated Learning (FL) often encounters heterogeneous data distributions, where a single global model fails to capture individual user nuances—such as unique slang in predictive text. Multi-Task Learning (MTL) addresses this by training personalized models for each user while sharing knowledge across the network.

However, integrating privacy into personalized FL is problematic. Standard client-level Differential Privacy requires that every model produced be insensitive to any single user's data. This creates a paradox: a user’s own personalized model is restricted from learning effectively from that user's own data. This "naive" privacy approach often results in models that perform no better than random guesses. The challenge is protecting a user's data from the rest of the network without rendering it useless for the user themselves.

Methods: Private Mean-Regularized Multi-Task Learning

The proposed PMTL (Private Mean-Regularized Multi-Task Learning) framework introduces two key innovations:

  1. Billboard Privacy (BP): Utilizing a form of Joint Differential Privacy, BP ensures that the collection of models sent to all other users is insensitive to any single user's data. This allows a user's own model to remain highly accurate by utilizing their local data, while maintaining rigorous privacy against the rest of the network.
  2. Mean-Regularized Objective: Local models are regularized toward a global mean model, enabling local personalization while benefiting from global knowledge sharing.

The algorithm builds on FedAvg:

  • Clients perform local training and clip updates to bound sensitivity.
  • A trusted server aggregates these updates and adds Gaussian noise to create a "private billboard" (the global mean).
  • This noisy global mean is broadcast back to clients to regularize the next round of local training.
Training loss and privacy parameter ($ε$) evolution over communication rounds for StackOverflow, FEMNIST, and CelebA datasets.

Experimental Setup

We evaluated PMTL on three standard federated learning benchmarks from the LEAF repository:

  • FEMNIST: Image classification of handwritten characters across 205 users.
  • StackOverflow: Text-based tag prediction across 400 users.
  • CelebA: Facial attribute classification across 515 users.

Key Results and Insights

The fundamental insight of this work is that standard DP treats the user as an adversary to their own model. By adopting Billboard Privacy, PMTL decouples "privacy from others" from "utility for self."

Utility Rescue

On the FEMNIST dataset, naive client-level DP resulted in approximately 10% accuracy, effectively random guessing. PMTL maintained over 60% accuracy under the same privacy budget. Across all datasets, PMTL consistently provided a superior privacy-utility trade-off compared to private global baselines.

Test accuracy vs. privacy budget ($ε$) comparing BP-MTL with global and naive DP-MTL baselines.

Theoretical and Practical Advantages

  • Scalability: As the number of tasks ($m$) increases, the noise required for a specific privacy level ($ε$) decreases. In large-scale networks, the privacy "tax" on the global signal becomes negligible.
  • Robustness: MTL approaches are significantly more robust to DP noise than global models, maintaining a utility advantage even in strict privacy regimes.
  • Synergy with Finetuning: PMTL combined with local finetuning outperforms training a single global model and then finetuning it privately, particularly when privacy requirements are strict.

Discussion and Future Work

While PMTL offers a significant step forward, it currently assumes a trusted central server for aggregation. Future extensions could incorporate secure aggregation to remove this dependency. Additionally, while this work focuses on mean-regularized MTL, extending the framework to more complex task relationships (e.g., clustered tasks) is a promising direction. Finally, the intersection of client-level privacy and fairness remains a critical area for ensuring equitable model performance across diverse user populations.

Summary updated

BibTeX
@article{hu2022private,
  author = {Shengyuan Hu and Steven Wu and Virginia Smith},
  title = {{Private Multi-Task Learning: Formulation and Applications to Federated Learning}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2022},
  url = {https://openreview.net/forum?id=onufdyHvqN},
}
Figure