English

Spatial Contrastive Learning for Few-Shot Classification

Computer Vision and Pattern Recognition 2021-06-22 v3 Machine Learning

Abstract

In this paper, we explore contrastive learning for few-shot classification, in which we propose to use it as an additional auxiliary training objective acting as a data-dependent regularizer to promote more general and transferable features. In particular, we present a novel attention-based spatial contrastive objective to learn locally discriminative and class-agnostic features. As a result, our approach overcomes some of the limitations of the cross-entropy loss, such as its excessive discrimination towards seen classes, which reduces the transferability of features to unseen classes. With extensive experiments, we show that the proposed method outperforms state-of-the-art approaches, confirming the importance of learning good and transferable embeddings for few-shot learning.

Keywords

Cite

@article{arxiv.2012.13831,
  title  = {Spatial Contrastive Learning for Few-Shot Classification},
  author = {Yassine Ouali and Céline Hudelot and Myriam Tami},
  journal= {arXiv preprint arXiv:2012.13831},
  year   = {2021}
}

Comments

ECML/PKDD 2021

R2 v1 2026-06-23T21:26:45.182Z