SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.01366 · ICML · 2022

Paper under review SUPERNET TRAINING FOR FEDERATED IMAGE CLAS-SIFICATION UNDER SYSTEM HETEROGENEITY

Se-Young Yun, Taehyeon Kim

arXiv · PDF · Open in the Atlas

Code that ran

1 of 4 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 3 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/2206.01366.json · badge: /api/ran/2206.01366.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
Kthyeon/fedsup canonical (classifier label)
classifier basis: classifier_2025
1 ran · 3 no recorded run
FunctionStatusWhere it lives
create_model Ran
ran; our contract draft was wrong, not the code
Kthyeon/fedsup/models/model_factory.py
code served (permissive licence) · get_code("7de57851e2c68907")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned MockFedDynamicModel. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class MockSupernet(nn.Module):
    def __init__(self, config, n_classes, bn_param):
        super().__init__()
        self.config = config
        self.n_classes = n_classes
        self.bn_param = bn_param
        self.linear = nn.Linear(4, n_classes)
        self._active_subnet = None
    
    def load_weights_from_pretrained_models(self, path):
        pass
    
    def set_active_subnet(self, resolution, width, depth, kernel_size, expand_ratio):
        self._active_subnet_config = {
            'resolution': resolution,
            'width': width,
            'depth': depth,
            'kernel_size': kernel_size,
            'expand_ratio': expand_ratio
        }
    
    def get_active_subnet(self):
        subnet = nn.Linear(4, self.n_classes)
        return subnet
    
    def set_bn_param(self, momentum, eps):
        pass
    
    def forward(self, x):
        return self.linear(x)

class MockFedDynamicModel(nn.Module):
    def __init__(self, config, n_classes, bn_param):
        super().__init__()
        self.config = config
        self.n_classes = n_classes
        self.bn_param = bn_param
        self.linear = nn.Linear(4, n_classes)
    
    def load_weights_from_pretrained_models(self, path):
        pass
    
    def set_active_subnet(self, resolution, width, depth, kernel_size, expand_ratio):
        pass
    
    def get_active_subnet(self):
        return nn.Linear(4, self.n_classes)
    
    def set_bn_param(self, momentum, eps):
        pass
    
    def forward(self, x):
        return self.linear(x)

class MockArgs:
    def __init__(self):
        self.num_classes = 10
        self.bn_momentum = 0.1
        self.bn_eps = 1e-5
        self.dropout = 0.1
        self.drop_connect = 0.0
        self.arch = 'fed_nas_dynamic_model'
        self.supernet_config = {'layers': 3, 'channels': 32}
        self.pareto_models = type('obj', (object,), {'supernet_checkpoint_path': '/tmp/model.pt'})()
        self.active_subnet = type('obj', (object,), {
            'resolution': 224,
            'width': 1.0,
            'depth': 1.0,
            'kernel_size': 3,
            'expand_ratio': 6
        })()

# Monkey-patch the FedDynamicModel in the module namespace
import sys
current_module = sys.modules[__name__]
setattr(current_module, 'FedDynamicModel', MockFedDynamicModel)

ARGS = {
    'args': MockArgs(),
    'arch': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MockFedDynamicModel — a MockFedDynamicModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MockFedDynamicModel output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_my_model Not yet run
unverified (harvested, no recorded run)
Kthyeon/fedsup/utils/comm.py
code served (permissive licence) · get_code("68d19ed82e7c5cee")
How it ran

no invocation recorded.

get_parallel_model Not yet run
unverified (harvested, no recorded run)
Kthyeon/fedsup/utils/comm.py
code served (permissive licence) · get_code("0c26f59a316db857")
How it ran

no invocation recorded.

reduce_eval_results Not yet run
unverified (harvested, no recorded run)
Kthyeon/fedsup/utils/comm.py
code served (permissive licence) · get_code("0bc73837e6685e49")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 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 4 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-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

Efficient deployment of deep neural networks across many devices and resource constraints, particularly on edge devices, is one of the most challenging problems in the presence of data-privacy preservation issues. Conventional approaches have evolved to either improve a single global model while keeping each local heterogeneous training data decentralized (i.e. data heterogeneity; Federated Learning (FL)) or to train an overarching network that supports diverse architectural settings to address heterogeneous systems equipped with different computational capabilities (i.e. system heterogeneity; Neural Architecture Search). However, few studies have considered both directions simultaneously. This paper proposes the federation of supernet training (FedSup) framework to consider both scenarios simultaneously, i.e., where clients send and receive a supernet that contains all possible architectures sampled from itself. The approach is inspired by observing that averaging parameters during model aggregation for FL is similar to weight-sharing in supernet training. Thus, the proposed FedSup framework combines a weightsharing approach widely used for training single shot models with FL averaging (FedAvg). Furthermore, we develop an efficient algorithm (E-FedSup) by sending the sub-model to clients on the broadcast stage to reduce communication costs and training overhead, including several strategies to enhance supernet training in the FL environment. We verify the proposed approach with extensive empirical evaluations. The resulting framework also ensures data and model heterogeneity robustness on several standard benchmarks.

For agents

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

get_harvested_code_for_paper("2206.01366")
get_code_for_paper("2206.01366")
have("2206.01366")

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

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

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

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

Connect an agent — have() is free.