SOTAVerified

ESPT: A Self-Supervised Episodic Spatial Pretext Task for Improving Few-Shot Learning

2023-04-26Code Available1· sign in to hype

Yi Rong, Xiongbo Lu, Zhaoyang Sun, Yaxiong Chen, Shengwu Xiong

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Self-supervised learning (SSL) techniques have recently been integrated into the few-shot learning (FSL) framework and have shown promising results in improving the few-shot image classification performance. However, existing SSL approaches used in FSL typically seek the supervision signals from the global embedding of every single image. Therefore, during the episodic training of FSL, these methods cannot capture and fully utilize the local visual information in image samples and the data structure information of the whole episode, which are beneficial to FSL. To this end, we propose to augment the few-shot learning objective with a novel self-supervised Episodic Spatial Pretext Task (ESPT). Specifically, for each few-shot episode, we generate its corresponding transformed episode by applying a random geometric transformation to all the images in it. Based on these, our ESPT objective is defined as maximizing the local spatial relationship consistency between the original episode and the transformed one. With this definition, the ESPT-augmented FSL objective promotes learning more transferable feature representations that capture the local spatial features of different images and their inter-relational structural information in each input episode, thus enabling the model to generalize better to new categories with only a few samples. Extensive experiments indicate that our ESPT method achieves new state-of-the-art performance for few-shot image classification on three mainstay benchmark datasets. The source code will be available at: https://github.com/Whut-YiRong/ESPT.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CUB 200 5-way 1-shotESPTAccuracy85.45Unverified
CUB 200 5-way 5-shotESPTAccuracy94.02Unverified
Mini-Imagenet 5-way (1-shot)ESPTAccuracy68.36Unverified
Mini-Imagenet 5-way (5-shot)ESPTAccuracy84.11Unverified
Tiered ImageNet 5-way (1-shot)ESPTAccuracy72.68Unverified
Tiered ImageNet 5-way (5-shot)ESPTAccuracy87.49Unverified

Reproductions