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/Enhancing Few-Shot Image Classification through Learnable ...

Enhancing Few-Shot Image Classification through Learnable Multi-Scale Embedding and Attention Mechanisms

Fatemeh Askari, Amirreza Fateh, Mohammad Reza Mohammadi

2024-09-12Image ClassificationFew-Shot Image ClassificationCross-Domain Few-Shot
PaperPDFCode(official)

Abstract

In the context of few-shot classification, the goal is to train a classifier using a limited number of samples while maintaining satisfactory performance. However, traditional metric-based methods exhibit certain limitations in achieving this objective. These methods typically rely on a single distance value between the query feature and support feature, thereby overlooking the contribution of shallow features. To overcome this challenge, we propose a novel approach in this paper. Our approach involves utilizing a multi-output embedding network that maps samples into distinct feature spaces. The proposed method extracts feature vectors at different stages, enabling the model to capture both global and abstract features. By utilizing these diverse feature spaces, our model enhances its performance. Moreover, employing a self-attention mechanism improves the refinement of features at each stage, leading to even more robust representations and improved overall performance. Furthermore, assigning learnable weights to each stage significantly improved performance and results. We conducted comprehensive evaluations on the MiniImageNet and FC100 datasets, specifically in the 5-way 1-shot and 5-way 5-shot scenarios. Additionally, we performed cross-domain tasks across eight benchmark datasets, achieving high accuracy in the testing domains. These evaluations demonstrate the efficacy of our proposed method in comparison to state-of-the-art approaches. https://github.com/FatemehAskari/MSENet

Results

TaskDatasetMetricValueModel
Few-Shot LearningCUB5 shot71.59MSENet
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy84.42MSENet
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy66.57MSENet
Image ClassificationFC100 5-way (5-shot)Accuracy66.27MSENet
Image ClassificationFC100 5-way (1-shot)Accuracy44.78MSENet
Meta-LearningCUB5 shot71.59MSENet
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy84.42MSENet
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy66.57MSENet
Few-Shot Image ClassificationFC100 5-way (5-shot)Accuracy66.27MSENet
Few-Shot Image ClassificationFC100 5-way (1-shot)Accuracy44.78MSENet
Cross-Domain Few-ShotCUB5 shot71.59MSENet

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial 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-17Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Transferring Styles for Reduced Texture Bias and Improved Robustness in Semantic Segmentation Networks2025-07-14FedGSCA: Medical Federated Learning with Global Sample Selector and Client Adaptive Adjuster under Label Noise2025-07-13