NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Can Abstract Meaning Representation Facilitate Fair Legal Judgement Predictions?

Supriti Vijay, Daniel Hershcovich2024

Abstract

Legal judgment prediction encompasses the automated prediction of case outcomes by leveraging historical facts and opinions. While this approach holds the potential to enhance the efficiency of the legal system, it also raises critical concerns regarding the perpetuation of biases. Abstract Meaning Representation (AMR) has shown promise as an intermediate text representation in various downstream NLP tasks due to its ability to capture semantically meaningful information in a graph-like structure. In this paper, we employ this ability of AMR in the legal judgement prediction task and assess to what extent it encodes biases, or conversely, abstracts away from them. Our study reveals that while AMR-based models exhibit worse overall performance than transformer-based models, they are less biased for attributes like age and defendant state compared to gender. By shedding light on these findings, this paper contributes to a more nuanced understanding of AMR's potential benefits and limitations in legal NLP.

TL;DR

This paper investigates whether using Abstract Meaning Representation (AMR)—a graph-based semantic framework—can mitigate biases in automated legal judgment predictions. While AMR-based models show improved fairness for attributes like age and defendant state, they suffer from a significant performance drop compared to standard transformer models and struggle to address gender bias, highlighting a complex trade-off between predictive accuracy and social equity.

What Problem Does This Paper Address?

Legal Judgment Prediction (LJP) uses machine learning to predict case outcomes based on historical facts. However, standard Large Language Models (LLMs) like BERT often "inherit" societal biases present in training data, leading to unfair decisions based on sensitive attributes like gender or nationality.

The authors explore whether moving from raw text to a structured semantic representation (AMR) can help. AMR translates sentences into rooted, directed graphs that capture "who did what to whom," theoretically abstracting away superficial linguistic cues that might trigger bias while retaining core legal facts.

Overview of the AMR-based legal judgment prediction pipeline.

Methods

The researchers compared standard text-based models (DistilRoBERTa) against AMR-based versions of LegalBERT and DistilRoBERTa. Their pipeline involved:

  1. AMR Parsing: Using the SpringAMR parser to convert legal documents into graphs. They tested two strategies: Splitting before parsing (SbP) (sentence-by-sentence) and Splitting after parsing (SaP) (parsing larger chunks to maintain cross-sentence context).
  2. Hierarchical Architecture: To handle long legal documents, they used a hierarchical BERT-based model that processes facts individually before aggregating them for a final prediction.
  3. Fairness Evaluation: They measured performance using Macro-F1 and assessed fairness via Group Disparity (GD)—the standard deviation of performance across different demographic groups (lower is better).

Datasets

The study utilized the European Court of Human Rights (ECtHR) dataset, a benchmark for LJP.

  • Size: ~11,000 legal cases.
  • Task: Predict which human rights articles were violated.
  • Demographics: The dataset includes tags for Applicant Age, Applicant Gender, and Defendant State (Central-Eastern Europe vs. others), allowing for detailed fairness auditing.

Key Insights and Ideas

  • The Dissociation Effect: AMR helps fairness in age and defendant state because it often "decouples" these attributes from the individual in the graph structure. For example, a birth year might be linked to a "birth event" rather than directly to the "person node" used in the crime description, making it harder for the classifier to exploit that bias.
  • The Gender Gap: AMR failed to reduce gender bias. The authors attribute this to the way AMR handles pronouns; by resolving "he" or "she" to a specific person node, the model might actually reinforce gendered associations during the parsing phase.
  • The Fairness Paradox: The authors warn of a "random baseline" effect. Some AMR models showed very low group disparity simply because their overall performance was poor. If a model is equally bad at predicting outcomes for everyone, it technically looks "fair," but it isn't useful.
  • Parsing Strategy Matters: "Splitting after parsing" (SaP) proved superior to "Splitting before" (SbP) because it better preserved coreferences and temporal relationships across the document.

Key Results

The quantitative results show a clear performance-fairness trade-off. While text-based models maintain higher accuracy, the AMR-based models (specifically using the SaP strategy) show marked improvements in fairness for certain attributes.

Performance and fairness metrics (mF1 and Group Disparity) for text-based vs. AMR-based models.
  • Performance: The best text-based model achieved a 62.9 mF1, while the best AMR-based model (LegalBERT SaP) reached 57.3 mF1.
  • Fairness (Defendant State): AMR models were significantly fairer here, with the LegalBERT SaP model achieving a Group Disparity (GD) of 0.3, compared to 2.1 for the standard text model.
  • Fairness (Gender): AMR models generally performed worse or similar to text models in gender disparity, with GD scores ranging from 2.5 to 5.4.

Limitations and Future Work

The authors acknowledge several hurdles:

  • Parser Bottleneck: The study relied on a single parser (SpringAMR). Different parsers might encode or omit different types of biased information.
  • Information Loss: Linearizing a complex graph back into a format a transformer can read (PENMAN notation) likely loses some of the structural benefits of AMR.
  • Single Dataset: Results are limited to the ECtHR dataset; other legal systems might yield different results.

Future work could involve developing "fairness-aware" AMR parsers or exploring other semantic frameworks like UCCA that don't attempt lexical disambiguation, potentially avoiding the gender-bias pitfalls found here.

Summary updated

BibTeX
@misc{vijay2024can,
  author = {Supriti Vijay and Daniel Hershcovich},
  title = {{Can Abstract Meaning Representation Facilitate Fair Legal Judgement Predictions?}},
  year = {2024},
  doi = {10.18653/v1/2024.insights-1.13},
}
Figure