arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.15889cs.LGcs.AI
收藏

自适应宽度神经网络

Adaptive Width Neural Networks

NEC Laboratories Europe(NEC欧洲实验室);University of Stuttgart(斯图加特大学)

Federico Errica, Henrik Christiansen, Viktor Zaverkin, Mathias Niepert, Francesco Alesiani

AI总结:

本文提出了一种在训练过程中自适应调整神经网络层宽度的方法,通过反向传播联合优化宽度和参数,实现性能与计算资源的平衡,并能有效压缩网络以降低计算成本。

摘要:

在近70年的研究中,研究人员通常通过手动选择或自动超参数调优方法(如网格搜索,以及更近期的神经架构搜索)来选择神经网络层的宽度。本文挑战现状,介绍了一种易于使用的技术,在训练过程中学习神经网络层的无界宽度。该方法通过标准反向传播联合优化宽度和每层参数。我们将该技术应用于广泛的数据领域,如表格、图像、文本、序列和图,展示了宽度如何适应任务的难度。我们宽度学习方法的副产品是训练网络几乎零成本地进行截断,实现性能与计算资源之间的平滑权衡。或者,可以动态压缩网络,直到性能不再下降。鉴于最近基于大规模数据集训练的基础模型,需要数十亿参数,其中超参数调优由于巨大的训练成本而不可行,我们的方法提供了一种可行的宽度学习替代方案。

英文摘要:

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.

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

↑