Beyond Inferring Class Representatives: User-Level Privacy Leakage From Federated Learning

Zhibo Wang, Mengkai Song, Zhifei Zhang, Yang Song, Qian Wang, Hairong Qi

TL;DR

This paper introduces mGAN-AI, a novel attack framework that proves Federated Learning (FL) is more vulnerable to privacy leaks than previously thought. While prior attacks could only reconstruct generic "class representatives" (like a generic digit '3'), mGAN-AI allows a malicious server to reconstruct the specific, private data of a targeted individual client—all without interfering with the training process.

What Problem Does This Paper Address?

Federated Learning is often touted for its privacy benefits: a central server coordinates training across many clients (like mobile phones), but the raw data never leaves the client's device. Instead, clients only send model updates (gradients) to the server.

However, researchers have found that these updates still "leak" information. Previous state-of-the-art attacks used Generative Adversarial Networks (GANs) to reconstruct data, but they had two major flaws:

  1. Generic Results: They could only produce "average" versions of a class (e.g., a generic face) rather than the specific face used by a specific user.
  2. Intrusiveness: They often required the attacker to be a "malicious client" who actively interferes with the global training process, which can be easily detected.

The authors tackle the challenge of user-level privacy leakage from the perspective of a malicious server, aiming for an "invisible" attack that precisely recovers a specific victim's data.

Methods

The core of the approach is the multi-task GAN for Auxiliary Identification (mGAN-AI). Standard GANs have a discriminator that simply decides if an image is "real" or "fake." The mGAN-AI discriminator is much more ambitious; it simultaneously evaluates three things:

  • Reality: Is the sample real or generated?
  • Category: Which class does it belong to (e.g., which digit or which person)?
  • Client Identity: Which specific client does this data look like?

To train this discriminator without having the actual client data, the malicious server performs a Multi-representatives calculation. It uses an optimization-based method (specifically box-constrained L-BFGS) to estimate "representative" images for each client based on the gradient updates they send. By minimizing the difference between the update produced by a synthetic image and the actual update received from the client, the server creates a "proxy" dataset to train the GAN.

The paper describes two attack modes:

  • Passive Attack: The server follows the FL rules perfectly, making the attack "invisible" to clients.
  • Active Attack: The server sends a slightly modified "isolated" model to the victim to better capture their unique data features, offering higher reconstruction quality at the cost of being potentially more detectable.

Datasets

The authors evaluated mGAN-AI on two classic benchmarks:

  • MNIST: 70,000 handwritten digits (0-9). To test user-level leakage, they rotated the victim's digits to see if the GAN would specifically reconstruct rotated versions.
  • AT&T (formerly Olivetti) Faces: 400 grayscale images of 40 people. They assigned a "distinguishable property" (wearing glasses) to the victim to see if the GAN could recover that specific trait.

Key Insights and Ideas

  • Identity is the Key: The "aha moment" is realizing that by adding a "client identity" task to the GAN's discriminator, the generator is forced to learn the unique nuances of a specific user's data distribution, not just the general class features.
  • Gradients are Proxies for Data: The paper demonstrates that you don't need the raw data to train a GAN; you just need the updates generated by that data. The server can "hallucinate" representative images that produce similar gradients and use those as a training set.
  • Invisibility: Unlike previous attacks that required a malicious client to inject "trash" data into the global model, mGAN-AI can sit silently on the server, observing updates and reconstructing data in the background without degrading the global model's performance.

Key Results

  • Superior Reconstruction: In qualitative tests, mGAN-AI successfully reconstructed rotated digits for MNIST and specific faces with glasses for the AT&T dataset, whereas previous methods (like Model Inversion or standard GAN attacks) produced blurry or generic results.
  • Quantitative Edge: Using the Inception Score (a metric for image quality and diversity), mGAN-AI outperformed other attacks. For example, on the AT&T dataset, the Active mGAN-AI achieved a score of 1.61, which actually exceeded the score of the real images (1.55) in terms of clarity and recognizability for the model.
  • Zero Impact on Accuracy: The passive version of the attack achieved the highest global model accuracy because it didn't interfere with the training process at all, proving that privacy can be compromised even when the system appears to be functioning perfectly.

Limitations and Future Work

  • Communication Protocols: The attack assumes the server receives updates in plain text. The authors note that encryption-based aggregation (Secure Aggregation) would prevent the server from seeing individual client updates, which would effectively block this specific user-level attack.
  • Differential Privacy (DP): While the authors mention that mGAN-AI can still work under some DP settings, a very strict privacy budget (high noise injection) would likely degrade the quality of the reconstruction, though it would also hurt the utility of the global model.
  • Scaling to Complex Data: While successful on MNIST and AT&T, scaling this to high-resolution, complex real-world datasets (like natural images or medical records) remains a significant computational challenge.

Summary updated

BibTeX
@inproceedings{wang2019beyond,
  author = {Zhibo Wang and Mengkai Song and Zhifei Zhang and Yang Song and Qian Wang and Hairong Qi},
  title = {{Beyond Inferring Class Representatives: User-Level Privacy Leakage From Federated Learning}},
  booktitle = {INFOCOM},
  year = {2019},
  doi = {10.1109/infocom.2019.8737416},
}
Figure