Instance Credibility Inference for Few-Shot Learning

Yikai Wang, Chengming Xu, Chen Liu, Li Zhang, Yanwei Fu

Abstract

Few-shot learning (FSL) aims to recognize new categories from minimal labeled examples, a task where models often struggle with overfitting due to data scarcity. While semi-supervised and transductive learning leverage unlabeled data to mitigate this, they are frequently hampered by unreliable pseudo-labels. We propose Instance Credibility Inference (ICI), a statistical method to quantify the trustworthiness of pseudo-labeled instances. By utilizing a sparsity-based linear regression framework, ICI identifies credible unlabeled samples to iteratively expand the training set. Our approach sets new state-of-the-art benchmarks across major datasets, including miniImageNet, tieredImageNet, CIFAR-FS, and CUB.

1. Introduction

The primary challenge in few-shot learning is the extreme scarcity of data, which prevents models from capturing the true distribution of novel classes. To address this, researchers often employ unlabeled data pools. However, traditional self-training methods rely on the model's own potentially erroneous predictions (pseudo-labels). If these initial guesses are incorrect, the model may "hallucinate" patterns, leading to performance collapse. The core problem addressed by this research is: How can we reliably identify which pseudo-labels to trust?

2. Methodology

The proposed Instance Credibility Inference (ICI) framework moves away from complex meta-learning architectures in favor of a robust, iterative statistical approach.

2.1 The ICI Framework

The process consists of five main stages:

  1. Feature Extraction: Images are mapped into a high-dimensional feature space using a deep backbone (e.g., ResNet-12) pre-trained on a large base dataset.
  2. Initial Classification: A simple linear classifier, such as Logistic Regression (LR) or a Support Vector Machine (SVM), is trained on the few available labeled examples to provide initial pseudo-labels for the unlabeled pool.
  3. Instance Credibility Inference: To filter noisy labels, the authors formulate a linear regression problem. They introduce an incidental parameter ($\gamma$) for each instance, representing the discrepancy between the instance and the class hypothesis.
  4. Sparsity Ranking: By increasing a regularization penalty ($\lambda$), the model forces these $\gamma$ terms toward zero. Instances whose discrepancy terms vanish first (at the highest $\lambda$ values) are considered the most "credible."
  5. Iterative Expansion: The most credible instances are added to the labeled support set, the classifier is re-trained, and the process repeats until the unlabeled data is fully integrated.
Overview of the ICI framework, illustrating the iterative process of feature extraction, classification, and credibility inference.

3. Experimental Setup

The authors evaluated ICI on four widely recognized few-shot learning benchmarks:

  • miniImageNet & tieredImageNet: Standard benchmarks for general object recognition.
  • CIFAR-FS: A few-shot adaptation of the CIFAR-100 dataset.
  • CUB (Caltech-UCSD Birds-200-2011): A fine-grained dataset of 200 bird species, testing the model's ability to distinguish subtle inter-class differences.

4. Results and Discussion

ICI achieved significant performance gains, often outperforming previous state-of-the-art (SOTA) methods by substantial margins.

Comparison of ICI with state-of-the-art methods across four benchmarks in inductive (In.), transductive (Tran.), and semi-supervised (Semi.) settings.

4.1 Key Findings

  • Superior Accuracy: On miniImageNet (1-shot), ICI reached 71.41% accuracy, a significant jump from the ~50-60% range typical of previous methods. On the fine-grained CUB dataset, it achieved 91.11%.
  • Geometry over Probability: Unlike traditional methods that use softmax confidence scores, ICI uses the geometric fit of a sample to a class distribution (via the regression path) as a more robust indicator of correctness.
  • The Power of Sparsity: The use of regularization paths to rank instances effectively identifies samples that require the least "extra help" ($\gamma$) to be explained by the current model.
  • Dimensionality and Simplicity: The research demonstrates that simple linear classifiers can outperform complex meta-learning algorithms. Notably, reducing feature dimensions (e.g., via PCA to $d=5$) further improved performance by removing noise.

5. Conclusion

Instance Credibility Inference provides a powerful yet simple mechanism for leveraging unlabeled data in few-shot scenarios. By focusing on the statistical credibility of instances rather than raw classifier confidence, ICI achieves state-of-the-art results and shows remarkable robustness, even when starting from a weak initial classifier. Future work will focus on reducing hyperparameter sensitivity and establishing formal theoretical bounds for the method's convergence.

Summary updated

BibTeX
@inproceedings{wang2020instance,
  author = {Yikai Wang and Chengming Xu and Chen Liu and Li Zhang and Yanwei Fu},
  title = {{Instance Credibility Inference for Few-Shot Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01285},
}
Figure