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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Meynent, Léo, Melev, Ivan, Schürholt, Konstantin, Kauermann, Göran, Borth, Damian
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915208224571392
author Meynent, Léo
Melev, Ivan
Schürholt, Konstantin
Kauermann, Göran
Borth, Damian
author_facet Meynent, Léo
Melev, Ivan
Schürholt, Konstantin
Kauermann, Göran
Borth, Damian
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_17138
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Structure Is Not Enough: Leveraging Behavior for Neural Network Weight Reconstruction
Meynent, Léo
Melev, Ivan
Schürholt, Konstantin
Kauermann, Göran
Borth, Damian
Machine Learning
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.
title Structure Is Not Enough: Leveraging Behavior for Neural Network Weight Reconstruction
topic Machine Learning
url https://arxiv.org/abs/2503.17138