NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CDKT-FL: Cross-device knowledge transfer using proxy dataset in federated learning

Huy Q. Le, Minh N. H. Nguyen, Shashi Raj Pandey, Chaoning Zhang, Choong Seon Hong

TL;DR

This paper introduces CDKT-FL, a novel federated learning approach that leverages a small proxy dataset for cross-device knowledge transfer. By transferring model outcomes and representations instead of full parameters, CDKT-FL achieves faster training, improved personalization, and enhanced privacy while accommodating heterogeneous client models.

What Problem Does This Paper Address?

Federated Learning (FL) enables collaborative model training across decentralized devices without sharing raw data, preserving user privacy. However, a significant challenge in FL is statistical heterogeneity, where client data distributions are non-i.i.d. This heterogeneity leads to:

  • Poor generalization: The global model may not perform well on individual client data.
  • Biased local models: Local models trained on small, skewed datasets can overfit to local data, leading to low generalization capabilities.
  • Slow convergence: Aggregating parameters from highly diverse local models can be inefficient.

Existing FL methods often rely on parameter aggregation (like FedAvg), which can be slow and sensitive to data skew. This paper aims to address these issues by proposing a more efficient and robust knowledge transfer mechanism that works even with heterogeneous client model architectures.

Methods

The core of the proposed method, CDKT-FL (Cross-Device Knowledge Transfer in Federated Learning), revolves around two key mechanisms:

  1. Generalized Model Construction: This mechanism focuses on building a robust global model. Instead of aggregating client model parameters, CDKT-FL transfers knowledge from client models to the server. This knowledge can be in the form of:
  2. Model outcomes: The prediction distributions (e.g., softmax outputs) from the final layer.
  3. Embedding representations: Features extracted from intermediate layers. This transfer is facilitated by a small, shared proxy dataset that all clients and the server can access. A global CDKT regularizer is used to align the server's knowledge with the collective knowledge of the clients.

  4. On-Device Learning: This mechanism enhances the generalization capabilities of individual client models. Clients receive generalized knowledge from the global model and use it, along with their private and proxy datasets, to update their local models. An on-device CDKT regularizer is employed to reduce bias and overfitting in local models.

A key innovation is the exchange of knowledge (outcomes/representations) instead of full model parameters. This significantly reduces communication overhead and enhances privacy by making it harder to reconstruct sensitive client data from the exchanged information. The framework also supports heterogeneous model architectures between the server and clients.

Datasets

The paper evaluates CDKT-FL on three standard image classification datasets:

  • Fashion-MNIST: A dataset of Zalando's article images, each labeled with one of 10 types.
  • CIFAR-10: A dataset of 60,000 32x32 color images in 10 classes.
  • CIFAR-100: A dataset of 60,000 32x32 color images in 100 classes.

The authors simulate non-i.i.d. data distributions by assigning data from a random subset of classes to each client. Small proxy datasets are created for each dataset, containing all classes, to facilitate knowledge transfer.

Key Insights and Ideas

  • Knowledge Transfer Over Parameter Aggregation: The paper demonstrates that transferring model outcomes and representations can be more effective and efficient than traditional parameter averaging, especially in heterogeneous FL settings.
  • Proxy Dataset Utility: A small, shared proxy dataset is surprisingly effective in enabling robust knowledge transfer, bridging the gap between diverse client data distributions.
  • Flexibility in Model Architectures: CDKT-FL's ability to handle heterogeneous model architectures (e.g., clients with fewer layers than the server) is a significant advantage for real-world deployments.
  • Trade-off Between Specialization and Generalization: Experiments reveal an interesting trade-off where increasing generalization capability (C-Gen) can slightly decrease specialization (C-Spec) for client models, highlighting the nuanced nature of personalized FL.
  • Stability and Speed: CDKT-FL shows improved stability and faster convergence compared to many baselines, particularly in scenarios with high statistical heterogeneity.

Key Results

  • Improved Performance: CDKT-FL consistently outperforms baselines in terms of C-Per (a metric balancing client specialization and generalization) across all three datasets. For instance, it achieves a 10% improvement over baselines on Fashion-MNIST in the Fixed Users scenario.
  • Faster Convergence: The proposed method demonstrates faster convergence, reaching good performance levels in fewer communication rounds.
  • Enhanced Stability: CDKT-FL exhibits more stable training, especially in the Subset of Users scenario where other methods show significant fluctuations.
  • Reduced Communication: By transferring knowledge (outcomes/representations) instead of full model parameters, CDKT-FL significantly reduces communication data load.
  • Comparable Global Performance: CDKT-FL achieves comparable or even higher global model performance than many baselines, despite focusing on personalized learning.

Limitations and Future Work

  • Proxy Dataset Requirement: The primary limitation is the need for an additional small proxy dataset. While the paper argues it's practical, it's still an extra resource requirement.
  • Parameter Tuning: The performance of CDKT-FL is sensitive to the trade-off parameters ($\alpha$ and $\beta$) that balance learning loss and CDKT regularization. Further research could explore more automated or adaptive tuning mechanisms.
  • Exploration of Distance Metrics: While several distance metrics (Norm, KL, JS) were explored, further investigation into optimal metric selection for different tasks and data distributions could be beneficial.
  • Heterogeneous Models: While CDKT-FL handles heterogeneous models, the paper notes a slight degradation in performance on CIFAR datasets when client models are significantly smaller than the server model. Future work could explore more advanced techniques to mitigate this.

Summary updated

BibTeX
@article{le2022cdkt,
  author = {Huy Q. Le and Minh N. H. Nguyen and Shashi Raj Pandey and Chaoning Zhang and Choong Seon Hong},
  title = {{CDKT-FL: Cross-device knowledge transfer using proxy dataset in federated learning}},
  journal = {Engineering Applications of AI},
  year = {2022},
}
Figure