Skip to main content
QUICK REVIEW

[Paper Review] JUSTICE: A Benchmark Dataset for Supreme Court's Judgment Prediction

Mohammad Alali, Shaayan Syed|arXiv (Cornell University)|Dec 6, 2021
Artificial Intelligence in LawSocial Sciences7 citations
TL;DR

This paper introduces JUSTICE, a benchmark dataset of 8,200 U.S. Supreme Court cases with annotated facts, voting outcomes, and decision types, designed to enable NLP models to predict judicial judgments. Despite challenges in data quality and task ambiguity, the dataset enables training of models like BERT and LSTM for judgment prediction, though controversialness prediction remains ineffective due to insufficient signal in case summaries.

ABSTRACT

Artificial intelligence is being utilized in many domains as of late, and the legal system is no exception. However, as it stands now, the number of well-annotated datasets pertaining to legal documents from the Supreme Court of the United States (SCOTUS) is very limited for public use. Even though the Supreme Court rulings are public domain knowledge, trying to do meaningful work with them becomes a much greater task due to the need to manually gather and process that data from scratch each time. Hence, our goal is to create a high-quality dataset of SCOTUS court cases so that they may be readily used in natural language processing (NLP) research and other data-driven applications. Additionally, recent advances in NLP provide us with the tools to build predictive models that can be used to reveal patterns that influence court decisions. By using advanced NLP algorithms to analyze previous court cases, the trained models are able to predict and classify a court's judgment given the case's facts from the plaintiff and the defendant in textual format; in other words, the model is emulating a human jury by generating a final verdict.

Motivation & Objective

  • To create a well-annotated, comprehensive dataset of U.S. Supreme Court cases for NLP-based judgment prediction.
  • To address the lack of existing datasets focused on the full spectrum of U.S. Supreme Court decisions, as opposed to country-specific or case-type-specific datasets.
  • To improve model performance in predicting judicial outcomes by providing high-quality, structured legal text and decision metadata.
  • To identify and resolve data quality issues such as missing values, swapped votes, and ambiguous winning party labels.
  • To explore the feasibility of predicting controversialness of cases using only factual summaries, despite limited signal in the text.

Proposed method

  • Sourced case data primarily from Oyez and supplemented with the Washington University Supreme Court Database (SCDB) to resolve inconsistencies.
  • Defined a structured dataset with 12 columns including case ID, party names, facts, voting counts, winning party, and decision type.
  • Applied data cleaning techniques to correct swapped votes, ambiguous winning party labels, and mismatched decision types.
  • Used BERT-based models and traditional classifiers (SVM, LSTM) to evaluate judgment prediction and controversialness classification tasks.
  • Implemented data augmentation and mirroring to mitigate class imbalance in the dataset.
  • Proposed text-level modifications such as entity replacement (<p1>, <p2>) to improve model generalization and reduce reliance on party names.

Experimental results

Research questions

  • RQ1Can a large-scale, well-annotated dataset of U.S. Supreme Court cases enable accurate NLP-based prediction of judicial judgments?
  • RQ2How do data quality issues such as swapped votes and ambiguous labels affect model performance in legal judgment prediction?
  • RQ3To what extent can factual summaries alone predict whether a case is controversial, given the lack of explicit signals?
  • RQ4Can model performance be improved by modifying input text through entity anonymization (e.g., <p1>, <p2>) to reduce bias toward party names?
  • RQ5What are the limitations of current NLP models in predicting legal outcomes when trained solely on case summaries?

Key findings

  • The JUSTICE dataset contains 8,200 U.S. Supreme Court cases with structured, cleaned annotations for facts, voting outcomes, and decision types.
  • The dataset revealed significant data quality issues, including 11% of cases with swapped majority/minority votes and 13% with ambiguous winning party labels.
  • Judgment prediction models achieved high accuracy (over 90%) using BERT and SVM, indicating the dataset is suitable for this task.
  • The controversialness prediction task failed to produce meaningful results, with an SVM achieving only 61% accuracy due to class imbalance and lack of signal in case summaries.
  • LSTM models could not converge below a cross-entropy loss of 0.6, indicating poor learning dynamics for the controversialness task.
  • Text-level modifications such as replacing party names with <p1> and <p2> are proposed as a way to improve model generalization and reduce reliance on named entities.

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.