Skip to main navigation Skip to search Skip to main content

Counterfactual Generation Framework for Few-Shot Learning

  • Xi'an Jiaotong University
  • University of Technology Sydney

Research output: Contribution to journalArticlepeer-review

30 Scopus citations

Abstract

Few-shot learning (FSL) that aims to recognize novel classes with few labeled samples is troubled by its data scarcity. Though recent works tackle FSL with data augmentation-based methods, these models fail to maintain the discrimination and diversity of the generated samples due to the distribution shift and intra-class bias caused by the data scarcity, therefore greatly undermining the performance. To this end, we use causal mechanisms, which are constant among independent variables across data distribution, to alleviate such effects. In this sense, we decompose the image information into two independent components: sample-specific and class-agnostic information, and further propose a novel Counterfactual Generation Framework (CGF) to learn the underlying causal mechanisms to synthesize faithful samples for FSL. Specifically, based on the counterfactual inference, we design a class-agnostic feature extractor to capture the sample-specific information, together with a counterfactual generation network to simulate the data generation process from a causal perspective. Moreover, to leverage the power of CGF in counterfactual inference, we further develop a novel classifier that classifies samples based on their distributions of counterfactual generations. Extensive experiments demonstrate the effectiveness of CGF on four FSL benchmarks, e.g., 80.12/86.13% accuracy on 5-way 1/5-shot miniImageNet FSL tasks, significantly improving the performance. Our codes and models are available at https://github.com/eric-hang/CGF.

Original languageEnglish
Article number3241651
Pages (from-to)3747-3758
Number of pages12
JournalIEEE Transactions on Circuits and Systems for Video Technology
Volume33
Issue number8
DOIs
StatePublished - 1 Aug 2023

Keywords

  • Few-shot learning
  • counterfactual inference
  • data augmentation
  • prototype learning

Fingerprint

Dive into the research topics of 'Counterfactual Generation Framework for Few-Shot Learning'. Together they form a unique fingerprint.

Cite this