arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.03088cs.LGstat.ML
收藏

自校正网络:使用结构化最佳响应函数的超参数双层优化

Self-Tuning Networks: Bilevel Optimization of Hyperparameters using Structured Best-Response Functions

University of Toronto(多伦多大学);Vector Institute(向量研究所)

Matthew MacKay, Paul Vicol, Jon Lorraine, David Duvenaud, Roger Grosse

摘要:

超参数优化可以用公式表示为双层优化问题,其中训练集上的最优参数取决于超参数。我们的目标是通过将紧凑近似拟合到最佳响应函数来适应神经网络的正则化超参数,该函数将超参数映射到最佳权重和偏差。我们展示了如何通过将最佳响应建模为单个网络来构建神经网络的可扩展最佳响应近似,该网络的隐藏单元在正则化器上有条件地被选通。我们证明了这种近似,通过显示具有L2正则化雅可比矩阵的浅线性网络的确切最佳响应可以由类似的门控机制表示。我们使用基于梯度的超参数优化算法拟合该模型,该算法在当前超参数周围近似最佳响应和使用近似最佳响应函数优化超参数之间交替。与其他基于梯度的方法不同,我们不需要区分训练损失与超参数,允许我们调整离散超参数,数据增强超参数和辍学概率。由于超参数是在线适应的,我们的方法发现超参数时间表,可以超过固定的超参数值。从经验上讲,我们的方法在大规模深度学习问题上优于竞争的超参数优化方法。我们将在训练过程中在线更新自己的超参数的网络称为自调优网络(STNs)。

英文摘要:

Hyperparameter optimization can be formulated as a bilevel optimization problem, where the optimal parameters on the training set depend on the hyperparameters. We aim to adapt regularization hyperparameters for neural networks by fitting compact approximations to the best-response function, which maps hyperparameters to optimal weights and biases. We show how to construct scalable best-response approximations for neural networks by modeling the best-response as a single network whose hidden units are gated conditionally on the regularizer. We justify this approximation by showing the exact best-response for a shallow linear network with L2-regularized Jacobian can be represented by a similar gating mechanism. We fit this model using a gradient-based hyperparameter optimization algorithm which alternates between approximating the best-response around the current hyperparameters and optimizing the hyperparameters using the approximate best-response function. Unlike other gradient-based approaches, we do not require differentiating the training loss with respect to the hyperparameters, allowing us to tune discrete hyperparameters, data augmentation hyperparameters, and dropout probabilities. Because the hyperparameters are adapted online, our approach discovers hyperparameter schedules that can outperform fixed hyperparameter values. Empirically, our approach outperforms competing hyperparameter optimization methods on large-scale deep learning problems. We call our networks, which update their own hyperparameters online during training, Self-Tuning Networks (STNs).

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

↑