TL;DR
Large Language Models (LLMs) are revolutionizing how researchers label massive text datasets, but their "surrogate" labels are often biased, leading to false conclusions in downstream statistical analyses. This paper introduces Design-based Supervised Learning (DSL), a method that combines a small set of human-verified "gold-standard" labels with large-scale LLM outputs to guarantee unbiased results and valid confidence intervals, even when the LLM is significantly flawed.
What Problem Does This Paper Address?
In Computational Social Science (CSS), the goal isn't just to predict a label (e.g., "Is this tweet toxic?"), but to explain social phenomena (e.g., "Does toxicity correlate with political polarization?"). Researchers typically use a two-step process: label the documents, then run a regression.
LLMs have become the go-to tool for the first step because they are fast and cheap. However, LLMs are not perfect; they harbor social biases and performance sensitivities. The authors demonstrate a "fatal flaw": even if an LLM is 90% accurate, using its labels directly in a regression can lead to substantial bias and "undercoverage"—where confidence intervals are far too narrow, leading researchers to claim statistical significance where none exists.
As shown in the simulated performance below, standard "Surrogate-Only" (SO) estimation fails to provide the proper uncertainty quantification essential for scientific research.
Methods
The authors propose Design-based Supervised Learning (DSL). The core idea is to treat the problem as a missing data task where we only have "gold-standard" labels for a small, strategically sampled subset of the data.
The DSL workflow involves three main steps:
- Prediction: Fit a supervised machine learning model (like a random forest) to predict the gold-standard labels using the LLM surrogates and other document metadata.
- Pseudo-outcome Construction: Create a "bias-corrected pseudo-outcome" for every document. This uses a doubly-robust formula that combines the ML prediction with a correction term based on the actual gold label (for the documents that have one).
- Downstream Analysis: Use these pseudo-outcomes in the final regression analysis.
The "Design-based" part is crucial: it requires that researchers know the probability of each document being selected for human labeling. By controlling this sampling design, DSL guarantees asymptotic unbiasedness and valid confidence intervals without needing to assume the LLM or the intermediate ML model is perfectly accurate.
Datasets
The authors validated DSL across several contexts:
- Congressional Bills Project (CBP): A dataset of 400,000 U.S. Congressional bills. The task was to regress a "Macroeconomy" topic label on legislator characteristics (party, ideology, etc.) using GPT-3 as the surrogate labeler.
- CSS Benchmarks: 17 diverse datasets covering tasks like emotion detection, hate speech classification, and misinformation identification, originally compiled by Ziems et al. (2023). These were used to test "class prevalence estimation"—calculating the overall share of documents in a specific category.
Key Insights and Ideas
- Accuracy $\neq$ Validity: A high-accuracy LLM can still produce invalid scientific inferences if its errors are systematic rather than random.
- The Power of Design: By simply knowing the sampling probability for human labels, researchers can "debias" arbitrary LLM outputs. This moves the burden of proof from the "black box" model to the researcher's own experimental design.
- Efficiency Gains: While using only human labels (Gold-Standard Only) is unbiased, it's inefficient. DSL "squeezes" information out of the imperfect LLM labels to reduce the Root Mean Squared Error (RMSE), making the most of a limited human-coding budget.
Key Results
The paper's experiments confirm that DSL is the only method that consistently meets the high bar for social science research:
- Consistency and Coverage: Unlike Surrogate-Only or standard Supervised Learning, DSL consistently achieves ~95% coverage for 95% confidence intervals.
- Efficiency: In the Congressional Bills experiment, DSL improved RMSE by 14% to 31% over using gold-standard labels alone.
- Robustness: Across 18 real-world datasets, DSL maintained low bias and proper coverage even when LLM accuracy was relatively low (e.g., ~40-70%).
Limitations and Future Work
- Gold-Standard Requirement: DSL still requires some human-labeled data. It cannot fix a dataset where zero ground truth is available.
- Scope: The current framework focuses on cases where the text-derived label is the outcome ($Y$) of a regression, not the predictor ($X$).
- Domain Shift: The method assumes the documents available for human labeling are representative of the full corpus (no domain shift between the training and target sets).
- Future Directions: The authors suggest exploring "optimal sampling regimes"—deciding which specific documents humans should label to maximize the efficiency of the DSL estimator.
Summary updated