FedAvP: Augment Local Data via Shared Policy in Federated Learning

Minui Hong, Junhyeog Yun, Insu Jeon, Gunhee Kim

TL;DR: FedAvP (Augment Local Data via Shared Policy) is a novel federated learning algorithm that boosts model performance by sharing data augmentation "recipes" instead of raw data or feature statistics. By using meta-learning to find the best way to transform local images, it solves the dual problems of data scarcity and heterogeneity while providing superior protection against privacy-invading reconstruction attacks.

The Challenge: Privacy Leaks in Federated Data Augmentation

Federated Learning (FL) is designed to let multiple parties (clients) train a shared model without ever exchanging their private data. However, FL faces two major hurdles in practice: data scarcity (individual clients often have very little data) and heterogeneity (the data on one client looks nothing like the data on another, known as "non-i.i.d." data).

To fix this, researchers usually turn to data augmentation. But existing Federated Data Augmentation (FDA) methods often require clients to share averaged images or feature-level statistics. This creates a dangerous "privacy leak"—malicious actors can use these shared snippets to reconstruct the original private images via gradient matching attacks. The authors of FedAvP asked a critical question: Can we get the benefits of collective data augmentation without sharing any data-related information at all?

The FedAvP Solution: Sharing Policies, Not Data

The core idea of FedAvP is to share the augmentation policy (the mathematical strategy for how to flip, rotate, or color-shift data) rather than the data itself.

FedAvP Architecture: Clients perform local model and policy updates using Federated Meta-Policy Loss (FMPL) before aggregating at the server.
  1. Federated Meta-Policy Loss (FMPL): The authors treat finding the right augmentation as a meta-learning problem. In each round, clients perform "inner steps" (training on augmented data) and then evaluate the result on a validation set (the "outer step").
  2. First-order Approximation: Calculating the full meta-gradient is computationally expensive and requires extra communication. FedAvP uses a Taylor expansion to approximate this gradient, allowing clients to update their policies locally and concurrently with model training.
  3. Adaptive Policy Search: Inspired by the Reptile meta-learning algorithm, FedAvP uses a small neural network to represent the augmentation policy. This allows the global policy to be "personalized" for each client’s specific data distribution before being aggregated back at the server.
  4. Fast Update Variant: To save on compute, the researchers introduced a version where the policy is updated only every few steps (e.g., every 5 iterations) using a smaller policy network, significantly reducing the overhead for edge devices.

Experimental Setup and Key Insights

The authors evaluated FedAvP on four standard computer vision benchmarks, specifically modified to simulate the "messy" reality of federated environments, including CIFAR-10, CIFAR-100, SVHN (Street View House Numbers), and FEMNIST (a federated version of MNIST partitioned by original writers). Data was distributed using a Dirichlet distribution to create varying levels of imbalance and heterogeneity.

Key Insights: * Policies are Safer than Features: The most striking insight is that sharing a transformation strategy (e.g., "rotate 15 degrees and increase contrast") reveals almost nothing about the underlying image, making it inherently more private than sharing feature means or variances. * Meta-Learning is the "Glue": By framing policy search as meta-learning, the model doesn't just learn to classify; it learns how to learn from its specific local data. * Personalization Matters: In highly heterogeneous settings, a one-size-fits-all augmentation policy fails. FedAvP’s ability to let clients deviate slightly from the global policy to suit their local "flavor" of data is a key driver of its success.

Key Results

  • Superior Accuracy: On CIFAR-100 with high heterogeneity, FedAvP achieved 45.96% accuracy, outperforming standard FedAvg (37.34%) and even specialized FDA methods like FedFA (41.21%).
  • Privacy Powerhouse: In reconstruction attack simulations, FedAvP showed a significantly lower Peak Signal-to-Noise Ratio (PSNR) compared to methods like FedMix or FedGen. This means the "stolen" images were much blurrier and less recognizable, proving better privacy preservation.
  • Efficiency: The "Fast Update" version of the algorithm reached target accuracies faster than standard FedAvg with traditional augmentations, proving that the extra compute spent on policy search pays off in faster convergence.

Limitations and Future Work

While highly effective, FedAvP does have limitations. The joint training of a model and a policy network is still more complex than standard FL, despite the first-order approximation. Additionally, the current work assumes the use of FedAvg for the global update; exploring how FedAvP interacts with other model personalization algorithms is a promising next step. Finally, the current study focuses entirely on image data. Applying this "shared policy" approach to Natural Language Processing (NLP) or tabular data remains an open and exciting challenge for the federated learning community.

Summary updated

BibTeX
@inproceedings{hong2024fedavp,
  author = {Minui Hong and Junhyeog Yun and Insu Jeon and Gunhee Kim},
  title = {{FedAvP: Augment Local Data via Shared Policy in Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=M1PRU0x1Iz},
}
Figure