Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Multi-level Metric Learning for Few-shot Image Recognition

About

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}.

Haoxing Chen, Huaxiong Li, Yaohui Li, Chunlin Chen• 2021

Related benchmarks

TaskDatasetResultRank
Few-shot classificationtieredImageNet (test)--
282
Few-shot Image ClassificationminiImageNet (test)--
111
Few-shot classificationCIFAR-FS
Accuracy (5-way 1-shot)75.28
58
Few-shot Image ClassificationFC100
1-shot Acc44.43
31
Showing 4 of 4 rows

Other info

Code

Follow for update