Estimating Uncertainty in Classifier Performance with Applications to Large Language Models and Nested Data
- lab CatalyzeX
- lab DagsHub
- lab Gotit.pub
- lab Hugging Face
- lab ScienceCast
- lab alphaXiv
- lab arXiv
- lab arXivLabs
Text-classification researchers routinely omit measures of uncertainty when reporting performance metrics such as recall and precision, according to a new evaluation that finds common interval methods can be unreliable under conditions typical of social-science work [1]. The paper, submitted on 24 June 2026 to arXiv, notes that metrics like recall, precision, and F1 are point estimates subject to sampling variation, yet confidence intervals are inconsistently reported alongside them [1]. When intervals are provided, they are often estimated with methods that are not appropriate when labelled datasets are small or performance is high [1]. The authors evaluated interval methods across simulations designed to mirror social-science text classification: small to moderate sample sizes, infrequent constructs, and texts nested within individuals [1]. Default approaches such as the Wald interval and the basic percentile bootstrap were the least accurate, with coverage sometimes falling far below the nominal 95% level [1]. Accuracy improved with the use of Agresti-Coull, Wilson, and Clopper-Pearson intervals, as well as a novel pseudo-count regularized bootstrap that is particularly relevant to the calculation of F1 [1]. Producing high-quality labelled training datasets for supervised algorithms is usually difficult and expensive because of the time needed to label the data, a constraint that makes small-sample inference especially pressing [3]. When texts are nested within individuals, the study demonstrates that adjustment for both effective N and the appropriate degrees of freedom is necessary for producing accurate analytic intervals [1]. Among bootstrap methods, the hierarchical bootstrap was more accurate than the cluster bootstrap when individuals produced a moderate number of texts but became overly conservative when individuals produced only a few [1]. The authors aim to improve the transparency of machine-learning applications and to encourage greater attention to validation sample size at the design stage [1].
research-paperinfrastructure
Background sources we checked (7)
- arxiv.org ↗ Researchers increasingly use text classification--supervised models or large language models--to measure constructs from natural language, providing metrics such as recall and precision as evidence of their validity. Yet, though these metrics are point estimates subject to sampli…
- en.wikipedia.org ↗ These datasets are used in machine learning (ML) research and have been cited in peer-reviewed academic journals. Datasets are an integral part of the field of machine learning. Major advances in this field can result from advances in learning algorithms (such as deep learning), …
- en.wikipedia.org ↗ Computer vision tasks include methods for acquiring, processing, analyzing, and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical or symbolic information, e.g. in the form of decisions. "Understanding" in this …
- en.wikipedia.org ↗ The base rate fallacy, also called base rate neglect or base rate bias, is a type of fallacy in which people tend to ignore the base rate (e.g., general prevalence) in favor of the information pertaining only to a specific case. Base rate neglect is a specific form of the more g…
- en.wikipedia.org ↗ The Endangered Species Act of 1973 (ESA; 16 U.S.C. § 1531 et seq.) is the primary law in the United States for protecting and conserving imperiled species. Designed to protect critically imperiled species from extinction as a "consequence of economic growth and development untem…
- en.wikipedia.org ↗ Sustainable Development Goals (abbr. SDGs) were adopted in 2015 by all United Nations (UN) members for the 2030 Agenda for Sustainable Development. The aim of the 17 global goals is "peace and prosperity for people and the planet", tackling climate change, and working to preserv…
- en.wikipedia.org ↗ In molecular biology, a transcription factor (TF) (or sequence-specific DNA-binding factor) is a protein that controls the rate of transcription of genetic information from DNA to messenger RNA, by binding to DNA sequences. Specificity can be due to sequence motifs, or epigenetic…