Legal and Political Stance Detection of SCOTUS Language

Noah Bergam, Emily Allaway, Kathleen R. McKeown · DOI

Abstract

While the United States Supreme Court (SCOTUS) is officially an apolitical institution, the degree to which its language reflects political ideology and public opinion remains a central question in political science. This paper presents a novel approach using Natural Language Processing (NLP) to quantify the political stance of SCOTUS justices through their written opinions. By introducing the SC-stance dataset and a specialized Legal Adapter for Transformer models, the researchers demonstrate that judicial language contains measurable ideological signals. Their findings suggest that justices' language aligns with their voting patterns and public sentiment, providing empirical support for the "attitudinal" theory of judicial behavior.

Introduction

Scholars have long debated the drivers behind Supreme Court decisions. When the Court’s rulings align with public opinion, is it a result of Strategic Behavior—where justices consciously protect the Court's legitimacy—or Attitudinal Change, where justices are simply influenced by the same socio-political forces as the general public?

Traditional research has focused primarily on voting outcomes. However, this study shifts the focus to the text itself. By analyzing the language of oral arguments and written opinions, the authors aim to detect subtle political stances within dense, legalistic discourse. This task requires moving beyond standard sentiment analysis to sophisticated stance detection capable of navigating the complexities of legal prose.

Methodology

Defining Political Stance

The researchers quantified ideology through two distinct metrics:

  1. Issue-Specific Stance (ISS): This measures the alignment of a justice’s language with specific policy statements (e.g., environmental regulation or civil rights).
  2. Holistic Political Stance (HPS): This captures a general "liberal" or "conservative" linguistic style, using a classifier trained on broader political discourse, such as Congressional speeches.

To process the specialized language of the law, the authors utilized RoBERTa and BERT architectures. A key technical innovation was the implementation of a Legal Adapter. Rather than computationally expensive full fine-tuning, the team inserted small, trainable adapter layers into a pre-trained BERT model. These layers were trained on SigmaLaw, a corpus of 8.8 million legal sentences. This allowed the model to develop a specialized understanding of legal syntax and vocabulary without losing the general language capabilities of the base model.

Data Sources

The study integrated several large-scale datasets:

  • SC-stance: A new dataset created for this study, pairing 2,708 SCOTUS opinion segments with specific legal questions from Oyez.org.
  • Harvard CaseLaw Project: Provided the full text of over 33,000 Supreme Court opinions spanning from 1789 to 2020.
  • VAST & Convote: Used for initial training of the stance and ideology classifiers.

Key Findings

The Reality of the Political Signal

Despite the Court's neutral veneer, the study found a strong correlation (R=0.68) between ISS and HPS. This indicates that a justice's specific policy views and their general linguistic style are driven by a consistent underlying ideology. Furthermore, these linguistic metrics successfully tracked with Martin-Quinn scores, the gold-standard metric for judicial ideology based on voting history.

Support for the Attitudinal Hypothesis

The data revealed that "responsive" justices—those whose voting records most closely follow public opinion—also exhibit the strongest correlation between their language and their votes. This suggests that their personal attitudes drive both their rhetoric and their decisions, supporting the theory that justices are influenced by the same broad cultural shifts as the public, rather than merely performing for them.

The Salience Paradox

One of the study's most intriguing findings is that the "politicalness" of a justice's language actually decreases in high-profile, or "salient," cases. This suggests a strategic moderation of tone: when a case is under intense public scrutiny, justices may intentionally adopt more neutral, strictly legalistic language to bolster the perceived objectivity of the Court.

Model Performance and Validation

The Legal Adapter model achieved an F1 score of 55.6 on the SC-stance binary classification task, outperforming both standard BERT and "Legal-BERT" (which is pre-trained entirely on legal text). The researchers also found that NER-masking—hiding the names of specific entities and locations—improved the models' ability to generalize by forcing them to focus on the logical structure of arguments rather than specific political keywords.

Conclusion and Future Directions

This research demonstrates that NLP can provide a rigorous, quantitative window into the ideological underpinnings of the Supreme Court. While the 512-token limit of current Transformer models remains a constraint for analyzing lengthy legal opinions, the success of the Legal Adapter and the SC-stance dataset provides a foundation for future work. Expanding these tools to analyze certiorari petitions or social media sentiment could further clarify the complex relationship between the highest court and the public it serves.

Summary updated

BibTeX
@misc{bergam2022legal,
  author = {Noah Bergam and Emily Allaway and Kathleen R. McKeown},
  title = {{Legal and Political Stance Detection of SCOTUS Language}},
  year = {2022},
  eprint = {2211.11724},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.11724},
}
Figure