mlsanityData to 14 Oct 2026

Distance Metric Learning Loss Functions in Few-Shot Scenarios of Supervised Language Models Fine-Tuning

arXiv 2211.15195 ↗First posted 28 Nov 2022cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

This paper presents an analysis regarding an influence of the Distance Metric Learning (DML) loss functions on the supervised fine-tuning of the language models for classification tasks. We experimented with known datasets from SentEval Transfer Tasks. Our experiments show that applying the DML loss function can increase performance on downstream classification tasks of RoBERTa-large models in few-shot scenarios. Models fine-tuned with the use of SoftTriple loss can achieve better results than models with a standard categorical cross-entropy loss function by about 2.89 percentage points from 0.04 to 13.48 percentage points depending on the training dataset. Additionally, we accomplished a comprehensive analysis with explainability techniques to assess the models' reliability and explain their results.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 27 references that are in the map. First posted on arXiv 28 Nov 2022.

Builds on

15 of 27 references.

References · 15

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  5. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
  6. 2020Supervised Contrastive Learningcited by 2,829
  7. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  8. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
  9. 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
  10. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
  11. 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 276
  12. 2020Revisiting Few-sample BERT Fine-tuningcited by 238
3 more
  1. 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
  2. 2019Diversity with Cooperation: Ensemble Methods for Few-Shot Classificationcited by 70
  3. 2019Learning to Few-Shot Learn Across Diverse Natural Language Classification Taskscited by 57

Built on by

Not cited yet.