Saved in:
Bibliographic Details
Main Authors: Liu, Heting, Huang, Junzhe, He, Fang, Cao, Guohong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.01580
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908476982165504
author Liu, Heting
Huang, Junzhe
He, Fang
Cao, Guohong
author_facet Liu, Heting
Huang, Junzhe
He, Fang
Cao, Guohong
contents Federated Learning (FL) enables edge devices to collaboratively learn a global model, but it may not perform well when clients have high data heterogeneity. In this paper, we propose a dynamic clustering algorithm for personalized federated learning system (DC-PFL) to address the problem of data heterogeneity. DC-PFL starts with all clients training a global model and gradually groups the clients into smaller clusters for model personalization based on their data similarities. To address the challenge of estimating data heterogeneity without exposing raw data, we introduce a discrepancy metric called model discrepancy, which approximates data heterogeneity solely based on the model weights received by the server. We demonstrate that model discrepancy is strongly and positively correlated with data heterogeneity and can serve as a reliable indicator of data heterogeneity. To determine when and how to change grouping structures, we propose an algorithm based on the rapid decrease period of the training loss curve. Moreover, we propose a layer-wise aggregation mechanism that aggregates the low-discrepancy layers at a lower frequency to reduce the amount of transmitted data and communication costs. We conduct extensive experiments on various datasets to evaluate our proposed algorithm, and our results show that DC-PFL significantly reduces total training time and improves model accuracy compared to baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2508_01580
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Dynamic Clustering for Personalized Federated Learning on Heterogeneous Edge Devices
Liu, Heting
Huang, Junzhe
He, Fang
Cao, Guohong
Machine Learning
Federated Learning (FL) enables edge devices to collaboratively learn a global model, but it may not perform well when clients have high data heterogeneity. In this paper, we propose a dynamic clustering algorithm for personalized federated learning system (DC-PFL) to address the problem of data heterogeneity. DC-PFL starts with all clients training a global model and gradually groups the clients into smaller clusters for model personalization based on their data similarities. To address the challenge of estimating data heterogeneity without exposing raw data, we introduce a discrepancy metric called model discrepancy, which approximates data heterogeneity solely based on the model weights received by the server. We demonstrate that model discrepancy is strongly and positively correlated with data heterogeneity and can serve as a reliable indicator of data heterogeneity. To determine when and how to change grouping structures, we propose an algorithm based on the rapid decrease period of the training loss curve. Moreover, we propose a layer-wise aggregation mechanism that aggregates the low-discrepancy layers at a lower frequency to reduce the amount of transmitted data and communication costs. We conduct extensive experiments on various datasets to evaluate our proposed algorithm, and our results show that DC-PFL significantly reduces total training time and improves model accuracy compared to baselines.
title Dynamic Clustering for Personalized Federated Learning on Heterogeneous Edge Devices
topic Machine Learning
url https://arxiv.org/abs/2508.01580