[论文解读] Understanding and correcting pathologies in the training of learned optimizers
本文提出了一种带有组合重参数化和进化策略梯度估计器的变分外部目标,以稳定学习优化器的训练,使在目标任务分布中对CNN的墙钟时间内优化比手设计方法更快。
Deep learning has shown that learned functions can dramatically outperform hand-designed functions on perceptual tasks. Analogously, this suggests that learned optimizers may similarly outperform current hand-designed optimizers, especially for specific problems. However, learned optimizers are notoriously difficult to train and have yet to demonstrate wall-clock speedups over hand-designed optimizers, and thus are rarely used in practice. Typically, learned optimizers are trained by truncated backpropagation through an unrolled optimization process resulting in gradients that are either strongly biased (for short truncations) or have exploding norm (for long truncations). In this work we propose a training scheme which overcomes both of these difficulties, by dynamically weighting two unbiased gradient estimators for a variational loss on optimizer performance, allowing us to train neural networks to perform optimization of a specific task faster than tuned first-order methods. We demonstrate these results on problems where our learned optimizer trains convolutional networks faster in wall-clock time compared to tuned first-order methods and with an improvement in test loss.
研究动机与目标
- 为特定任务定制学习优化算法,而非通用的手设计优化器以提升性能。
- 解决学习优化器训练中的病态,包括截断反向传播导致的梯度偏差和梯度爆炸的问题。
- 提出基于平滑损失的稳定外部目标及两种无偏梯度估计器。
- 证明学习优化器在墙钟时间上能更快地训练卷积网络并在目标任务上改进测试损失。
提出的方法
- 为学习优化器定义内部循环和外部循环优化。
- 通过TBPTT分析长展开中的偏差与梯度爆炸。
- 提出变分外部目标 L(theta) = E_{tilde_theta ~ N(theta, sigma^2 I)}[L(tilde_theta)]。
- 开发两种无偏梯度估计器:g_rp(重参数化)和 g_es(进化策略)。
- 使用逆方差加权合并梯度以稳定更新(g_merged)。
- 应用对偶采样以降低梯度方差。
- 使用增加的内部展开轮次的课程以提高稳定性和性能。
实验结果
研究问题
- RQ1在长展开下,带有组合梯度估计器的变分外部目标能否稳定学习优化器的训练?
- RQ2使用该方法训练的学习优化器在CNN内部任务上是否在墙钟时间上优于调优的手设计优化器?
- RQ3在验证损失上进行外部训练是否能提高对未见任务分布的泛化性?
- RQ4梯度估计器的选择和展开计划对优化器性能有何影响?
主要发现
- 带有变分外部目标的组合梯度估计器能够实现更长的展开而不发生梯度爆炸。
- 使用该方法训练的学习优化器在目标CNN任务上在墙钟时间上优于像SGD+Momentum、RMSProp和Adam等手设计优化器。
- 针对验证目标训练的优化器在未见任务上实现更快的收敛和更低的测试损失。
- 学习优化器能够泛化到分布外的任务,如具有不同架构和输入规模的MNIST。
- 消融研究表明梯度估计器和递增展开课程对性能至关重要。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。