SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.13475 · ICML · 2026

FedHPro: Federated Hyper-Prototype Learning via Gradient Matching

Huan Wang, Di Wu, Haoran Li, Guansong Pang, Jun Shen, Zhenyu Yang, Jun Yan, Ousman Manjang, Yanlong Zhai

arXiv · PDF · Open in the Atlas

Code that ran

21 of 29 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; 2 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 16 failures of our instrument; 8 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/2605.13475.json · badge: /api/ran/2605.13475.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
mala-lab/FedHPro community
Papers with Code archive
21 ran · 8 no recorded run
FunctionStatusWhere it lives
BasicBlock Ran
ran on a synthesized input · constructed an object; no result was computed
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("fb092ad2e962f35d")
How it ran

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

DiffAugment Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("655f5003e174acea")
How it ran

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

TensorDataset Ran
ran on a synthesized input · constructed an object; no result was computed
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("ec02bbab57d76432")
How it ran

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

build_dataloader Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("b57b5bd7c4b8f301")
How it ran

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

build_non_iid_by_dirichlet Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("b4c1b12e55eb5ab1")
How it ran

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

classify_label Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("7f1c8cbd622ebc50")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/FedHPro 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
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("334d6dae5b67e789")
How it ran

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

dataset_on_cuda Ran
ran, violated the contract we drafted
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("5709bffb148052d0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/FedHPro 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_class_num Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("5071564c5a3a5910")
How it ran

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

match_meta Ran
ran, honoured the contract we drafted
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("9685a8e3bdc388f2")
How it ran

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

move_batch_to_device Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("00adaf9b0e883dc4")
How it ran

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

rand_brightness Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("bbcf3d37a05e74fa")
How it ran

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

rand_contrast Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("da0792c30cd6923d")
How it ran

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

rand_crop Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("ce0a33dfa808c724")
How it ran

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

rand_cutout Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("d3cd62c7852afac2")
How it ran

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

rand_flip Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("17a10de2cc4da2e2")
How it ran

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

rand_rotate Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("dffd8500daa6b52b")
How it ran

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

rand_saturation Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("0d4958248aaee956")
How it ran

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

rand_scale Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("2cc42f2e0f92442c")
How it ran

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

resnet10 Ran
ran; our contract draft was wrong, not the code
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("527678683212df5e")
How it ran

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

show_clients_data_distribution Ran
ran, honoured the contract we drafted
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("359d7476c4dac80c")
How it ran

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

FedHPro Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("49b7d702febb94e7")
How it ran

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

Global Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("1ea4d216b47f2c00")
How it ran

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

Local Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("b958dbfbdd00124a")
How it ran

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

ParamAugment Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("65278bf1e0bee215")
How it ran

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

ResNet Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("f006f77e8ccb48cb")
How it ran

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

args_parser Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("7f3622cff695824d")
How it ran

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

clients_indices Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("36ba6f83059427dd")
How it ran

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

match_loss Not yet run
unverified (harvested, no recorded run)
mala-lab/FedHPro/main_run.py
pointer only (licence: NONE) · get_code("ffc176d761cbbebf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/FedHPro 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 29 samples lifted from this paper's linked repositories, 29 carry a function identity and 0 do not. Of the 29 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 23 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
brick of this paper's assembly: helper
27 other papers
27 dated earlier
2010.05595 (2020-10)
Rethinking Experience Replay: a Bag of Tricks for Continual Learning
2108.06552 (2021-08)
Continual Semi-Supervised Learning through Contrastive Interpolation Consistency
2203.12817 (2022-03)
Continual Learning and Private Unlearning
and 24 more not named here
DiffAugment
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2203.01531 (2022-03)
CAFE: Learning to Condense Dataset by Aligning Features
2307.14959 (2023-07)
Federated Model Aggregation via Self-Supervised Priors for Highly Imbalanced Medical Image Classification
TensorDataset
brick of this paper's assembly: helper
2 other papers
2 dated earlier · 1 only as an assembly brick
2203.01531 (2022-03)
CAFE: Learning to Condense Dataset by Aligning Features
2310.00093 (2023-10)
DataDAM: Efficient Dataset Distillation with Attention Matching
classify_label
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2312.12703 (2023-12)
Federated Learning with Extremely Noisy Clients via Negative Distillation
clients_indices
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2409.12105 (2024-09)
FedLF: Adaptive Logit Adjustment and Feature Optimization in Federated Long-Tailed Learning
show_clients_data_distribution
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2409.12105 (2024-09)
FedLF: Adaptive Logit Adjustment and Feature Optimization in Federated Long-Tailed Learning

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 training of distributed clients while protecting privacy. To enhance generalization capability in FL, prototype-based FL is in the spotlight, since shared global prototypes offer semantic anchors for aligning client-specific local prototypes. However, existing methods update global prototypes at the prototype-level via averaging local prototypes or refining global anchors, which often leads to semantic drift across clients and subsequently yields a misaligned global signal. To alleviate this issue, we introduce hyper-prototypes, defined by a set of learnable global class-wise prototypes to preserve underlying semantic knowledge across clients. The hyper-prototypes are optimized via gradient matching to align with class-relevant characteristics distilled directly from clients' real samples, rather than prototype-level descriptors. We further propose FedHPro, a Federated Hyper-Prototype Learning framework, to leverage hyperprototypes to promote inter-class separability via mutual-contrastive learning with client-specific margin, while encouraging intra-class uniformity through a consistency penalty. Comprehensive experiments under diverse heterogeneous scenarios confirm that 1) hyper-prototypes produce a more semantically consistent global signal, and 2) FedHPro achieves state-of-the-art performance on several benchmark datasets. Code is available at https://github.com/mala-lab/FedHPro.

For agents

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

get_harvested_code_for_paper("2605.13475")
get_code_for_paper("2605.13475")
have("2605.13475")

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

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

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

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

Connect an agent — have() is free.