ResearchPod Summary
Researchers frequently use machine learning and large language models (LLMs) to classify text, reporting metrics like precision, recall, and F1 to validate their models. However, these metrics are point estimates subject to sampling variation. Despite this, researchers often fail to report measures of uncertainty, or they use statistical methods that are inappropriate for the small sample sizes, high performance levels, or nested data structures (e.g., multiple texts from the same author) common in social science research.
This paper evaluates various methods for calculating confidence intervals for classifier performance metrics. The author uses simulations to compare the coverage accuracy of established analytic methods (Wald, Wilson, Agresti-Coull, Clopper-Pearson) and bootstrap methods (percentile, BCa, and a proposed pseudo-count regularized bootstrap). The study specifically examines performance under conditions of small-to-moderate sample sizes, infrequent constructs, and nested data structures.
Inaccurate confidence intervals can lead researchers to overstate the reliability of their classifiers, potentially leading to flawed downstream inferences. By providing clear guidance on which methods to use, this paper offers a path toward greater transparency and rigor in machine learning applications within the social sciences.
AI-generated third-party summary by ResearchPod. Not official content or an endorsement by the paper authors or affiliated organizations.