Papers › Structure Is Not Enough: Leveraging Behavior for Neural Network Weight Reconstruction

Structure Is Not Enough: Leveraging Behavior for Neural Network Weight Reconstruction

21 Mar 2025arXiv:2503.17138archive 2025-07-28

Léo Meynent, Ivan Melev, Konstantin Schürholt, Göran Kauermann, Damian Borth

The weights of neural networks (NNs) have recently gained prominence as a new data modality in machine learning, with applications ranging from accuracy and hyperparameter prediction to representation learning or weight generation. One approach to leverage NN weights involves training autoencoders (AEs), using contrastive and reconstruction losses. This allows such models to be applied to a wide variety of downstream tasks, and they demonstrate strong predictive performance and low reconstruction error. However, despite the low reconstruction error, these AEs reconstruct NN models with deteriorated performance compared to the original ones, limiting their usability with regard to model weight generation. In this paper, we identify a limitation of weight-space AEs, specifically highlighting that a structural loss, that uses the Euclidean distance between original and reconstructed weights, fails to capture some features critical for reconstructing high-performing models. We analyze the addition of a behavioral loss for training AEs in weight space, where we compare the output of the reconstructed model with that of the original one, given some common input. We show a strong synergy between structural and behavioral signals, leading to increased performance in all downstream tasks evaluated, in particular NN weights reconstruction and generation.

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

Code

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

By repository: official repository: 13 samples from 1 repository, 4 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/ICLR_WSL_2025-Structure_is_not_enough officialmentioned on GitHubpytorchMIT 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

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

4ran
9unverified

Licence: 0 of the 13 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/ICLR_WSL_2025-Structure_is_not_enough. “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.

permute_model_vector HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/augmentations.py official repository ran MIT (permissive) · 889fe8497b0ba7c8 · report
read_properties_from_path HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_base.py official repository ran MIT (permissive) · 5ac745803cfc2796 · report
test_checkpoint_for_nan HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_auxiliaries.py official repository ran MIT (permissive) · ec1ff9919f412754 · report
test_checkpoint_with_threshold HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_auxiliaries.py official repository ran MIT (permissive) · d2a9bd8273d8f5d4 · report
cast_properties_to_numbers HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_ffcv_trojai.py official repository unverified MIT (permissive) · 6e1e8bc2c8ad772d · report
fib HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/skeleton.py official repository unverified MIT (permissive) · 227a3d4f5ac6c02d · report
get_net_epoch_lst_from_label HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_auxiliaries.py official repository unverified MIT (permissive) · 31ce1adb9a55256c · report
load_checkpoint HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_base.py official repository unverified MIT (permissive) · 336c00ba04cc94cf · report
load_checkpoint HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_base_trojai.py official repository unverified MIT (permissive) · e8143a66cdd639c4 · report
load_checkpoints_remote HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_base.py official repository unverified MIT (permissive) · 5fb96d161e21926b · report
load_checkpoints_remote HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_base_trojai.py official repository unverified MIT (permissive) · 2b29b730acf17450 · report
read_properties_from_path HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_properties.py official repository unverified MIT (permissive) · 790ee3cda94b46c4 · report
read_properties_from_path HSG-AIML/ICLR_WSL_2025-Structure_is_not_enough/skaling_hyper_reps/src/shrp/datasets/dataset_base_trojai.py official repository unverified MIT (permissive) · ca6ff6ea8664f6df · report

Tasks

Representation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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