How to Estimate Whether You Have Found Several Needles in a Haystack: Measuring Calibration in Multi-Label Text Classification
Not on the map. Why?
Abstract (arXiv)
A key factor in deciding whether to trust an automatic prediction is its confidence score, which should be calibrated to match the actual probability of the prediction being correct. Most confidence calibration metrics target binary or multi-class tasks, while multi-label calibration remains largely underexplored. Multi-label classification tasks, such as assigning medical codes to clinical notes or determining news topics, are usually dominated by a large number of negatives, i.e., labels that do not apply. We show that existing binning schemes to compute label-wise expected calibration error either underestimate the error, simply reflect label frequency, or suffer from many bins with very few instances. To achieve trustworthy label-wise calibration errors, we propose a new binning scheme that gives equal weight to positive and negative label assignments. Our empirical study demonstrates that in contrast to existing binning schemes, our new scheme results in meaningful estimates of calibration error in hierarchical and in extreme multi-label classification. We also show that calibrating confidence scores of large language models for multi-label predictions is an open challenge. Our detailed analysis lays the foundation for further research by providing a solid evaluation metric for measuring calibration in multi-label classification.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 63 references that are in the map. First posted on arXiv 22 Sep 2026.
Builds on
32 of 63 references.
References · 32
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 705
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2019Measuring Calibration in Deep Learningcited by 446
- 2023Larger language models do in-context learning differentlycited by 394
- 2020Calibrating Deep Neural Networks using Focal Losscited by 357
- 2020Calibration of Pre-trained Transformerscited by 315
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 256
- 2018Explainable Prediction of Medical Codes from Clinical Textcited by 234
20 more
- 2019Text Classification Algorithms: A Surveycited by 163
- 2020What Can We Learn from Collective Human Opinions on Natural Language Inference Data?cited by 153
- 2023LM-Polygraph: Uncertainty Estimation for Language Modelscited by 131
- 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
- 2021Classifier Calibration: A survey on how to assess and improve predicted class probabilitiescited by 73
- 2022Stop Measuring Calibration When Humans Disagreecited by 71
- 2023Automated Medical Coding on MIMIC-III and MIMIC-IV: A Critical Review and Replicability Studycited by 49
- 2024Multicalibration for Confidence Scoring in LLMscited by 46
- 2023In-Context Learning for Text Classification with Many Labelscited by 35
- 2022AdaFocal: Calibration-aware Adaptive Focal Losscited by 32
- 2021Estimating Expected Calibration Errorscited by 24
- 2023CATfOOD: Counterfactual Augmented Training for Improving Out-of-Domain Performance and Calibrationcited by 17
- 2024Dynamic Correlation Learning and Regularization for Multi-Label Confidence Calibrationcited by 13
- 2020Multi-Label Sentiment Analysis on 100 Languages with Dynamic Weighting for Label Imbalancecited by 11
- 2023Bag of Tricks for In-Distribution Calibration of Pretrained Transformerscited by 7
- 2021Hierarchical Text Classification As Sub-Hierarchy Sequence Generationcited by 6
- 2023ICXML: An In-Context Learning Framework for Zero-Shot Extreme Multi-Label Classificationcited by 5
- 2019Gated Recurrent Neural Network Approach for Multilabel Emotion Detection in Microblogscited by 4
- 2024Labels in Extremes: How Well Calibrated are Extreme Multi-label Classifiers?cited by 2
- 2021Making Heads and Tails of Models with Marginal Calibration for Sparse Tagsetscited by 1
Built on by
Not cited yet.