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

基于架构感知的超参数原则化缩放方法

Principled Architecture-aware Scaling of Hyperparameters

University of Texas, Austin(德克萨斯大学奥斯汀分校);Texas A&M University(德克萨斯农工大学);Google Research(谷歌研究院);Princeton University(普林斯顿大学)

Wuyang Chen, Junru Wu, Zhangyang Wang, Boris Hanin

AI总结:

本文提出一种架构感知的超参数缩放原则,精确刻画初始化与最大学习率对网络深度、宽度、卷积核及连接模式的依赖,并证明该策略可改变AutoML基准中的网络排名。

摘要:

训练高质量的深度神经网络需要选择合适的超参数,这是一个重要且代价高昂的过程。当前的研究尝试自动优化或设计超参数的原则,使其能够泛化到各种未见过的场景。然而,大多数设计或优化方法对网络结构的选择并不敏感,因此在很大程度上忽略了神经架构对超参数的影响。在这项工作中,我们精确刻画了初始化方法和最大学习率对网络架构的依赖关系,其中网络架构包括网络深度、宽度、卷积核大小以及连接模式。通过追求每个参数在预激活中具有相同的均方变化并实现最大程度更新,我们能够将初始化方法和学习率推广到具有复杂图拓扑的MLP(多层感知机)和CNN(卷积神经网络)上。我们通过全面的实验验证了这些原则。更重要的是,我们的策略进一步为推进当前架构设计基准提供了启示。AutoML算法的公平比较需要准确的网络排名。然而,我们证明,通过在基准中使用我们提出的架构感知学习率和初始化方法更好地训练网络,可以轻易改变网络排名。

英文摘要:

Training a high-quality deep neural network requires choosing suitable hyperparameters, which is a non-trivial and expensive process. Current works try to automatically optimize or design principles of hyperparameters, such that they can generalize to diverse unseen scenarios. However, most designs or optimization methods are agnostic to the choice of network structures, and thus largely ignore the impact of neural architectures on hyperparameters. In this work, we precisely characterize the dependence of initializations and maximal learning rates on the network architecture, which includes the network depth, width, convolutional kernel size, and connectivity patterns. By pursuing every parameter to be maximally updated with the same mean squared change in pre-activations, we can generalize our initialization and learning rates across MLPs (multi-layer perception) and CNNs (convolutional neural network) with sophisticated graph topologies. We verify our principles with comprehensive experiments. More importantly, our strategy further sheds light on advancing current benchmarks for architecture design. A fair comparison of AutoML algorithms requires accurate network rankings. However, we demonstrate that network rankings can be easily changed by better training networks in benchmarks with our architecture-aware learning rates and initialization.

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

↑