A survey on machine learning from few samples

Jiang Lu, Pinghua Gong, Jieping Ye, Jianwei Zhang, Changshui Zhang

TL;DR

This paper provides a comprehensive survey of Few-Shot Learning (FSL), a critical area of machine learning that aims to enable models to learn from very limited data, mimicking human learning capabilities. It categorizes existing FSL approaches, highlights meta-learning as a dominant paradigm, and discusses emerging trends and applications.

What Problem Does This Paper Address?

Traditional machine learning, especially deep learning, thrives on vast amounts of labeled data. However, many real-world scenarios, such as medical diagnosis, rare object recognition, or personalized recommendations, lack such extensive datasets due to privacy concerns, high labeling costs, or the inherent rarity of data. This data scarcity poses a significant challenge for building robust and generalizable AI systems. Few-Shot Learning (FSL) directly addresses this by developing algorithms that can learn effectively from just a handful of examples, or even a single example (one-shot learning), bridging the gap between artificial and human intelligence.

Methods

The survey categorizes FSL approaches into two main types:

  • Generative Model-Based Approaches: These methods aim to model the underlying data distribution, often by introducing latent variables to bridge the gap between input features and class labels. Examples include techniques like Congealing, Variational Bayesian Framework (VBF), and Bayesian Program Learning (BPL).
  • Discriminative Model-Based Approaches: These methods directly model the conditional probability of a class given an input. This category is further broken down into:
  • Augmentation: Increasing the effective size of the training data through various techniques, either supervised (using side information) or unsupervised.
  • Metric Learning: Learning a similarity function that can effectively distinguish between classes, even with limited examples.
  • Meta-Learning (Learn-to-Learn): This is highlighted as the most prevalent paradigm. It involves training a model on a variety of tasks to learn how to adapt quickly to new, unseen tasks with few examples. The survey categorizes meta-learning approaches into five genres: Learn-to-Measure, Learn-to-Finetune, Learn-to-Parameterize, Learn-to-Adjust, and Learn-to-Remember.

The paper also discusses several Extensional Topics like Semi-supervised FSL, Unsupervised FSL, Cross-domain FSL, Generalized FSL, and Multimodal FSL, which extend the core FSL problem.

Datasets

The paper references numerous datasets commonly used in FSL research, particularly for image classification. Key benchmarks mentioned include:

  • Omniglot: A dataset of handwritten characters from 1623 different alphabets.
  • miniImageNet: A subset of ImageNet, commonly used for evaluating FSL algorithms.
  • tieredImageNet: Another large-scale dataset derived from ImageNet, with a hierarchical structure.
  • CUB (Caltech-UCSD Birds-200-2011): A dataset of bird species.
  • Stanford Dogs: A dataset of dog breeds.
  • Stanford Cars: A dataset of car models.
  • Caltech-256: A dataset of 256 object categories.
  • Oxford Flowers: A dataset of flower species.

The paper also notes the existence of cross-domain challenges, such as the one described in Figure 27, which involves training on ImageNet and testing on datasets from different domains like EuroSAT, CropDisease, ISIC, and ChestX.

Key Insights and Ideas

  • Meta-Learning Dominance: The survey strongly emphasizes that meta-learning has become the most dominant and successful paradigm in FSL, enabling models to "learn to learn."
  • Human-like Learning: FSL is crucial for bridging the gap between artificial and human intelligence, as humans excel at learning from minimal data.
  • Orthogonality to Zero-Shot Learning: The paper clarifies that FSL is distinct from Zero-Shot Learning (ZSL), which relies on auxiliary semantic information for unseen classes.
  • Evolution from Non-Deep to Deep Learning: FSL research has transitioned from traditional generative and discriminative models to leveraging the power of deep neural networks, particularly CNNs.
  • Complementarity of Approaches: Augmentation techniques are often complementary to other FSL methods (metric learning, meta-learning) and can be used as plug-and-play modules.
  • The Challenge of Generalization: A significant challenge remains in developing FSL approaches that are truly universal, capable of handling diverse data complexities, forms, and application scenarios without being overly specialized to specific benchmarks.

Key Results

The paper does not present new experimental results but rather synthesizes findings from over 300 FSL papers. Table 8, for instance, shows that FSL accuracy on miniImageNet has rapidly increased, with 5-way 1-shot accuracy improving by over 20% between 2016 and 2019, demonstrating the field's progress. The survey highlights the performance of various FSL approaches across different tasks and datasets, providing a comparative overview.

Limitations and Future Work

The authors identify several promising future directions:

  • Robustness: Developing FSL models that are robust to noise, outliers, and potential domain shifts is crucial for real-world deployment.
  • Universality: Creating FSL approaches that are more generalizable across different learning tasks, data complexities, and application scenarios, moving beyond task-specific designs.
  • Interpretability: Enhancing the interpretability of FSL models, particularly those based on deep learning, to understand how they achieve few-shot learning capabilities, potentially by leveraging human cognitive principles.
  • Theoretical System: Establishing a more systematic theoretical framework for FSL, focusing on function regularization under sparse training data.

The paper also acknowledges that while many FSL approaches are effective, they often depend on specific task settings and datasets, indicating a need for more broadly applicable solutions.

Summary updated

BibTeX
@article{lu2023survey,
  author = {Jiang Lu and Pinghua Gong and Jieping Ye and Jianwei Zhang and Changshui Zhang},
  title = {{A survey on machine learning from few samples}},
  journal = {Pattern Recognition},
  year = {2023},
  doi = {10.1016/j.patcog.2023.109480},
}
Figure