Research
FedQS: Optimizing Gradient and Model Aggregation for Semi-Asynchronous Federated Learning
Overview Research area: Federated learning systems — specifically semi-asynchronous federated learning (SAFL) and the design of aggregation strategies that are simultaneously stable, accurate, and fas
- arXiv
- 2510.07664
- Published
- 2025-10-09
- Authors
- Yunbo Li, Jiaping Gui, Zhihang Deng, Fanchao Meng, Yue Wu
AI summary
Overview
Research area: Federated learning systems — specifically semi-asynchronous federated learning (SAFL) and the design of aggregation strategies that are simultaneously stable, accurate, and fast.
Technical level: Advanced. The paper combines a systems/algorithm design with formal convergence proofs (theorems, smoothness assumptions, bounded-heterogeneity conditions) and a broad empirical evaluation.
Scope: The paper proposes FedQS, a framework that lets clients self-classify into four training quadrants and adapt their local training, while the server re-weights local updates — providing a single design that supports both gradient-based (FedQS-SGD) and model-based (FedQS-Avg) aggregation in SAFL.
What This Paper Is About
Semi-asynchronous federated learning sits between fully synchronous and fully asynchronous training, but it inherits a hard design choice: gradient-based aggregation (e.g., FedSGD) converges faster and more accurately yet fluctuates badly, while model-based aggregation (e.g., FedAvg) is more stable but slower and less accurate. The paper's authors argue that this gap has only been studied empirically and never addressed with a unified, theoretically grounded solution.
The goal of FedQS is to close that gap by making clients choose their own local training behavior based on how stale and how biased their updates are, and by having the server re-weight contributions accordingly — so that both aggregation styles benefit from one framework.
Key Contributions
-
A theoretical account of the aggregation disparity. The paper states it is the first framework to theoretically analyze and address the differences between gradient and model aggregation in SAFL, providing convergence proofs (Theorems 4.2 and 4.3) showing both FedQS-SGD and FedQS-Avg attain exponential decay via a 𝒱ᵗ term within an overall O(1/t + 𝒰 + 𝒲) bound.
-
A four-quadrant divide-and-conquer client taxonomy. FedQS classifies every client into one of four types — Fast-but-Strongly-Biased (FSBC), Fast-and-Weakly-Biased (FWBC), Straggling-but-Weakly-Biased (SWBC), and Straggling-and-Strongly-Biased (SSBC) — using update speed (f) and local-global gradient similarity (s), each relative to the population averages f̄ and s̄.
-
A three-module architecture that is aggregation-agnostic. Mod① (client-side global aggregation estimation) derives a pseudo-global gradient L_g(w_g^t) = w_g^t − w_g^{t−1} and computes cosine similarity against local gradients; Mod② (client-side local training adaptation) adjusts learning rates, momentum, and feedback flags; Mod③ (server-side global model aggregation) re-weights clients using a feedback mechanism.
-
Empirical validation across three task domains. Evaluation covers computer vision (ResNet-18 on CIFAR-10), NLP (LSTM on Shakespeare), and real-world tabular data (FCN on UCI Adult), with ablation, system-setting, dynamic-scenario, and hyperparameter analyses.
Main Findings
-
Both factors together create the gap. Training ResNet-18 on CIFAR-10 with 100 clients, the accuracy gap between gradient and model aggregation is only 0.12% when neither stale updates nor data heterogeneity is present, 0.22% with staleness alone, and 0.50% with heterogeneity alone — but rises to 11.52% when both factors are active (82.63% for gradient aggregation vs. 71.11% for model aggregation).
-
FedQS achieves the highest accuracy and lowest loss. In Table 2, FedQS-Avg reaches an average accuracy of 68.88%, which the paper reports as 1.71% higher than the best baseline (M-step), and FedQS-SGD reaches 72.06%, 2.51% higher than the best baseline (WKAFL). The paper also notes that SAFA, FedAT, and FedBuff underperform their foundational counterparts FedAvg and FedSGD because they trade accuracy for stability.
-
Reported gains over fastest-converging and highest-precision baselines. The abstract states FedQS improves average accuracy by 38.98% and 5.65% over the fastest-converging model-aggregation and gradient-aggregation baselines respectively, while reducing training time by 58.85% and 3.68%. Against the highest-precision baselines, FedQS converges 15.74% and 12.93% faster in rounds and reduces training time by 72.63% and 48.04%.
-
Runtime is efficient relative to synchronous FL. FedQS-Avg and FedQS-SGD show average runtime reductions of 70.34% and 70.91% compared with FedAvg and FedSGD under synchronous settings.
-
Robustness under different system scales. With N=50 clients and a 1:20 resource ratio, FedQS-SGD reaches 80.7% accuracy and 152 epochs to converge, versus FedAvg's 70.1% and 224 epochs and FedSGD's 77.4% and 193 epochs. With N=200 clients and a 1:100 ratio, FedQS-SGD reaches 80.1% and 203 epochs, versus FedAvg's 49.4% and 277 epochs and FedSGD's 74.4% and 248 epochs. Oscillation counts also drop (e.g., FedSGD shows 37.0 oscillations at N=50 while FedQS-SGD shows 26.3).
-
Each module contributes. In the ablation study, removing feedback from Mod③ drops FedQS-Avg accuracy to 68.35% (from 74.14%) and slows convergence to 284 epochs (from 251); removing momentum from Mod② drops it to 73.21% (from 74.14%). For Mod①, cosine similarity gives FedQS-Avg 74.14% / 251 epochs, versus Euclidean at 75.69% / 244 and Manhattan at 76.56% / 228.
-
Stability across dynamic conditions. Under three dynamic scenarios — resource scale shifting from 1:50 to 1:100 at round 200, per-client resources fluctuating within [−10, +10] units bounded between 1 and 50, and 50% client churn at round 100 — FedQS maintains stable convergence and continuous accuracy gains over FedAvg and FedSGD.
Methodology in Plain English
FedQS starts from an observation: stale updates and heterogeneous data affect gradient aggregation and model aggregation differently. Gradient aggregation stays on a continuous optimization trajectory because it descends from the latest global model, while model aggregation averages stale parameters and effectively restarts optimization from a skewed point.
To exploit this, the framework works in three parts. On the client side, Mod① stores the last two global models, subtracts them to obtain a "pseudo-global gradient," and compares it with the client's own local gradient using cosine similarity — producing a similarity score s. Combined with an update-speed score f (how often the client has participated relative to others), each client falls into one of four quadrants.
Mod② then acts on that classification. Fast-and-weakly-biased clients get their learning rate lowered, with a momentum term added to keep convergence from stalling. Straggling-but-weakly-biased clients get their learning rate raised, also with momentum. Fast-but-strongly-biased clients keep their learning rate but get higher aggregation weight through a feedback mechanism. Straggling-and-strongly-biased clients use a local validation set to distinguish whether their problem is slowness or a dispersed label distribution, and take the corresponding remedy.
On the server, Mod③ waits until K local updates arrive, assigns each client an initial weight proportional to its data size, then for feedback-triggered clients replaces that weight with a formula combining a staleness term exp(φ − F)/2^(φ − F) (with φ = K/N) and a term (1 + G)²/K tied to the quadratic relationship between the convergence bound and model weight differences in Theorems 4.2 and 4.3. Weights are normalized before aggregation.
The theoretical analysis assumes L-smooth loss functions, bounded expected squared gradient norms (G_c), and bounded heterogeneity (δ). Notably, the authors state that the gradient-norm assumption is used only to simplify interpretation of the bound 𝒲 and is not needed for the core theorems.
Why This Matters
Impact on research. The paper positions itself against a body of SAFL work that is either server-centric (single aggregation strategy) or client-centric (insufficient global information). By supplying convergence guarantees for both aggregation styles in one framework, it gives the SAFL community a shared analytic baseline and a testable claim: that the gradient-vs-model gap is a consequence of staleness and heterogeneity interaction, not an inherent limitation.
Real-world applications.
- Healthcare — the paper cites healthcare as an established FL application domain, where hospitals with very different compute budgets and non-IID patient populations must train jointly without sharing records.
- Finance — also cited as an established FL domain, where institutions have differing infrastructure and heterogeneous transaction data.
- Mobile and edge deployments — devices with resource ratios as wide as 1:50 or 1:100 (as simulated in the paper) are the default assumption, and FedQS is designed to run without prior knowledge of client performance distributions.
- Dynamic fleets — the client-dropout and resource-fluctuation experiments target settings where device availability and speed change mid-training.
Industry relevance. The practical claim is a three-way win that matters to operators: fewer rounds to reach a target accuracy, lower wall-clock runtime than synchronous FL, and stability that avoids the oscillation-prone behavior of gradient aggregation. The paper also notes the approach is model-agnostic, and its code and datasets are released publicly.
Future Directions
- Scale beyond moderate models. The authors explicitly state that resource constraints limited experiments to moderate-scale models; scaling FedQS to large models remains open (they refer to a scalability discussion in Appendix C).
- Complete and extend the hyperparameter study. The provided content is truncated during Section 5.4's analysis of the initial learning rate η₀, the change rate a, the initial momentum m₀, and further parameters, so the boundaries of robustness there are not fully visible in this text.
- Reduce or bound the non-vanishing error terms. The analysis shows 𝒰 + 𝒲 remain as inherent SAFL limitations from non-simultaneous aggregation and irreducible heterogeneity — an open question is how far these can be shrunk without abandoning semi-asynchrony.
- Tighten the client taxonomy's cost. The four-quadrant scheme depends on the server maintaining participation counts and latest similarity scores; its behavior under adversarial or severely non-stationary clients is a natural extension.
Target Audience
This paper is most useful for federated learning researchers and systems engineers who already understand synchronous and asynchronous FL basics and want a framework spanning both aggregation paradigms. It suits readers comfortable with convergence proofs (smoothness, bounded heterogeneity, sublinear rates) as well as practitioners evaluating whether SAFL can beat synchronous training on accuracy, latency, and stability simultaneously. Readers looking for a purely applied tutorial will find the theoretical sections dense, while those interested in the theory will find the four-quadrant mechanism and the stability argument for momentum placement (applied only to clients whose updates align with the global direction) the most distinctive parts.
Authors’ abstract
Federated learning (FL) enables collaborative model training across multiple parties without sharing raw data, with semi-asynchronous FL (SAFL) emerging as a balanced approach between synchronous and asynchronous FL. However, SAFL faces significant challenges in optimizing both gradient-based (e.g., FedSGD) and model-based (e.g., FedAvg) aggregation strategies, which exhibit distinct trade-offs in accuracy, convergence speed, and stability. While gradient aggregation achieves faster convergence and higher accuracy, it suffers from pronounced fluctuations, whereas model aggregation offers greater stability but slower convergence and suboptimal accuracy. This paper presents FedQS, the first framework to theoretically analyze and address these disparities in SAFL. FedQS introduces a divide-and-conquer strategy to handle client heterogeneity by classifying clients into four distinct types and adaptively optimizing their local training based on data distribution characteristics and available computational resources. Extensive experiments on computer vision, natural language processing, and real-world tasks demonstrate that FedQS achieves the highest accuracy, attains the lowest loss, and ranks among the fastest in convergence speed, outperforming state-of-the-art baselines. Our work bridges the gap between aggregation strategies in SAFL, offering a unified solution for stable, accurate, and efficient federated learning. The code and datasets are available at https://github.com/bkjod/FedQS_.