Skip to main content
QUICK REVIEW

[Paper Review] Genetic CFL: Optimization of Hyper-Parameters in Clustered Federated Learning

Shaashwat Agrawal, Sagnik Sarkar|arXiv (Cornell University)|Jul 15, 2021
Privacy-Preserving Technologies in DataComputer Science31 references5 citations
TL;DR

This paper proposes Genetic CFL, a novel hyper-parameter optimization framework for clustered federated learning that uses density-based clustering (DBSCAN) to group edge devices by model hyper-parameters and applies genetic algorithms to evolve these parameters cluster-wise. The method achieves 97.99% accuracy on MNIST and 76.88% on CIFAR-10 in just 10 training rounds, significantly improving convergence and performance under non-IID data and communication constraints.

ABSTRACT

Federated learning (FL) is a distributed model for deep learning that integrates client-server architecture, edge computing, and real-time intelligence. FL has the capability of revolutionizing machine learning (ML) but lacks in the practicality of implementation due to technological limitations, communication overhead, non-IID (independent and identically distributed) data, and privacy concerns. Training a ML model over heterogeneous non-IID data highly degrades the convergence rate and performance. The existing traditional and clustered FL algorithms exhibit two main limitations, including inefficient client training and static hyper-parameter utilization. To overcome these limitations, we propose a novel hybrid algorithm, namely genetic clustered FL (Genetic CFL), that clusters edge devices based on the training hyper-parameters and genetically modifies the parameters cluster-wise. Then, we introduce an algorithm that drastically increases the individual cluster accuracy by integrating the density-based clustering and genetic hyper-parameter optimization. The results are bench-marked using MNIST handwritten digit dataset and the CIFAR-10 dataset. The proposed genetic CFL shows significant improvements and works well with realistic cases of non-IID and ambiguous data.

Motivation & Objective

  • To address the limitations of traditional and clustered FL in handling non-IID data and static hyper-parameters.
  • To improve convergence rate and model accuracy in heterogeneous, real-world federated learning environments.
  • To reduce communication and computation overhead by clustering clients based on hyper-parameters and optimizing them adaptively per cluster.
  • To eliminate manual hyper-parameter tuning by introducing an automated, scalable genetic optimization framework.

Proposed method

  • Clients are clustered using DBSCAN based on their hyper-parameter values (e.g., learning rate, batch size), enabling group-wise model training.
  • Each cluster is assigned a unique set of hyper-parameters that are evolved using a genetic algorithm to improve local model performance.
  • The genetic algorithm performs selection, crossover, and mutation on hyper-parameter configurations to optimize accuracy and convergence per cluster.
  • Model aggregation is performed after local training, with each cluster’s optimized model contributing to the global model update.
  • The framework dynamically adapts hyper-parameters per cluster over rounds, increasing adaptability to data heterogeneity.
  • The system is evaluated on MNIST and CIFAR-10 datasets under realistic non-IID and ambiguous data conditions.

Experimental results

Research questions

  • RQ1How can hyper-parameter optimization be made adaptive and scalable in clustered federated learning under non-IID data?
  • RQ2Can density-based clustering of hyper-parameters improve model convergence and accuracy in heterogeneous edge environments?
  • RQ3To what extent does genetic hyper-parameter evolution per cluster outperform static or global hyper-parameter settings in FL?
  • RQ4How does the Genetic CFL framework reduce communication and computation costs while maintaining high accuracy?
  • RQ5What is the performance gain of Genetic CFL compared to existing clustering-based FL methods in terms of accuracy and training rounds?

Key findings

  • Genetic CFL achieved 97.99% accuracy on the MNIST dataset in only 10 training rounds, outperforming baseline methods in both speed and accuracy.
  • On the CIFAR-10 dataset, Genetic CFL reached 76.88% accuracy in 10 rounds, demonstrating strong performance under complex, non-IID data.
  • The algorithm significantly reduced the number of required training rounds compared to state-of-the-art methods like Byzantine Robustness of CFL (200 rounds) and FedZip (20 rounds).
  • Genetic CFL outperformed iterative federated clustering on MNIST but showed mixed results on CIFAR-10, attributed to data augmentation and rotation enhancing feature extraction.
  • The framework demonstrated high scalability and adaptability, with performance improving as client population size increased, due to better hyper-parameter optimization per cluster.
  • The integration of genetic optimization eliminated the need for manual hyper-parameter tuning, enabling automated, dynamic adaptation to diverse data and device characteristics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.