Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (11): 3421-3428.DOI: 10.11772/j.issn.1001-9081.2025081036

• Artificial intelligence • Previous Articles    

Service-defined federated learning client selection algorithm for dual heterogeneity

Xiaoli LI, Qipeng DENG, Bo HANG()   

  1. School of Computer Engineering,Hubei University of Arts and Science,Xiangyang Hubei 441053,China
  • Received:2025-09-10 Revised:2025-09-16 Accepted:2025-09-24 Online:2026-11-27 Published:2026-11-10
  • Contact: Bo HANG
  • About author:LI Xiaoli, born in 1986, Ph. D., associate professor. Her research interests include federated learning, edge computing.
    DENG Qipeng, born in 2001, M. S. candidate. His research interests include federated learning, artificial intelligence.
    First author contact:This work is partially supported by National Natural Science Foundation of China (62306108).
  • Supported by:
    This work is partially supported by National Natural Science Foundation of China(62306108)

面向双重异构性的服务定义联邦学习客户端选择算法

李晓丽, 邓启鹏, 杭波()   

  1. 湖北文理学院 计算机工程学院,湖北 襄阳 441053
  • 通讯作者: 杭波
  • 作者简介:李晓丽(1986—),女,河北石家庄人,副教授,博士,CCF会员,主要研究方向:联邦学习、边缘计算
    邓启鹏(2001—),男,湖北宜昌人,硕士研究生,CCF会员,主要研究方向:联邦学习、人工智能
  • 基金资助:
    国家自然科学基金资助项目(62306108)

Abstract:

The practical deployment of Federated Learning (FL) is limited by the dual heterogeneity of clients at both data and system levels, and existing client selection strategies often focus on a single dimension of heterogeneity, lacking adaptability to dynamically changing client environments. To address the above problems, a dual-heterogeneity-oriented service-defined federated learning client selection algorithm, FedQos, was proposed. First, to address system heterogeneity, federated learning clients were restructured into schedulable and measurable Artificial Intelligence (AI) microservice units. Client response time was dynamically evaluated through a Quality-of-Service (QoS)-aware scheduling algorithm, and clients with high system reliability were prioritized to overcome system heterogeneity. Second, the potential value of candidate client data was quantified by computing the Mutual Information (MI) between the local data of candidate clients and the global model, and clients with higher potential value were selected to accelerate convergence. Furthermore, an information theory-based regularization method was incorporated into local client training to address data heterogeneity and improve the generalization performance of the federated learning model. Experimental results on the CIFAR-10 dataset show that the FedQos algorithm's test accuracy is improved by up to 4.62 percentage points compared to that of the suboptimal baseline algorithm, Pow-d (Power-of-choice), when the data follow a Pathological Non-Independent and Identically Distributed (Pathological Non-IID) distribution; and the FedQos algorithm's test accuracy is improved by up to 2.38 percentage points when the data exhibit Dirichlet Non-IID. In terms of training efficiency, the FedQos algorithm achieves the shortest cumulative time to complete the same number of communication rounds across all test scenarios. In particular, in scenarios with high data heterogeneity, the FedQos algorithm reduces the training time by an average of 19.37% compared to the baseline algorithm FedAvg (Federated Averaging). FedQos algorithm has significant improvements in both test accuracy and training efficiency.

Key words: Federated Learning (FL), client selection, data heterogeneity, system heterogeneity, Quality-of-Service (QoS), Mutual Information (MI)

摘要:

联邦学习(FL)的实际部署受限于客户端在数据与系统层面的双重异构性,且现有客户端选择策略多关注单一异构维度,对动态变化的客户端环境适应性不足。针对上述问题,提出一种面向双重异构性的服务定义联邦学习客户端选择算法FedQos。首先,为应对系统的异构性,将联邦学习客户端重构为可编排、可度量的人工智能(AI)微服务单元,通过服务质量(QoS)感知调度算法动态评估客户端响应时间,并优先选择系统可靠性高的客户端。其次,计算候选客户端的本地数据与全局模型的互信息(MI),量化客户端数据的潜在价值,并选择具有更高潜在价值的客户端以加快收敛;同时,在客户端本地训练时融入基于信息论的正则化方法,以应对数据异构性,提升联邦学习模型的泛化性能。在CIFAR-10数据集上的实验结果表明:当数据呈病态非独立同分布(Pathological Non-IID)时,FedQos算法的测试准确率比次优的基准算法Pow-d (Power-of-choice)最多提高了4.62个百分点;当数据呈基于狄利克雷分布的非独立同分布(Dirichlet Non-IID)时,它的测试准确率最多提高了2.38个百分点。在训练效率方面,FedQos算法在所有测试场景下完成相同训练轮次所需的累计时间均最短,特别是在数据异构性较大的场景中,它的累计时间比基线联邦平均(FedAvg)算法平均缩短了约19.37%。FedQos算法在测试准确率与训练效率方面有明显提升。

关键词: 联邦学习, 客户端选择, 数据异构性, 系统异构性, 服务质量, 互信息

CLC Number: