Learning a Few-Shot Embedding Model with Contrastive Learning
Abstract
Few-shot learning (FSL) aims to recognize target classes by adapting the prior knowledge learned from source classes. Such knowledge usually resides in a deep embedding model for a general matching purpose of the support and query image pairs. The objective of this paper is to repurpose the contrastive learning for such matching to learn a few-shot embedding model. We make the following contributions: (i) We investigate the contrastive learning with Noise Contrastive Estimation (NCE) in a supervised manner for training a few-shot embedding model; (ii) We propose a novel contrastive training scheme dubbed infoPatch, exploiting the patch-wise relationship to substantially improve the popular infoNCE; (iii) We show that the embedding learned by the proposed infoPatch is more effective; (iv) Our model is thoroughly evaluated on few-shot recognition task; and demonstrates state-of-the-art results on miniImageNet and appealing performance on tieredImageNet, Fewshot-CIFAR100 (FC-100).
Cite
Text
Liu et al. "Learning a Few-Shot Embedding Model with Contrastive Learning." AAAI Conference on Artificial Intelligence, 2021. doi:10.1609/AAAI.V35I10.17047Markdown
[Liu et al. "Learning a Few-Shot Embedding Model with Contrastive Learning." AAAI Conference on Artificial Intelligence, 2021.](https://mlanthology.org/aaai/2021/liu2021aaai-learning/) doi:10.1609/AAAI.V35I10.17047BibTeX
@inproceedings{liu2021aaai-learning,
title = {{Learning a Few-Shot Embedding Model with Contrastive Learning}},
author = {Liu, Chen and Fu, Yanwei and Xu, Chengming and Yang, Siqian and Li, Jilin and Wang, Chengjie and Zhang, Li},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2021},
pages = {8635-8643},
doi = {10.1609/AAAI.V35I10.17047},
url = {https://mlanthology.org/aaai/2021/liu2021aaai-learning/}
}