Negative Margin Matters: Understanding Margin in Few-shot Classification

03/26/2020
by   Bin Liu, et al.
5

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/15/2022

Segment-level Metric Learning for Few-shot Bioacoustic Event Detection

Few-shot bioacoustic event detection is a task that detects the occurren...
research
10/22/2020

Restoring Negative Information in Few-Shot Object Detection

Few-shot learning has recently emerged as a new challenge in the deep le...
research
03/08/2021

Beyond Max-Margin: Class Margin Equilibrium for Few-shot Object Detection

Few-shot object detection has made substantial progressby representing n...
research
01/17/2018

Additive Margin Softmax for Face Verification

In this paper, we propose a conceptually simple and geometrically interp...
research
07/21/2022

Surrey System for DCASE 2022 Task 5: Few-shot Bioacoustic Event Detection with Segment-level Metric Learning

Few-shot audio event detection is a task that detects the occurrence tim...
research
10/26/2022

Deep Metric Learning with Adaptive Margin and Adaptive Scale for Acoustic Word Discrimination

Many recent loss functions in deep metric learning are expressed with lo...
research
12/28/2022

Escaping Saddle Points for Effective Generalization on Class-Imbalanced Data

Real-world datasets exhibit imbalances of varying types and degrees. Sev...

Please sign up or login with your details

Forgot password? Click here to reset