arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.15745cs.LGcs.AI
收藏

HyperMAML:利用超网络实现深度模型的少样本适配

HyperMAML: Few-Shot Adaptation of Deep Models with Hypernetworks

Jagiellonian University(雅盖隆大学);Doctoral School of Exact and Natural Sciences(精确与自然科学博士学院);IDEAS NCBR;Tooploox Ltd.(Tooploox有限公司);Wroclaw University of Science and Technology(弗罗茨瓦夫理工大学)

M. Przewięźlikowski, P. Przybysz, J. Tabor, M. Zięba, P. Spurek

AI总结:

针对 MAML 依赖梯度更新、适配步少则不足、步多则难训练且易过拟合的问题,本文提出 HyperMAML,用可训练超网络生成权重更新,并在标准少样本基准上取得优于 MAML、比肩 SOTA 的效果。

摘要:

少样本学习方法的目标是训练能够基于少量数据轻松适配到先前未见任务的模型。最流行且优雅的少样本学习方法之一是模型无关元学习(Model-Agnostic Meta-Learning,MAML)。该方法背后的主要思想是学习元模型的通用权重,这些权重随后通过少量梯度步骤适配到特定问题。然而,该模型的主要局限在于更新过程由基于梯度的优化实现。因此,MAML并不总能在一次甚至少数几次梯度迭代中将权重修改到必要程度。另一方面,使用许多梯度步骤会导致复杂且耗时的优化过程,在实践中难以训练,并可能导致过拟合。本文提出 HyperMAML,这是 MAML 的一种新颖泛化,其中更新过程的训练也是模型的一部分。具体而言,在 HyperMAML 中,我们不使用梯度下降更新权重,而是为此目的使用一个可训练的超网络(Hypernetwork)。因此,在该框架中,模型可以生成显著的更新,其范围不受固定数量梯度步骤的限制。实验表明,在多个标准少样本学习基准中,HyperMAML 始终优于 MAML,并且性能可与其他最先进技术相媲美。

英文摘要:

The aim of Few-Shot learning methods is to train models which can easily adapt to previously unseen tasks, based on small amounts of data. One of the most popular and elegant Few-Shot learning approaches is Model-Agnostic Meta-Learning (MAML). The main idea behind this method is to learn the general weights of the meta-model, which are further adapted to specific problems in a small number of gradient steps. However, the model's main limitation lies in the fact that the update procedure is realized by gradient-based optimisation. In consequence, MAML cannot always modify weights to the essential level in one or even a few gradient iterations. On the other hand, using many gradient steps results in a complex and time-consuming optimization procedure, which is hard to train in practice, and may lead to overfitting. In this paper, we propose HyperMAML, a novel generalization of MAML, where the training of the update procedure is also part of the model. Namely, in HyperMAML, instead of updating the weights with gradient descent, we use for this purpose a trainable Hypernetwork. Consequently, in this framework, the model can generate significant updates whose range is not limited to a fixed number of gradient steps. Experiments show that HyperMAML consistently outperforms MAML and performs comparably to other state-of-the-art techniques in a number of standard Few-Shot learning benchmarks.

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

↑