Papers › FedConv: Enhancing Convolutional Neural Networks for Handling Data Heterogeneity in...

FedConv: Enhancing Convolutional Neural Networks for Handling Data Heterogeneity in Federated Learning

6 Oct 2023arXiv:2310.04412archive 2025-07-28

Peiran Xu, Zeyu Wang, Jieru Mei, Liangqiong Qu, Alan Yuille, Cihang Xie, Yuyin Zhou

Federated learning (FL) is an emerging paradigm in machine learning, where a shared model is collaboratively learned using data from multiple devices to mitigate the risk of data leakage. While recent studies posit that Vision Transformer (ViT) outperforms Convolutional Neural Networks (CNNs) in addressing data heterogeneity in FL, the specific architectural components that underpin this advantage have yet to be elucidated. In this paper, we systematically investigate the impact of different architectural elements, such as activation functions and normalization layers, on the performance within heterogeneous FL. Through rigorous empirical analyses, we are able to offer the first-of-its-kind general guidance on micro-architecture design principles for heterogeneous FL. Intriguingly, our findings indicate that with strategic architectural modifications, pure CNNs can achieve a level of robustness that either matches or even exceeds that of ViTs when handling heterogeneous data clients in FL. Additionally, our approach is compatible with existing FL techniques and delivers state-of-the-art solutions across a broad spectrum of FL benchmarks. The code is publicly available at https://github.com/UCSC-VLAA/FedConv

PaperPDFCodeCode 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.04412")

Code

Syntology Ran 12 of 18 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 4 ran · fixture could not drive it; 5 ran with no contract checked.

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

ucsc-vlaa/fedconv officialmentioned in papermentioned on GitHubpytorchMIT 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

18 samples harvested; 12 ran; 1 honoured the contract we drafted; 6 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 · honoured contract
2ran · our draft was wrong
4ran · fixture could not drive it
5ran
6unverified

Licence: 0 of the 18 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 ucsc-vlaa/fedconv. “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.

np2th ucsc-vlaa/fedconv/models/modeling.py official repository ran · fixture could not drive it MIT (permissive) · 7d8eaf5537f699e4 · report
swish ucsc-vlaa/fedconv/models/modeling.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 0f786c407fb1ee4c · report
window_partition ucsc-vlaa/fedconv/models/swin_mlp.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 144d10b49baeb8a6 · report
downsample_avg ucsc-vlaa/fedconv/models/fedconv.py official repository ran MIT (permissive) · 6ada0865c90c900f · report
downsample_avg ucsc-vlaa/fedconv/models/resnet.py official repository ran MIT (permissive) · 88a1713383891daf · report
downsample_conv ucsc-vlaa/fedconv/models/fedconv.py official repository ran MIT (permissive) · b40029fec7094af6 · report
downsample_conv ucsc-vlaa/fedconv/models/resnet.py official repository ran MIT (permissive) · eea0376ea397a1c7 · report
get_padding ucsc-vlaa/fedconv/models/fedconv.py official repository ran · honoured contract fingerprinted MIT (permissive) · 9b02c1068795fd5b · report
register_notrace_function ucsc-vlaa/fedconv/models/fx_features.py official repository ran MIT (permissive) · 926911eaf7b09162 · report
resize_pos_embed ucsc-vlaa/fedconv/models/vision_transformers.py official repository ran · fixture could not drive it MIT (permissive) · 191b2735955d18f4 · report
window_partition ucsc-vlaa/fedconv/models/swin_transformer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 80c66c535be6f491 · report
window_reverse ucsc-vlaa/fedconv/models/swin_mlp.py official repository ran · our draft was wrong MIT (permissive) · 61bf152e6a42a184 · report
build_model ucsc-vlaa/fedconv/models/build.py official repository unverified MIT (permissive) · 15181f7956a00a9b · report
build_model ucsc-vlaa/fedconv/models/build_orig.py official repository unverified MIT (permissive) · 74147d576b3e7b3b · report
checkpoint_filter_fn ucsc-vlaa/fedconv/models/vision_transformers.py official repository unverified MIT (permissive) · 6d8a1f8a0697180f · report
is_model ucsc-vlaa/fedconv/models/registry.py official repository unverified MIT (permissive) · cd2a47ded9dd84cf · report
list_models ucsc-vlaa/fedconv/models/registry.py official repository unverified MIT (permissive) · d14a6ca5ff9d530e · report
register_model ucsc-vlaa/fedconv/models/registry.py official repository unverified MIT (permissive) · e13039fb1c347452 · report

Tasks

Federated Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerVision Transformer

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