Abstract
Federated Learning (FL) enables collaborative training of a global model without sharing local data. However, substantial heterogeneity in local data distributions often leads to 'client drift,' where local models diverge toward local optima, hindering global convergence. We propose Adaptive Self-Distillation (ASD), a novel regularization technique that adaptively adjusts to client data based on global model prediction entropy and local label distributions. ASD is a "plug-and-play" module that integrates with existing FL algorithms. Our theoretical and empirical results demonstrate that ASD reduces client drift and promotes convergence to flatter minima, resulting in significant performance gains across multiple benchmarks.
Introduction
The primary challenge in Federated Learning (FL) is data heterogeneity. When clients possess non-IID (independent and identically distributed) data—such as varying class distributions—local updates tend to move the model toward local optima that are inconsistent with the global objective. This phenomenon, known as client drift, results in a global model that performs poorly across the aggregate distribution and converges slowly. Existing methods to mitigate drift often require auxiliary data at the server, which poses privacy risks, or fail to account for the varying difficulty of learning specific classes within a local dataset.
Methodology: Adaptive Self-Distillation (ASD)
We introduce Adaptive Self-Distillation (ASD) to anchor local training to the global model's knowledge. ASD treats the global model from the previous communication round ($w^{t-1}$) as a "teacher" for the current local "student" model.
The local objective function is modified to include a KL Divergence term alongside the standard Cross-Entropy loss. The key innovation is the adaptive weighting mechanism ($\alpha$), which modulates the influence of the teacher based on two factors:
- Global Model Entropy: If the global model is uncertain (high entropy) about a specific sample, the distillation weight is reduced to prevent the student from learning noise.
- Local Label Distribution: For classes that are rare in the local dataset, the weight is increased. This forces the model to rely on the global model's broader "general wisdom" rather than over-fitting to a few local examples or forgetting those classes entirely.
Experimental Results
ASD was evaluated on standard benchmarks including CIFAR-10, CIFAR-100, and Tiny-ImageNet. The results consistently show that ASD improves the performance of baseline algorithms like FedAvg, FedDyn, and FedSpeed with negligible computational overhead.
As shown in the table above, adding ASD to FedAvg on CIFAR-100 increased accuracy from 38.67% to 42.77%. Furthermore, Hessian analysis reveals that ASD leads to a significant reduction in the top eigenvalue and trace of the Hessian matrix. This indicates that ASD helps the model converge to "flat minima," which are known to correlate with better generalization on unseen data. The method also proved scalable in cross-device settings with up to 500 clients.
Conclusion
Adaptive Self-Distillation provides a lightweight and effective solution to the client drift problem in heterogeneous Federated Learning. By intelligently balancing local learning with global knowledge preservation, ASD ensures that local models remain aligned with the global objective. Its "plug-and-play" nature and lack of reliance on server-side auxiliary data make it a practical enhancement for real-world FL deployments. Future work may explore its application to feature skew and other modalities beyond image classification.
Summary updated