Dice Loss for Data-imbalanced NLP Tasks
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
Citing papers per year: 2021: 25; 2022: 38; 2023: 42; 2024: 33; 2025: 29; 2026: 15.
182 papers.
Sort:
By area:
- 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
- 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
- 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 238
- 2021Structured Prediction as Translation between Augmented Natural Languagescited by 183
- 2022ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentationcited by 178
- 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extractioncited by 170
- 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 160
- 2023When MOE Meets LLMs: Parameter Efficient Fine-tuning for Multi-task Medical Applicationscited by 111
- 2021Improving Named Entity Recognition by External Context Retrieving and Cooperative Learningcited by 76
- 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 69
- 2023Empirical Study of Zero-Shot NER with ChatGPTcited by 60
- 2023Cross-City Matters: A Multimodal Remote Sensing Benchmark Dataset for Cross-City Semantic Segmentation using High-Resolution Domain Adaptation Networkscited by 55
38 more
- 2023Contrastive Grouping with Transformer for Referring Image Segmentationcited by 54
- 2022Towards Robust Referring Video Object Segmentation with Cyclic Relational Consensuscited by 50
- 2023Spectrum-guided Multi-granularity Referring Video Object Segmentationcited by 48
- 2022DeepStruct: Pretraining of Language Models for Structure Predictioncited by 45
- 2023Open-Vocabulary Semantic Segmentation with Decoupled One-Pass Networkcited by 40
- 2022T-NER: An All-Round Python Library for Transformer-based Named Entity Recognitioncited by 37
- 2025Pulse-PPG: An Open-Source Field-Trained PPG Foundation Model for Wearable Applications Across Lab and Field Settingscited by 37
- 2021Balancing Methods for Multi-label Text Classification with Long-Tailed Class Distributioncited by 35
- 2024MediCLIP: Adapting CLIP for Few-shot Medical Image Anomaly Detectioncited by 35
- 2022Named Entity Recognition in Twitter: A Dataset and Analysis on Short-Term Temporal Shiftscited by 28
- 2022Naamapadam: A Large-Scale Named Entity Annotated Data for Indic Languagescited by 28
- 2023Pushing the Limits of ChatGPT on NLP Taskscited by 27
- 2024Exploring Pre-trained Text-to-Video Diffusion Models for Referring Video Object Segmentationcited by 27
- 2024Cross-Modal Bidirectional Interaction Model for Referring Remote Sensing Image Segmentationcited by 26
- 2021Learning Opinion Summarizers by Selecting Informative Reviewscited by 25
- 2024Curriculum Point Prompting for Weakly-Supervised Referring Image Segmentationcited by 23
- 2021Better Feature Integration for Named Entity Recognitioncited by 22
- 2022Optimising Equal Opportunity Fairness in Model Trainingcited by 22
- 2023Fairness-Aware Structured Pruning in Transformerscited by 22
- 2024Fine-grained Abnormality Prompt Learning for Zero-shot Anomaly Detectioncited by 22
- 2021Learning from Miscellaneous Other-Class Words for Few-shot Named Entity Recognitioncited by 21
- 2022A Survey of Methods for Addressing Class Imbalance in Deep-Learning Based Natural Language Processingcited by 21
- 2022NewsEdits: A News Article Revision Dataset and a Document-Level Reasoning Challengecited by 20
- 2023QDFormer: Towards Robust Audiovisual Segmentation in Complex Environments with Quantization-based Semantic Decompositioncited by 20
- 2021Fairness-aware Class Imbalanced Learningcited by 19
- 2024CriSPO: Multi-Aspect Critique-Suggestion-guided Automatic Prompt Optimization for Text Generationcited by 18
- 2023FiNER-ORD: Financial Named Entity Recognition Open Research Datasetcited by 17
- 2023SemEval-2023 Task 2: Fine-grained Multilingual Named Entity Recognition (MultiCoNER 2)cited by 17
- 2022ZLPR: A Novel Loss for Multi-label Classificationcited by 16
- 2021Revisiting the Negative Data of Distantly Supervised Relation Extractioncited by 15
- 2022Y-Tuning: An Efficient Tuning Paradigm for Large-Scale Pre-Trained Models via Label Representation Learningcited by 15
- 2022On Distribution Shift in Learning-based Bug Detectorscited by 15
- 2023A Survey of Imbalanced Learning on Graphs: Problems, Techniques, and Future Directionscited by 15
- 2024Temporally Consistent Referring Video Object Segmentation with Hybrid Memorycited by 14
- 2022A Dataset for Hyper-Relational Extraction and a Cube-Filling Approachcited by 13
- 2022This is the way: designing and compiling LEPISZCZE, a comprehensive NLP benchmark for Polishcited by 13
- 2021Which Samples Should be Learned First: Easy or Hard?cited by 12
- 2021On the Use of External Data for Spoken Named Entity Recognitioncited by 12
50 most cited of 182 All 182 (JSON)
- 2026Anchor and Adapt: Asymmetric Prompt Adaptation for Few-Shot Industrial Anomaly Detection4 Oct 2026
- 2026Robust Zero-shot Anomaly Detection under Limited Auxiliary Anomaly Priors28 Jun 2026
- 2026Text Distance from Nested and Hierarchical Repetitions: A Compression-Based Perspective23 Jun 2026
- 2026Value-order Decomposition for Generalist Anomaly Detection12 Jun 2026
- 2026World-Ego Modeling for Long-Horizon Evolution in Hybrid Embodied Tasks19 May 2026
- 2026Model-Agnostic Meta Learning for Class Imbalance Adaptation20 Apr 2026
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentation6 Apr 2026
- 2026Multi-View Deformable Convolution Meets Visual Mamba for Coronary Artery Segmentation23 Mar 2026
- 2026PGR-Net: Prior-Guided ROI Reasoning Network for Brain Tumor MRI Segmentation23 Mar 2026
- 2026Functional Properties of the Focal-Entropy3 Mar 2026
- 2026Subtle Motion Blur Detection and Segmentation from Static Image Artworks21 Feb 2026
- 2026FGAA-FPN: Foreground-Guided Angle-Aware Feature Pyramid Network for Oriented Object Detection11 Feb 2026
38 more
- 2026MRAD: Zero-Shot Anomaly Detection with Memory-Driven Retrieval31 Jan 2026
- 2026Assessment of Generative Named Entity Recognition in the Era of Large Language Models25 Jan 2026
- 2026What Matters When Building Universal Multilingual Named Entity Recognition Models?9 Jan 2026
- 2025Defect-aware Hybrid Prompt Optimization via Progressive Tuning for Zero-Shot Multi-type Anomaly Detection and Segmentation10 Dec 2025
- 2025Gait-Adaptive Perceptive Humanoid Locomotion with Real-Time Under-Base Terrain Reconstruction8 Dec 2025
- 2025Changes in Gaza: DINOv3-Powered Multi-Class Change Detection for Damage Assessment in Conflict Zones24 Nov 2025
- 2025Graph-Guided Concept Selection for Efficient Retrieval-Augmented Generation28 Oct 2025
- 2025Closed-Loop Transfer for Weakly-supervised Affordance Grounding20 Oct 2025
- 2025PAGCNet: A Pose-Aware and Geometry Constrained Framework for Panoramic Depth Estimation9 Oct 2025
- 2025FIN: Fast Inference Network for Map Segmentation1 Oct 2025
- 2025Normal-Abnormal Guided Generalist Anomaly Detection1 Oct 2025
- 2025Temporal-Conditional Referring Video Object Segmentation with Noise-Free Text-to-Video Diffusion Model19 Aug 2025
- 2025IADGPT: Unified LVLM for Few-Shot Industrial Anomaly Detection, Localization, and Reasoning via In-Context Learning14 Aug 2025
- 2025Implicit Counterfactual Learning for Audio-Visual Segmentation28 Jul 2025
- 2025M-Net: MRI Brain Tumor Sequential Segmentation Network via Mesh-Cast28 Jul 2025
- 2025NRSeg: Noise-Resilient Learning for BEV Semantic Segmentation via Driving World Models5 Jul 2025
- 2025Anomaly Object Segmentation with Vision-Language Models for Steel Scrap Recycling16 Jun 2025
- 2025NameTag 3: A Tool and a Service for Multilingual/Multitagset NER6 Jun 2025
- 2025Domain Adaptation of Attention Heads for Zero-shot Anomaly Detection28 May 2025
- 2025RetrieveAll: A Multilingual Named Entity Recognition Framework with Large Language Models25 May 2025
- 2025ViP2-CLIP: Visual-Perception Prompting with Unified Alignment for Zero-Shot Anomaly Detection23 May 2025
- 2025DISCO Balances the Scales: Adaptive Domain- and Difficulty-Aware Reinforcement Learning on Imbalanced Data21 May 2025
- 20253D Deep-learning-based Segmentation of Human Skin Sweat Glands and Their 3D Morphological Response to Temperature Variations24 Apr 2025
- 2025EIoU-EMC: A Novel Loss for Domain-specific Nested Entity Recognition19 Apr 2025
- 2025MultiADS: Defect-aware Supervision for Multi-type Anomaly Detection and Segmentation in Zero-Shot Learning9 Apr 2025
- 2025KAN-SAM: Kolmogorov-Arnold Network Guided Segment Anything Model for RGB-T Salient Object Detection8 Apr 2025
- 2025DuckSegmentation: A segmentation model based on the AnYue Hemp Duck Dataset27 Mar 2025
- 2025Robust Audio-Visual Segmentation via Audio-Guided Visual Convergent Alignment17 Mar 2025
- 2025Dynamic Derivation and Elimination: Audio Visual Segmentation with Enhanced Audio Semantics17 Mar 2025
- 2025SDF-TopoNet: A Two-Stage Framework for Tubular Structure Segmentation via SDF Pre-training and Topology-Aware Fine-Tuning14 Mar 2025
- 2025Pulse-PPG: An Open-Source Field-Trained PPG Foundation Model for Wearable Applications Across Lab and Field Settings3 Feb 2025
- 2025KAnoCLIP: Zero-Shot Anomaly Detection through Knowledge-Driven Prompt Learning and Enhanced Cross-Modal Integration7 Jan 2025
- 2024STeInFormer: Spatial-Temporal Interaction Transformer Architecture for Remote Sensing Change Detection23 Dec 2024
- 2024An Experimental Study on Data Augmentation Techniques for Named Entity Recognition on Low-Resource Domains21 Nov 2024
- 2024GlocalCLIP: Object-agnostic Global-Local Prompt Learning for Zero-shot Anomaly Detection9 Nov 2024
- 2024Referring Human Pose and Mask Estimation in the Wild27 Oct 2024
- 2024Deep Learning-Driven Microstructure Characterization and Vickers Hardness Prediction of Mg-Gd Alloys27 Oct 2024
- 2024PlaneSAM: Multimodal Plane Instance Segmentation Using the Segment Anything Model21 Oct 2024
50 newest of 182 All 182 (JSON)
- 2025DISCO Balances the Scales: Adaptive Domain- and Difficulty-Aware Reinforcement Learning on Imbalanced Datacited by 7
- 2023HRoT: Hybrid prompt strategy and Retrieval of Thought for Table-Text Hybrid Question Answeringcited by 5
- 2025IADGPT: Unified LVLM for Few-Shot Industrial Anomaly Detection, Localization, and Reasoning via In-Context Learningcited by 2
- 2025IADGPT: Unified LVLM for Few-Shot Industrial Anomaly Detection, Localization, and Reasoning via In-Context Learning14 Aug 2025
- 2025DISCO Balances the Scales: Adaptive Domain- and Difficulty-Aware Reinforcement Learning on Imbalanced Data21 May 2025
- 2023HRoT: Hybrid prompt strategy and Retrieval of Thought for Table-Text Hybrid Question Answering22 Sep 2023
- 2025KAnoCLIP: Zero-Shot Anomaly Detection through Knowledge-Driven Prompt Learning and Enhanced Cross-Modal Integrationcited by 7
- 2026MRAD: Zero-Shot Anomaly Detection with Memory-Driven Retrievalcited by 6
- 2025Defect-aware Hybrid Prompt Optimization via Progressive Tuning for Zero-Shot Multi-type Anomaly Detection and Segmentationcited by 0
- 2026MRAD: Zero-Shot Anomaly Detection with Memory-Driven Retrieval31 Jan 2026
- 2025Defect-aware Hybrid Prompt Optimization via Progressive Tuning for Zero-Shot Multi-type Anomaly Detection and Segmentation10 Dec 2025
- 2025KAnoCLIP: Zero-Shot Anomaly Detection through Knowledge-Driven Prompt Learning and Enhanced Cross-Modal Integration7 Jan 2025
- 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
- 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
- 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 238
- 2021Structured Prediction as Translation between Augmented Natural Languagescited by 183
- 2022ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentationcited by 178
- 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extractioncited by 170
- 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 160
- 2021Improving Named Entity Recognition by External Context Retrieving and Cooperative Learningcited by 76
- 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 69
- 2023Empirical Study of Zero-Shot NER with ChatGPTcited by 60
- 2023Cross-City Matters: A Multimodal Remote Sensing Benchmark Dataset for Cross-City Semantic Segmentation using High-Resolution Domain Adaptation Networkscited by 55
- 2023Contrastive Grouping with Transformer for Referring Image Segmentationcited by 54
12 most cited of 165 All 165 (JSON)
- 2026Anchor and Adapt: Asymmetric Prompt Adaptation for Few-Shot Industrial Anomaly Detection4 Oct 2026
- 2026Robust Zero-shot Anomaly Detection under Limited Auxiliary Anomaly Priors28 Jun 2026
- 2026Text Distance from Nested and Hierarchical Repetitions: A Compression-Based Perspective23 Jun 2026
- 2026Value-order Decomposition for Generalist Anomaly Detection12 Jun 2026
- 2026Model-Agnostic Meta Learning for Class Imbalance Adaptation20 Apr 2026
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentation6 Apr 2026
- 2026PGR-Net: Prior-Guided ROI Reasoning Network for Brain Tumor MRI Segmentation23 Mar 2026
- 2026Functional Properties of the Focal-Entropy3 Mar 2026
- 2026Subtle Motion Blur Detection and Segmentation from Static Image Artworks21 Feb 2026
- 2026FGAA-FPN: Foreground-Guided Angle-Aware Feature Pyramid Network for Oriented Object Detection11 Feb 2026
- 2026Assessment of Generative Named Entity Recognition in the Era of Large Language Models25 Jan 2026
- 2026What Matters When Building Universal Multilingual Named Entity Recognition Models?9 Jan 2026
12 newest of 165 All 165 (JSON)