SWAT-NN: Simultaneous Weights and Architecture Training for Neural Networks in a Latent Space

Zitong Huang, Mansooreh Montazerin, Ajitesh Srivastava
6/9/2025
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Designing neural networks typically relies on manual trial and error or a neural architecture search (NAS) followed by weight training. The former is time-consuming and labor-intensive, while the latter often discretizes architecture search and weight optimization. In this paper, we propose a fundamentally different approach that simultaneously optimizes both the architecture and the weights of a neural network. Our framework first trains a universal multi-scale autoencoder that embeds both architectural and parametric information into a continuous latent space, where functionally similar neural networks are mapped closer together. Given a dataset, we then randomly initialize a point in the embedding space and update it via gradient descent to obtain the optimal neural network, jointly optimizing its structure and weights. The optimization process incorporates sparsity and compactness penalties to promote efficient models. Experiments on synthetic regression tasks demonstrate that our method effectively discovers sparse and compact neural networks with strong performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2025swatnn,
  title  = {SWAT-NN: Simultaneous Weights and Architecture Training for Neural Networks in a Latent Space},
  author = {Zitong Huang and Mansooreh Montazerin and Ajitesh Srivastava},
  year   = {2025},
  eprint = {2506.08270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.08270v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.08270.svg)](https://codeofpaper.com/paper/2506.08270)

Discussion