SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2208.13141 · 2022

Federated Learning of Large Models at the Edge via Principal Sub-Model Training

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 8 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
yuehniu/modeldecomp-fl canonical 6 of 8
FunctionStatusWhere it lives
acc Ran yuehniu/modeldecomp-fl/train_lstm.py
code served (permissive licence) · get_code("81505923a530f45c")
checkpoint_filter_fn Ran yuehniu/modeldecomp-fl/model/deit.py
code served (permissive licence) · get_code("319045db1eb712a2")
conv3x3 Ran yuehniu/modeldecomp-fl/model/resnetcifar.py
code served (permissive licence) · get_code("fac5364e2f53c6db")
make_layers Ran yuehniu/modeldecomp-fl/model/vgg.py
code served (permissive licence) · get_code("5d1fff545c974a71")
resnet18 Ran yuehniu/modeldecomp-fl/model/resnetcifar.py
code served (permissive licence) · get_code("83de15a130d19eaf")
resnet34 Ran yuehniu/modeldecomp-fl/model/resnetcifar.py
code served (permissive licence) · get_code("882ddc92c5bf1a56")
deit_tiny_patch16_224 Not yet run yuehniu/modeldecomp-fl/model/deit.py
code served (permissive licence) · get_code("a317bb565e43057e")
resize_pos_embed Not yet run yuehniu/modeldecomp-fl/model/deit.py
code served (permissive licence) · get_code("1dbef2d4da4ee10f")

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) is emerging as a popular, promising decentralized learning framework that enables collaborative training among clients, with no need to share private data between them or to a centralized server. However, considering many edge clients do not have sufficient computing, memory, or communication capabilities, federated learning of large models still faces significant bottlenecks. To keep such weak but crucial clients in the loop, prior works either consider a heterogeneous-client setting where clients train models with different sizes; or offload training to the server. However, the heterogeneous-client setting requires some clients to train full model, which is not aligned with the resource-constrained setting; while the latter ones break privacy promises in FL when sharing intermediate representations or labels with the server. To overcome these limitations, in this work, we formulate a realistic, but much less explored, cross-device FL setting in which no client can train a full large model nor is willing to share any intermediate information with the remote server. Under such a formulation, we develop a principal sub-model (PriSM) training methodology to collaboratively train a full large model, while assigning each client a small sub-model that is a probabilistic low-rank approximation to the full server model. When creating sub-models, PriSM first performs a principal kernel analysis in the orthogonal kernel space to obtain importance of each kernel. Then, PriSM adopts a novel importance-aware sampling process to select a subset of kernels (i.e., a kernel with high importance is assigned with a higher sampling probability). This sampling process ensures each sub-model is still a low-rank approximation to the full model, while all sub-models together achieve nearly full coverage on the principal kernels.

For agents

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

get_harvested_code_for_paper("2208.13141")
get_code_for_paper("2208.13141")
have("2208.13141")

Connect an agent — have() is free.