mlsanityData to 14 Oct 2026

Dice Loss for Data-imbalanced NLP Tasks

arXiv 1911.02855 ↗First posted 7 Nov 2019cs.CLcited by 182

Not on the map. Why?

Abstract (arXiv)

Many NLP tasks such as tagging and machine reading comprehension are faced with the severe data imbalance issue: negative examples significantly outnumber positive examples, and the huge number of background examples (or easy-negative examples) overwhelms the training. The most commonly used cross entropy (CE) criteria is actually an accuracy-oriented objective, and thus creates a discrepancy between training and test: at training time, each training instance contributes equally to the objective function, while at test time F1 score concerns more about positive examples. In this paper, we propose to use dice loss in replacement of the standard cross-entropy objective for data-imbalanced NLP tasks. Dice loss is based on the Sorensen-Dice coefficient or Tversky index, which attaches similar importance to false positives and false negatives, and is more immune to the data-imbalance issue. To further alleviate the dominating influence from easy-negative examples in training, we propose to associate training examples with dynamically adjusted weights to deemphasize easy-negative examples.Theoretical analysis shows that this strategy narrows down the gap between the F1 score in evaluation and the dice loss in training. With the proposed training objective, we observe significant performance boost on a wide range of data imbalanced NLP tasks. Notably, we are able to achieve SOTA results on CTB5, CTB6 and UD1.4 for the part of speech tagging task; SOTA results on CoNLL03, OntoNotes5.0, MSRA and OntoNotes4.0 for the named entity recognition task; along with competitive results on the tasks of machine reading comprehension and paraphrase identification.

Key facts. Cited by 182 papers in the map (data through 14 Oct 2026). First posted on arXiv 7 Nov 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 25; 2022: 38; 2023: 42; 2024: 33; 2025: 29; 2026: 15.

182 papers.

Sort:

By area:

  1. 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
  2. 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
  3. 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 238
  4. 2021Structured Prediction as Translation between Augmented Natural Languagescited by 183
  5. 2022ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentationcited by 178
  6. 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extractioncited by 170
  7. 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 160
  8. 2023When MOE Meets LLMs: Parameter Efficient Fine-tuning for Multi-task Medical Applicationscited by 111
  9. 2021Improving Named Entity Recognition by External Context Retrieving and Cooperative Learningcited by 76
  10. 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 69
  11. 2023Empirical Study of Zero-Shot NER with ChatGPTcited by 60
  12. 2023Cross-City Matters: A Multimodal Remote Sensing Benchmark Dataset for Cross-City Semantic Segmentation using High-Resolution Domain Adaptation Networkscited by 55
38 more
  1. 2023Contrastive Grouping with Transformer for Referring Image Segmentationcited by 54
  2. 2022Towards Robust Referring Video Object Segmentation with Cyclic Relational Consensuscited by 50
  3. 2023Spectrum-guided Multi-granularity Referring Video Object Segmentationcited by 48
  4. 2022DeepStruct: Pretraining of Language Models for Structure Predictioncited by 45
  5. 2023Open-Vocabulary Semantic Segmentation with Decoupled One-Pass Networkcited by 40
  6. 2022T-NER: An All-Round Python Library for Transformer-based Named Entity Recognitioncited by 37
  7. 2025Pulse-PPG: An Open-Source Field-Trained PPG Foundation Model for Wearable Applications Across Lab and Field Settingscited by 37
  8. 2021Balancing Methods for Multi-label Text Classification with Long-Tailed Class Distributioncited by 35
  9. 2024MediCLIP: Adapting CLIP for Few-shot Medical Image Anomaly Detectioncited by 35
  10. 2022Named Entity Recognition in Twitter: A Dataset and Analysis on Short-Term Temporal Shiftscited by 28
  11. 2022Naamapadam: A Large-Scale Named Entity Annotated Data for Indic Languagescited by 28
  12. 2023Pushing the Limits of ChatGPT on NLP Taskscited by 27
  13. 2024Exploring Pre-trained Text-to-Video Diffusion Models for Referring Video Object Segmentationcited by 27
  14. 2024Cross-Modal Bidirectional Interaction Model for Referring Remote Sensing Image Segmentationcited by 26
  15. 2021Learning Opinion Summarizers by Selecting Informative Reviewscited by 25
  16. 2024Curriculum Point Prompting for Weakly-Supervised Referring Image Segmentationcited by 23
  17. 2021Better Feature Integration for Named Entity Recognitioncited by 22
  18. 2022Optimising Equal Opportunity Fairness in Model Trainingcited by 22
  19. 2023Fairness-Aware Structured Pruning in Transformerscited by 22
  20. 2024Fine-grained Abnormality Prompt Learning for Zero-shot Anomaly Detectioncited by 22
  21. 2021Learning from Miscellaneous Other-Class Words for Few-shot Named Entity Recognitioncited by 21
  22. 2022A Survey of Methods for Addressing Class Imbalance in Deep-Learning Based Natural Language Processingcited by 21
  23. 2022NewsEdits: A News Article Revision Dataset and a Document-Level Reasoning Challengecited by 20
  24. 2023QDFormer: Towards Robust Audiovisual Segmentation in Complex Environments with Quantization-based Semantic Decompositioncited by 20
  25. 2021Fairness-aware Class Imbalanced Learningcited by 19
  26. 2024CriSPO: Multi-Aspect Critique-Suggestion-guided Automatic Prompt Optimization for Text Generationcited by 18
  27. 2023FiNER-ORD: Financial Named Entity Recognition Open Research Datasetcited by 17
  28. 2023SemEval-2023 Task 2: Fine-grained Multilingual Named Entity Recognition (MultiCoNER 2)cited by 17
  29. 2022ZLPR: A Novel Loss for Multi-label Classificationcited by 16
  30. 2021Revisiting the Negative Data of Distantly Supervised Relation Extractioncited by 15
  31. 2022Y-Tuning: An Efficient Tuning Paradigm for Large-Scale Pre-Trained Models via Label Representation Learningcited by 15
  32. 2022On Distribution Shift in Learning-based Bug Detectorscited by 15
  33. 2023A Survey of Imbalanced Learning on Graphs: Problems, Techniques, and Future Directionscited by 15
  34. 2024Temporally Consistent Referring Video Object Segmentation with Hybrid Memorycited by 14
  35. 2022A Dataset for Hyper-Relational Extraction and a Cube-Filling Approachcited by 13
  36. 2022This is the way: designing and compiling LEPISZCZE, a comprehensive NLP benchmark for Polishcited by 13
  37. 2021Which Samples Should be Learned First: Easy or Hard?cited by 12
  38. 2021On the Use of External Data for Spoken Named Entity Recognitioncited by 12

50 most cited of 182 All 182 (JSON)