Manuscript Offprint

arXiv:2609.05296

LexFlip: A Dissociation Diagnostic for Legal Meaning Preservation Metrics

Gaurab Baral

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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–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.597r = 0.597, a bare length feature outscores every semantic metric and has the lowest margin we measure.

1 Introduction

Rewriting a legal text for a lay reader has an unusual failure mode. When a news summary drops a qualifier the reader is mildly misinformed; when an insurance clause drops a qualifier the reader may be uninsured. Moffatt v. Air Canada (2024) held an airline liable for its chatbot's misstatement of its own policy, and legal research tools sold as hallucination-free still err on 17 to 33% of queries [1].

If simplified legal text is produced automatically, an automatic metric is what checks it. Two checks are in current use [2, 3]: a sentence paired with itself must receive the maximum score, and a sentence paired with an unrelated one the minimum. Both are necessary and both are easy to state. But moving from an identical pair to an unrelated

Figure

Figure 1: One LEXFLIP item. Replacing doit with peut turns a duty into a discretion and leaves the sentence otherwise untouched, so a metric reading legal meaning must drop and one reading overlap cannot. The judge's ten-point rating is rescaled to [0, 1], as in Table 1. Over the whole set the edit costs BERTScore 0.022 of its own identical-to-unrelated range and the judge 0.370, against 0.670 for bidirectional NLI.

pair changes lexical overlap and legal meaning together, in the same direction, at the same time, so any monotone function of token overlap satisfies both by construction. The checks test calibration at two endpoints; they do not test what the metric is reading.

The remedy is a dissociation: an item on which the two confounded variables are pulled apart, so that legal force changes while surface form does not. Replace doit (must) with peut (may) and ninety-odd percent of the tokens are untouched, the sentence stays fluent and statutory in register, and an obligation has become a permission (Figure 1). A metric that measures legal meaning must drop sharply; a metric that measures overlap cannot. We release LEXFLIP, 373 such perturbations of Quebec statutory French, with a harness taking an arbitrary scoring function so that untrained metrics, regressors and prompted judges take the same test, 1^{1} and a four-part validation protocol around it.

Related work. BLEU does not correlate with meaning preservation once sentence splitting is involved [4], and BERTScore [5] and other embedding metrics score high across all alterations. FRJUDGE [3] is to our knowledge the only annotated resource for legal meaning preservation in any language, and trained metrics fitted to such corpora [2] are our point of departure. Closest in method, Chen and Eger [6] show similarity metrics are not robust to meaning-changing edits while NLI-based metrics repair much of the gap, and Mujahid et al. [7] run the complementary experiment; no prior challenge set we know of targets legal force. We follow Bean et al. [8] and Pacchiardi et al. [9] on construct validity, Deutsch et al. [10] and Graham and Baldwin [11] on statistics, Xu and Jurgens [12] on rating distributions.

References (14)