arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.26422cs.AI
收藏

分类器性能不确定性估计及其在大语言模型和嵌套数据中的应用

Estimating Uncertainty in Classifier Performance with Applications to Large Language Models and Nested Data

Department of Educational Psychology, Neag School of Education, University of Connecticut(康涅狄格大学尼格教育学院教育心理学系)

Kylie Anglin

AI总结:

针对文本分类中性能指标置信区间报告不足且方法不当的问题,本文评估了多种区间估计方法,推荐了适用于小样本、低频构念和嵌套数据的准确方法。

摘要:

研究人员越来越多地使用文本分类——监督模型或大语言模型——来测量自然语言中的构念,并提供召回率和精确率等指标作为其有效性的证据。然而,尽管这些指标是受抽样变异影响的点估计,但不确定性的度量并未与其一致地报告。此外,即使报告了,通常使用的估计方法在相关标注数据集较小或性能较高时也不合适。为了提高和改进该领域的置信区间报告,本文评估了在社会科学文本分类典型条件下(小到中等样本量、低频构念以及嵌套于个体内的文本)性能指标的置信区间方法。在模拟中,默认方法如Wald区间和基本百分位自助法最不准确,覆盖率有时远低于名义上的95%水平。使用Agresti-Coull、Wilson、Clopper-Pearson以及一种新颖的伪计数正则化自助法(特别适用于F1的计算)可以提高准确性。当文本嵌套于个体内时,我们证明需要同时调整有效N和适当的自由度才能产生准确的分析区间。在自助法区间中,当个体产生中等数量的文本时,层次自助法比聚类自助法更准确,但当个体仅产生少量文本时则过于保守。通过为该领域提供适当的区间估计指导,我们旨在提高机器学习应用的透明度,并鼓励在设计阶段更加关注验证样本量。

英文摘要:

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 sampling variation, measures of uncertainty are inconsistently reported alongside them. Further, when they are reported, they are often estimated with methods that are not appropriate when relevant labelled datasets are small or performance is high. To increase and improve confidence interval reporting in the field, this paper evaluates confidence interval methods for performance metrics under conditions typical of social science text classification: small to moderate sample sizes, infrequent constructs, and texts nested within individuals. Across simulations, default methods such as the Wald interval and the basic percentile bootstrap are the least accurate, with coverage sometimes far below the nominal 95% level. Accuracy is improved with the use of Agresti-Coull, Wilson, Clopper-Pearson, and a novel pseudo-count regularized bootstrap (which is particularly relevant to the calculation of F1). When texts are nested within individuals, we demonstrate that adjustment for both effective N and the appropriate degrees of freedom is necessary for producing accurate analytic intervals. Among bootstrap intervals, the hierarchical bootstrap is more accurate than the cluster bootstrap when individuals produce a moderate number of texts but overly conservative when individuals produce only a few. By providing guidance to the field on appropriate interval estimation, we aim to improve the transparency of machine learning applications, and to encourage greater attention to the validation sample size at the design stage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑