Revisiting Unsupervised Meta-Learning via the Characteristics of Few-Shot Tasks

Han-Jia Ye, Lu Han, De-Chuan Zhan
11/30/2020
cs.CV

Official code: hanlu-nju/revisiting-UML (7 stars, Python, last commit 2023-02-24).

Abstract

Meta-learning has become a practical approach towards few-shot image classification, where "a strategy to learn a classifier" is meta-learned on labeled base classes and can be applied to tasks with novel classes. We remove the requirement of base class labels and learn generalizable embeddings via Unsupervised Meta-Learning (UML).

Show full abstract

Specifically, episodes of tasks are constructed with data augmentations from unlabeled base classes during meta-training, and we apply embedding-based classifiers to novel tasks with labeled few-shot examples during meta-test. We observe two elements play important roles in UML, i.e., the way to sample tasks and measure similarities between instances. Thus we obtain a strong baseline with two simple modifications -- a sufficient sampling strategy constructing multiple tasks per episode efficiently together with a semi-normalized similarity. We then take advantage of the characteristics of tasks from two directions to get further improvements. First, synthesized confusing instances are incorporated to help extract more discriminative embeddings. Second, we utilize an additional task-specific embedding transformation as an auxiliary component during meta-training to promote the generalization ability of the pre-adapted embeddings. Experiments on few-shot learning benchmarks verify that our approaches outperform previous UML methods and achieve comparable or even better performance than its supervised variants.

View on arXivView PDF

Code Implementations(1)

The official code repository for "Revisiting Unsupervised Meta-Learning via the Characteristics of Few-Shot Tasks" (TPAMI 2023) in PyTorch.

74Python, ShellAug 31, 20213 years ago

Similar Papers

Cite this paper

@article{ye2020revisiting,
  title  = {Revisiting Unsupervised Meta-Learning via the Characteristics of Few-Shot Tasks},
  author = {Han-Jia Ye and Lu Han and De-Chuan Zhan},
  year   = {2020},
  eprint = {2011.14663},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.14663}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.14663.svg)](https://codeofpaper.com/paper/2011.14663)

Discussion