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
- 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`
- Raw Markdown sidecar: `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`
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
- [[AI Data Extraction]]
- [[Evidence Synthesis Automation]]
- [[Human-AI Validation]]
Layer Index
- `logic/claims.md`
- `logic/problem.md`
- `logic/concepts.md`
- `logic/related_work.md`
- `logic/experiments.md`
- `evidence/README.md`
- `trace/exploration_tree.yaml`
- `src/environment.md`
- `index.html`
logic/claims.md
Claims
- C01: `Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses` is part of the AI Data Extraction branch source base and should be retrieved with the anchor documents before use in rejoinder synthesis.
- C02: The source is provisionally connected to [[AI Data Extraction]], [[Evidence Synthesis Automation]], [[Human-AI Validation]].
- C03: The current ARA is a scaffold; exact empirical, methodological, and numerical claims require source checking against `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`.
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
- Document category: `branch-source`
- Branch anchor: connect explicitly to [[Main Paper]], [[Commentary]], [[Commentary 2]], or [[Rejoinder Map]] before using in final prose.
logic/concepts.md
Concepts
- [[AI Data Extraction]]
- [[Evidence Synthesis Automation]]
- [[Human-AI Validation]]
logic/method_and_design.md
Method And Design
Source Identity
- Title: Egami et al. - 2024 - Using Large Language Model Annotations for the Social Sciences A General Framework of Using Predicted Variables in Downstream Analyses
- ARA: `egami-et-al-2024-using-large-language-model-annotations-for-the-social-sciences-a-general-framework-of-using-predic-ara`
- 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`
- Automated read-through grounding: `pdftotext-full`
Design Classification
- Provisional design: `guidance/framework`
- Branch role: `adjacent evidence-synthesis automation evidence`
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
- Exact sample/study counts.
- Exact model/tool versions.
- Evaluation metrics and denominators.
- Whether reported accuracy concerns screening, extraction, annotation, risk-of-bias, or downstream synthesis.
- Whether humans are used as gold standard, adjudicators, reviewers, validators, or final decision makers.
logic/methods_variables_outcomes.md
Methods Variables Outcomes
Extraction-Relevant Constructs
- Branch role: `adjacent evidence-synthesis automation evidence`.
- Provisional design: `guidance/framework`.
- Top automated-data-extraction terms in source text: annotation (231), llm (196), large language model (17), chatgpt (6), gpt-4 (5), generative ai (4), artificial intelligence (2).
Variables And Measures To Source-Check
- AI system or tool used.
- Human comparison or adjudication workflow.
- Data extraction target fields.
- Screening/extraction/annotation/risk-of-bias task definition.
- Accuracy, agreement, sensitivity, specificity, error rate, time, cost, or workload outcomes.
Extracted Evidence Sentences
- Using Large Language Model Annotations for the Social Sciences:
A General Framework of Using Predicted Variables
in Downstream Analyses∗
Naoki Egami†
Musashi Hinck‡
Brandon M.
- Stewart§
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.
- 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 allows scholars to apply advances in LLMs
to social science research while maintaining statistical validity.
- More recently, a growing number of papers propose
using large language models (LLMs), such as ChatGPT, to automate text annotations by predicting text labels (e.g., Bommasani et al.
- Given that researchers can adapt
LLMs to perform a wide range of text annotation tasks by simply changing prompts, automated
LLM annotations present exciting opportunities for the social sciences.
- 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.
- 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.
logic/source_scope.md
Source Scope
Strong Uses
- Use as `adjacent evidence-synthesis automation evidence` in the AI Data Extraction branch.
- Use for retrieval around annotation, llm, large language model, chatgpt, gpt-4.
Weak Uses
- Do not treat this automated ARA as citation-grade for exact numbers without checking the PDF.
- Do not infer model superiority from abstract-level claims alone.
- Do not treat human-AI agreement or model confidence as validation unless the source itself defines and tests that standard.
Transfer Boundaries
- Domain, document type, extraction target, model/tool version, and human adjudication design may limit transfer to the main AI data extraction paper.
Citation-Grade Verification Needs
- Re-open `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`.
- Confirm the exact extraction task and evaluation metric.
- Confirm whether the source evaluates data extraction specifically or an adjacent task such as screening, annotation, risk-of-bias, or literature search.
logic/experiments.md
Methods And Evidence Role
- Current status: automated scaffold.
- Grounding status: `full_markdown`.
- Source checking 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`.
- Raw Markdown 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`.
evidence/README.md
Evidence README
Source Pointer
- 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`
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
- `PAPER.md`: present.
- 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`.
- 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`.
- Required scaffold folders: present.
- Status: `automated-level-1`.
level3_report.md
Level 3 Report
- Automated read-through completed: 2026-05-12.
- Status assigned: `automated-level-3`.
- Source considered: `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`.
- Evidence files added:
- `evidence/passages/readthrough_key_passages.md`
- `evidence/tables/readthrough_evidence_map.md`
- Logic files added/refreshed:
- `logic/method_and_design.md`
- `logic/methods_variables_outcomes.md`
- `logic/source_scope.md`
- Remaining work: human close-reading curation before `curated-level-3`.
readthrough_result.md
Read-Through Result
Source Identity Check
- 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 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 used: `pdftotext-full`
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
- Provisional design: `guidance/framework`
- Branch role: `adjacent evidence-synthesis automation evidence`
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
- [[AI Data Extraction]]
- [[Evidence Synthesis Automation]]
- [[Human-AI Validation]]
- [[LLM Accuracy]]
- [[Speed-Accuracy Tradeoff]]
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
- Verify exact methods, sample sizes, field definitions, and metrics in the PDF.
- Distinguish direct data extraction evidence from adjacent tasks.
- Add parser-compatible APA relations only after close manual comparison with neighboring ARAs.
Final Read-Through Status
`automated-readthrough-complete`; do not treat as `curated-level-3`.