Skip to main content
QUICK REVIEW

[Paper Review] Predicting and Understanding Law-Making with Machine Learning

John J. Nay|arXiv (Cornell University)|Jul 6, 2016
Artificial Intelligence in LawSocial Sciences6 citations
TL;DR

This paper develops a machine learning model that predicts U.S. bill passage probability by combining NLP-based text embeddings with contextual legislative features. It finds that text-only models outperform context-only models when using updated bill data, and combining both yields the highest predictive accuracy, with sensitivity analysis identifying key enactment factors.

ABSTRACT

Out of nearly 70,000 bills introduced in the U.S. Congress from 2001 to 2015, only 2,513 were enacted. We developed a machine learning approach to forecasting the probability that any bill will become law. Starting in 2001 with the 107th Congress, we trained models on data from previous Congresses, predicted all bills in the current Congress, and repeated until the 113th Congress served as the test. For prediction we scored each sentence of a bill with a language model that embeds legislative vocabulary into a semantic-laden vector space. This language representation enables our investigation into which words increase the probability of enactment for any topic. To test the relative importance of text and context, we compared the text model to a context-only model that uses variables such as whether the bill's sponsor is in the majority party. To test the effect of changes to bills after their introduction on our ability to predict their final outcome, we compared using the bill text and meta-data available at the time of introduction with using the most recent data. At the time of introduction context-only predictions outperform text-only, and with the newest data text-only outperforms context-only. Combining text and context always performs best. We conducted a global sensitivity analysis on the combined model to determine important factors predicting enactment.

Motivation & Objective

  • To forecast the probability of U.S. bills becoming law using machine learning.
  • To compare the predictive power of text-based features versus contextual features (e.g., sponsor party affiliation).
  • To assess how data availability at introduction versus later stages affects prediction accuracy.
  • To identify which linguistic and contextual factors most strongly influence bill enactment likelihood.
  • To combine text and context features into a unified model that maximizes predictive performance.

Proposed method

  • Trained on 70,000+ bills from the 107th to 112th Congresses, testing on the 113th Congress.
  • Used a language model to embed each sentence of a bill into a semantic vector space reflecting legislative vocabulary.
  • Built a text-only model using sentence embeddings and a context-only model using metadata like sponsor party affiliation.
  • Evaluated prediction performance using data at bill introduction versus the most recent available data.
  • Combined text and context features into a single model and applied global sensitivity analysis to identify key predictors.
  • Compared model performance across different data availability stages to assess temporal impact on prediction accuracy.

Experimental results

Research questions

  • RQ1Does incorporating textual content from bill language improve prediction accuracy compared to relying solely on contextual metadata?
  • RQ2How does the predictive performance of text-only and context-only models change when using data available at introduction versus updated data?
  • RQ3What is the relative contribution of linguistic features versus contextual features in determining bill enactment probability?
  • RQ4Which specific words or phrases in bill text most significantly increase the likelihood of passage?
  • RQ5How do changes in bill content over time affect the ability to predict final outcomes?

Key findings

  • At the time of introduction, context-only models outperformed text-only models in predicting bill passage.
  • With the most recent data, text-only models outperformed context-only models, indicating that evolving text features are more predictive over time.
  • Combining text and context features consistently yielded the highest prediction accuracy across all evaluation stages.
  • Global sensitivity analysis revealed that specific linguistic features and sponsor-related contextual factors were among the most influential predictors of enactment.
  • The model achieved improved predictive performance when using updated bill data, highlighting the importance of tracking legislative evolution.
  • The study demonstrates that semantic text embeddings effectively capture legislative language patterns linked to law-making success.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.