Adaptive Width Neural Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Errica, Federico, Christiansen, Henrik, Zaverkin, Viktor, Niepert, Mathias, Alesiani, Francesco
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915798894772224
author Errica, Federico
Christiansen, Henrik
Zaverkin, Viktor
Niepert, Mathias
Alesiani, Francesco
author_facet Errica, Federico
Christiansen, Henrik
Zaverkin, Viktor
Niepert, Mathias
Alesiani, Francesco
contents For almost 70 years, researchers have typically selected the width of neural networks' layers either manually or through automated hyperparameter tuning methods such as grid search and, more recently, neural architecture search. This paper challenges the status quo by introducing an easy-to-use technique to learn an unbounded width of a neural network's layer during training. The method jointly optimizes the width and the parameters of each layer via standard backpropagation. We apply the technique to a broad range of data domains such as tables, images, text, sequences, and graphs, showing how the width adapts to the task's difficulty. A by product of our width learning approach is the easy truncation of the trained network at virtually zero cost, achieving a smooth trade-off between performance and compute resources. Alternatively, one can dynamically compress the network until performances do not degrade. In light of recent foundation models trained on large datasets, requiring billions of parameters and where hyper-parameter tuning is unfeasible due to huge training costs, our approach introduces a viable alternative for width learning.
format Preprint
id arxiv_https___arxiv_org_abs_2501_15889
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Width Neural Networks
Errica, Federico
Christiansen, Henrik
Zaverkin, Viktor
Niepert, Mathias
Alesiani, Francesco
Machine Learning
Artificial Intelligence
For almost 70 years, researchers have typically selected the width of neural networks' layers either manually or through automated hyperparameter tuning methods such as grid search and, more recently, neural architecture search. This paper challenges the status quo by introducing an easy-to-use technique to learn an unbounded width of a neural network's layer during training. The method jointly optimizes the width and the parameters of each layer via standard backpropagation. We apply the technique to a broad range of data domains such as tables, images, text, sequences, and graphs, showing how the width adapts to the task's difficulty. A by product of our width learning approach is the easy truncation of the trained network at virtually zero cost, achieving a smooth trade-off between performance and compute resources. Alternatively, one can dynamically compress the network until performances do not degrade. In light of recent foundation models trained on large datasets, requiring billions of parameters and where hyper-parameter tuning is unfeasible due to huge training costs, our approach introduces a viable alternative for width learning.
title Adaptive Width Neural Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2501.15889