SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.06966 · 2023

Layer-wise Linear Mode Connectivity

arXiv · PDF · Open in the Atlas

Code that ran

13 of 18 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; 3 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 6 failures of our instrument; 5 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/2307.06966.json · badge: /api/ran/2307.06966.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
link-er/layer-wise-lmc canonical (classifier label)
classifier basis: census
13 ran · 5 no recorded run
FunctionStatusWhere it lives
extract_column Ran
ran, honoured the contract we drafted
link-er/layer-wise-lmc/LLMC/layer_cumulative_heatmap.py
pointer only (licence: NONE) · get_code("44f01653b8cf1975")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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.

flatten_weights Ran
ran, honoured the contract we drafted
link-er/layer-wise-lmc/LLMC/nets_function_similarity.py
pointer only (licence: NONE) · get_code("40cc1995de8f761a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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.

function_similarity Ran
ran, honoured the contract we drafted
link-er/layer-wise-lmc/LLMC/nets_function_similarity.py
pointer only (licence: NONE) · get_code("b592d76b4f6b4201")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_barrier Ran
ran on a synthesized input
link-er/layer-wise-lmc/LLMC/barrier.py
pointer only (licence: NONE) · get_code("9eb1fab42625b164")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_fed_cifar10_loaders Ran
ran; our contract draft was wrong, not the code
link-er/layer-wise-lmc/LLMC/datasets.py
pointer only (licence: NONE) · get_code("3f4f5555d18d1bba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_full_fed_cifar10_loaders Ran
ran; our contract draft was wrong, not the code
link-er/layer-wise-lmc/LLMC/datasets.py
pointer only (licence: NONE) · get_code("49957b7ee1419059")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_layer_barrier Ran
ran; our contract draft was wrong, not the code
link-er/layer-wise-lmc/LLMC/barrier.py
pointer only (licence: NONE) · get_code("192d974fb6f9cd09")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_layer_blocks Ran
ran; our contract draft was wrong, not the code
link-er/layer-wise-lmc/LLMC/pythia_models.py
pointer only (licence: NONE) · get_code("a970412946104eb4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_layer_random_barrier Ran
ran on a synthesized input
link-er/layer-wise-lmc/LLMC/barrier.py
pointer only (licence: NONE) · get_code("bf025bbca4033969")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_states Ran
ran on a synthesized input
link-er/layer-wise-lmc/LLMC/layer_cumulative_compute.py
pointer only (licence: NONE) · get_code("728827a3563e0670")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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_states Ran
ran on a synthesized input
link-er/layer-wise-lmc/LLMC/layerwise_nonconvex_compute.py
pointer only (licence: NONE) · get_code("b5348d1b58a5796c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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.

interpolate_state_dicts Ran
ran; our contract draft was wrong, not the code
link-er/layer-wise-lmc/LLMC/pythia_models.py
pointer only (licence: NONE) · get_code("e66ee958fa003cab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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.

model_predictions Ran
ran; our contract draft was wrong, not the code
link-er/layer-wise-lmc/LLMC/nets_function_similarity.py
pointer only (licence: NONE) · get_code("ead38901ea916085")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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.

create_data_for_heatmap Not yet run
unverified (harvested, no recorded run)
link-er/layer-wise-lmc/LLMC/layer_cumulative_heatmap.py
pointer only (licence: NONE) · get_code("7e43290c7da2aebf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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. No invocation recorded.

create_data_for_heatmap Not yet run
unverified (harvested, no recorded run)
link-er/layer-wise-lmc/LLMC/layerwise_nonconvex_heatmap.py
pointer only (licence: NONE) · get_code("bb2dace4d2cf2be6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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. No invocation recorded.

create_data_for_heatmap Not yet run
unverified (harvested, no recorded run)
link-er/layer-wise-lmc/LLMC/layerwise_robustness_plot.py
pointer only (licence: NONE) · get_code("34569af015a2523b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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. No invocation recorded.

get_cifar10_loaders Not yet run
unverified (harvested, no recorded run)
link-er/layer-wise-lmc/LLMC/datasets.py
pointer only (licence: NONE) · get_code("2d5f7b5584850a83")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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. No invocation recorded.

get_wikitext_data Not yet run
unverified (harvested, no recorded run)
link-er/layer-wise-lmc/LLMC/pythia_models.py
pointer only (licence: NONE) · get_code("eb9415ddd7c070b8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, link-er/layer-wise-lmc when it was checked. 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. No invocation recorded.

Also present in other papers' code

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

Averaging neural network parameters is an intuitive method for fusing the knowledge of two independent models. It is most prominently used in federated learning. If models are averaged at the end of training, this can only lead to a good performing model if the loss surface of interest is very particular, i.e., the loss in the midpoint between the two models needs to be sufficiently low. This is impossible to guarantee for the non-convex losses of state-of-the-art networks. For averaging models trained on vastly different datasets, it was proposed to average only the parameters of particular layers or combinations of layers, resulting in better performing models. To get a better understanding of the effect of layer-wise averaging, we analyse the performance of the models that result from averaging single layers, or groups of layers. Based on our empirical and theoretical investigation, we introduce a novel notion of the layer-wise linear connectivity, and show that deep networks do not have layer-wise barriers between them.

For agents

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

get_harvested_code_for_paper("2307.06966")
get_code_for_paper("2307.06966")
have("2307.06966")

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

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

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

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

Connect an agent — have() is free.