SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.07587 · NeurIPS · 2023

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

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

arXiv · PDF · Open in the Atlas

Code that ran

16 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 13 failures of our instrument; 4 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2310.07587.json · badge: /api/ran/2310.07587.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
ZackZikaiXiao/FedGraB canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
zackzikaixiao/fedgrab canonical (classifier label)
classifier basis: classifier_2025
5 ran · 3 no recorded run
FunctionStatusWhere it lives
ResNet18 Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/model/model_res.py
pointer only (licence: NONE) · get_code("7248400cfaf54981")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

ResNet34 Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/model/model_res.py
pointer only (licence: NONE) · get_code("20a02fb684e52cb6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

calculate_mean_std Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/mytools/cal_deviation.py
pointer only (licence: NONE) · get_code("e23b33e37ebd0ef6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

conv1x1 Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/model/model_res_official.py
pointer only (licence: NONE); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("2a80220dabcb742a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/model/model_res_official.py
pointer only (licence: NONE); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("600ff2c45e0de056")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/model/model_res.py
pointer only (licence: NONE); the stored copy get_code serves, from amerch/CIFAR100-Training, is pointer only (licence: NONE) · get_code("583f9780bdd00a45")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

drop_connect Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ZackZikaiXiao/FedGraB/model/effutil.py
pointer only (licence: NONE) · get_code("f1e3c822763f3ebb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

extract_global_test_acc Ran
ran, honoured the contract we drafted
ZackZikaiXiao/FedGraB/mytools/accuracy_trend.py
pointer only (licence: NONE) · get_code("1a589719693e1216")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

get_valid_models Ran
ran; our contract draft was wrong, not the code
zackzikaixiao/fedgrab/util/averaging.py
pointer only (licence: NONE) · get_code("d8889674cfd7a393")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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.

is_valid_model Ran
ran, violated the contract we drafted
zackzikaixiao/fedgrab/util/averaging.py
pointer only (licence: NONE) · get_code("33feb628adca5b16")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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.

median_opt Ran
ran; our contract draft was wrong, not the code
zackzikaixiao/fedgrab/util/averaging.py
pointer only (licence: NONE) · get_code("bf29b73605eff124")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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.

random_unit Ran
ran, violated the contract we drafted
ZackZikaiXiao/FedGraB/util/losses.py
pointer only (licence: NONE) · get_code("49d76a6212141b87")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

repeated_median Ran
ran; our contract draft was wrong, not the code
zackzikaixiao/fedgrab/util/averaging.py
pointer only (licence: NONE) · get_code("e01e012526dcaecc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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.

round_filters Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/model/effutil.py
pointer only (licence: NONE) · get_code("bde7e7ccb8dae4f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

round_repeats Ran
ran; our contract draft was wrong, not the code
ZackZikaiXiao/FedGraB/model/effutil.py
pointer only (licence: NONE) · get_code("70f48a3907311f52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

weighted_average Ran
ran; our contract draft was wrong, not the code
zackzikaixiao/fedgrab/util/averaging.py
pointer only (licence: NONE) · get_code("2af42978303848f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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.

IRLS_aggregation_split_restricted Not yet run
unverified (harvested, no recorded run)
zackzikaixiao/fedgrab/util/averaging.py
pointer only (licence: NONE) · get_code("d0a680060dc51f1a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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.

ResNet50 Not yet run
unverified (harvested, no recorded run)
ZackZikaiXiao/FedGraB/model/model_res_official.py
pointer only (licence: NONE) · get_code("b658a92985b03a37")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZackZikaiXiao/FedGraB 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.

get_acc_file_path Not yet run
unverified (harvested, no recorded run)
zackzikaixiao/fedgrab/fed_grab.py
pointer only (licence: NONE) · get_code("94005e959c4ccf4c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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.

reweight_algorithm_restricted Not yet run
unverified (harvested, no recorded run)
zackzikaixiao/fedgrab/util/averaging.py
pointer only (licence: NONE) · get_code("aaabe8c3ebf47b0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackzikaixiao/fedgrab 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 10 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 6 the same month, 10 later) and 10 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
conv3x3 686 other papers
517 dated earlier, 4 the same month, 158 later, 7 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
conv1x1 112 other papers
51 dated earlier, 6 the same month, 53 later, 2 same year, order not determinable · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 109 more not named here
conv3x3 111 other papers
53 dated earlier, 6 the same month, 50 later, 2 same year, order not determinable · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 108 more not named here
round_filters 31 other papers
26 dated earlier, 1 the same month, 4 later · 3 only as an assembly brick
1808.08127 (2018-08)
Recalibrating Fully Convolutional Networks with Spatial and Channel 'Squeeze & Excitation' Blocks
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
1911.09070 (2019-11)
EfficientDet: Scalable and Efficient Object Detection
and 28 more not named here
round_repeats 30 other papers
26 dated earlier, 1 the same month, 3 later · 3 only as an assembly brick
1808.08127 (2018-08)
Recalibrating Fully Convolutional Networks with Spatial and Channel 'Squeeze & Excitation' Blocks
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
1911.09070 (2019-11)
EfficientDet: Scalable and Efficient Object Detection
and 27 more not named here
ResNet18 27 other papers
11 dated earlier, 16 later
1605.07146 (2016-05)
Wide Residual Networks
1901.09847 (2019-01)
Error Feedback Fixes SignSGD and other Gradient Compression Schemes
1910.09652 (2019-10)
Kernelized Wasserstein Natural Gradient
and 24 more not named here
drop_connect 23 other papers
13 dated earlier, 2 the same month, 8 later · 2 only as an assembly brick
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
1912.01588 (2019-12)
Leveraging Procedural Generation to Benchmark Reinforcement Learning
2010.00475 (2020-10)
FSD50K: An Open Dataset of Human-Labeled Sound Events
and 20 more not named here
ResNet34 1 other paper
1 later
2408.04301 (2024-08)
Tackling Noisy Clients in Federated Learning with End-to-end Label Correction
ResNet50 1 other paper
1 later
2408.04301 (2024-08)
Tackling Noisy Clients in Federated Learning with End-to-end Label Correction
get_acc_file_path 1 other paper
1 later
2401.08977 (2024-01)
FedLoGe: Joint Local and Generic Federated Learning under Long-tailed Data

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-22.

Repositories linked to this paper

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

Abstract

Data privacy and long-tailed distribution are the norms rather than the exceptions 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 longtailed 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 prior derived from 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. Our codes are available at https://github.com/ZackZikaiXiao/FedGraB.

For agents

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

get_harvested_code_for_paper("2310.07587")
get_code_for_paper("2310.07587")
have("2310.07587")

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

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

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

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

Connect an agent — have() is free.