SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.05153 · ICLR · 2025

SparsyFed: SPARSE ADAPTIVE FEDERATED TRAINING

Nicholas Lane, Alex Iacob, Lorenzo Sani, Adriano Guastella, Alessio Mora, Paolo Bellavista

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2504.05153.json · badge: /api/ran/2504.05153.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
aguastella/sparsyfed canonical (classifier label)
classifier basis: classifier_2025
5 ran · 1 no recorded run
FunctionStatusWhere it lives
SpectralNormHandler Ran
ran on a synthesized input · constructed an object; no result was computed
aguastella/sparsyfed/project/task/utils/sparsyfed_modules.py
pointer only (licence: NONE) · get_code("7ab1cd3f6a101c52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aguastella/sparsyfed 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_tensor_sparsity Ran
ran; our contract draft was wrong, not the code
aguastella/sparsyfed/project/task/utils/sparsyfed_modules.py
pointer only (licence: NONE) · get_code("4b1cbcf3c466e1b1")
How it ran

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

matrix_drop Ran
ran; our contract draft was wrong, not the code
aguastella/sparsyfed/project/task/utils/sparsyfed_modules.py
pointer only (licence: NONE) · get_code("0ba54f3e3697b9e3")
How it ran

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

matrix_drop_th Ran
ran; our contract draft was wrong, not the code
aguastella/sparsyfed/project/task/utils/sparsyfed_modules.py
pointer only (licence: NONE) · get_code("fe61a953ac637897")
How it ran

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

sparsyfed_linear Ran
ran on a synthesized input · constructed an object; no result was computed
aguastella/sparsyfed/project/task/utils/sparsyfed_modules.py
pointer only (licence: NONE) · get_code("85abdd27cc16764d")
How it ran

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

SparsyFedLinear Not yet run
unverified (harvested, no recorded run)
aguastella/sparsyfed/project/task/utils/sparsyfed_modules.py
pointer only (licence: NONE) · get_code("36525616438ce5e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aguastella/sparsyfed 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 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.

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

Sparse training is often adopted in cross-device federated learning (FL) environments where constrained devices collaboratively train a machine learning model on private data by exchanging pseudo-gradients across heterogeneous networks. Although sparse training methods can reduce communication overhead and computational burden in FL, they are often not used in practice for the following key reasons: (1) data heterogeneity makes it harder for clients to reach consensus on sparse models compared to dense ones, requiring longer training; (2) methods for obtaining sparse masks lack adaptivity to accommodate very heterogeneous data distributions, crucial in cross-device FL; and (3) additional hyperparameters are required, which are notably challenging to tune in FL. This paper presents SparsyFed, a practical federated sparse training method that critically addresses the problems above. Previous works have only solved one or two of these challenges at the expense of introducing new trade-offs, such as clients' consensus on masks versus sparsity pattern adaptivity. We show that SparsyFed simultaneously (1) can produce 95% sparse models, with negligible degradation in accuracy, while only needing a single hyperparameter, (2) achieves a per-round weight regrowth 200 times smaller than previous methods, and (3) allows the sparse masks to adapt to highly heterogeneous data distributions and outperform all baselines under such conditions.

For agents

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

get_harvested_code_for_paper("2504.05153")
get_code_for_paper("2504.05153")
have("2504.05153")

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

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

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

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

Connect an agent — have() is free.