Negative Margin Matters: Understanding Margin in Few-shot Classification
Not on the map. Why?
Abstract (arXiv)
This paper introduces a negative margin loss to metric learning based few-shot learning methods. The negative margin loss significantly outperforms regular softmax loss, and achieves state-of-the-art accuracy on three standard few-shot classification benchmarks with few bells and whistles. These results are contrary to the common practice in the metric learning field, that the margin is zero or positive. To understand why the negative margin loss performs well for the few-shot classification, we analyze the discriminability of learned features w.r.t different margins for training and novel classes, both empirically and theoretically. We find that although negative margin reduces the feature discriminability for training classes, it may also avoid falsely mapping samples of the same novel class to multiple peaks or clusters, and thus benefit the discrimination of novel classes. Code is available at https://github.com/bl0/negative-margin.few-shot.
Key facts. Cited by 129 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 48; 2022: 39; 2023: 23; 2024: 11; 2025: 4; 2026: 4.
129 papers.
Sort:
By area:
- 2021Free Lunch for Few-shot Learning: Distribution Calibrationcited by 165
- 2021Open-World Semi-Supervised Learningcited by 165
- 2022A Comprehensive Survey of Few-shot Learning: Evolution, Applications, Challenges, and Opportunitiescited by 162
- 2022Forward Compatible Few-Shot Class-Incremental Learningcited by 125
- 2021Simpler is Better: Few-shot Semantic Segmentation with Classifier Weight Transformercited by 116
- 2023Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class Incremental Learningcited by 112
- 2021Beyond Max-Margin: Class Margin Equilibrium for Few-shot Object Detectioncited by 80
- 2021Relational Embedding for Few-Shot Classificationcited by 74
- 2021Rectifying the Shortcut Learning of Background for Few-Shot Learningcited by 51
- 2021Boosting the Generalization Capability in Cross-Domain Few-shot Learning via Noise-enhanced Supervised Autoencodercited by 51
- 2022Joint Distribution Matters: Deep Brownian Distance Covariance for Few-Shot Classificationcited by 50
- 2022Margin-Based Few-Shot Class-Incremental Learning with Class-Level Overfitting Mitigationcited by 45
38 more
- 2021Orthogonal Projection Losscited by 44
- 2023Few-Shot Class-Incremental Learning via Training-Free Prototype Calibrationcited by 44
- 2021Learning Dynamic Alignment via Meta-filter for Few-shot Learningcited by 41
- 2022Generating Representative Samples for Few-Shot Classificationcited by 39
- 2021Revisiting the Transferability of Supervised Pretraining: an MLP Perspectivecited by 36
- 2022Adversarial Feature Augmentation for Cross-domain Few-shot Classificationcited by 36
- 2021PML: Progressive Margin Loss for Long-tailed Age Classificationcited by 32
- 2022Boosting Few-shot Fine-grained Recognition with Background Suppression and Foreground Alignmentcited by 29
- 2021Few-shot Action Recognition with Prototype-centered Attentive Learningcited by 28
- 2021Binocular Mutual Learning for Improving Few-shot Classificationcited by 26
- 2022Integrative Few-Shot Learning for Classification and Segmentationcited by 25
- 2022Matching Feature Sets for Few-Shot Image Classificationcited by 25
- 2022HyperShot: Few-Shot Learning by Kernel HyperNetworkscited by 24
- 2023Learngene: Inheriting Condensed Knowledge from the Ancestry Model to Descendant Modelscited by 24
- 2023Distilling Self-Supervised Vision Transformers for Weakly-Supervised Few-Shot Classification & Segmentationcited by 24
- 2021Deep Metric Learning for Few-Shot Image Classification: A Review of Recent Developmentscited by 23
- 2021Anti-aliasing Semantic Reconstruction for Few-Shot Semantic Segmentationcited by 23
- 2022Few-shot Learning with Noisy Labelscited by 23
- 2021How to Train Your MAML to Excel in Few-Shot Classificationcited by 22
- 2022Self-Promoted Supervision for Few-Shot Transformercited by 22
- 2022WaveGAN: Frequency-aware GAN for High-Fidelity Few-shot Image Generationcited by 22
- 2021LibFewShot: A Comprehensive Library for Few-shot Learningcited by 21
- 2022Task Discrepancy Maximization for Fine-grained Few-Shot Classificationcited by 21
- 2023DiGeo: Discriminative Geometry-Aware Learning for Generalized Few-Shot Object Detectioncited by 21
- 2022Channel Importance Matters in Few-Shot Image Classificationcited by 20
- 2022Alleviating the Sample Selection Bias in Few-shot Learning by Removing Projection to the Centroidcited by 20
- 2021Meta Navigator: Search for a Good Adaptation Policy for Few-shot Learningcited by 19
- 2022Self-Supervision Can Be a Good Few-Shot Learnercited by 19
- 2023Multimodal Parameter-Efficient Few-Shot Class Incremental Learningcited by 19
- 2023Does Few-shot Learning Suffer from Backdoor Attacks?cited by 19
- 2021Reinforced Attention for Few-Shot Learning and Beyondcited by 18
- 2021Learning to Affiliate: Mutual Centralized Learning for Few-shot Classificationcited by 18
- 2021Few-Shot Learning with a Strong Teachercited by 16
- 2022MarginNCE: Robust Sound Localization with a Negative Margincited by 16
- 2021Contrastive Prototype Learning with Augmented Embeddings for Few-Shot Learningcited by 15
- 2021A Closer Look at Prototype Classifier for Few-shot Image Classificationcited by 15
- 2021SEGA: Semantic Guided Attention on Visual Prototype for Few-Shot Learningcited by 15
- 2021Adaptive Poincar'e Point to Set Distance for Few-Shot Classificationcited by 15
50 most cited of 129 All 129 (JSON)
- 2026Purification and Regulation: Comorbidity-Aware Multi-Label Few-Shot Learning for Medical Image Classification18 Sep 2026
- 2026IPEC: Test-Time Incremental Prototype Enhancement Classifier for Few-Shot Learning16 Jan 2026
- 2026EfficientFSL: Enhancing Few-Shot Classification via Query-Only Tuning in Vision Transformers13 Jan 2026
- 2026In defense of the two-stage framework for open-set domain adaptive semantic segmentation4 Jan 2026
- 2025LLM-Guided Exemplar Selection for Few-Shot Wearable-Sensor Human Activity Recognition26 Dec 2025
- 2025Shot2Tactic-Caption: Multi-Scale Captioning of Badminton Videos for Tactical Understanding16 Oct 2025
- 2025MoTiC: Momentum Tightness and Contrast for Few-Shot Class-Incremental Learning24 Sep 2025
- 2025Sculpting Margin Penalty: Intra-Task Adapter Merging and Classifier Calibration for Few-Shot Class-Incremental Learning7 Aug 2025
- 2024Embedding Space Allocation with Angle-Norm Joint Classifiers for Few-Shot Class-Incremental Learning14 Nov 2024
- 2024CLOSER: Towards Better Representation Learning for Few-Shot Class-Incremental Learning8 Oct 2024
- 2024A Feature Generator for Few-Shot Learning21 Sep 2024
- 2024Enhancing Few-Shot Image Classification through Learnable Multi-Scale Embedding and Attention Mechanisms12 Sep 2024
38 more
- 2024Efficient and Reliable Vector Similarity Search Using Asymmetric Encoding with NAND-Flash for Many-Class Few-Shot Learning12 Sep 2024
- 2024A Simple Task-aware Contrastive Local Descriptor Selection Strategy for Few-shot Learning between inter class and intra class12 Aug 2024
- 2024Mamba-FSCIL: Dynamic Adaptation with Selective State Space Model for Few-Shot Class-Incremental Learning8 Jul 2024
- 2024Intra-task Mutual Attention based Vision Transformer for Few-Shot Learning6 May 2024
- 2024MetaCoCo: A New Few-Shot Classification Benchmark with Spurious Correlation30 Apr 2024
- 2024Meta-Transfer Derm-Diagnosis: Exploring Few-Shot Learning and Transfer Learning for Skin Disease Classification in Long-Tail Distribution25 Apr 2024
- 2024Dual-View Data Hallucination with Semantic Relation Guidance for Few-Shot Image Recognition13 Jan 2024
- 2023Does Few-shot Learning Suffer from Backdoor Attacks?31 Dec 2023
- 2023Few-Shot Class-Incremental Learning via Training-Free Prototype Calibration8 Dec 2023
- 2023GeNIe: Generative Hard Negative Images Through Diffusion5 Dec 2023
- 2023Few-Shot Classification & Segmentation Using Large Language Models Agent19 Nov 2023
- 2023Constructing Sample-to-Class Graph for Few-Shot Class-Incremental Learning31 Oct 2023
- 2023Detail Reinforcement Diffusion Model: Augmentation Fine-Grained Visual Categorization in Few-Shot Conditions15 Sep 2023
- 2023Big-model Driven Few-shot Continual Learning2 Sep 2023
- 2023Neural Collapse Terminus: A Unified Solution for Class Incremental Learning and Its Variants3 Aug 2023
- 2023Task-Oriented Channel Attention for Fine-Grained Few-Shot Classification28 Jul 2023
- 2023Learning Large Margin Sparse Embeddings for Open Set Medical Diagnosis10 Jul 2023
- 2023Distilling Self-Supervised Vision Transformers for Weakly-Supervised Few-Shot Classification & Segmentation7 Jul 2023
- 2023LPN: Language-guided Prototypical Network for few-shot classification4 Jul 2023
- 2023Dual Adaptive Representation Alignment for Cross-domain Few-shot Learning18 Jun 2023
- 2023Learngene: Inheriting Condensed Knowledge from the Ancestry Model to Descendant Models3 May 2023
- 2023Few-shot Classification via Ensemble Learning with Multi-Order Statistics30 Apr 2023
- 2023ESPT: A Self-Supervised Episodic Spatial Pretext Task for Improving Few-Shot Learning26 Apr 2023
- 2023Meta-tuning Loss Functions and Data Augmentation for Few-shot Object Detection24 Apr 2023
- 2023MASIL: Towards Maximum Separable Class Representation for Few Shot Class Incremental Learning8 Apr 2023
- 2023Two-level Graph Network for Few-Shot Class-Incremental Learning24 Mar 2023
- 2023DiGeo: Discriminative Geometry-Aware Learning for Generalized Few-Shot Object Detection16 Mar 2023
- 2023Multimodal Parameter-Efficient Few-Shot Class Incremental Learning8 Mar 2023
- 2023Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class Incremental Learning6 Feb 2023
- 2023P3DC-Shot: Prior-Driven Discrete Data Calibration for Nearest-Neighbor Few-Shot Classification2 Jan 2023
- 2022PatchMix Augmentation to Identify Causal Features in Few-shot Learning29 Nov 2022
- 2022Interpretable Few-shot Learning with Online Attribute Selection16 Nov 2022
- 2022Few-shot Metric Learning: Online Adaptation of Embedding for Retrieval14 Nov 2022
- 2022MarginNCE: Robust Sound Localization with a Negative Margin3 Nov 2022
- 2022Alleviating the Sample Selection Bias in Few-shot Learning by Removing Projection to the Centroid30 Oct 2022
- 2022Margin-Based Few-Shot Class-Incremental Learning with Class-Level Overfitting Mitigation10 Oct 2022
- 2022Adaptive Distribution Calibration for Few-Shot Learning with Hierarchical Optimal Transport9 Oct 2022
- 2022Boosting Few-shot Fine-grained Recognition with Background Suppression and Foreground Alignment4 Oct 2022
50 newest of 129 All 129 (JSON)
- 2021Free Lunch for Few-shot Learning: Distribution Calibrationcited by 165
- 2021Open-World Semi-Supervised Learningcited by 165
- 2022A Comprehensive Survey of Few-shot Learning: Evolution, Applications, Challenges, and Opportunitiescited by 162
- 2022Forward Compatible Few-Shot Class-Incremental Learningcited by 125
- 2021Simpler is Better: Few-shot Semantic Segmentation with Classifier Weight Transformercited by 116
- 2023Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class Incremental Learningcited by 112
- 2021Beyond Max-Margin: Class Margin Equilibrium for Few-shot Object Detectioncited by 80
- 2021Relational Embedding for Few-Shot Classificationcited by 74
- 2021Rectifying the Shortcut Learning of Background for Few-Shot Learningcited by 51
- 2021Boosting the Generalization Capability in Cross-Domain Few-shot Learning via Noise-enhanced Supervised Autoencodercited by 51
- 2022Joint Distribution Matters: Deep Brownian Distance Covariance for Few-Shot Classificationcited by 50
- 2022Margin-Based Few-Shot Class-Incremental Learning with Class-Level Overfitting Mitigationcited by 45
12 most cited of 126 All 126 (JSON)
- 2026Purification and Regulation: Comorbidity-Aware Multi-Label Few-Shot Learning for Medical Image Classification18 Sep 2026
- 2026IPEC: Test-Time Incremental Prototype Enhancement Classifier for Few-Shot Learning16 Jan 2026
- 2026EfficientFSL: Enhancing Few-Shot Classification via Query-Only Tuning in Vision Transformers13 Jan 2026
- 2026In defense of the two-stage framework for open-set domain adaptive semantic segmentation4 Jan 2026
- 2025LLM-Guided Exemplar Selection for Few-Shot Wearable-Sensor Human Activity Recognition26 Dec 2025
- 2025Shot2Tactic-Caption: Multi-Scale Captioning of Badminton Videos for Tactical Understanding16 Oct 2025
- 2025MoTiC: Momentum Tightness and Contrast for Few-Shot Class-Incremental Learning24 Sep 2025
- 2025Sculpting Margin Penalty: Intra-Task Adapter Merging and Classifier Calibration for Few-Shot Class-Incremental Learning7 Aug 2025
- 2024Embedding Space Allocation with Angle-Norm Joint Classifiers for Few-Shot Class-Incremental Learning14 Nov 2024
- 2024CLOSER: Towards Better Representation Learning for Few-Shot Class-Incremental Learning8 Oct 2024
- 2024A Feature Generator for Few-Shot Learning21 Sep 2024
- 2024Enhancing Few-Shot Image Classification through Learnable Multi-Scale Embedding and Attention Mechanisms12 Sep 2024
12 newest of 126 All 126 (JSON)