Variational Metric Scaling for Metric-Based Meta-Learning

12/26/2019
by   Jiaxin Chen, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/27/2022

The Effect of Diversity in Meta-Learning

Few-shot learning aims to learn representations that can tackle novel ta...
research
05/23/2018

TADAM: Task dependent adaptive metric for improved few-shot learning

Few-shot learning has become essential for producing models that general...
research
11/22/2020

Enriching ImageNet with Human Similarity Judgments and Psychological Embeddings

Advances in object recognition flourished in part because of the availab...
research
06/09/2021

Probabilistic task modelling for meta-learning

We propose probabilistic task modelling – a generative probabilistic mod...
research
07/06/2020

Meta-Learning for Variational Inference

Variational inference (VI) plays an essential role in approximate Bayesi...
research
04/02/2022

AutoProtoNet: Interpretability for Prototypical Networks

In meta-learning approaches, it is difficult for a practitioner to make ...
research
12/22/2018

Bayesian Meta-network Architecture Learning

For deep neural networks, the particular structure often plays a vital r...

Please sign up or login with your details

Forgot password? Click here to reset