Abstract
Federated Learning (FL) enables collaborative model training across decentralized devices while preserving data privacy. However, the performance of the resulting global model often degrades significantly when client data is non-IID, particularly in scenarios involving label distribution skew. This paper proposes Adversarial Federated Learning (AdFL), a novel framework that utilizes adversarial image generation on the server as a diagnostic tool. By "interrogating" client models with adversarial examples, the server can intelligently weight updates based on a client's robust understanding of specific classes. Experimental results on MNIST and CIFAR-10 demonstrate that AdFL consistently outperforms standard FedAvg, providing substantial accuracy gains for underrepresented labels without compromising privacy.
Introduction
In standard Federated Learning, a central server aggregates model updates from multiple clients using algorithms like Federated Averaging (FedAvg). While effective for IID (Independent and Identically Distributed) data, FedAvg struggles with real-world "label distribution skew." For instance, if one client only possesses data for a subset of classes (e.g., only "cats"), their model update may negatively impact the global model's performance on other classes (e.g., "dogs").
The primary challenge in addressing this skew is the privacy constraint: the server cannot inspect client data to determine which updates are most reliable for specific labels. AdFL addresses this by using adversarial transferability to probe the internal representations of client models.
Methodology
Adversarial Federated Learning (AdFL) introduces a server-side interrogation phase before model aggregation. Instead of treating all client updates equally, the server calculates dynamic weights based on how well client models recognize "hallucinated" class representations.
1. Adversarial Generation
For each class in the dataset, the server uses a received client model to generate an adversarial image. Using the Iterative Fast Gradient Signed Method (I-FGSM), the server starts with random noise and iteratively modifies the pixels until the client's model classifies the image as the target label with high confidence.
2. Cross-Prediction and Weighting
These generated images are then presented to all other client models. The server evaluates two primary metrics:
- Recognition: The ability of a client to correctly identify adversarial images generated by other models.
- Influence: The degree to which other models can correctly identify the adversarial images generated by a specific client.
These metrics serve as a proxy for the quality of a client's local data distribution. If multiple models agree on an adversarial "hallucination," it suggests that the generating model has learned a cohesive and transferable decision boundary for that class. The server then performs Weighted Federated Averaging (WFedAvg), assigning higher voting power to clients with high recognition and influence scores.
Experimental Results
The researchers evaluated AdFL against the FedAvg baseline using MNIST and CIFAR-10. To simulate non-IID conditions, MNIST clients were restricted to 3 unique labels, and CIFAR-10 clients to 4.
Performance Gains
AdFL showed consistent improvements in overall IID test accuracy, ranging from 1.5% to 3%. The most significant impact was observed in underrepresented labels—classes appearing in only a small fraction of the client pool. In MNIST trials, accuracy for these rare labels increased by 8% to 14%.
On the more complex CIFAR-10 dataset, the overall improvement was approximately 1%, with specific labels seeing gains of up to 4%. The increased complexity of CIFAR-10 images (as seen in Figure 2) makes the adversarial generation process more challenging compared to the simpler digit structures of MNIST.
Discussion and Limitations
AdFL effectively turns adversarial transferability—typically viewed as a security vulnerability—into a feature for model validation. By allowing the server to communicate with models via "hallucinated" data, the system bypasses the need for raw data access while still identifying the most informative updates.
However, several limitations remain. The computational overhead of generating $K \times C$ adversarial images (where $K$ is the number of clients and $C$ is the number of classes) per round is significant. Furthermore, while the method excels on 30-client setups, its scalability to thousands of nodes in a production FL environment requires further optimization. Future work will also explore whether these results hold for high-dimensional, real-world datasets beyond standard computer vision benchmarks.
Conclusion
Adversarial Federated Learning provides a privacy-preserving mechanism to mitigate the effects of label distribution skew. By leveraging the shared decision boundaries of robust models, AdFL ensures that the global model learns effectively from all available data, even when that data is highly unbalanced across the network.
Summary updated