What is a protest anyway?

Codebooks, conceptualization, and LLM-based measurement

Andy Halterman (joint work with Katie Keith)

University of Wisconsin–Madison Methods Speaker Series

23 October 2026

Document classification for measurement

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.

  • The concept is represented by the labeled examples.

2. Use an LLM: write a prompt (maybe with a codebook), label everything zero-shot.

  • The concept is represented by the prompt and whatever the model learned in training.
  • Very common now: 88% of 103 reviewed CSS papers recommend LLM annotation (Baumann et al. 2025).

So when we use LLMs to label documents, what concept is the LLM actually measuring?

Is this a protest?


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
IncludedSubclassExcluded

A “bare label” prompt does not tell the LLM how it should define “protest”.

Codebooks (justifiably) disagree