arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.11809cs.LGstat.ML
收藏

基于度量的元学习变分度量标度

Variational Metric Scaling for Metric-Based Meta-Learning

The Hong Kong Polytechnic University(香港理工大学)

Jiaxin Chen, Li-Ming Zhan, Xiao-Ming Wu, Fu-lai Chung

摘要:

基于度量的元学习由于其在少样本学习中的有效性和效率而引起了广泛的关注。最近的研究表明,度量缩放在基于度量的元学习算法的性能中起着至关重要的作用。然而,仍然缺乏一个原则性的方法来自动学习度量缩放参数。在本文中,我们重铸基于度量的元学习从贝叶斯的角度来看,并制定了一个变分度量缩放框架学习一个适当的度量缩放参数。首先,我们提出了一个随机变分方法来学习一个单一的全球尺度参数。为了更好地将嵌入空间拟合到给定的数据分布,我们扩展了我们的方法来学习维度缩放向量来变换嵌入空间。此外,为了学习特定于任务的嵌入,我们使用摊销变分推理生成任务相关的维度缩放向量。我们的方法是端到端的,没有任何预训练,可以用作现有基于度量的元算法的简单即插即用模块。在mini-ImageNet上的实验表明,我们的方法可以用于持续提高现有基于度量的元算法的性能,包括原型网络和TADAM。源代码可以从https://github.com/jiaxinchen666/variational-scaling下载。

英文摘要:

Metric-based meta-learning has attracted a lot of attention due to its effectiveness and efficiency in few-shot learning. Recent studies show that metric scaling plays a crucial role in the performance of metric-based meta-learning algorithms. However, there still lacks a principled method for learning the metric scaling parameter automatically. In this paper, we recast metric-based meta-learning from a Bayesian perspective and develop a variational metric scaling framework for learning a proper metric scaling parameter. Firstly, we propose a stochastic variational method to learn a single global scaling parameter. To better fit the embedding space to a given data distribution, we extend our method to learn a dimensional scaling vector to transform the embedding space. Furthermore, to learn task-specific embeddings, we generate task-dependent dimensional scaling vectors with amortized variational inference. Our method is end-to-end without any pre-training and can be used as a simple plug-and-play module for existing metric-based meta-algorithms. Experiments on mini-ImageNet show that our methods can be used to consistently improve the performance of existing metric-based meta-algorithms including prototypical networks and TADAM. The source code can be downloaded from https://github.com/jiaxinchen666/variational-scaling.

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

↑