DeepWeightFlow: Re-Basined Flow Matching for Generating Neural Network Weights

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gupta, Saumya, Biggs, Scott, Laber, Moritz, Shafi, Zohair, Walters, Robin, Paul, Ayan
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918475081973760
author Gupta, Saumya
Biggs, Scott
Laber, Moritz
Shafi, Zohair
Walters, Robin
Paul, Ayan
author_facet Gupta, Saumya
Biggs, Scott
Laber, Moritz
Shafi, Zohair
Walters, Robin
Paul, Ayan
contents Building efficient and effective generative models for neural network weights has been a research focus of significant interest that faces challenges posed by the high-dimensional weight spaces of modern neural networks and their symmetries. Several prior generative models are limited to generating partial neural network weights, particularly for larger models, such as ResNet and ViT. Those that do generate complete weights struggle with generation speed or require finetuning of the generated models. In this work, we present DeepWeightFlow, a Flow Matching model that operates directly in weight space to generate diverse and high-accuracy neural network weights for a variety of architectures, neural network sizes, and data modalities. The neural networks generated by DeepWeightFlow do not require fine-tuning to perform well and can scale to large networks. We apply Git Re-Basin and TransFusion for neural network canonicalization in the context of generative weight models to account for the impact of neural network permutation symmetries and to improve generation efficiency for larger model sizes. The generated networks excel at transfer learning, and ensembles of hundreds of neural networks can be generated in minutes, far exceeding the efficiency of diffusion-based methods. DeepWeightFlow models pave the way for more efficient and scalable generation of diverse sets of neural networks.
format Preprint
id arxiv_https___arxiv_org_abs_2601_05052
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DeepWeightFlow: Re-Basined Flow Matching for Generating Neural Network Weights
Gupta, Saumya
Biggs, Scott
Laber, Moritz
Shafi, Zohair
Walters, Robin
Paul, Ayan
Machine Learning
Building efficient and effective generative models for neural network weights has been a research focus of significant interest that faces challenges posed by the high-dimensional weight spaces of modern neural networks and their symmetries. Several prior generative models are limited to generating partial neural network weights, particularly for larger models, such as ResNet and ViT. Those that do generate complete weights struggle with generation speed or require finetuning of the generated models. In this work, we present DeepWeightFlow, a Flow Matching model that operates directly in weight space to generate diverse and high-accuracy neural network weights for a variety of architectures, neural network sizes, and data modalities. The neural networks generated by DeepWeightFlow do not require fine-tuning to perform well and can scale to large networks. We apply Git Re-Basin and TransFusion for neural network canonicalization in the context of generative weight models to account for the impact of neural network permutation symmetries and to improve generation efficiency for larger model sizes. The generated networks excel at transfer learning, and ensembles of hundreds of neural networks can be generated in minutes, far exceeding the efficiency of diffusion-based methods. DeepWeightFlow models pave the way for more efficient and scalable generation of diverse sets of neural networks.
title DeepWeightFlow: Re-Basined Flow Matching for Generating Neural Network Weights
topic Machine Learning
url https://arxiv.org/abs/2601.05052