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

聚焦窄化:面向预训练模型的习得优化器

Narrowing the Focus: Learned Optimizers for Pretrained Models

Google DeepMind(谷歌DeepMind);Mila – Quebec AI Institute(米拉-魁北克人工智能研究所)

Gus Kristiansen, Mark Sandler, Andrey Zhmoginov, Nolan Miller, Anirudh Goyal, Jihwan Lee, Max Vladymyrov

AI总结:

针对通用习得优化器适用性差的问题,提出一种面向特定训练环境的专用化习得优化器,通过学习基础优化器更新方向的层特定线性组合适配任务,在图像分类任务上性能优于传统方法和通用习得优化器,且泛化性鲁棒。

摘要:

在现代深度学习中,模型通过使用优化器应用梯度更新来习得,优化器会基于各类统计量对更新进行变换。优化器通常是人工设计的,调整其超参数是训练过程的重要组成部分。习得优化器已展现出初步前景,但作为适用于所有问题的通用优化机制总体上并不成功。本研究探索了一个不同的方向:不学习通用优化器,而是让它们针对特定训练环境实现专用化。我们提出了一种新颖的优化器技术,该技术学习一组基础优化器提供的更新方向的层特定线性组合,能有效适配特定模型和数据集的策略。在图像分类任务上评估时,这种专用优化器的性能显著优于Adam等传统现成方法,也优于现有的通用习得优化器。此外,它在模型初始化、未见数据集评估以及超出元训练范围的训练时长方面均表现出鲁棒的泛化能力。

英文摘要:

In modern deep learning, the models are learned by applying gradient updates using an optimizer, which transforms the updates based on various statistics. Optimizers are often hand-designed and tuning their hyperparameters is a big part of the training process. Learned optimizers have shown some initial promise, but are generally unsuccessful as a general optimization mechanism applicable to every problem. In this work we explore a different direction: instead of learning general optimizers, we instead specialize them to a specific training environment. We propose a novel optimizer technique that learns a layer-specific linear combination of update directions provided by a set of base optimizers, effectively adapting its strategy to the specific model and dataset. When evaluated on image classification tasks, this specialized optimizer significantly outperforms both traditional off-the-shelf methods such as Adam, as well as existing general learned optimizers. Moreover, it demonstrates robust generalization with respect to model initialization, evaluating on unseen datasets, and training durations beyond its meta-training horizon.

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

↑