[Paper Review] Personalized Federated Learning on Long-Tailed Data via Adversarial Feature Augmentation
This paper proposes FedAFA, a personalized federated learning method that enhances model performance on long-tailed data by adversarially generating balanced features for local minority classes using knowledge from the global model's majority class features. By introducing a novel loss function and feature augmentation strategy, FedAFA improves generalization on tail classes without degrading head class performance, outperforming state-of-the-art PFL methods on heterogeneous and long-tailed benchmarks.
Personalized Federated Learning (PFL) aims to learn personalized models for each client based on the knowledge across all clients in a privacy-preserving manner. Existing PFL methods generally assume that the underlying global data across all clients are uniformly distributed without considering the long-tail distribution. The joint problem of data heterogeneity and long-tail distribution in the FL environment is more challenging and severely affects the performance of personalized models. In this paper, we propose a PFL method called Federated Learning with Adversarial Feature Augmentation (FedAFA) to address this joint problem in PFL. FedAFA optimizes the personalized model for each client by producing a balanced feature set to enhance the local minority classes. The local minority class features are generated by transferring the knowledge from the local majority class features extracted by the global model in an adversarial example learning manner. The experimental results on benchmarks under different settings of data heterogeneity and long-tail distribution demonstrate that FedAFA significantly improves the personalized performance of each client compared with the state-of-the-art PFL algorithm. The code is available at https://github.com/pxqian/FedAFA.
Motivation & Objective
- Address the joint challenge of data heterogeneity and long-tail class distribution in personalized federated learning (PFL).
- Improve the generalization performance of personalized models on local minority classes that are underrepresented in client data.
- Overcome the limitations of existing PFL and long-tail learning methods, which fail under privacy constraints and lack global data distribution knowledge.
- Develop a method that leverages the global model’s robust features to enhance local minority class learning without transmitting raw data.
- Ensure that performance on local majority classes is preserved during personalized training on imbalanced data.
Proposed method
- Generate adversarial perturbations on local majority class features to synthesize new features for minority classes.
- Transfer knowledge from the global model’s feature extractor to create high-quality, balanced feature representations for local training.
- Introduce a hybrid loss function that combines local training loss and adversarial feature augmentation loss, with a balance factor λ to control contribution.
- Apply a dropout-like strategy with probability pd to filter out low-confidence generated features, focusing on those that improve decision boundaries.
- Select feature layers from deeper blocks (e.g., Block 3 or 4 in ResNet32) for augmentation, as they provide more discriminative representations.
- Optimize personalized models using both original local data and the augmented feature set, preserving performance on head classes.
Experimental results
Research questions
- RQ1Can adversarial feature augmentation improve personalized model performance on long-tailed, non-IID data in federated learning?
- RQ2How can knowledge from the global model’s majority class features be effectively transferred to local minority classes without data leakage?
- RQ3What loss function design enables simultaneous improvement of minority class generalization and preservation of majority class performance?
- RQ4How do hyperparameters like λ, pd, and feature layer selection affect the robustness and accuracy of FedAFA?
- RQ5Does FedAFA outperform existing PFL and long-tail learning methods under varying degrees of data heterogeneity and long-tail skew?
Key findings
- FedAFA achieves the highest test accuracy across all clients on CIFAR-10-LT and other benchmarks, outperforming state-of-the-art PFL methods.
- On CIFAR-10-LT with α=0.2, FedAFA improves the average accuracy of tail classes by over 10% compared to FedAvg-FT, while maintaining comparable performance on head classes.
- The method consistently improves performance on all classes, with the most significant gains observed on minority classes with only 8–9 samples per class.
- Hyperparameter ablation shows that λ ∈ [0.6, 0.8] and pd = 0.5 yield optimal performance, indicating a balance between data augmentation and model stability.
- Augmenting features at Block 3 or 4 of ResNet32 yields the best results, confirming that deeper feature spaces are more effective for adversarial augmentation.
- Visualization confirms that FedAFA significantly boosts minority class accuracy without degrading head class performance, validating its balanced generalization capability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.