egami-et-al-2024-using-large-language-model-annotations-for-the-social-sciences-a-general-framework-of-using-predic-ara

Branch-local ARA HTML rendering

PAPER.md

---

type: agent_native_research_artifact

date: 2026-05-12

source_title: "Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses"

source_note: "wiki/sources/Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses.md"

source_path: "raw/Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses.pdf"

rawmarkdown_path: "rawmarkdown_full/egami-et-al-2024-using-large-language-model-annotations-for-the-social-sciences-a-general-framework-of-using-predicted-variables-in-downstream-analyses.md"

grounding_status: "full_markdown"

branch: ai-data-extraction

status: automated-level-3

quality_label: automated-level-3

readthrough_status: automated-readthrough-complete

readthrough_date: 2026-05-12

---

Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses

Retrieval Contract

Use this ARA as the first branch-local agent-facing layer for the source. Verify important claims against `evidence/README.md`, the branch source note, the raw Markdown sidecar when available, and the PDF.

Source Grounding

Abstracted Contribution

Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses

Branch Use

This artifact was generated to make every PDF in the AI Data Extraction branch retrievable through a consistent ARA framework. It is a Level 1 scaffold unless later files in this folder document deeper curation.

Main Concept Links

Layer Index

logic/claims.md

Claims

logic/problem.md

Problem

This ARA preserves a branch-local retrieval entry point for `Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses`.

Provisional Role

logic/concepts.md

Concepts

logic/method_and_design.md

Method And Design

Source Identity

Design Classification

Data, Sample, Or Source Material

First Version: May 13, 2024 This Version: November 17, 2024 Abstract Social scientists use automated annotation methods, such as supervised machine learning and, more recently, large language models (LLMs), that can predict labels and generate text-based variables. While such predicted text-based variables are often analyzed as if they were observed without errors, we show that ignoring prediction errors in the automated annotation step leads to substantial bias and invalid confidence intervals in downstream analyses, even if the accuracy of the automated annotations is high, e.g., above 90%. We propose a framework of design-based supervised learning (DSL) that can provide valid statistical estimates, even when predicted variables contain non-random prediction errors. DSL employs a doubly robust procedure to combine predicted labels and a smaller number of expert annotations. DSL allows scholars to apply advances in LLMs to social science research while maintaining statistical validity. We illustrate its general applicability using two applications where the outcome and independent variables are text-based.

Method Workflow

This source was read from the branch-local PDF or Markdown sidecar and mapped for AI data extraction relevance. Treat this as an automated read-through card: useful for routing, but not a replacement for close reading when citing exact methods.

Outcomes Or Analytic Targets

Due to the space constraints, we focus on two outcomes, “Contrast” and “Promote,” in the main text, while reporting the results on “Attack” in Appendix G.2. In Figure 5-(a), the leftmost column reports the benchmark estimates based on the entire sample of 13040 expertcoded documents. The remaining columns show point estimates and standard errors of different methods, and the X-axis shows the underlying automated text annotation method. Figure 5-

What To Verify Before Citation-Grade Use

logic/methods_variables_outcomes.md

Methods Variables Outcomes

Extraction-Relevant Constructs

Variables And Measures To Source-Check

Extracted Evidence Sentences

A General Framework of Using Predicted Variables

in Downstream Analyses∗

Naoki Egami†

Musashi Hinck‡

Brandon M.

Hanying Wei¶

First Version: May 13, 2024

This Version: November 17, 2024

Abstract

Social scientists use automated annotation methods, such as supervised machine learning and, more recently, large language models (LLMs), that can predict labels and generate text-based variables.

as if they were observed without errors, we show that ignoring prediction errors in the

automated annotation step leads to substantial bias and invalid confidence intervals in

downstream analyses, even if the accuracy of the automated annotations is high, e.g.,

above 90%.

provide valid statistical estimates, even when predicted variables contain non-random prediction errors.

to social science research while maintaining statistical validity.

using large language models (LLMs), such as ChatGPT, to automate text annotations by predicting text labels (e.g., Bommasani et al.

LLMs to perform a wide range of text annotation tasks by simply changing prompts, automated

LLM annotations present exciting opportunities for the social sciences.

variables as if they were observed without errors; that is, they ignore prediction errors created

by automated text annotation.

when the prediction accuracy is high enough, the underlying automated text annotation model,

whether it is an LLM or a supervised ML model, “learned” how to label texts, and prediction

errors are small enough that analysts can ignore them.

errors are small, leads to substantial bias, invalid confidence intervals, and inaccurate p-values

in downstream statistical analyses of text-based variables.

even when the prediction accuracy in the text classification step is extremely high, e.g., above

90% or even at 95%.

be correlated with observed and unobserved variables in downstream analyses.

logic/source_scope.md

Source Scope

Strong Uses

Weak Uses

Transfer Boundaries

Citation-Grade Verification Needs

logic/experiments.md

Methods And Evidence Role

evidence/README.md

Evidence README

Source Pointer

Current Evidence State

This ARA has a scaffold-level evidence layer. Use the PDF or raw Markdown for quotation, numeric extraction, inclusion/exclusion decisions, and final manuscript claims.

Initial Excerpt

Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses

evidence/passages/readthrough_key_passages.md

Read-Through Key Passages

Abstract Or Opening

First Version: May 13, 2024 This Version: November 17, 2024 Abstract Social scientists use automated annotation methods, such as supervised machine learning and, more recently, large language models (LLMs), that can predict labels and generate text-based variables. While such predicted text-based variables are often analyzed as if they were observed without errors, we show that ignoring prediction errors in the automated annotation step leads to substantial bias and invalid confidence intervals in downstream analyses, even if the accuracy of the automated annotations is high, e.g., above 90%. We propose a framework of design-based supervised learning (DSL) that can provide valid statistical estimates, even when predicted variables contain non-random prediction errors. DSL employs a doubly robust procedure to combine predicted labels and a smaller number of expert annotations. DSL allows scholars to apply advances in LLMs to social science research while maintaining statistical validity. We illustrate its general applicability using two applications where the outcome and independent variables are text-based.

Methods

First Version: May 13, 2024 This Version: November 17, 2024 Abstract Social scientists use automated annotation methods, such as supervised machine learning and, more recently, large language models (LLMs), that can predict labels and generate text-based variables. While such predicted text-based variables are often analyzed as if they were observed without errors, we show that ignoring prediction errors in the automated annotation step leads to substantial bias and invalid confidence intervals in downstream analyses, even if the accuracy of the automated annotations is high, e.g., above 90%. We propose a framework of design-based supervised learning (DSL) that can provide valid statistical estimates, even when predicted variables contain non-random prediction errors. DSL employs a doubly robust procedure to combine predicted labels and a smaller number of expert annotations. DSL allows scholars to apply advances in LLMs to social science research while maintaining statistical validity. We illustrate its general applicability using two applications where the outcome and independent variables are text-based.

Results Or Findings

Due to the space constraints, we focus on two outcomes, “Contrast” and “Promote,” in the main text, while reporting the results on “Attack” in Appendix G.2. In Figure 5-(a), the leftmost column reports the benchmark estimates based on the entire sample of 13040 expertcoded documents. The remaining columns show point estimates and standard errors of different methods, and the X-axis shows the underlying automated text annotation method. Figure 5-

Discussion Or Conclusion

interested in using text labels predicted by automated methods as key variables in subsequent statistical analyses (Hopkins and King 2010; Egami et al. 2022; Grimmer, Roberts, and Stewart 2022). In the vast majority of current applications, researchers treat predicted text-based variables as if they were observed without errors; that is, they ignore prediction errors created by automated text annotation. The natural intuition behind this common practice is that when the prediction accuracy is high enough, the underlying automated text annotation model, whether it is an LLM or a supervised ML model, “learned” how to label texts, and prediction errors are small enough that analysts can ignore them. This problem has been previously raised (Benoit, Laver, and Mikhaylov 2009; Wang, McCormick, and Leek 2020; Fong and Tyler 2021; Knox, Lucas, and Cho 2022) but is seldom addressed in practice. We clarify that ignoring such prediction errors in the first step of text annotation, even if the errors are small, leads to substantial bias, invalid confidence intervals, and inaccurate p-values in downstream statistical analyses of text-based variables. Biases from prediction errors exist even when the prediction accuracy in the text classification step is extremely high, e.g., above 90% or even at 95%. This is because prediction errors are not necessarily random—they can be correlated with observed and unobserved variables in downstream analyses. In practice, this means that substantive and statistical conclusions can easily flip if researchers choose slightly different automated text annotation methods, as we empirically show in Section 5. In this paper, we make two contributions. First, we develop a general framework for using predicted variables in downstream statistical analyses without suffering from bias due to prediction errors. Unlike the existing approaches, the proposed approach, which we call designbased supervised learning (DSL), allows researchers to obtain statistically valid estimates and standard errors, even when automated text annotation methods have arbitrary non-random

Limitations

No clean limitations passage isolated automatically.

evidence/tables/readthrough_evidence_map.md

Read-Through Evidence Map

| Field | Automated read-through value |

|---|---|

| Source PDF | `raw/Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses.pdf` |

| Raw Markdown | `rawmarkdown_full/egami-et-al-2024-using-large-language-model-annotations-for-the-social-sciences-a-general-framework-of-using-predicted-variables-in-downstream-analyses.md` |

| Grounding | `pdftotext-full` |

| Provisional design | `guidance/framework` |

| Branch role | `adjacent evidence-synthesis automation evidence` |

| Top terms | annotation (231), llm (196), large language model (17), chatgpt (6), gpt-4 (5), generative ai (4), artificial intelligence (2) |

| Verification status | Needs human source-checking before exact citation |

level1_report.md

Level 1 Report

level3_report.md

Level 3 Report

- `evidence/passages/readthrough_key_passages.md`

- `evidence/tables/readthrough_evidence_map.md`

- `logic/method_and_design.md`

- `logic/methods_variables_outcomes.md`

- `logic/source_scope.md`

readthrough_result.md

Read-Through Result

Source Identity Check

Content Read-Through

The source was read through using full PDF text when available, with Markdown sidecar fallback. It was selected because it matched automated data extraction, LLM/AI evidence synthesis, screening, annotation, or related review-automation terms.

Methods And Design Check

Results Or Findings Check

Due to the space constraints, we focus on two outcomes, “Contrast” and “Promote,” in the main text, while reporting the results on “Attack” in Appendix G.2. In Figure 5-(a), the leftmost column reports the benchmark estimates based on the entire sample of 13040 expertcoded documents. The remaining columns show point estimates and standard errors of different methods, and the X-axis shows the underlying automated text annotation method. Figure 5-

Theory And Concept Check

Noise Removed

This pass did not preserve title-page boilerplate as claims. It wrote concise method/scope/evidence files and left exact quotation to source checking.

Open Verification Needs

Final Read-Through Status

`automated-readthrough-complete`; do not treat as `curated-level-3`.