CVSep 17, 2022

Few-Shot Classification with Contrastive Learning

arXiv:2209.08224v181 citationsh-index: 13
Originality Incremental advance
AI Analysis

This work addresses few-shot learning for classification tasks, representing an incremental improvement by more fully exploiting contrastive learning in existing training paradigms.

The paper tackles the problem of few-shot classification by proposing a contrastive learning framework that integrates self-supervised and cross-view losses in both pre-training and meta-training stages, achieving competitive results on three benchmark datasets.

A two-stage training paradigm consisting of sequential pre-training and meta-training stages has been widely used in current few-shot learning (FSL) research. Many of these methods use self-supervised learning and contrastive learning to achieve new state-of-the-art results. However, the potential of contrastive learning in both stages of FSL training paradigm is still not fully exploited. In this paper, we propose a novel contrastive learning-based framework that seamlessly integrates contrastive learning into both stages to improve the performance of few-shot classification. In the pre-training stage, we propose a self-supervised contrastive loss in the forms of feature vector vs. feature map and feature map vs. feature map, which uses global and local information to learn good initial representations. In the meta-training stage, we propose a cross-view episodic training mechanism to perform the nearest centroid classification on two different views of the same episode and adopt a distance-scaled contrastive loss based on them. These two strategies force the model to overcome the bias between views and promote the transferability of representations. Extensive experiments on three benchmark datasets demonstrate that our method achieves competitive results.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes