作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• •    

基于隐私增强的密度峰值联邦聚类方法

  • 发布日期:2026-12-04

Privacy-Enhanced Federated Clustering with Density Peaks

  • Published:2026-12-04

摘要: 针对现有联邦聚类方法在非独立同分布(Non-IID)数据下因统一初始化导致本地中心严重偏离真实密度分布的中心偏移问题,以及客户端上传中心更新时存在的统计信息泄露风险,提出了一种基于隐私增强密度峰值初始化的联邦聚类算法(FedKMeans-DPC),旨在兼顾全局一致性与本地个性化。在本地训练阶段,算法引入密度峰值聚类机制,利用高斯核计算本地样本的局部密度与相对距离,提取高密度候选中心以有效感知本地数据的几何结构,并与服务器下发的全局中心按平衡系数进行加权融合,实现初始聚类中心的自适应修正;在通信阶段,设计高斯差分隐私(DP)保护机制,客户端对本地中心更新进行敏感度裁剪并注入受控高斯噪声,从而提供可量化的 -差分隐私保障,随后由服务器进行安全聚合。理论分析证明,无隐私噪声时全局簇内误差平方和(WCSS)单调不增,有噪声时期望意义下收敛至局部最优邻域,为算法有效性提供了理论支撑。实验采用手写数字数据集(MNIST)、服装分类数据集(Fashion-MNIST)和信用卡欺诈检测数据集(Credit Card),通过狄利克雷分布( )将数据分配给20个客户端以模拟不同的异构程度。定量结果表明,与标准联邦聚类相比,该方法在所有数据集上均取得一致的性能提升,且显著优于聚类联邦学习(CFL)和迭代联邦聚类算法(IFCA)等主流异构联邦聚类方法。以MNIST为例,轮廓系数(SC)相对提升9.3%,调整兰德指数(ARI)相对提升10.9%,戴维森堡丁指数(DBI)相对降低12.6%,收敛所需联邦通信轮次减少约40%;Fashion-MNIST和Credit Card数据集上亦呈现相同趋势。当隐私预算 时,ARI由无噪声的0.548降至0.519,模型效用损失仅约5.3%,表明该方法能有效平衡隐私保护与聚类性能。消融实验进一步验证了密度峰值修正与差分隐私机制两个核心组件的有效性,两者结合实现了聚类质量与隐私保护的良好权衡,为实际业务场景下构建隐私安全的全局聚类视图提供了有效的技术支撑。

Abstract: To address the center deviation problem in existing federated clustering methods under non-independent and identically distributed (Non-IID) data, where unified initialization causes local centers to severely deviate from the true density distribution, as well as the risk of statistical information leakage in uploaded client updates, a federated clustering algorithm based on privacy-enhanced density peak initialization (FedKMeans-DPC) is proposed, aiming to balance global consistency and local personalization. In the local training phase, a density peak clustering mechanism is introduced. It utilizes a Gaussian kernel to calculate the local density and relative distance of local samples, extracting high-density candidate centers to effectively perceive the geometric structure of local data. These candidate centers are then weighted and fused with the global centers issued by the server according to a balance coefficient, achieving adaptive correction of the initial clustering centers. In the communication phase, a Gaussian differential privacy protection mechanism is designed. Clients perform sensitivity clipping and inject controlled Gaussian noise into their local center updates, thereby providing quantifiable -differential privacy guarantees, followed by secure aggregation on the server. Theoretical analysis proves that the global within-cluster sum of squares is monotonically non-increasing without privacy noise, and converges to a neighborhood of the local optimum in expectation with noise, providing theoretical support for the effectiveness of the algorithm. Experiments are conducted using the MNIST handwritten digit dataset, the Fashion-MNIST clothing classification dataset, and the Credit Card fraud detection dataset. The data is distributed to 20 clients using Dirichlet distributions ( ) to simulate different degrees of heterogeneity. Quantitative results show that, compared with standard federated clustering, the proposed method achieves consistent performance improvements across all datasets and significantly outperforms mainstream heterogeneous federated clustering methods such as CFL and IFCA. Taking MNIST as an example, the Silhouette Coefficient (SC) improves by 9.3%, the Adjusted Rand Index (ARI) improves by 10.9%, the Davies-Bouldin Index (DBI) reduces by 12.6%, and the number of federated communication rounds required for convergence decreases by about 40%; the same trends are observed on the Fashion-MNIST and Credit Card datasets. When the privacy budget equals 1.0, the ARI decreases from 0.548 (without noise) to 0.519, resulting in a model utility loss of only about 5.3%, indicating that the method effectively balances privacy protection and clustering performance. Ablation experiments further verify the effectiveness of the two core components: the density peak correction and the differential privacy mechanism, which together achieve a good trade-off between clustering quality and privacy protection, providing effective technical support for constructing privacy-secure global clustering views in practical business scenarios.