Papers › FedHPro: Federated Hyper-Prototype Learning via Gradient Matching

FedHPro: Federated Hyper-Prototype Learning via Gradient Matching

13 May 2026ICMLarXiv:2605.13475added by Syntology

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

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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 hyper-prototypes 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 \href{https://github.com/mala-lab/FedHPro}{https://github.com/mala-lab/FedHPro}.

PaperPDFCode 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="2605.13475")

Code

Syntology Ran 21 of 29 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 14 ran · our draft was wrong; 2 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: found in paper text by Syntology: 29 samples from 1 repository, 21 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mala-lab/FedHPro found in paper text by Syntology report

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

29 samples harvested; 21 ran; 2 honoured the contract we drafted; 8 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.

2ran · honoured contract
1ran · violated contract
14ran · our draft was wrong
2ran · fixture could not drive it
2ran
8unverified

Licence: 29 of the 29 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 mala-lab/FedHPro. “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.

BasicBlock mala-lab/FedHPro/main_run.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · fb092ad2e962f35d · report
DiffAugment mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · 655f5003e174acea · report
TensorDataset mala-lab/FedHPro/main_run.py found in paper text by Syntology ran no licence file found · pointer only · ec02bbab57d76432 · report
build_dataloader mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · b57b5bd7c4b8f301 · report
build_non_iid_by_dirichlet mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · b4c1b12e55eb5ab1 · report
classify_label mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 7f1c8cbd622ebc50 · report
conv3x3 mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 334d6dae5b67e789 · report
dataset_on_cuda mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · 5709bffb148052d0 · report
get_class_num mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 5071564c5a3a5910 · report
match_meta mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 9685a8e3bdc388f2 · report
move_batch_to_device mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 00adaf9b0e883dc4 · report
rand_brightness mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · bbcf3d37a05e74fa · report
rand_contrast mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · da0792c30cd6923d · report
rand_crop mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · ce0a33dfa808c724 · report
rand_cutout mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · d3cd62c7852afac2 · report
rand_flip mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 17a10de2cc4da2e2 · report
rand_rotate mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · dffd8500daa6b52b · report
rand_saturation mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 0d4958248aaee956 · report
rand_scale mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 2cc42f2e0f92442c · report
resnet10 mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 527678683212df5e · report
show_clients_data_distribution mala-lab/FedHPro/main_run.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 359d7476c4dac80c · report
FedHPro mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · 49b7d702febb94e7 · report
Global mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · 1ea4d216b47f2c00 · report
Local mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · b958dbfbdd00124a · report
ParamAugment mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · 65278bf1e0bee215 · report
ResNet mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · f006f77e8ccb48cb · report
args_parser mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · 7f3622cff695824d · report
clients_indices mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · 36ba6f83059427dd · report
match_loss mala-lab/FedHPro/main_run.py found in paper text by Syntology unverified no licence file found · pointer only · ffc176d761cbbebf · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.13475, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

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