paper-with-me

Papers

Negative Margin Matters: Understanding Margin in Few-shot Classification

2020-03-26 · ECCV 2020 8 · Bin Liu, Yue Cao, Yutong Lin, Qi Li, Zheng Zhang, Mingsheng Long, Han Hu

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.

📄 PDF Abstract BibTeX arXiv:2003.12060

Code (1)

bl0/negative-margin.few-shot 공식 구현 pytorch

Tasks

ClassificationFew-Shot Image ClassificationFew-Shot LearningGeneral ClassificationMetric Learning

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Relation-Aware Network with Attention-Based Loss for Few-Shot Knowledge Graph Completion

2023-06-15 · Qiao Qiao, Yuepei Li, Kang Zhou, Qi Li

Few-shot knowledge graph completion (FKGC) task aims to predict unseen facts of a relation with few-shot reference entity pairs. Current approaches randomly select one negative sample for each reference entity pair to mi…

Knowledge Graph CompletionRelation

Few-shot Open Relation Extraction with Gaussian Prototype and Adaptive Margin

2024-10-27 · Tianlin Guo, Lingling Zhang, Jiaxin Wang, Yuokuo Lei 외

Few-shot relation extraction with none-of-the-above (FsRE with NOTA) aims at predicting labels in few-shot scenarios with unknown classes. FsRE with NOTA is more challenging than the conventional few-shot relation extrac…

Contrastive LearningMeta-LearningMetric LearningRelation+1

Joint Distribution Matters: Deep Brownian Distance Covariance for Few-Shot Classification

2022-04-09 · CVPR 2022 1 · Jiangtao Xie, Fei Long, Jiaming Lv, Qilong Wang 외

Few-shot classification is a challenging problem as only very few training examples are given for each new task. One of the effective research lines to address this challenge focuses on learning deep representations driv…

Classificationdomain classificationFew-Shot Image ClassificationFew-Shot Learning+1

Squeez: Task-Conditioned Tool-Output Pruning for Coding Agents

2026-04-04 · Ádám Kovács arxiv

Coding agents repeatedly consume long tool observations even though only a small fraction of each observation matters for the next step. We study task-conditioned tool-output pruning: given a focused query and one tool o…

Multi-Marginal Schrödinger Bridge Matching

2025-10-18 · Byoungwoo Park, Juho Lee arxiv

Understanding the continuous evolution of populations from discrete temporal snapshots is a critical research challenge, particularly in fields like developmental biology and systems medicine where longitudinal tracking …

Computational Efficiency