SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.07664 · NeurIPS · 2025

FedQS: Optimizing Gradient and Model Aggregation for Semi-Asynchronous Federated Learning

Yue Wu, Yunbo Li, Jiaping Gui, Zhihang Deng, Fanchao Meng

arXiv · PDF · Open in the Atlas

Code that ran

12 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2510.07664.json · badge: /api/ran/2510.07664.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
bkjod/FedQS_ community
Papers with Code archive
12 ran · 1 no recorded run
FunctionStatusWhere it lives
BasicBlock Ran
ran on a synthesized input · constructed an object; no result was computed
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("d6d244276227d338")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CNN Ran
ran; our contract draft was wrong, not the code
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("36f183711192ad56")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

LSTM Ran
ran; our contract draft was wrong, not the code
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("caf82715df0587d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MyLSTM Ran
ran on a synthesized input · constructed an object; no result was computed
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("36d9b1dc16c65b5a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Net Ran
ran on a synthesized input · constructed an object; no result was computed
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("4d6b55387f4c0fd4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResNet Ran
ran on a synthesized input · constructed an object; no result was computed
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("aa81bb6110944952")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResNet18 Ran
ran; our contract draft was wrong, not the code
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("f2e022668e45a2f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

VGG16 Ran
ran on a synthesized input · constructed an object; no result was computed
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("191ba6f0c76d061c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Vgg16 Ran
ran; our contract draft was wrong, not the code
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("091f58eadc793d0c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv_layer Ran
ran; our contract draft was wrong, not the code
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("d0cd7cee4fd009dc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

vgg_conv_block Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("6d3f52f6002ca763")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

vgg_fc_layer Ran
ran; our contract draft was wrong, not the code
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("49a4a29d4e3d492e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

aggregate_model Not yet run
unverified (harvested, no recorded run)
bkjod/FedQS_/utils/afl_avg_our.py
pointer only (licence: NONE) · get_code("0ac622001f1e7b61")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bkjod/FedQS_ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
BasicBlock
brick of this paper's assembly: helper
12 other papers
12 dated earlier · 11 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1901.08573 (2019-01)
Theoretically Principled Trade-off between Robustness and Accuracy
2011.10566 (2020-11)
Exploring Simple Siamese Representation Learning
and 9 more not named here
ResNet
brick of this paper's assembly: helper
4 other papers
4 dated earlier · 3 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1901.08573 (2019-01)
Theoretically Principled Trade-off between Robustness and Accuracy
2104.10586 (2021-04)
Mixture of Robust Experts (MoRE): A FLEXIBLE DEFENSE AGAINST MULTIPLE PERTURBATIONS
and 1 more not named here
conv_layer
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2106.02734 (2021-06)
Revisiting Hilbert-Schmidt Information Bottleneck for Adversarial Robustness
2210.04311 (2022-10)
Pruning Adversarially Robust Neural Networks without Adversarial Examples
vgg_conv_block
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2106.02734 (2021-06)
Revisiting Hilbert-Schmidt Information Bottleneck for Adversarial Robustness
2210.04311 (2022-10)
Pruning Adversarially Robust Neural Networks without Adversarial Examples
vgg_fc_layer
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2106.02734 (2021-06)
Revisiting Hilbert-Schmidt Information Bottleneck for Adversarial Robustness
2210.04311 (2022-10)
Pruning Adversarially Robust Neural Networks without Adversarial Examples

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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-andconquer 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_.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2510.07664")
get_code_for_paper("2510.07664")
have("2510.07664")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2510.07664.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2510.07664.svg)](https://syntology.ai/paper/2510.07664)

Connect an agent — have() is free.