Concept Learners for Generalizable Few-Shot Learning

Kaidi Cao, Maria Brbic, Jure Leskovec

Introduction

Deep learning models typically require vast amounts of labeled data to achieve high performance. In contrast, humans possess the remarkable ability to learn new categories from just a few examples by leveraging compositional reasoning—breaking objects down into familiar parts or "concepts." Standard few-shot learning (FSL) algorithms often rely on unstructured, "black-box" representations that are prone to overfitting and lack interpretability.

To address these limitations, we present COMET (COncept MEta-learner), a framework that incorporates human-interpretable concept dimensions into the meta-learning process. By decomposing complex classification tasks into semi-structured metric spaces, COMET enhances generalization and provides inherent explanations for its predictions.

The COMET Framework

COMET extends the Prototypical Networks architecture by replacing a single global embedding with a set of independent concept learners.

The COMET architecture decomposes input data into multiple concept dimensions, each with its own learner and metric space.

The process involves four key stages:

  1. Concept Decomposition: The input space is partitioned into subsets representing specific concepts. For image data, these might be spatial segments (e.g., a bird’s beak or wing); for genomic data, these are groups of genes associated with specific biological functions.
  2. Independent Metric Spaces: Each concept learner learns a specific embedding function for its assigned concept.
  3. Concept Prototypes: For each class in the support set, the model calculates a "concept prototype"—the average representation of that specific concept across the provided examples.
  4. Aggregation: The final classification is determined by measuring the distance between a query's concept embeddings and the class prototypes, then aggregating these distances across all dimensions.

This structure allows the model to output "concept importance scores," identifying which features (e.g., the shape of a beak) were most decisive in a particular classification.

Experimental Evaluation

The authors evaluated COMET across diverse domains, including computer vision (CUB-200-2011, Flowers-102), natural language processing (Reuters), and biology (Tabula Muris).

Performance of COMET on the CUB and Tabula Muris datasets as a function of the number of concepts used for 1-shot and 5-shot tasks.

Key Results

  • Superior Generalization: COMET consistently outperformed established baselines such as MAML and ProtoNet, achieving an average improvement of 9.5% in 1-shot and 9.3% in 5-shot tasks across all datasets.
  • Scaling with Concepts: As shown in the performance plots, accuracy generally increases as more relevant concepts are introduced. Notably, adding just one relevant concept (like a bird's beak) to a global model improved performance on the CUB dataset by 10% in 1-shot tasks.
  • Robustness to Noise: The framework proved resilient to "messy" knowledge. In the biological cell-type classification task, COMET successfully identified relevant markers even when provided with thousands of redundant or noisy Gene Ontology terms.
  • No Accuracy-Interpretability Trade-off: Unlike many interpretable models that suffer an accuracy penalty, COMET’s structured reasoning actually improves performance in low-data regimes.

Conclusion

COMET demonstrates that teaching machines to "think in parts" is a viable path toward more robust and explainable few-shot learning. By bridging the gap between symbolic reasoning and deep learning, the framework not only achieves state-of-the-art results but also offers a window into the model's decision-making process. Future work may explore the automated discovery of concepts in domains where prior human knowledge is unavailable, further extending the reach of compositional meta-learning.

Summary updated

BibTeX
@inproceedings{cao2021concept,
  author = {Kaidi Cao and Maria Brbic and Jure Leskovec},
  title = {{Concept Learners for Generalizable Few-Shot Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=eJIJF3-LoZO},
}
Figure