Skip to main content
QUICK REVIEW

[Paper Review] LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domain

Joel Niklaus, Veton Matoshi|arXiv (Cornell University)|Jan 30, 2023
Natural Language Processing TechniquesComputer Science78 references4 citations
TL;DR

LEXTUREME is a multilingual, multitask benchmark for legal NLP, comprising 11 datasets across 24 languages and 8 language families. It evaluates multilingual models on legal text understanding tasks, revealing that even top models achieve only modest performance, highlighting the need for specialized legal NLP systems and establishing a challenging new standard for evaluation in the field.

ABSTRACT

Lately, propelled by the phenomenal advances around the transformer architecture, the legal NLP field has enjoyed spectacular growth. To measure progress, well curated and challenging benchmarks are crucial. However, most benchmarks are English only and in legal NLP specifically there is no multilingual benchmark available yet. Additionally, many benchmarks are saturated, with the best models clearly outperforming the best humans and achieving near perfect scores. We survey the legal NLP literature and select 11 datasets covering 24 languages, creating LEXTREME. To provide a fair comparison, we propose two aggregate scores, one based on the datasets and one on the languages. The best baseline (XLM-R large) achieves both a dataset aggregate score a language aggregate score of 61.3. This indicates that LEXTREME is still very challenging and leaves ample room for improvement. To make it easy for researchers and practitioners to use, we release LEXTREME on huggingface together with all the code required to evaluate models and a public Weights and Biases project with all the runs.

Motivation & Objective

  • To address the lack of multilingual benchmarks in legal NLP, especially for non-English languages.
  • To create a standardized, challenging benchmark that reflects the complexity of legal language across diverse linguistic and legal systems.
  • To enable fair comparison of multilingual models using two aggregate scores: language aggregate and dataset aggregate.
  • To release a public, transparent evaluation platform with Hugging Face integration, a public leaderboard, and full reproducibility via Weights and Biases.
  • To demonstrate the limitations of existing models, including large language models like ChatGPT, on legal NLP tasks.

Proposed method

  • The authors curated 11 existing legal NLP datasets from the literature (2010–2022), covering 24 languages across 8 language families (Germanic, Romance, Slavic, etc.).
  • They defined two aggregate evaluation metrics: language aggregate score and dataset aggregate score, using the harmonic mean to balance performance across diverse settings.
  • Five multilingual transformer-based models (e.g., mBERT, XLM-RoBERTa, DeBERTa) were evaluated on all datasets to establish baseline performance.
  • The benchmark was released on Hugging Face with a public leaderboard and full evaluation code, ensuring reproducibility and transparency.
  • A Weights and Biases project was created to log all model runs, enabling full auditability and comparison.
  • The dataset collection includes diverse legal tasks such as text classification, named entity recognition, and legal judgment prediction, with inputs ranging from short sentences to full legal documents.

Experimental results

Research questions

  • RQ1How do multilingual models perform across diverse legal languages and legal text types?
  • RQ2To what extent do existing multilingual models, including large LLMs like ChatGPT, generalize to legal NLP tasks?
  • RQ3What is the performance gap between high-resource and low-resource legal language settings?
  • RQ4Can existing benchmarks adequately capture the complexity of legal language, including long-range dependencies and domain-specific terminology?
  • RQ5How do model size and architecture influence performance on legal NLP tasks in a multilingual context?

Key findings

  • The best-performing baseline model achieved a language aggregate score of 60.0 and a dataset aggregate score of 60.0 on the XLM-RoBERTa-large model, indicating significant room for improvement.
  • Even the strongest models, including XLM-RoBERTa-large and mDeBERTa-v3-base, scored below 80% on micro-F1 in several tasks, showing persistent challenges in legal text understanding.
  • ChatGPT struggled with multiple tasks in LEXTREME, particularly in low-resource languages, indicating limitations in its legal reasoning capabilities.
  • A strong correlation was observed between model size and performance, with larger models consistently outperforming smaller ones across all languages and tasks.
  • The distribution of input sequence lengths across datasets shows that many legal documents exceed typical NLP input lengths, underscoring the need for long-context modeling in legal NLP.
  • The benchmark reveals that current multilingual models are not robust to legal domain shifts, especially in low-resource languages, highlighting the need for domain-specific fine-tuning and data collection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.