Codebooks, conceptualization, and LLM-based measurement
University of Wisconsin–Madison Methods Speaker Series
23 October 2026
Document classification is a core measurement tool in political science: protest and violence event data, manifesto coding, policy agendas, social media…
Two common approaches:
1. Train a supervised classifier: write a codebook, have annotators label a few thousand documents, train a classifier.
2. Use an LLM: write a prompt (maybe with a codebook), label everything zero-shot.
So when we use LLMs to label documents, what concept is the LLM actually measuring?
Upset about the election results, a group of angry youth smashed the windows of local businesses.
In everyday usage, probably yes!
And if you ask an LLM, most will happily return PROTEST.
But four widely used political science codebooks make different decisions:
| ACE | ACLED | CAMEO | CCC | |
|---|---|---|---|---|
| Protest with violence by protesters | “Riots” are included | Explicitly excluded | “Riot” subclass | Included |
A “bare label” prompt does not tell the LLM how it should define “protest”.