TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Improved Few-Shot Visual Classification

Improved Few-Shot Visual Classification

Peyman Bateni, Raghav Goyal, Vaden Masrani, Frank Wood, Leonid Sigal

2019-12-07CVPR 2020 6Few-Shot LearningMeta-LearningImage ClassificationObject RecognitionFew-Shot Image ClassificationGeneral ClassificationClassification
PaperPDFCodeCode(official)

Abstract

Few-shot learning is a fundamental task in computer vision that carries the promise of alleviating the need for exhaustively labeled data. Most few-shot learning approaches to date have focused on progressively more complex neural feature extractors and classifier adaptation strategies, as well as the refinement of the task definition itself. In this paper, we explore the hypothesis that a simple class-covariance-based distance metric, namely the Mahalanobis distance, adopted into a state of the art few-shot learning approach (CNAPS) can, in and of itself, lead to a significant performance improvement. We also discover that it is possible to learn adaptive feature extractors that allow useful estimation of the high dimensional feature covariances required by this metric from surprisingly few samples. The result of our work is a new "Simple CNAPS" architecture which has up to 9.2% fewer trainable parameters than CNAPS and performs up to 6.1% better than state of the art on the standard few-shot image classification benchmark dataset.

Results

TaskDatasetMetricValueModel
Image ClassificationMeta-DatasetAccuracy69.86Simple CNAPS
Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy57.1Simple CNAPS + FETI
Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy48.1Simple CNAPS
Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy83.1Simple CNAPS + FETI
Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy56.7Simple CNAPS
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy90.3Simple CNAPS + FETI
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy70.8Simple CNAPS
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy77.4Simple CNAPS + FETI
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy53.2Simple CNAPS
Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy63.5Simple CNAPS + FETI
Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy37.1Simple CNAPS
Image ClassificationMeta-Dataset RankMean Rank3.45Simple CNAPS
Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy78.5Simple CNAPS + FETI
Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy70.2Simple CNAPS
Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy71.4Simple CNAPS + FETI
Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy63Simple CNAPS
Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy86Simple CNAPS + FETI
Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy80Simple CNAPS
Few-Shot Image ClassificationMeta-DatasetAccuracy69.86Simple CNAPS
Few-Shot Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy57.1Simple CNAPS + FETI
Few-Shot Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy48.1Simple CNAPS
Few-Shot Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy83.1Simple CNAPS + FETI
Few-Shot Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy56.7Simple CNAPS
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy90.3Simple CNAPS + FETI
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy70.8Simple CNAPS
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy77.4Simple CNAPS + FETI
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy53.2Simple CNAPS
Few-Shot Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy63.5Simple CNAPS + FETI
Few-Shot Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy37.1Simple CNAPS
Few-Shot Image ClassificationMeta-Dataset RankMean Rank3.45Simple CNAPS
Few-Shot Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy78.5Simple CNAPS + FETI
Few-Shot Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy70.2Simple CNAPS
Few-Shot Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy71.4Simple CNAPS + FETI
Few-Shot Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy63Simple CNAPS
Few-Shot Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy86Simple CNAPS + FETI
Few-Shot Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy80Simple CNAPS

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Imbalanced Regression Pipeline Recommendation2025-07-16