LexFlip: A Dissociation Diagnostic for Legal Meaning Preservation Metrics

TL;DR

LexFlip uses lexical perturbations to detect legal meaning changes; NLI performs best.

cs.CL 🔴 Advanced 2026-09-04 153 views
Gaurab Baral
legal text semantic evaluation machine learning NLP text simplification

Key Findings

Methodology

LexFlip employs fixed surface forms while altering legal force, using 373 minimal perturbations of Quebec statutory French to test various semantic evaluation metrics. Key methods include embeddings and BERTScore.

Key Results

  • Bidirectional NLI model performs best in legal meaning detection, using 0.670 of its range for edits, with 93.3% accuracy.
  • BERTScore and embedding metrics use only 0.022 to 0.039 of their range when legal meaning is reversed, showing insufficient sensitivity.
  • On the FRJUDGE dataset, simple length features outperform all semantic metrics, achieving r=0.641.

Significance

This study provides a new evaluation method for legal text simplification, challenging existing semantic evaluation standards, especially in terms of accuracy and reliability for legal texts. It offers crucial insights for developing legal tech tools.

Technical Contribution

Introduces LexFlip as a tool for legal meaning detection, demonstrating the limitations of existing semantic metrics in legal texts and proving the effectiveness of NLI models for such tasks.

Novelty

LexFlip is the first to test semantic evaluation metrics by altering legal force while keeping surface forms fixed, offering a new perspective on legal text accuracy.

Limitations

  • LexFlip's labels are definitional rather than annotated, potentially lacking validation by legal experts.
  • Perturbations are single and template-generated, possibly not reflecting the complexity of legal texts.
  • NLI models may only be familiar with form rather than truly understanding legal consequences.

Future Work

Future research could expand LexFlip's application scope, conduct broader legal text testing, and explore the effectiveness of other semantic evaluation methods.

AI Executive Summary

LexFlip is a tool designed to detect whether simplified legal texts retain their original meaning. Existing semantic evaluation methods fail to effectively differentiate changes in legal meaning, especially in legal texts. LexFlip employs fixed surface forms while altering legal force, using 373 minimal perturbations of Quebec statutory French to test various semantic evaluation metrics. Experimental results show that bidirectional NLI models perform best in legal meaning detection, while BERTScore and embedding metrics perform poorly when legal meaning is reversed. This study provides a new evaluation method for legal text simplification, challenging existing semantic evaluation standards, especially in terms of accuracy and reliability for legal texts. Future research could expand LexFlip's application scope, conduct broader legal text testing, and explore the effectiveness of other semantic evaluation methods.

Deep Analysis

Background

Simplifying legal texts is crucial for lay readers, but existing semantic evaluation methods cannot ensure that simplified texts retain their original meaning. Metrics like BLEU and BERTScore perform poorly in legal texts, failing to effectively detect changes in legal meaning.

Core Problem

Existing semantic evaluation methods fail to effectively differentiate changes in legal meaning, especially in legal texts. The accuracy and reliability of legal texts are crucial for the development of legal tech tools.

Innovation

LexFlip is the first to test semantic evaluation metrics by altering legal force while keeping surface forms fixed, offering a new perspective on legal text accuracy. It detects changes in legal meaning through minimal perturbations.

Methodology

  • �� Use minimal perturbations of Quebec statutory French
  • �� Alter legal force while keeping surface forms fixed
  • �� Test various semantic evaluation metrics, including embeddings and BERTScore

Experiments

Experiments use 373 minimal perturbations of Quebec statutory French to test various semantic evaluation metrics. Key metrics tested include embeddings, BERTScore, and NLI models.

Results

Experimental results show that bidirectional NLI models perform best in legal meaning detection, while BERTScore and embedding metrics perform poorly when legal meaning is reversed. Simple length features outperform all semantic metrics.

Applications

LexFlip can be used for legal text simplification and evaluation, helping legal tech tool developers ensure text accuracy and reliability.

Limitations & Outlook

LexFlip's labels are definitional rather than annotated, potentially lacking validation by legal experts. Perturbations are single and template-generated, possibly not reflecting the complexity of legal texts.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen. You have a recipe, but to make it easier for your family to understand, you need to simplify it. LexFlip is like a tool that helps you ensure the simplified recipe still retains its original flavor. It tests different versions of the recipe by changing the order or quantity of ingredients to ensure each version's taste remains unchanged.

ELI14 Explained like you're 14

Imagine you're playing a game where you need to pass levels, but each level has different rules. LexFlip is like a tool that helps you ensure the rules of each level remain unchanged, even if you change some game elements. It tests different versions of the game to ensure each version's rules remain unchanged.

Glossary

LexFlip

A tool for detecting whether simplified legal texts retain their original meaning.

Used to test semantic evaluation metrics in legal texts.

NLI

A model for detecting inferential relationships between texts.

Used to detect changes in legal meaning.

BERTScore

A text generation evaluation method based on the BERT model.

Used to evaluate semantic retention after text simplification.

Token Jaccard

A method for measuring lexical overlap between texts.

Used to evaluate lexical retention after text simplification.

FRJUDGE

A dataset for evaluating semantic retention in simplified legal texts.

Used to test semantic evaluation metrics in legal texts.

Open Questions Unanswered questions from this research

  • 1 How to ensure LexFlip remains effective in broader legal texts?
  • 2 How to detect changes in legal meaning without relying on template generation?
  • 3 How to incorporate legal experts' opinions to validate LexFlip's effectiveness?

Applications

Immediate Applications

Legal Text Simplification

Helps legal tech tool developers ensure text accuracy and reliability.

Legal Tech Tool Development

Provides new evaluation methods for developing legal tech tools.

Long-term Vision

Standardization of Legal Text Evaluation

Promotes standardization of legal text evaluation to ensure text accuracy and reliability.

Abstract

Does a simplified legal clause still say what the original said? The checks in current use cannot establish that it does: requiring an identical pair to score highest and an unrelated pair lowest moves lexical overlap and legal force together, so any monotone function of token overlap satisfies both. Our remedy is a dissociation, an item holding surface form fixed while legal force moves. We release LexFlip, 373 minimal perturbations of Quebec statutory French that reverse legal force while preserving 0.93 of the tokens, with a harness scoring metrics, regressors and prompted judges alike. The seven embedding and BERTScore metrics we test spend only 0.022 to 0.039 of their identical-to-unrelated range on such an edit, against 0.670 for bidirectional NLI, the one family the identical-pair check would disqualify. On FrJudge, against a measured human ceiling of r=0.597, a bare length feature outscores every semantic metric and has the lowest margin we measure.

cs.CL cs.LG