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

资源约束下的深度神经网络训练

Budgeted Training: Rethinking Deep Neural Network Training Under Resource Constraints

Argo AI;Carnegie Mellon University(卡内基梅隆大学);Uber ATG;CMU(卡内基梅隆大学)

Mengtian Li, Ersin Yumer, Deva Ramanan

摘要:

在大多数实际设置和理论分析中,人们假设模型可以训练直到收敛。然而,机器学习数据集和模型日益增长的复杂性可能会违反这些假设。事实上,目前的超参数调整和神经架构搜索的方法往往受到实际资源约束的限制。因此,我们引入了一个正式的设置,用于研究非渐近,资源受限制度下的训练,即,预算培训。我们分析以下问题:“给定数据集、算法和固定资源预算,可实现的最佳性能是什么?“我们专注于优化迭代次数作为代表性资源。在这样的设置下,我们表明,根据给定的预算调整学习率调度是至关重要的。在感知学习时间表中,我们发现简单的线性衰减既鲁棒又高性能。我们通过对ImageNet(图像分类),Kinetics(视频分类),MS COCO(目标检测和实例分割)和Cityscapes(语义分割)的最先进模型进行广泛的实验来支持我们的主张。我们还分析了我们的结果,发现一个好的时间表的关键是预算收敛,一种现象,即梯度消失在每个允许的预算结束。我们还重新审视了现有的快速收敛方法,并表明,在(实际但未充分探索的)预算培训设置下,感知学习时间表很容易胜过这种方法。

英文摘要:

In most practical settings and theoretical analyses, one assumes that a model can be trained until convergence. However, the growing complexity of machine learning datasets and models may violate such assumptions. Indeed, current approaches for hyper-parameter tuning and neural architecture search tend to be limited by practical resource constraints. Therefore, we introduce a formal setting for studying training under the non-asymptotic, resource-constrained regime, i.e., budgeted training. We analyze the following problem: "given a dataset, algorithm, and fixed resource budget, what is the best achievable performance?" We focus on the number of optimization iterations as the representative resource. Under such a setting, we show that it is critical to adjust the learning rate schedule according to the given budget. Among budget-aware learning schedules, we find simple linear decay to be both robust and high-performing. We support our claim through extensive experiments with state-of-the-art models on ImageNet (image classification), Kinetics (video classification), MS COCO (object detection and instance segmentation), and Cityscapes (semantic segmentation). We also analyze our results and find that the key to a good schedule is budgeted convergence, a phenomenon whereby the gradient vanishes at the end of each allowed budget. We also revisit existing approaches for fast convergence and show that budget-aware learning schedules readily outperform such approaches under (the practical but under-explored) budgeted training setting.

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

↑