arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.17138cs.LG
收藏

结构不足够:利用行为进行神经网络权重重构

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

University of St. Gallen(圣加仑大学);Ludwig-Maximilians-University Munich(慕尼黑大学)

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

AI总结:

该研究针对权重空间自编码器重构的神经网络性能下降问题,提出在结构损失基础上加入行为损失,通过结合结构与行为信号提升了权重重构、生成等下游任务性能。

摘要:

神经网络(NNs)的权重近年来作为机器学习中的一种新型数据模态受到广泛关注,其应用范围涵盖准确率与超参数预测、表示学习以及权重生成等领域。利用神经网络权重的一种方法是训练自编码器(AEs),采用对比损失和重构损失。这使得此类模型能够应用于多种下游任务,且展现出强劲的预测性能和较低的重构误差。然而,尽管重构误差较低,这些自编码器重构出的神经网络模型与原始模型相比性能有所下降,限制了其在模型权重生成方面的可用性。在本文中,我们指出了权重空间自编码器的一个局限性,特别强调:使用原始权重与重构权重之间欧氏距离的结构损失,无法捕捉到对重构高性能模型至关重要的某些特征。我们分析了在权重空间中训练自编码器时加入行为损失的效果,该损失在给定相同输入的情况下,比较重构模型与原始模型的输出。我们证明结构信号与行为信号之间存在强协同作用,能够提升所有被评估下游任务的性能,尤其是在神经网络权重重构和生成任务中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑