Resolving Legalese: A Multilingual Exploration of Negation Scope Resolution in Legal Documents

Ramona Christen, Anastassia Shaitarova, Matthias Stürmer, Joel Niklaus · DOI

Abstract

Negation Scope Resolution (NSR) is a critical task in Natural Language Processing, yet it remains under-explored in the complex domain of legal text. This paper introduces the first multilingual legal NSR datasets covering German, French, and Italian. We evaluate various transformer-based models and Large Language Models (LLMs) like ChatGPT. Our findings reveal that while general-purpose models struggle with the unique structural properties of "legalese," domain-specific fine-tuning achieves F1-scores up to 91.1%. We also highlight a significant performance gap in zero-shot LLM applications for this structural task.

Introduction

In NLP, Negation Scope Resolution (NSR) involves identifying the specific part of a sentence affected by a negation cue (e.g., "not"). While well-studied in medical and literary domains, the legal domain presents unique challenges: high linguistic complexity, significantly longer negation scopes, and a lack of annotated multilingual data. Legal documents often employ convoluted sentence structures where the scope of a negation can span dozens of tokens, making precise resolution essential for downstream legal reasoning.

Datasets and Domain Characteristics

The researchers developed four new datasets from Swiss and German court decisions in French (fr), Italian (it), and German (de-DE and de-CH), each containing approximately 1,000 sentences. Comparative analysis with external benchmarks (SFU, BioScope, ConanDoyle-neg) showed that legal sentences are not only longer (averaging 31–48 tokens vs. 22–28 in other domains) but also have broader negation scopes. This structural difference is a primary hurdle for models trained on non-legal corpora.

Methodology

The study utilized the NegBERT architecture, framing NSR as a token-classification task. The evaluation included:

  • General Multilingual Models: mBERT, XLM-RoBERTa, and DistilmBERT.
  • Legal-Specific Models: Legal-Swiss-RoBERTa and Legal-XLM-RoBERTa.
  • LLM Benchmarking: ChatGPT (GPT-3.5-turbo) in zero-shot and few-shot settings.

Experiments focused on cross-domain transfer (training on non-legal data) and cross-lingual transfer (training on one language and testing on another).

Key Results

The experiments demonstrated that domain-specific training is paramount. Models trained on multilingual legal data significantly outperformed those trained on larger, out-of-domain datasets.

F1 Scores across different models and training scenarios.

As shown in Figure 1, the best performance was achieved by XLM-R Base using all available legal data, reaching a mean F1-score of 90.03%. Interestingly, models pre-trained on legal corpora (Legal-XLM-R) showed a consistent 4-percentage point advantage in zero-shot scenarios compared to general models. The study also found that uncased models tended to perform better in cross-lingual settings due to higher sub-word overlap between the target languages.

Analysis of Model Failures

A critical insight emerged regarding the "Subject Gap." In many medical datasets, the sentence subject is typically excluded from the negation scope. However, in legal contexts, the subject is usually included. Models trained on medical data consistently failed by "chopping off" subjects in legal sentences.

Comparison of annotated vs. predicted scope lengths across different training regimes.

Figure 2 illustrates how different training regimes affect the predicted scope length. Zero-shot cross-domain models (blue) consistently under-predict scope length compared to the annotated ground truth (grey), largely due to this domain-specific structural difference.

Furthermore, ChatGPT performed poorly on this task, with F1-scores as low as 21.8% in zero-shot settings. Even with few-shot prompting, it struggled to identify the exact token-level boundaries required for legal precision, suggesting that general reasoning capabilities do not automatically translate to structural linguistic tasks.

Conclusion

This work provides a foundational resource for multilingual legal NLP. The results underscore that "legal-ness" is a more critical feature for NSR than the specific language, as multilingual legal training outperformed single-language training with more out-of-domain data. Future research will address cue detection and non-continuous negation scopes in broader legal contexts like contracts and legislation.

Summary updated

BibTeX
@inproceedings{christen2024resolving,
  author = {Ramona Christen and Anastassia Shaitarova and Matthias Stürmer and Joel Niklaus},
  title = {{Resolving Legalese: A Multilingual Exploration of Negation Scope Resolution in Legal Documents}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=YnlEQS1IrF},
}
Figure