联邦聚类在非独立同分布场景下易受数据异构性影响,难以保持模型性能的鲁棒性。传统多轮迭代聚类方法通信开销大、隐私风险高,难以适用于资源受限环境。为此,本文提出一种面向簇分布异构的一次通信联邦聚类方法:联邦贝叶斯加权聚类(federatedBayesian weighted clustering,FedBWC)。该方法在客户端采用贝叶斯高斯混合模型对本地数据进行变分推断,自适应识别有效簇并提取聚类中心及置信度权重;在服务器端,仅需单轮通信执行加权K均值聚合,利用动态权重分配提升全局中心的代表性。基于6个基准数据集(Thyroid、Balance Scale、Digits、Waveform、USPS、PenDigits)的系统实验表明,在强异构场景(Dirichlet参数为0.3)下,FedBWC相较于对比方法在V-measure、ARI和AMI上平均提升分别为21.6%、28.7%和22.6%,在中度异构场景(Dirichlet参数为0.5)下亦保持超5%的性能优势,整体表现显著优于现有方法,为复杂异构环境下的联邦聚类提供了高效且鲁棒的解决方案。
Federated clustering is vulnerable to data heterogeneity under non-independent and non-identically distributed (Non-IID) conditions, making it difficult to maintain robust model performance. Traditional multi-round iterative clustering methods incur high communication overhead and privacy risks, making them unsuitable for resource-constrained environments. To address this issue, this paper proposes federated Bayesian weighted clustering (FedBWC), a one-shot federated clustering method designed to handle heterogeneity in cluster distributions. On the client side, a Bayesian Gaussian mixture model (BGM) with variational inference is applied to local data to adaptively identify effective clusters and extract their centers along with corresponding confidence weights. On the server side, weighted K-means aggregation is performed with only a single communication round, where dynamic weight assignment enhances the representativeness of global centers. Systematic experiments were conducted on six benchmark datasets (Thyroid, Balance Scale, Digits, Waveform, USPS, and PenDigits). The results show that under strong heterogeneity conditions (Dirichlet parameter = 0.3), FedBWC achieves average improvements of 21.6% in V-measure, 28.7% in ARI, and 22.6% in AMI over the baseline methods, while retaining a performance advantage of more than 5% under moderate heterogeneity conditions (Dirichlet parameter = 0.5). Overall, FedBWC significantly outperforms existing methods and provides an efficient and robust solution for federated clustering in complex heterogeneous environments.
[1] Kairouz P, McMahan H B, Avent B, et al. Advances and open problems in federated learning [J]. Foundations and Trends in Machine Learning, 2021, 14(1/2): 1-210.
[2] 杨哲, 任艳丽, 钟月歌, 等. 可验证的隐私保护个性化联邦学习[J]. 应用科学学报, 2025, 43(3): 463-474. Yang Z, Ren X L, Zhong Y G, et al. Verifiable privacy-preserving personalized federated learning [J]. Journal of Applied Sciences, 2025, 43(3): 463-474. (in Chinese)
[3] 何泽平, 许建, 戴华, 等. 联邦学习: 应用技术研究综述[J]. 信息网络安全, 2024, 24(12): 1831-1844. He Z P, Xu J, Dai H, et al. Federated learning: a survey of application technologies [J]. Netinfo Security, 2024, 24(12): 1831-1844. (in Chinese)
[4] 史汶泽, 陆林, 秦文杰, 等. 一种可信执行环境下的联邦逻辑回归评分卡系统[J]. 应用科学学报, 2023, 41(3): 488-499. Shi W Z, Lu L, Qin W J, et al. Federated logistic regression scorecard system under trusted execution environments [J]. Journal of Applied Sciences, 2023, 41(3): 488-499. (in Chinese)
[5] Bárcena J L C, Marcelloni F, Renda A, et al. Federated K-means and fuzzy K-means clustering algorithms for horizontally and vertically partitioned data [J]. IEEE Transactions on Artificial Intelligence, 2024, 5(12): 6426-6441.
[6] Liu Y, Ma Z, Yan Z, et al. Privacy-preserving federated k-means for proactive caching in next generation cellular networks [J]. Information Sciences, 2020, 521: 14-31.
[7] Lu L, Lin Y, Wen Y, et al. Federated clustering for recognizing driving styles from private trajectories [J]. Engineering Applications of Artificial Intelligence, 2023, 118: 105714.
[8] Amato F, Qiu L Y, Tanveer M, et al. Towards one-shot federated learning: advances, challenges, and future directions [PP/OL]. V1. (2025-05-05) [2025-10-29]. https://doi.org/10.48550/arXiv.2505.02426.
[9] Shewale A, Keshavamurthy B N, Modi C N. An efficient approach for privacy preserving distributed K-means clustering in unsecured environment [C]//Sa P K, Bakshi S, Hatzilygeroudis I K, et al. Recent Findings in Intelligent Computing Techniques: Proceedings of the 5th ICACNI 2017, Volume 1. Singapore: Springer Singapore, 2018: 425-431.
[10] Kumar H H, Karthik V R, Nair M K. Federated K-means clustering: a novel edge AI based approach for privacy preservation [C]//2020 IEEE International Conference on Cloud Computing in Emerging Markets, 2020: 52-56.
[11] Wang Y, Jia M, Gao N, et al. Federated clustering for electricity consumption pattern extraction [J]. IEEE Transactions on Smart Grid, 2022, 13(3): 2425-2439.
[12] Yang M S, Sinaga K P. Federated multi-view K-means clustering [J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2025, 47(4): 2446-2459.
[13] Pedrycz W. Federated FCM: clustering under privacy requirements [J]. IEEE Transactions on Fuzzy Systems, 2021, 30(8): 3384-3388.
[14] Pandhare V, Jia X, Lee J. Collaborative prognostics for machine fleets using a novel federated baseline learner [C]//Annual Conference of the PHM Society, 2021: 1-8.
[15] Dennis D K, Li T, Smith V. Heterogeneity for the win: one-shot federated clustering [C]//International Conference on Machine Learning, 2021: 2611-2620.
[16] Pan C, Sima J, Prakash S, et al. Machine unlearning of federated clusters [PP/OL]. V2. (2023- 07-01) [2025-10-29]. https://doi.org/10.48550/arXiv.2210.16424.
[17] Wang Y, Pang W, Pedrycz W. One-shot federated clustering based on stable distance relationships [J]. IEEE Transactions on Industrial Informatics, 2024, 20(11): 13262-13272.
[18] Wang Y, Pang W, Wang D, et al. One-shot secure federated K-means clustering based on density cores [J]. IEEE Transactions on Neural Networks and Learning Systems, 2025, 36(8): 14131-14143.
[19] Blei D M, Jordan M I. Variational inference for Dirichlet process mixtures [J]. Journal of Bayesian Analysis, 2006, 1(1): 121-143.