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

负内环学习率学习通用特性

Negative Inner-Loop Learning Rates Learn Universal Features

Stanford University(斯坦福大学)

Tom Starshak

摘要:

模型不可知元学习(MAML)由两个优化循环组成:外部循环学习跨任务共享的模型参数的元初始化,以及内部循环任务特定的自适应步骤。MAML的变体Meta-SGD使用相同的双循环结构,但也学习自适应步骤的学习速率。很少有人关注Meta-SGD的学习率如何影响特征重用。在本文中,我们研究了学习率对Meta-SGD中每个任务的特征表示的影响。Meta-SGD的学习率经常包含负值。在适应阶段,这些负学习率推动功能远离任务特定的功能和任务无关的功能。我们在Mini-Imagenet数据集上进行了几次实验。训练了两个神经网络,一个使用MAML,一个使用Meta-SGD。两种模型的特征质量测试如下:剥离线性分类层,通过该编码器传递标记和未标记样本,根据其最近邻对未标记样本进行分类。执行该过程:1)在训练和使用元初始化参数之后; 2)在适应之后,并在该任务上验证;以及3)在适应之后,并在不同的任务上验证。MAML训练的模型在它适应的任务上有所改进,但在其他任务上的性能较差。Meta-SGD训练模型则相反;它在适应的任务上表现较差,但在其他任务上有所改善。这证实了Meta-SGD的负学习率导致模型学习任务不可知特征而不是简单地适应任务特定特征的假设。

英文摘要:

Model Agnostic Meta-Learning (MAML) consists of two optimization loops: the outer loop learns a meta-initialization of model parameters that is shared across tasks, and the inner loop task-specific adaptation step. A variant of MAML, Meta-SGD, uses the same two loop structure, but also learns the learning-rate for the adaptation step. Little attention has been paid to how the learned learning-rate of Meta-SGD affects feature reuse. In this paper, we study the effect that a learned learning-rate has on the per-task feature representations in Meta-SGD. The learned learning-rate of Meta-SGD often contains negative values. During the adaptation phase, these negative learning rates push features away from task-specific features and towards task-agnostic features. We performed several experiments on the Mini-Imagenet dataset. Two neural networks were trained, one with MAML, and one with Meta-SGD. The feature quality for both models was tested as follows: strip away the linear classification layer, pass labeled and unlabeled samples through this encoder, classify the unlabeled samples according to their nearest neighbor. This process was performed: 1) after training and using the meta-initialization parameters; 2) after adaptation, and validated on that task; and 3) after adaptation, and validated on a different task. The MAML trained model improved on the task it was adapted to, but had worse performance on other tasks. The Meta-SGD trained model was the opposite; it had worse performance on the task it was adapted to, but improved on other tasks. This confirms the hypothesis that Meta-SGD's negative learning rates cause the model to learn task-agnostic features rather than simply adapt to task specific features.

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

↑