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/Boosting Few-Shot Learning With Adaptive Margin Loss

Boosting Few-Shot Learning With Adaptive Margin Loss

Aoxue Li, Weiran Huang, Xu Lan, Jiashi Feng, Zhenguo Li, Li-Wei Wang

2020-05-28CVPR 2020 6Few-Shot LearningMeta-LearningFew-Shot Image ClassificationSemantic SimilaritySemantic Textual Similarity
PaperPDF

Abstract

Few-shot learning (FSL) has attracted increasing attention in recent years but remains challenging, due to the intrinsic difficulty in learning to generalize from a few examples. This paper proposes an adaptive margin principle to improve the generalization ability of metric-based meta-learning approaches for few-shot learning problems. Specifically, we first develop a class-relevant additive margin loss, where semantic similarity between each pair of classes is considered to separate samples in the feature embedding space from similar classes. Further, we incorporate the semantic context among all classes in a sampled training task and develop a task-relevant additive margin loss to better distinguish samples from different classes. Our adaptive margin method can be easily extended to a more realistic generalized FSL setting. Extensive experiments demonstrate that the proposed method can boost the performance of current metric-based meta-learning approaches, under both the standard FSL and generalized FSL settings.

Results

TaskDatasetMetricValueModel
Image ClassificationImageNet (1-shot)Top-5 Accuracy59.2TRAML
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy79.54TRAML
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy67.1TRAML
Few-Shot Image ClassificationImageNet (1-shot)Top-5 Accuracy59.2TRAML
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy79.54TRAML
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy67.1TRAML

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Imbalanced Regression Pipeline Recommendation2025-07-16CLID-MU: Cross-Layer Information Divergence Based Meta Update Strategy for Learning with Noisy Labels2025-07-16Mixture of Experts in Large Language Models2025-07-15Iceberg: Enhancing HLS Modeling with Synthetic Data2025-07-14Meta-Reinforcement Learning for Fast and Data-Efficient Spectrum Allocation in Dynamic Wireless Networks2025-07-13