mlsanityData to 7 Oct 2026

Codebook LLMs: Evaluating LLMs as Measurement Tools for Political Science Concepts

arXiv 2407.10747 ↗First posted 15 Jul 2024cs.CLcited by 28

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

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  2. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  3. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 849
  4. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
  5. 2023Can Large Language Models Transform Computational Social Science?cited by 245
  6. 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
  7. 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
  8. 2024Knowledge Distillation in Automated Annotation: Supervised Text Classification with LLM-Generated Training Labelscited by 25
  9. 2023Stance Detection: A Practical Guide to Classifying Political Beliefs in Textcited by 20
  10. 2021Corpus-Level Evaluation for Event QA: The IndiaPoliceEvents Corpus Covering the 2002 Gujarat Violencecited by 19
  11. 2023Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreementcited by 17
  12. 2024Prompt Design Matters for Computational Social Science Tasks but in Unpredictable Wayscited by 14
2 more
  1. 2023Synthetically generated text for supervised text analysiscited by 10
  2. 2023Guiding LLM to Fool Itself: Automatically Manipulating Machine Reading Comprehension Shortcut Triggerscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 8; 2026: 19.

28 papers.

Sort:

By area:

  1. 2024'Simulacrum of Stories': Examining Large Language Models as Qualitative Research Participantscited by 27
  2. 2025From Seeing to Experiencing: Scaling Navigation Foundation Models with Reinforcement Learningcited by 11
  3. 2025Value Alignment of Social Media Ranking Algorithmscited by 4
  4. 2025Co-DETECT: Collaborative Discovery of Edge Cases in Text Classificationcited by 3
  5. 2025Feeding LLM Annotations to BERT Classifiers at Your Own Riskcited by 2
  6. 2025What is a protest anyway? Codebook conceptualization is still a first-order concern in LLM-era classificationcited by 2
  7. 2026Measuring Human Value Expression in Social Media Texts: Calibrated LLM Annotation and Encoder Transfercited by 2
  8. 2025Are LLMs Enough for Hyperpartisan, Fake, Polarized and Harmful Content Detection? Evaluating In-Context Learning vs. Fine-Tuningcited by 1
  9. 2025Op-Fed: Opinion, Stance, and Monetary Policy Annotations on FOMC Transcripts Using Active Learningcited by 1
  10. 2025How Persuasive is Your Context?cited by 1
  11. 2026LLM Predictive Scoring and Validation: Inferring Experience Ratings from Unstructured Textcited by 1
  12. 2026When Better Codebooks Are Not Enough: Predictive Performance and Behavioral Reliability in LLM Political Event Codingcited by 1
16 more
  1. 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructscited by 1
  2. 2026Forecasting Commencing Enrolments Under Data Sparsity: A Zero-Shot Time Series Foundation Models Framework for Higher Education Planningcited by 0
  3. 2026Agentic Framework for Political Biography Extractioncited by 0
  4. 2026A conceptual framework for ideology in online discourse beyond the left and rightcited by 0
  5. 2026Multicalibration for Unbiased Model-Based Prevalence Estimationcited by 0
  6. 2026LLMs as annotators of credibility assessment in Danish asylum decisions: evaluating classification performance and errors beyond aggregated metricscited by 0
  7. 2026Toward Responsible and Epistemically Grounded Multilingual LLMs for Computational Social Science and Humanitiescited by 0
  8. 2026Validating LLMs in social science: Epistemic threats and emerging normscited by 0
  9. 2026Dimensionality in Satisfaction Ratingscited by 0
  10. 2026Debiased Inference for AI-Generated Data without Gold-Standard Labels: Identification via Multiple Imperfect Measurementscited by 0
  11. 2026When Can LLM Digital Twins Reduce Human Measurement? From Behavioral Fidelity to Statistical Substitutabilitycited by 0
  12. 2026CALICO: A Human-Centered, Codebook-Aligned System for Annotationcited by 0
  13. 2026A Framework for Generating Valid Context-Specific Benchmarks through Expert Guidancecited by 0
  14. 2026Making Political Text Scaling Comparable: Infrastructure and Hyperparameter Sensitivity for 17 Algorithmscited by 0
  15. 2026Experts Rise Where LLMs Disagree: Using Cross-Model Disagreement to Target Expert Effort in LLM Codebook Revision for Large-Scale Annotationcited by 0
  16. 2026EduBehaviors: Assertion-based Schemas for Auditable Coding of Educational Dialoguescited by 0