Papers › Fed-GraB: Federated Long-tailed Learning with Self-Adjusting Gradient Balancer

Fed-GraB: Federated Long-tailed Learning with Self-Adjusting Gradient Balancer

11 Oct 2023NeurIPS 2023 11arXiv:2310.07587archive 2025-07-28

Zikai Xiao, Zihan Chen, Songshang Liu, Hualiang Wang, Yang Feng, Jin Hao, Joey Tianyi Zhou, Jian Wu, Howard Hao Yang, Zuozhu Liu

Data privacy and long-tailed distribution are the norms rather than the exception in many real-world tasks. This paper investigates a federated long-tailed learning (Fed-LT) task in which each client holds a locally heterogeneous dataset; if the datasets can be globally aggregated, they jointly exhibit a long-tailed distribution. Under such a setting, existing federated optimization and/or centralized long-tailed learning methods hardly apply due to challenges in (a) characterizing the global long-tailed distribution under privacy constraints and (b) adjusting the local learning strategy to cope with the head-tail imbalance. In response, we propose a method termed Fed-GraB, comprised of a Self-adjusting Gradient Balancer (SGB) module that re-weights clients' gradients in a closed-loop manner, based on the feedback of global long-tailed distribution evaluated by a Direct Prior Analyzer (DPA) module. Using Fed-GraB, clients can effectively alleviate the distribution drift caused by data heterogeneity during the model training process and obtain a global model with better performance on the minority classes while maintaining the performance of the majority classes. Extensive experiments demonstrate that Fed-GraB achieves state-of-the-art performance on representative datasets such as CIFAR-10-LT, CIFAR-100-LT, ImageNet-LT, and iNaturalist.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.07587")

Code

Syntology Ran 16 of 20 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · violated contract; 7 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zackzikaixiao/fedgrab officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 16 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
7ran · our draft was wrong
8ran
4unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ZackZikaiXiao/FedGraB. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ResNet18 ZackZikaiXiao/FedGraB/model/model_res.py official repository ran no licence file found · pointer only · 7248400cfaf54981 · report
ResNet34 ZackZikaiXiao/FedGraB/model/model_res.py official repository ran no licence file found · pointer only · 20a02fb684e52cb6 · report
calculate_mean_std ZackZikaiXiao/FedGraB/mytools/cal_deviation.py official repository ran no licence file found · pointer only · e23b33e37ebd0ef6 · report
conv1x1 ZackZikaiXiao/FedGraB/model/model_res_official.py official repository ran · our draft was wrong no licence file found · pointer only · 2a80220dabcb742a · report
conv3x3 ZackZikaiXiao/FedGraB/model/model_res_official.py official repository ran · our draft was wrong no licence file found · pointer only · 600ff2c45e0de056 · report
conv3x3 ZackZikaiXiao/FedGraB/model/model_res.py official repository ran · our draft was wrong no licence file found · pointer only · 583f9780bdd00a45 · report
drop_connect ZackZikaiXiao/FedGraB/model/effutil.py official repository ran no licence file found · pointer only · f1e3c822763f3ebb · report
extract_global_test_acc ZackZikaiXiao/FedGraB/mytools/accuracy_trend.py official repository ran no licence file found · pointer only · 1a589719693e1216 · report
get_valid_models zackzikaixiao/fedgrab/util/averaging.py official repository ran · our draft was wrong no licence file found · pointer only · d8889674cfd7a393 · report
is_valid_model zackzikaixiao/fedgrab/util/averaging.py official repository ran · violated contract no licence file found · pointer only · 33feb628adca5b16 · report
median_opt zackzikaixiao/fedgrab/util/averaging.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · bf29b73605eff124 · report
random_unit ZackZikaiXiao/FedGraB/util/losses.py official repository ran no licence file found · pointer only · 49d76a6212141b87 · report
repeated_median zackzikaixiao/fedgrab/util/averaging.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · e01e012526dcaecc · report
round_filters ZackZikaiXiao/FedGraB/model/effutil.py official repository ran no licence file found · pointer only · bde7e7ccb8dae4f5 · report
round_repeats ZackZikaiXiao/FedGraB/model/effutil.py official repository ran no licence file found · pointer only · 70f48a3907311f52 · report
weighted_average zackzikaixiao/fedgrab/util/averaging.py official repository ran · our draft was wrong no licence file found · pointer only · 2af42978303848f8 · report
IRLS_aggregation_split_restricted zackzikaixiao/fedgrab/util/averaging.py official repository unverified no licence file found · pointer only · d0a680060dc51f1a · report
ResNet50 ZackZikaiXiao/FedGraB/model/model_res_official.py official repository unverified no licence file found · pointer only · b658a92985b03a37 · report
get_acc_file_path zackzikaixiao/fedgrab/fed_grab.py official repository unverified no licence file found · pointer only · 94005e959c4ccf4c · report
reweight_algorithm_restricted zackzikaixiao/fedgrab/util/averaging.py official repository unverified no licence file found · pointer only · aaabe8c3ebf47b0a · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections