Spectral Co-Distillation for Personalized Federated Learning

Zihan Chen, Howard H. Yang, Tony Q. S. Quek, Kai Fong Ernest Chong

Introduction

Federated Learning (FL) enables training models on decentralized data while preserving privacy. However, a significant hurdle is data heterogeneity (non-IID data) across clients. Standard FL aims for a single global model, which often fails to perform optimally for individual users with unique data distributions. Personalized Federated Learning (PFL) addresses this by developing custom models for each client. The core challenge in PFL is effectively sharing knowledge between a general global model and specialized local models.

Spectral Co-Distillation (SCD)

This paper proposes Spectral Co-Distillation (SCD), a framework that leverages the frequency domain to bridge the gap between global and local knowledge. Unlike previous methods that operate in the weight space, SCD utilizes the "spectral bias" of deep neural networks—the tendency to learn low-frequency, general features before high-frequency, specific details.

Overview of the Spectral Co-Distillation architecture and the wait-free training protocol.

SCD implements a bi-directional distillation bridge:

  • Global to Local: The Global Model (GM) guides the Personalized Model (PM) using its entire frequency spectrum to provide a robust baseline.
  • Local to Global: The PM guides the GM using only its truncated low-frequency spectrum. This ensures the global model learns shared, fundamental features without being corrupted by the high-frequency "noise" specific to individual client datasets.

Wait-Free Training Protocol

To improve efficiency, the authors introduce a wait-free local training protocol. In standard FL, clients remain idle while waiting for server aggregation and broadcast. The proposed protocol overlaps these phases: a client updates the GM, transmits it immediately, and then trains its PM during the communication and aggregation window. This significantly reduces the total wall-clock time required for training.

Experimental Results

The framework was rigorously tested on CIFAR-10, CIFAR-100, and the large-scale iNaturalist-2017 dataset. Data heterogeneity was controlled using a Dirichlet distribution parameter $\alpha$, where lower values indicate higher heterogeneity.

Performance comparison on CIFAR-10 across different levels of data heterogeneity (alpha).

As shown in the results for CIFAR-10, SCD consistently achieves state-of-the-art (SOTA) accuracy. For instance, at $\alpha=0.1$ (high heterogeneity), the proposed method reached a personalized accuracy of 82.69%, surpassing strong baselines like FedRoD (81.37%) and Ditto (80.08%). Furthermore, the wait-free protocol delivered up to a 2.87x speedup in reaching target accuracy levels compared to traditional synchronous methods.

Conclusion

Spectral Co-Distillation offers a principled, frequency-domain approach to PFL. By filtering local updates through spectral truncation and optimizing the training pipeline with a wait-free protocol, the method achieves superior accuracy and efficiency. This work highlights the potential of Fourier analysis in managing the complex trade-offs between generalization and specialization in distributed learning systems.

Summary updated

BibTeX
@inproceedings{chen2023spectral,
  author = {Zihan Chen and Howard H. Yang and Tony Q. S. Quek and Kai Fong Ernest Chong},
  title = {{Spectral Co-Distillation for Personalized Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=N45GzKZmoD},
}
Figure