<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Multi-Worker Selection based Distributed Swarm Learning for Edge IoT with Non-i.i.d. Data</title></titleStmt>
			<publicationStmt>
				<publisher>2025 IIEEE Global Communications Conference (Globecom 2025)</publisher>
				<date>09/22/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10680972</idno>
					<idno type="doi"></idno>
					
					<author>Zhuoyu Yao</author><author>Yue Wang</author><author>Songyang Zhang</author><author>Yingshu Li</author><author>Zhipeng Cai</author><author>Zhi Tian</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Recent advances in distributed swarm learning (DSL) offer a promising paradigm for edge Internet of Things. Such advancements enhance data privacy, communication efficiency, energy saving, and model scalability. However, the presence of non-independent and identically distributed (noni.i.d.) data pose a significant challenge for multi-access edge computing, degrading learning performance and diverging training behavior of vanilla DSL. Further, there still lacks theoretical guidance on how data heterogeneity affects model training accuracy, which requires thorough investigation. To fill the gap, this paper first study the data heterogeneity by measuring the impact of non-i.i.d. datasets under the DSL framework. This then motivates a new multi-worker selection design for DSL, termed M-DSL algorithm, which works effectively with distributed heterogeneous data. A new non-i.i.d. degree metric is introduced and defined in this work to formulate the statistical difference among local datasets, which builds a connection between the measure of data heterogeneity and the evaluation of DSL performance. In this way, our M-DSL guides effective selection of multiple works who make prominent contributions for global model updates. We also provide theoretical analysis on the convergence behavior of our M-DSL, followed by extensive experiments on different heterogeneous datasets and non-i.i.d. data settings. Numerical results verify performance improvement and network intelligence enhancement provided by our M-DSL beyond the benchmarks.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>With the tremendous technical breakthrough in 6G networks, edge computing emerges as a remarkable alternative to the cloud-based architectures for more collaborative, lowlatency, and reliable solutions <ref type="bibr">[1]</ref>. Distributed learning systems, e.g. via federated learning (FL), perform as a dedicated workhorse to leverage the local data and computational resources over various edge Internet of Things (IoTs) devices, as advantages in distributed data utilization, collaborative learning, privacy protection, computation and communication efficiency <ref type="bibr">[2]</ref>. However, complex environments in edge IoTs lead to data heterogeneity as a widely acknowledged issue of distributed data collected in edge networks <ref type="bibr">[3]</ref>. Nonindependent and identically distributed (non-i.i.d.) datasets hinder distributed learning, leading to performance degradation, poor generalization, and inefficient cooperation <ref type="bibr">[4]</ref>.</p><p>This work was supported in part by the National Science Foundation grants #2128596, #2146497, #2231209, #2244219, #2315596, #2343619, #2349878, #2416872, and #2413622.</p><p>This paper focuses on the challenges of data heterogeneity in multi-access edge computing and addresses two key questions: how to effectively quantify data heterogeneity? and how to measure and mitigate its impact on the performance of distributed learning? This paper focuses on the widely used definition of non-i.i.d. data in terms of label distribution skew, which represents different joint probability of data and labels from distributed local datasets <ref type="bibr">[5]</ref>. Moreover, existing approaches for quantification of data heterogeneity often rely on artificially generated non-i.i.d. datasets using sampling methods such as the Dirichlet distribution <ref type="bibr">[6]</ref>, where a concentration parameter &#945; controls the degree of heterogeneity. However, such a synthetic metric fails to capture the true statistical heterogeneity of real edge IoT datasets. Therefore, existing works on the impact of non-i.i.d. datasets on distributed learning still lack effective quantification metric and theoretical analysis, which hinders their deployment in edge IoT of 6G networks.</p><p>Another challenge in multi-access distributed learning at the edge is the optimization of network intelligence <ref type="bibr">[2]</ref>. That is, IoT deployments depend on careful network planning strategies to manage complex and costly device interactions. However, data heterogeneity further amplified due to the diversity of edge devices creates barriers to collaborative network intelligence for multi-access edge computing. Existing works on FL with non-i.i.d. data have improved model optimization and aggregation via extracting common patterns from heterogeneous datasets <ref type="bibr">[7]</ref>. However, these stochastic gradient descent (SGD)-based approaches struggle to correct the biased model updates caused by data heterogeneity, often leading to a failure of global model convergence <ref type="bibr">[8]</ref>, <ref type="bibr">[9]</ref>. Hence, deployment of multi-access distributed learning in edge networks still requires advanced network optimization to ensure robustness and scalability in massive IoT devices.</p><p>Consider the data heterogeneity and network optimization issues at the edge, distributed swarm learning (DSL) is proposed to alleviate performance degradation caused by noni.i.d. data and to mitigate the biased model aggregation <ref type="bibr">[8]</ref>, <ref type="bibr">[9]</ref>, by integrating particle swarm optimization with gradient descent. Despite these advantages, the vanilla DSL framework still has limitations. While the existing work of DSL considers the non-i.i.d. issues, it has not analyzed how such datasets affect the collaborative learning process. Moreover, its single best-worker selection mechanism is ineffective, as the collab-oration gain of multi-user systems is not fully utilized. Facing these challenges, this paper proposes a multi-worker selection based DSL tailored for data heterogeneity scenarios. Our main contributions are summarized as follows:</p><p>1) For efficient and robust distributed swarm learning with heterogeneous data, we introduce a new cooperation framework for DSL termed multi-worker selection based distributed swarm learning (M-DSL). To the best of our knowledge, we are the first to simultaneously consider the data heterogeneity and learning performance in evaluating individual contribution during worker selection, leading to a reliable M-DSL for edge IoT networks. 2) We define a novel normalized non-i.i.d. degree metric to measure the data label distribution skew. The efficacy of the proposed metric is validated by observing the same trend of non-i.i.d. degree and the performance degeneration of distributed learning with non-i.i.d. datasets. 3) Based on the non-i.i.d. degree metric, we further develop a worker selection strategy which not only considers data heterogeneity but also enhances the collaborative training performance in global model aggregation.</p><p>We also provide theoretical analysis on the convergence behavior guarantees of our proposed M-DSL solutions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. NON-I.I.D. FORMULATION</head><p>To analyze the inherent characteristics of heterogeneous datasets and evaluate their effect on performance degeneration in edge IoT networks, we aim to develop an effective metric to quantify the non-i.i.d. impact on distributed learning. To this end, in this section, we propose a general metric, termed the non-i.i.d. degree, to measure the label distribution skew. Label distribution skew, also known as prior probability shift, i.e., the marginal distributions may vary across workers Pr Di (y) &#824; = Pr Dj (y) even if the same conditional distribution Pr Di (y |x ) = Pr Dj (y |x ) <ref type="bibr">[5]</ref>. High skew undermines the effective collaboration among workers in distributed learning, as various datasets may contain totally different labels. Inspired by the study on the non-overlapping distributions <ref type="bibr">[10]</ref>, we develop a normalized metric based on the Wasserstein distance (WD) to evaluate the difference of the label distributions.</p><p>WD, first introduced to measure the model divergence in <ref type="bibr">[11]</ref>, represents the minimum cost required to transport one distribution into another. Given its capability to capture the geometric relationship and identify non-overlapping distributions, we are the first to apply WD for evaluating label distribution skew. Consider a learning based L-class classification task with distributed datasets at C workers {D i |i = 1, . . . , C } and a global dataset D g . For each dataset, its sample-label pairs belong to a sample space X and a label space L, as D &#8712; {X ; L}, L = {l 1 , . . . , l L }. The function f : X &#8594; L represents the ground-truth mapping from the overall samples to their labels. The individual function f i describes the conditional distribution of labels L i based on the samples X i corresponding to the i-th dataset. However, data heterogeneity leads f i as a biased approximation to the ground-truth f . Considering that D g depicts the statistical characteristics of the global data, the WD of each dataset D i with respect to D g is quantified by:</p><p>where F (f i , f g ) denotes the joint distribution space such that each selected &#947; follows the marginal distributions f i and f g . However, we observe that WD fails to depict the consistency between the accuracy degradation of distributed learning model and the imbalance of labels across workers, as indicated by the gap between the curve of WD and that of FedAvg testing in Fig. <ref type="figure">1</ref>. This is because varying the concentration parameter &#945; <ref type="bibr">[6]</ref> for generation of different heterogeneous datasets, WD focuses more on the difference of label distributions rather than the balance of label types. Inspired by the work <ref type="bibr">[12]</ref>, we introduce a ratio between the amount of label types at worker-i and that of global dataset, to describe the label diversity, leading to the normalized non-i.i.d. degree as</p><p>where Normalize (&#8226;) represents the Min-Max Scaling <ref type="bibr">[13]</ref>, the label ratio |Li| |Lg| represents the label difference between individual dataset D i and global dataset D g , |L i | , |L g | are the sizes of individual and global label spaces. The hyperparameters &#946; 1 , &#946; 2 , &#966; represent the significance of label diversity, that of statistical distribution difference, and that of fitting residual, which are determined by the dataset generation and experiment settings. The significantly diminished gap between the curve of our proposed non-i.i.d. degree metric &#951; and that of FedAvg testing reflected in Fig. <ref type="figure">1</ref> illustrates its effectiveness in assessment for both data heterogeneity measurement and the non-i.i.d. impact on learning performance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. MULTI-WORKER SELECTION BASED DISTRIBUTED SWARM LEARNING</head><p>This section investigates worker selection and collaboration strategy for DSL considering data heterogeneity. We start with problem formulation and then develop the M-DSL algorithm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Problem Formulation</head><p>Distributed learning systems allow multiple workers to collaboratively train a general model given their individual local data. Suppose the DSL framework with the parameter server (PS) and C workers, where each worker has its local dataset</p><p>In DSL, workers also have a synthetic global dataset D g for function value evaluation <ref type="bibr">[8]</ref>, <ref type="bibr">[9]</ref>. In each communication round, workers train M (w i,t , D) locally and get their evaluation score F i,t , where the parameter vector w i,t = {w 1 i,t , . . . , w n i,t } &#8712; R N contains the parameters of the trained model. Based on the real time assessment on function values {F i,t }, in this work, we allow the PS to select multiple workers to upload their trained parameters {w i,t } to update the global model {w g i,t }, which is different from the vanilla DSL where only one worker is selected in <ref type="bibr">[9]</ref>. The global model M (w, D) is iteratively aggregated over the trained model M i,t (w i,t , D i ) from the selected workers to approximate the mapping f : X &#8594; L.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Distributed Swarm Learning</head><p>Different from the FL, DSL <ref type="bibr">[8]</ref> is a recently developed distributed learning system incorporating the particle swarm optimization (PSO) algorithm with gradient descent techniques to alleviate accuracy reduction caused by data heterogeneity. DSL establishes a distributed network between the PS and devices (so-called workers) for cooperative learning. Details of the vanilla DSL algorithm can be found in <ref type="bibr">[9]</ref>. For PSO evaluation, DSL introduces a global dataset D g to assess individual model training performance on-the-fly. The loss function is defined as the Root Mean Square Error:</p><p>(</p><p>For simplicity of symbols, we use F i,t+1 to represent F i (w i,t+1 ; D i ) hereafter.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Multi-worker Selection Mechanism</head><p>Multi-worker selection is inspired to fully utilize the collaboration gain of network intelligence techniques by encouraging the effective and efficient participation from multiple workers. Based on the non-i.i.d. degree proposed in Section II, the multi-worker selection mechanism is designed to train the general model with heterogeneous data, when considering both the data heterogeneity and model performance.</p><p>The worker selection indicator is S t = {s 1,t , . . . , s C,t }, s i &#8712; {0, 1}, in which s i,t = 1 represents the i-th worker selected in the t-th communication round or s i,t = 0 otherwise. Accordingly, the objective is to maximize workers participation:</p><p>While the vanilla DSL only considers the value of loss function <ref type="bibr">(3)</ref> to evaluate the model for single worker selection, we further introduce the non-i.i.d. degree to the loss function to better learn the underlying features from distributed datasets via effective collaborative learning among multiple workers in the presence of non-i.i.d. datasets. For the local dataset D i and the loss function F i,t , we utilize a trade-off between individual learning performance and data quality as</p><p>where the regularizer &#964; is applied to balance the learning model performance via F i.t and the importance of the data quality by measuring data non-i.i.d. degree &#951; i defined in <ref type="bibr">(2)</ref>.</p><p>Based on this new trade-off score, we formulate the multiworker selection scheme as</p><p>where &#952;t-1 = 1 C i&#8712;C &#952; i,t-1 reveals the adaptive selection process based on the averaged gain over all workers in the previous communication round.</p><p>Then, the global model parameter updating is expressed as</p><p>Since only the selected workers are invited to contribute to global model updating via local model uploading, multiworker selection costs less communication energy than allworker uploading for model updates. Then, for local model updates, we design the individual model parameter updating process for M-DSL as</p><p>where the local and global best parameters are updated as</p><p>w g i,t = arg min w&#8712;{wt-1,wt}</p><p>where the event indicator is designed as I Ft&gt;Ft-1 , whose value is equal to 1 when F t &gt; F t-1 , or 0 otherwise.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Algorithm Implementation</head><p>The implementation of our M-DSL is described in Algorithm. 1. For initialization, all the workers are invited in the first round, with randomized w l i,t , w g i,t . Then, in each round, each worker trains local model based on the updated w l i,t+1 , w g i,t+1 . Next, M-DSL selects workers per <ref type="bibr">(6)</ref> to upload their models. The contributions of selected workers are aggregated for global model updates, until model converges.</p><p>Algorithm 1 M-DSL Initialization: Initialize w, w l i,t , w g i,t , t, i, given datasets {D i } , D g ; Calculate the non-i.i.d. degree {&#951; i }; 1: for each communication round t = 1 : T do 2: at each local worker:i &#8712; C 3: updates w l i,t , w g i,t via (9) and (10); 4: update w i,t+1 via (8), calculate F i,t+1 via (3); 5: search for better workers via (4) and (6); 6: upload {w i,t+1 , &#952; i,t+1 } , i &#8712; S t+1 to PS; 7: at the PS: 8: update global model via (7); 9:</p><p>broadcast w t+1 to all workers. 10: end for</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. PERFORMANCE ANALYSIS</head><p>In this section, we analyze convergence behavior and communication efficiency of M-DSL.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Assumption</head><p>Following a similar approach in <ref type="bibr">[14]</ref>, we adopt the common assumptions as follows.</p><p>Assumption 1. (&#945;-order Lipschitz continuity, smoothness): In t-th communication round, the gradient &#8711;F i (w i,t ) of the loss function F i (w) at worker i is &#945;-order uniformly Lipschitz smooth with respect to w, that is,</p><p>where L is a positive constant, referred as the Lipschitz constant for F (&#8226;) <ref type="bibr">[9]</ref>, <ref type="bibr">[14]</ref>, <ref type="bibr">[15]</ref>. Assumption 2. (Bounded local gradients): For the DSL framework, the gap between the global model w t and the local model w i,t , &#8704;i, t is bounded by <ref type="bibr">[9]</ref>, <ref type="bibr">[14]</ref>, <ref type="bibr">[16]</ref> </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Convergence Bound</head><p>With the Assumption 1 and Assumption 2, the convergence errors of M-DSL are bounded by Theorem 1 Theorem 1. The individual parameter updates function is given by <ref type="bibr">(8)</ref>. For the global optimal model w &#8902; and communication round t = 1, . . . , T , given the learning rate &#945; = 1 L , the expected convergence rate is bounded by</p><p>where</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2L</head><p>+ k 2 uq + Lk 2 2 u 2 represents the upper bound indicating all the workers are selected. The coefficient of individual velocity is</p><p>Proof. A sketch of proof is provided here for the page limit.</p><p>First, the inequality of the loss function and its gradient can be derived according to the Assumption 1.</p><p>The velocity update of individual model v i,t+1 = w i,t+1w i,t can be expressed by substituting ( <ref type="formula">8</ref>), ( <ref type="formula">10</ref>) and ( <ref type="formula">9</ref>):</p><p>where</p><p>s j,t v j,t represents the velocity update of global model, which is related to the multiworker selection strategy. As in <ref type="bibr">[9]</ref>, we define the bounded cosine-similarity of v i,t and -&#8711;F i,t , v t and -&#8711;F i,t as</p><p>Then substituting <ref type="bibr">(15)</ref> and the aforementioned bounds to scale the ( <ref type="formula">14</ref>), given &#945; = 1 L , we have</p><p>where the</p><p>is time-invariant. &#934; s i,t = I (si,t=1) k 2 uq + Lk 2 2 u 2 represents the impact of the worker selection strategy on local parameter updating. Noting that if the i-th worker is not selected, v t is constant in the updating of v i,t+1 . Hence, I (si,t=0) v t does not contribute to the update of individual velocity v i,t+1 . Finally we extend a sum of expected convergence error with the ideal upper bound F (w i,0 ) -F (w &#8902; ) over T iterations as</p><p>The convergence rate is limited by</p><p>Here, the proof is completed.</p><p>In this way, our proposed M-DSL algorithm has a similar convergence rate, a worst-case O 1 T , as standard DSL <ref type="bibr">[9]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Communication Efficiency</head><p>As a biased worker selection based framework, partial model updates achieve comparable performance about vanilla FL with less message transmission in each communication round. Specifically, given C-participants distributed learning systems for training a model with n length parameter vector, the communication overhead of FedAvg is nC for uploading local updates. M-DSL accomplishes less information uploads as n C i=1 s i,t . In the next section, experimental results show that a small subset of workers can represent the contributions of all participants after the early training stage, reducing the communication overhead of M-DSL in model updates. Moreover, M-DSL converges in fewer rounds than FedAvg, indicating its deployment requires less wireless resource.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. SIMULATION RESULTS</head><p>In this section, we provide simulation results to evaluate the performance of M-DSL in edge IoT networks. Compared with the benchmark DSL <ref type="bibr">[9]</ref> and FedAvg <ref type="bibr">[17]</ref>, M-DSL achieves faster convergence and higher validation accuracy. Local datasets are generated via the time-invariant subset sampling from public datasets MNIST <ref type="bibr">[18]</ref> and CIFAR10 <ref type="bibr">[19]</ref>. The data sampling process is controlled by the Dirichlet distribution with parameter &#945;. D g is generated by GANs. The neural network model of M-DSL is a five-layer Convolutional Neural Network <ref type="bibr">[9]</ref> and the ResNet18 <ref type="bibr">[20]</ref>, respectively. For the hyperparameter settings, we apply the SGD optimizer with attenuated learning rate &#945; init = 0.01, &#947; = 0. The model aggregation is conducted via averaging the selected models with the weight regularizer &#964; = 0.9 in (5).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Performance Comparison</head><p>To evaluate different distributed learning methods, we design experiments to accomplish classification tasks, the multiworker selection DSL without non-i.i.d. degree (Multi-DSL), and the multi-worker selection DSL (M-DSL) for different data cases, including i.i.d. case: 50 i.i.d datasets, non-i.i.d. case I: 50 non-i.i.d. datasets sampled by Dirichlet Distribution &#945; = 0.5, and more diverse non-i.i.d. case II: 20 sets sampled by &#945; = 0.1, 15 sets by &#945; = 0.5, 10 sets by &#945; = 1 and 5 sets by &#945; = 10. The non-i.i.d. case II provides a more practical data heterogeneous scenario with diverse datasets as visualized in Fig. <ref type="figure">2</ref>. Classification accuracy of M-DSL is compared with baseline approaches DSL and FedAvg in Fig. <ref type="figure">3</ref>. The i.i.d. case plays as a baseline performance that M-DSL can reach in the ideal case. Experiments in noni.i.d. cases I and II highlight the advancement of M-DSL to achieve more accurate accuracy than other benchmarks on heterogeneous datasets. Moreover, M-DSL achieves more efficient convergence with higher validation accuracy in the non-i.i.d. cases. The introduction of multi-worker selection obviously enhances the convergence rate and classification accuracy by the full utilization of distributed data. The noni.i.d. degree metric introduced in this work further strengthens the enhancement of our M-DSL in heterogeneous scenarios.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Hyperparameter Design</head><p>This section discusses the hyperparameter design of the non-i.i.d. degree in <ref type="bibr">(2)</ref>. For the optimum design of &#946; 1 , &#946; 2 , &#966;, we observe the distribution difference W , label ratio |L i |/|L g | and FedAvg accuracy acc on CIFAR10 with the non-i.i.d setting &#945; = 0.001, . . . , 1000, and attempt to fit the trend of &#951; with acc. Applying the least squares based fitting of the observations, we use 90% records to fit the linear function and 10% to test. The regression result shows the remarkable linearity with R 2 = 0.97 in MNIST and R 2 = 0.895 in CIFAR10. The results of linear regression guide a general setting of &#946; 1 = 0.286, &#946; 2 = -0.07, &#966; = 0.592 in CIFAR10 VI. CONCLUSION This work proposes a M-DSL algorithm to tackle the data heterogeneity challenge in edge IoT networks. We define a non-i.i.d. degree metric superior in measuring data heterogeneity of distributed datasets and accuracy degradation due to the non-i.i.d. impact on distributed learning. Further, we design a multi-worker selection strategy that enhances network intelligence under the constraint of limited network resources. In addition, we analyze the convergence behavior of the proposed M-DSL, supported by comprehensive simulations, which indicate the advantages of M-DSL in terms of faster convergence, higher accuracy, and less communication cost than FedAvg and standard DSL with heterogeneous data.</p></div></body>
		</text>
</TEI>
