Codebook LLMs: Evaluating LLMs as Measurement Tools for Political Science Concepts
Not on the map. Why?
Abstract (arXiv)
Codebooks -- documents that operationalize concepts and outline annotation procedures -- are used almost universally by social scientists when coding political texts. To code these texts automatically, researchers are increasing turning to generative large language models (LLMs). However, there is limited empirical evidence on whether "off-the-shelf" LLMs faithfully follow real-world codebook operationalizations and measure complex political constructs with sufficient accuracy. To address this, we gather and curate three real-world political science codebooks -- covering protest events, political violence and manifestos -- along with their unstructured texts and human labels. We also propose a five-stage framework for codebook-LLM measurement: preparing a codebook for both humans and LLMs, testing LLMs' basic capabilities on a codebook, evaluating zero-shot measurement accuracy (i.e. off-the-shelf performance), analyzing errors, and further (parameter-efficient) supervised training of LLMs. We provide an empirical demonstration of this framework using our three codebook datasets and several pretrained 7-12 billion open-weight LLMs. We find current open-weight LLMs have limitations in following codebooks zero-shot, but that supervised instruction tuning can substantially improve performance. Rather than suggesting the "best" LLM, our contribution lies in our codebook datasets, evaluation framework, and guidance for applied researchers who wish to implement their own codebook-LLM measurement projects.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 14 of its 22 references that are in the map. First posted on arXiv 15 Jul 2024.
Builds on
14 of 22 references.
References · 14
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 849
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
- 2023Can Large Language Models Transform Computational Social Science?cited by 245
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
- 2024Knowledge Distillation in Automated Annotation: Supervised Text Classification with LLM-Generated Training Labelscited by 25
- 2023Stance Detection: A Practical Guide to Classifying Political Beliefs in Textcited by 20
- 2021Corpus-Level Evaluation for Event QA: The IndiaPoliceEvents Corpus Covering the 2002 Gujarat Violencecited by 19
- 2023Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreementcited by 17
- 2024Prompt Design Matters for Computational Social Science Tasks but in Unpredictable Wayscited by 14
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 19.
28 papers.
Sort:
By area:
- 2024'Simulacrum of Stories': Examining Large Language Models as Qualitative Research Participantscited by 27
- 2025From Seeing to Experiencing: Scaling Navigation Foundation Models with Reinforcement Learningcited by 11
- 2025Value Alignment of Social Media Ranking Algorithmscited by 4
- 2025Co-DETECT: Collaborative Discovery of Edge Cases in Text Classificationcited by 3
- 2025Feeding LLM Annotations to BERT Classifiers at Your Own Riskcited by 2
- 2025What is a protest anyway? Codebook conceptualization is still a first-order concern in LLM-era classificationcited by 2
- 2026Measuring Human Value Expression in Social Media Texts: Calibrated LLM Annotation and Encoder Transfercited by 2
- 2025Are LLMs Enough for Hyperpartisan, Fake, Polarized and Harmful Content Detection? Evaluating In-Context Learning vs. Fine-Tuningcited by 1
- 2025Op-Fed: Opinion, Stance, and Monetary Policy Annotations on FOMC Transcripts Using Active Learningcited by 1
- 2025How Persuasive is Your Context?cited by 1
- 2026LLM Predictive Scoring and Validation: Inferring Experience Ratings from Unstructured Textcited by 1
- 2026When Better Codebooks Are Not Enough: Predictive Performance and Behavioral Reliability in LLM Political Event Codingcited by 1
16 more
- 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructscited by 1
- 2026Forecasting Commencing Enrolments Under Data Sparsity: A Zero-Shot Time Series Foundation Models Framework for Higher Education Planningcited by 0
- 2026Agentic Framework for Political Biography Extractioncited by 0
- 2026A conceptual framework for ideology in online discourse beyond the left and rightcited by 0
- 2026Multicalibration for Unbiased Model-Based Prevalence Estimationcited by 0
- 2026LLMs as annotators of credibility assessment in Danish asylum decisions: evaluating classification performance and errors beyond aggregated metricscited by 0
- 2026Toward Responsible and Epistemically Grounded Multilingual LLMs for Computational Social Science and Humanitiescited by 0
- 2026Validating LLMs in social science: Epistemic threats and emerging normscited by 0
- 2026Dimensionality in Satisfaction Ratingscited by 0
- 2026Debiased Inference for AI-Generated Data without Gold-Standard Labels: Identification via Multiple Imperfect Measurementscited by 0
- 2026When Can LLM Digital Twins Reduce Human Measurement? From Behavioral Fidelity to Statistical Substitutabilitycited by 0
- 2026CALICO: A Human-Centered, Codebook-Aligned System for Annotationcited by 0
- 2026A Framework for Generating Valid Context-Specific Benchmarks through Expert Guidancecited by 0
- 2026Making Political Text Scaling Comparable: Infrastructure and Hyperparameter Sensitivity for 17 Algorithmscited by 0
- 2026Experts Rise Where LLMs Disagree: Using Cross-Model Disagreement to Target Expert Effort in LLM Codebook Revision for Large-Scale Annotationcited by 0
- 2026EduBehaviors: Assertion-based Schemas for Auditable Coding of Educational Dialoguescited by 0
- 2026EduBehaviors: Assertion-based Schemas for Auditable Coding of Educational Dialogues22 Sep 2026
- 2026Experts Rise Where LLMs Disagree: Using Cross-Model Disagreement to Target Expert Effort in LLM Codebook Revision for Large-Scale Annotation22 Sep 2026
- 2026A Framework for Generating Valid Context-Specific Benchmarks through Expert Guidance15 Sep 2026
- 2026Making Political Text Scaling Comparable: Infrastructure and Hyperparameter Sensitivity for 17 Algorithms13 Sep 2026
- 2026CALICO: A Human-Centered, Codebook-Aligned System for Annotation13 Sep 2026
- 2026When Can LLM Digital Twins Reduce Human Measurement? From Behavioral Fidelity to Statistical Substitutability7 Sep 2026
- 2026Debiased Inference for AI-Generated Data without Gold-Standard Labels: Identification via Multiple Imperfect Measurements18 Aug 2026
- 2026Dimensionality in Satisfaction Ratings13 Jul 2026
- 2026Validating LLMs in social science: Epistemic threats and emerging norms8 Jul 2026
- 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructs26 Jun 2026
- 2026Measuring Human Value Expression in Social Media Texts: Calibrated LLM Annotation and Encoder Transfer9 Jun 2026
- 2026When Better Codebooks Are Not Enough: Predictive Performance and Behavioral Reliability in LLM Political Event Coding4 Jun 2026
16 more
- 2026Toward Responsible and Epistemically Grounded Multilingual LLMs for Computational Social Science and Humanities30 May 2026
- 2026LLMs as annotators of credibility assessment in Danish asylum decisions: evaluating classification performance and errors beyond aggregated metrics13 May 2026
- 2026Multicalibration for Unbiased Model-Based Prevalence Estimation23 Apr 2026
- 2026LLM Predictive Scoring and Validation: Inferring Experience Ratings from Unstructured Text15 Apr 2026
- 2026A conceptual framework for ideology in online discourse beyond the left and right19 Mar 2026
- 2026Agentic Framework for Political Biography Extraction23 Feb 2026
- 2026Forecasting Commencing Enrolments Under Data Sparsity: A Zero-Shot Time Series Foundation Models Framework for Higher Education Planning12 Feb 2026
- 2025What is a protest anyway? Codebook conceptualization is still a first-order concern in LLM-era classification3 Oct 2025
- 2025How Persuasive is Your Context?22 Sep 2025
- 2025Value Alignment of Social Media Ranking Algorithms17 Sep 2025
- 2025Op-Fed: Opinion, Stance, and Monetary Policy Annotations on FOMC Transcripts Using Active Learning16 Sep 2025
- 2025Are LLMs Enough for Hyperpartisan, Fake, Polarized and Harmful Content Detection? Evaluating In-Context Learning vs. Fine-Tuning9 Sep 2025
- 2025From Seeing to Experiencing: Scaling Navigation Foundation Models with Reinforcement Learning29 Jul 2025
- 2025Co-DETECT: Collaborative Discovery of Edge Cases in Text Classification7 Jul 2025
- 2025Feeding LLM Annotations to BERT Classifiers at Your Own Risk21 Apr 2025
- 2024'Simulacrum of Stories': Examining Large Language Models as Qualitative Research Participants28 Sep 2024
- 2026CALICO: A Human-Centered, Codebook-Aligned System for Annotation13 Sep 2026
- 2025Value Alignment of Social Media Ranking Algorithms17 Sep 2025
- 2026Agentic Framework for Political Biography Extractioncited by 0
- 2026Agentic Framework for Political Biography Extraction23 Feb 2026
- 2024'Simulacrum of Stories': Examining Large Language Models as Qualitative Research Participantscited by 27
- 2025From Seeing to Experiencing: Scaling Navigation Foundation Models with Reinforcement Learningcited by 11
- 2025Co-DETECT: Collaborative Discovery of Edge Cases in Text Classificationcited by 3
- 2025Feeding LLM Annotations to BERT Classifiers at Your Own Riskcited by 2
- 2025What is a protest anyway? Codebook conceptualization is still a first-order concern in LLM-era classificationcited by 2
- 2026Measuring Human Value Expression in Social Media Texts: Calibrated LLM Annotation and Encoder Transfercited by 2
- 2025Op-Fed: Opinion, Stance, and Monetary Policy Annotations on FOMC Transcripts Using Active Learningcited by 1
- 2025How Persuasive is Your Context?cited by 1
- 2026LLM Predictive Scoring and Validation: Inferring Experience Ratings from Unstructured Textcited by 1
- 2026When Better Codebooks Are Not Enough: Predictive Performance and Behavioral Reliability in LLM Political Event Codingcited by 1
- 2026Forecasting Commencing Enrolments Under Data Sparsity: A Zero-Shot Time Series Foundation Models Framework for Higher Education Planningcited by 0
- 2026A conceptual framework for ideology in online discourse beyond the left and rightcited by 0
12 most cited of 23 All 23 (JSON)
- 2026EduBehaviors: Assertion-based Schemas for Auditable Coding of Educational Dialogues22 Sep 2026
- 2026Experts Rise Where LLMs Disagree: Using Cross-Model Disagreement to Target Expert Effort in LLM Codebook Revision for Large-Scale Annotation22 Sep 2026
- 2026A Framework for Generating Valid Context-Specific Benchmarks through Expert Guidance15 Sep 2026
- 2026Making Political Text Scaling Comparable: Infrastructure and Hyperparameter Sensitivity for 17 Algorithms13 Sep 2026
- 2026When Can LLM Digital Twins Reduce Human Measurement? From Behavioral Fidelity to Statistical Substitutability7 Sep 2026
- 2026Debiased Inference for AI-Generated Data without Gold-Standard Labels: Identification via Multiple Imperfect Measurements18 Aug 2026
- 2026Dimensionality in Satisfaction Ratings13 Jul 2026
- 2026Validating LLMs in social science: Epistemic threats and emerging norms8 Jul 2026
- 2026Measuring Human Value Expression in Social Media Texts: Calibrated LLM Annotation and Encoder Transfer9 Jun 2026
- 2026When Better Codebooks Are Not Enough: Predictive Performance and Behavioral Reliability in LLM Political Event Coding4 Jun 2026
- 2026Toward Responsible and Epistemically Grounded Multilingual LLMs for Computational Social Science and Humanities30 May 2026
- 2026LLMs as annotators of credibility assessment in Danish asylum decisions: evaluating classification performance and errors beyond aggregated metrics13 May 2026
12 newest of 23 All 23 (JSON)