Revisiting Distance Metric Learning for Few-Shot Natural Language Classification
Not on the map. Why?
Abstract (arXiv)
Distance Metric Learning (DML) has attracted much attention in image processing in recent years. This paper analyzes its impact on supervised fine-tuning language models for Natural Language Processing (NLP) classification tasks under few-shot learning settings. We investigated several DML loss functions in training RoBERTa language models on known SentEval Transfer Tasks datasets. We also analyzed the possibility of using proxy-based DML losses during model inference. Our systematic experiments have shown that under few-shot learning settings, particularly proxy-based DML losses can positively affect the fine-tuning and inference of a supervised language model. Models tuned with a combination of CCE (categorical cross-entropy loss) and ProxyAnchor Loss have, on average, the best performance and outperform models with only CCE by about 3.27 percentage points -- up to 10.38 percentage points depending on the training dataset.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 29 references that are in the map. First posted on arXiv 28 Nov 2022.
Builds on
19 of 29 references.
References · 19
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2020Supervised Contrastive Learningcited by 2,829
- 2019A Comprehensive Survey on Transfer Learningcited by 1,160
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2020A Metric Learning Reality Checkcited by 321
- 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
7 more
- 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 276
- 2020Revisiting Few-sample BERT Fine-tuningcited by 238
- 2017No Fuss Distance Metric Learning using Proxiescited by 226
- 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
- 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
- 2019Diversity with Cooperation: Ensemble Methods for Few-Shot Classificationcited by 70
- 2019Learning to Few-Shot Learn Across Diverse Natural Language Classification Taskscited by 57
Built on by
Not cited yet.