Measuring the Policy Content of Congressional and American State Legislation Using Machine Learning

We use a machine learning model based on the transformer architecture to replicate and expand the Comparative Agenda Project’s coverage of American legislatures. Our model is jointly trained on pre-coded Congressional and Pennsylvania legislation and it compares favorably to extant supervised machine learning models. Using Pennsylvania as a keystone allows us to bridge the national and state legislative contexts, and produce 1.687 million estimates of the leading policy in legislative documents from Congress and the 50 state legislatures since about 2009. Validations show the model agrees with human-coders on the vast majority of policy assignments, and the disagreements are based more on inconsistencies in the codebook’s logic than random error. We discuss the challenges with applying a model like this to the study of legislative institutions.

Institutions

Publication Details

Journal
Journal of Political Institutions and Political Economy
Published
2025-10-01
DOI
https://doi.org/10.1561/113.00000132
Primary Topic
Library Science and Information Literacy
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Measuring the Policy Content of Congressional and American State Legislation Using Machine Learning

Journal of Political Institutions and Political Economy
Library Science and Information Literacy
article

Measuring the Policy Content of Congressional and American State Legislation Using Machine Learning

article en

Abstract

We use a machine learning model based on the transformer architecture to replicate and expand the Comparative Agenda Project’s coverage of American legislatures. Our model is jointly trained on pre-coded Congressional and Pennsylvania legislation and it compares favorably to extant supervised machine learning models. Using Pennsylvania as a keystone allows us to bridge the national and state legislative contexts, and produce 1.687 million estimates of the leading policy in legislative documents from Congress and the 50 state legislatures since about 2009. Validations show the model agrees with human-coders on the vast majority of policy assignments, and the disagreements are based more on inconsistencies in the codebook’s logic than random error. We discuss the challenges with applying a model like this to the study of legislative institutions.

Journal of Political Institutions and Political EconomyVol. 6(3-4)
University of Vermont (US)
Openalex Percentile: Top 34%
Library Science and Information Literacy
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.