Papers › Towards Scalable and Versatile Weight Space Learning

Towards Scalable and Versatile Weight Space Learning

14 Jun 2024arXiv:2406.09997archive 2025-07-28

Konstantin Schürholt, Michael W. Mahoney, Damian Borth

Learning representations of well-trained neural network models holds the promise to provide an understanding of the inner workings of those models. However, previous work has either faced limitations when processing larger networks or was task-specific to either discriminative or generative tasks. This paper introduces the SANE approach to weight-space learning. SANE overcomes previous limitations by learning task-agnostic representations of neural networks that are scalable to larger models of varying architectures and that show capabilities beyond a single task. Our method extends the idea of hyper-representations towards sequential processing of subsets of neural network weights, thus allowing one to embed larger neural networks as a set of tokens into the learned representation space. SANE reveals global model information from layer-wise embeddings, and it can sequentially generate unseen neural network models, which was unattainable with previous hyper-representation learning methods. Extensive empirical evaluation demonstrates that SANE matches or exceeds state-of-the-art performance on several weight representation learning benchmarks, particularly in initialization for new tasks and larger ResNet architectures.

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="2406.09997")

Code

Syntology Ran 11 of 15 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 11 ran with no contract checked.

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

hsg-aiml/sane officialmentioned in papermentioned on GitHubpytorch 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

15 samples harvested; 11 ran; 0 honoured the contract we drafted; 4 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.

11ran
4unverified

Licence: 15 of the 15 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 hsg-aiml/sane. “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.

Block hsg-aiml/sane/src/SANE/models/def_AE.py official repository ran no licence file found · pointer only · e3b41e6df5019382 · report
LayerNorm hsg-aiml/sane/src/SANE/models/def_AE.py official repository ran fingerprinted no licence file found · pointer only · 62d9432b16366a2a · report
MLP hsg-aiml/sane/src/SANE/models/def_AE.py official repository ran no licence file found · pointer only · 4b37e2f3f3e35907 · report
PositionEmbs hsg-aiml/sane/src/SANE/models/def_AE.py official repository ran no licence file found · pointer only · 56918c3afce71745 · report
SelfAttention hsg-aiml/sane/src/SANE/models/def_AE.py official repository ran no licence file found · pointer only · e81937cece236ca0 · report
SimpleProjectionHead hsg-aiml/sane/src/SANE/models/def_AE.py official repository ran no licence file found · pointer only · 10cc09608b9478b4 · report
TransformerEncoder hsg-aiml/sane/src/SANE/models/def_AE.py official repository ran no licence file found · pointer only · c2a9b982aaf5a3cd · report
permute_model_vector HSG-AIML/SANE/src/SANE/datasets/augmentations.py official repository ran no licence file found · pointer only · 889fe8497b0ba7c8 · report
read_properties_from_path HSG-AIML/SANE/src/SANE/datasets/dataset_epochs.py official repository ran no licence file found · pointer only · 5ac745803cfc2796 · report
test_checkpoint_for_nan HSG-AIML/SANE/src/SANE/datasets/dataset_auxiliaries.py official repository ran no licence file found · pointer only · ec1ff9919f412754 · report
test_checkpoint_with_threshold HSG-AIML/SANE/src/SANE/datasets/dataset_auxiliaries.py official repository ran no licence file found · pointer only · d2a9bd8273d8f5d4 · report
AE hsg-aiml/sane/src/SANE/models/def_AE.py official repository unverified no licence file found · pointer only · e89a53ea969fce78 · report
get_net_epoch_lst_from_label HSG-AIML/SANE/src/SANE/datasets/dataset_auxiliaries.py official repository unverified no licence file found · pointer only · 31ce1adb9a55256c · report
read_properties_from_path HSG-AIML/SANE/src/SANE/datasets/dataset_properties.py official repository unverified no licence file found · pointer only · 790ee3cda94b46c4 · report
sleep_then_increment HSG-AIML/SANE/src/SANE/datasets/progress_bar.py official repository unverified no licence file found · pointer only · 20834a80f80685f1 · report

Tasks

Representation LearningWeight Space Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Average PoolingConvolutionGlobal Average PoolingKaiming InitializationMax PoolingSET

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