Variational Metric Scaling for Metric-Based Meta-Learning
Jiaxin Chen, Li-Ming Zhan, Xiao-Ming Wu, Fu-Lai Chung
Abstract
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 plugand-play module for existing metric-based meta-algorithms. Experiments on miniImageNet 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 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 85fd0d3a-f326-485d-b85e-b8f53b57e94dCited by top-tier papers8
- Distilling Meta Knowledge on Heterogeneous Graph for Illicit Drug Trafficker Detection on Social MediaYiyue Qian, Yiming Zhang, Yanfang Ye, Chuxu ZhangNeurIPS 2021 · 59 citations
- A Closer Look at the Training Strategy for Modern Meta-LearningJiaxin Chen, Xiao-Ming Wu, Yanke Li, Qimai Li et al.NeurIPS 2020 · 48 citations
- Learning to Learn from APIs: Black-Box Data-Free Meta-LearningZixuan Hu, Li Shen, Zhenyi Wang, Baoyuan Wu et al.ICML 2023 · 18 citations
- Task Groupings Regularization: Data-Free Meta-Learning with Heterogeneous Pre-trained ModelsYongxian Wei, Zixuan Hu, Li Shen, Zhenyi Wang et al.ICML 2024 · 11 citations
- Prototype Completion With Primitive Knowledge for Few-Shot LearningBaoquan Zhang, Xutao Li, Yunming Ye, Zhichao Huang et al.CVPR 2021
Builds on1
Related papers
- Learning to Balance: Bayesian Meta-Learning for Imbalanced and Out-of-distribution TasksHaebeom Lee, Hayeon Lee, Donghyun Na, Saehoon Kim et al.ICLR 2020 · 115 citations
- Meta-GMVAE: Mixture of Gaussian VAE for Unsupervised Meta-LearningDong Bok Lee, Dongchan Min, Seanie Lee, Sung Ju HwangICLR 2021 · 62 citations
- MetaModulation: Learning Variational Feature Hierarchies for Few-Shot Learning with Fewer TasksWenfang Sun, Yingjun Du, Xiantong Zhen, Fan Wang et al.ICML 2023 · 10 citations
- Learning to Learn Variational Semantic MemoryXiantong Zhen, Ying-Jun Du, Huan Xiong, Qiang Qiu et al.NeurIPS 2020 · 40 citations
- Variational Few-Shot LearningJian Zhang, Chenglong Zhao, Bingbing Ni, Minghao Xu et al.ICCV 2019 · 167 citations
