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/Multi-level Metric Learning for Few-shot Image Recognition

Multi-level Metric Learning for Few-shot Image Recognition

Haoxing Chen, Huaxiong Li, Yaohui Li, Chunlin Chen

2021-03-21Few-Shot LearningMetric LearningFew-Shot Image Classification
PaperPDF

Abstract

Few-shot learning is devoted to training a model on few samples. Most of these approaches learn a model based on a pixel-level or global-level feature representation. However, using global features may lose local information, and using pixel-level features may lose the contextual semantics of the image. Moreover, such works can only measure the relations between them on a single level, which is not comprehensive and effective. And if query images can simultaneously be well classified via three distinct level similarity metrics, the query images within a class can be more tightly distributed in a smaller feature space, generating more discriminative feature maps. Motivated by this, we propose a novel Part-level Embedding Adaptation with Graph (PEAG) method to generate task-specific features. Moreover, a Multi-level Metric Learning (MML) method is proposed, which not only calculates the pixel-level similarity but also considers the similarity of part-level features and global-level features. Extensive experiments on popular few-shot image recognition datasets prove the effectiveness of our method compared with the state-of-the-art methods. Our code is available at \url{https://github.com/chenhaoxing/M2L}.

Results

TaskDatasetMetricValueModel
Image ClassificationStanford Dogs 5-way (1-shot)Accuracy59.05MML(KL)
Image ClassificationStanford Dogs 5-way (5-shot)Accuracy75.59MML(KL)
Image ClassificationStanford Cars 5-way (5-shot)Accuracy91.05MML(KL)
Image ClassificationStanford Cars 5-way (1-shot)Accuracy72.43MML(KL)
Few-Shot Image ClassificationStanford Dogs 5-way (1-shot)Accuracy59.05MML(KL)
Few-Shot Image ClassificationStanford Dogs 5-way (5-shot)Accuracy75.59MML(KL)
Few-Shot Image ClassificationStanford Cars 5-way (5-shot)Accuracy91.05MML(KL)
Few-Shot Image ClassificationStanford Cars 5-way (1-shot)Accuracy72.43MML(KL)

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Unsupervised Ground Metric Learning2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16ViT-ProtoNet for Few-Shot Image Classification: A Multi-Benchmark Evaluation2025-07-12$\texttt{Droid}$: A Resource Suite for AI-Generated Code Detection2025-07-11Doodle 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-08