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/TADAM: Task dependent adaptive metric for improved few-sho...

TADAM: Task dependent adaptive metric for improved few-shot learning

Boris N. Oreshkin, Pau Rodriguez, Alexandre Lacoste

2018-05-23NeurIPS 2018 12Few-Shot LearningFew-Shot Image Classification
PaperPDFCodeCodeCode

Abstract

Few-shot learning has become essential for producing models that generalize from few examples. In this work, we identify that metric scaling and metric task conditioning are important to improve the performance of few-shot algorithms. Our analysis reveals that simple metric scaling completely changes the nature of few-shot algorithm parameter updates. Metric scaling provides improvements up to 14% in accuracy for certain metrics on the mini-Imagenet 5-way 5-shot classification task. We further propose a simple and effective way of conditioning a learner on the task sample set, resulting in learning a task-dependent metric space. Moreover, we propose and empirically test a practical end-to-end optimization procedure based on auxiliary task co-training to learn a task-dependent metric space. The resulting few-shot learning model based on the task-dependent scaled metric achieves state of the art on mini-Imagenet. We confirm these results on another few-shot dataset that we introduce in this paper based on CIFAR100. Our code is publicly available at https://github.com/ElementAI/TADAM.

Results

TaskDatasetMetricValueModel
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy76.7TADAM
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy58.5TADAM
Image ClassificationFC100 5-way (5-shot)Accuracy56.1TADAM
Image ClassificationFC100 5-way (1-shot)Accuracy40.1TADAM
Image ClassificationMini-Imagenet 5-way (10-shot)Accuracy80.8TADAM
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy76.7TADAM
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy58.5TADAM
Few-Shot Image ClassificationFC100 5-way (5-shot)Accuracy56.1TADAM
Few-Shot Image ClassificationFC100 5-way (1-shot)Accuracy40.1TADAM
Few-Shot Image ClassificationMini-Imagenet 5-way (10-shot)Accuracy80.8TADAM

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17ViT-ProtoNet for Few-Shot Image Classification: A Multi-Benchmark Evaluation2025-07-12Doodle Your Keypoints: Sketch-Based Few-Shot Keypoint Detection2025-07-10An Enhanced Privacy-preserving Federated Few-shot Learning Framework for Respiratory Disease Diagnosis2025-07-10Few-Shot Learning by Explicit Physics Integration: An Application to Groundwater Heat Transport2025-07-08ViRefSAM: Visual Reference-Guided Segment Anything Model for Remote Sensing Segmentation2025-07-03Dynamic Context-Aware Prompt Recommendation for Domain-Specific AI Applications2025-06-25Ancient Script Image Recognition and Processing: A Review2025-06-24