
ZH
Zixian He, Bharath Raahul Murugesan, Patrick T. Brandt, Yibo Hu
· 1 min read
ResearcharXiv cs.CL
When Better Codebooks Are Not Enough: Predictive Performance and Rule Adherence in LLM Political Event Coding
arXiv:2606.06781v3 Announce Type: replace
Abstract: High accuracy alone does not establish whether an LLM follows a codebook. This matters because many social-science studies rely on expert-written codebooks to turn text into structured data. We study this problem in political event coding, a source-target relation classification task in which a model identifies the action that one actor directs toward another under detailed coding rules. We test whether expert codebooks become more effective when presented to LLMs through clearer definitions, examples, retrieved context, and rules for difficult cases. We then examine how model predictions respond to controlled changes in label names, codebook order, and label-definition mappings. Clearer codebooks improve fine-grained classification: mean root-level macro-F1 rises from 0.457 with label names alone to 0.633 with enriched guidance across four open-source LLMs. Yet reversing the order of entries in the enriched codebook changes 21.2% of predictions on a 312-example subset, even though the labels and definitions remain unchanged. When label names are reassigned to different definitions, performance is also low. These findings highlight the need to evaluate both predictive performance and responses to codebook changes when LLM-generated labels are used as data in social-science research.
Original source
This story was published by arXiv cs.CL and written by Zixian He, Bharath Raahul Murugesan, Patrick T. Brandt, Yibo Hu. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


