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

基于超学习的批量自适应算法

Hyper-Learning for Gradient-Based Batch Size Adaptation

University of Strathclyde(思克莱德大学)

Calum Robert MacLellan, Feng Dong

摘要:

在训练深度神经网络时,调度批量增加是控制梯度噪声的有效策略。目前的方法实现调度算法,忽略了优化过程中的结构,限制了它们对训练动态的灵活性和辨别其适应性对泛化的影响的能力。我们引入仲裁器作为一个新的超参数优化算法来执行批量大小的适应可学习的调度算法使用梯度从一个元目标函数,它克服了以前的启发式约束,通过执行一个新的学习过程称为超学习。通过超学习,Arbiter制定了一个神经网络代理,通过观察T个内部下降步骤的伴随响应来学习自适应启发式算法,为内部深度网络生成最佳批量样本。Arbiter避免了展开优化,并且不需要超网络来促进梯度,这使得它相当便宜,易于实现,并且适用于不同的任务。我们证明仲裁的有效性,在几个说明性的实验:作为一个独立的批量大小调度;补充固定批量大小的时间表具有更大的灵活性;并促进方差减少随机元优化的学习率。

英文摘要:

Scheduling the batch size to increase is an effective strategy to control gradient noise when training deep neural networks. Current approaches implement scheduling heuristics that neglect structure within the optimization procedure, limiting their flexibility to the training dynamics and capacity to discern the impact of their adaptations on generalization. We introduce Arbiter as a new hyperparameter optimization algorithm to perform batch size adaptations for learnable scheduling heuristics using gradients from a meta-objective function, which overcomes previous heuristic constraints by enforcing a novel learning process called hyper-learning. With hyper-learning, Arbiter formulates a neural network agent to generate optimal batch size samples for an inner deep network by learning an adaptive heuristic through observing concomitant responses over T inner descent steps. Arbiter avoids unrolled optimization, and does not require hypernetworks to facilitate gradients, making it reasonably cheap, simple to implement, and versatile to different tasks. We demonstrate Arbiter's effectiveness in several illustrative experiments: to act as a stand-alone batch size scheduler; to complement fixed batch size schedules with greater flexibility; and to promote variance reduction during stochastic meta-optimization of the learning rate.

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

↑