SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.12229 · NeurIPS · 2020

Throughput-Optimal Topology Design for Cross-Silo Federated Learning

Othmane Marfoq, Chuan Xu, Giovanni Neglia, Richard Vidal

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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; 1 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2010.12229.json · badge: /api/ran/2010.12229.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
omarfoq/communication-in-cross-silo-fl canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
epoch_time Ran
ran, honoured the contract we drafted
omarfoq/communication-in-cross-silo-fl/models/model.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from takashiishida/flooding, is pointer only (licence: GPL-3.0) · get_code("3e21e6589663b136")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from takashiishida/flooding, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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_iterator_femnist Ran
ran on a synthesized input
omarfoq/communication-in-cross-silo-fl/loaders/femnist.py
code served (permissive licence) · get_code("167e9829ead66eb9")
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, through the batch API) and returned DataLoader. 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 pickle
import os
import tempfile
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a temporary directory for test data
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'data', 'femnist')
os.makedirs(data_dir, exist_ok=True)

# Create a small dummy image and save it
dummy_image = Image.new('L', (28, 28), color=128)
img_path = os.path.join(data_dir, 'test_img.png')
dummy_image.save(img_path)

# Create pickle file with dataset metadata
# Each entry is a tuple of (relative_path, label)
dataset_data = [
    ('test_img.png', 0),
    ('test_img.png', 1),
]

pickle_path = os.path.join(temp_dir, 'dataset.pkl')
with open(pickle_path, 'wb') as f:
    pickle.dump(dataset_data, f)

# Define arguments
ARGS = {
    'file_path': pickle_path,
    'device': torch.device('cpu'),
    'batch_size': 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataLoader — a DataLoader output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataLoader 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_iterator_inaturalist Ran
ran on a synthesized input
omarfoq/communication-in-cross-silo-fl/loaders/inaturalist.py
code served (permissive licence) · get_code("c63deb01b0774915")
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, through the batch API) and returned DataLoader. 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 os
import pickle
import torch
from PIL import Image
import tempfile
from torchvision.transforms import Compose, ToTensor, Normalize, CenterCrop

torch.manual_seed(0)

# Create a temporary directory structure for the test
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'data', 'inaturalist')
os.makedirs(data_dir, exist_ok=True)

# Create a small dummy image
dummy_image = Image.new('RGB', (256, 256), color=(73, 109, 137))
img_path = os.path.join(data_dir, 'dummy_image.jpg')
dummy_image.save(img_path)

# Create pickle file with dataset metadata
# Each entry is (relative_path_from_root, class_label)
pkl_data = [
    ('dummy_image.jpg', 0),
    ('dummy_image.jpg', 1),
]

pkl_file = os.path.join(temp_dir, 'dataset.pkl')
with open(pkl_file, 'wb') as f:
    pickle.dump(pkl_data, f)

# Set up arguments
device = 'cpu'

ARGS = {
    'file_path': pkl_file,
    'device': device,
    'batch_size': 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataLoader — a DataLoader output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataLoader 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
init_iteration_end_time Ran
ran on a synthesized input
omarfoq/communication-in-cross-silo-fl/graph_utils/time_simulator.py
code served (permissive licence) · get_code("45a2d8db26f02806")
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, through the batch API) and returned DiGraph. 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 networkx as nx

# Create a small directed graph overlay network
overlay = nx.DiGraph()

# Add a few nodes to the graph
overlay.add_nodes_from([0, 1, 2])

# Add some edges
overlay.add_edges_from([(0, 1), (1, 2)])

# Define the arguments
ARGS = {
    'overlay': overlay,
    'computation_time': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiGraph — a DiGraph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DiGraph output the recorded ndim 1 and dtype family int 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
initialize_delays Ran
ran on a synthesized input
omarfoq/communication-in-cross-silo-fl/graph_utils/time_simulator.py
code served (permissive licence) · get_code("37736d5d8ebcb937")
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, through the batch API) and returned Graph. 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 networkx as nx

# Create a simple underlay graph (network topology)
underlay = nx.Graph()
underlay.add_edge('A', 'B', weight=10.5)
underlay.add_edge('B', 'C', weight=15.3)

# Create an overlay graph with edges that have 'weight' attribute
overlay = nx.Graph()
overlay.add_edge(0, 1, weight=5.2)
overlay.add_edge(1, 2, weight=8.7)
overlay.add_edge(0, 2, weight=12.1)

# Model size in bits
model_size = 1000000

ARGS = {
    'underlay': underlay,
    'overlay': overlay,
    'model_size': model_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Graph — a Graph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Graph output the recorded ndim 1 and dtype family int 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

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 3 later) and 2 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
epoch_time 10 other papers
3 dated earlier, 7 later
1608.07017 (2016-08)
Ambient Sound Provides Supervision for Visual Learning
1911.05343 (2019-11)
A Stable Variational Autoencoder for Text Modelling
2002.08709 (2020-02)
Do We Need Zero Training Loss After Achieving Zero Training Error?
and 7 more not named here
init_iteration_end_time 1 other paper
1 later
Do_Reducing_Training_Time_in_Cross-Silo_Federated_Learning_Using_Multigraph_Topology_ICCV_2023_paper (2023 (year only))
Reducing Training Time in Cross-Silo Federated Learning using Multigraph Topology
initialize_delays 1 other paper
1 later
Do_Reducing_Training_Time_in_Cross-Silo_Federated_Learning_Using_Multigraph_Topology_ICCV_2023_paper (2023 (year only))
Reducing Training Time in Cross-Silo Federated Learning using Multigraph Topology

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 usually employs a server-client architecture where an orchestrator iteratively aggregates model updates from remote clients and pushes them back a refined model. This approach may be inefficient in cross-silo settings, as close-by data silos with high-speed access links may exchange information faster than with the orchestrator, and the orchestrator may become a communication bottleneck. In this paper we define the problem of topology design for cross-silo federated learning using the theory of max-plus linear systems to compute the system throughput-number of communication rounds per time unit. We also propose practical algorithms that, under the knowledge of measurable network characteristics, find a topology with the largest throughput or with provable throughput guarantees. In realistic Internet networks with 10 Gbps access links at silos, our algorithms speed up training by a factor 9 and 1.5 in comparison to the server-client architecture and to state-of-the-art MATCHA, respectively. Speedups are even larger with slower access links.

For agents

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

get_harvested_code_for_paper("2010.12229")
get_code_for_paper("2010.12229")
have("2010.12229")

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

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

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

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

Connect an agent — have() is free.