Computer and Modernization ›› 2024, Vol. 0 ›› Issue (04): 5-11.doi: 10.3969/j.issn.1006-2475.2024.04.002

Previous Articles     Next Articles

Federated Learning Aggregation Algorithm Based on AP Clustering Algorithm

  



  1. (School of Computer Science, South China Normal University, Guangzhou 510631, China)
  • Online:2024-04-30 Published:2024-05-13

Abstract:
Abstract: In traditional federation learning, multiple clients’ local models are trained independently from their private data, and the central server generates a shared global model by aggregating the local models. However, due to statistical heterogeneity such as non-independent identically distributed (Non-IID) data, a global model often cannot be adapted to each client. To address this problem, this paper proposes an AP clustering algorithm-based federation learning aggregation algorithm (APFL) for Non-IID data. In APFL, the server calculates the similarity matrix between each client based on the data characteristics of the clients, and then uses the AP clustering algorithm to divide the clients into different clusters and construct a polycentric framework to calculate the suitable personalized model weights for each client. This algorithm is experimented on FMINST dataset and CIFAR10 dataset, and APFL improves 1.88 percentage points on FMNIST dataset and 6.08 percentage points on CIFAR10 dataset compared with traditional Federated Learning FedAvg. The results show that the proposed APFL improves the accuracy performance of Federated Learning on Non-IID data in this paper.

Key words: Key words: federal learning: non-independent identical distribution: AP clustering algorithm

CLC Number: