One Law, Many Languages: Benchmarking Multilingual Legal Reasoning for Judicial Support

Vishvaksenan Rasiah, Ronja Stern, Veton Matoshi, Matthias Stürmer, Ilias Chalkidis, Daniel E. Ho, Joel Niklaus, Niklaus, Joel · DOI

Abstract: Recent strides in Large Language Models (LLMs) have saturated many Natural Language Processing (NLP) benchmarks, emphasizing the need for more challenging ones to properly assess LLM capabilities. However, domain-specific and multilingual benchmarks are rare because they require in-depth expertise to develop. Still, most public models are trained predominantly on English corpora, while other languages remain understudied, particularly for practical domain-specific NLP tasks. In this work, we introduce a novel NLP benchmark for the legal domain that challenges LLMs in five key dimensions: processing long documents (up to 50K tokens), using domain-specific knowledge (embodied in legal texts), multilingual understanding (covering five languages), multitasking (comprising legal document-to-document Information Retrieval, Court View Generation, Leading Decision Summarization, Citation Extraction, and eight challenging Text Classification tasks) and reasoning (comprising especially Court View Generation, but also the Text Classification tasks). Our benchmark contains diverse datasets from the Swiss legal system, allowing for a comprehensive study of the underlying non-English, inherently multilingual legal system. Despite the large size of our datasets (some with hundreds of thousands of examples), existing publicly available multilingual models struggle with most tasks, even after extensive in-domain pre-training and fine-tuning. We publish all resources (benchmark suite, pre-trained models, code) under permissive open CC BY-SA licenses.

While Large Language Models (LLMs) have conquered general-purpose benchmarks like SuperGLUE, they often falter when faced with specialized, "high-stakes" domains like law. Most existing legal benchmarks are English-only and focus on short snippets of text. To be truly useful for judicial support, models must overcome three significant hurdles:

  1. Multilinguality: Legal systems like Switzerland’s operate in multiple official languages (German, French, Italian, Romansh) simultaneously.
  2. Long Contexts: A single court ruling can exceed 50,000 tokens, far beyond the effective "memory" of many standard models.
  3. Complex Reasoning: Tasks like "Court View Generation"—writing the legal reasoning for a case based only on the facts—require deep expertise and logical consistency that goes beyond simple pattern matching.

The SMILED Benchmark

To address these gaps, researchers introduced SMILED (Swiss MultilIngual LEgal Data), a massive new benchmark designed to push LLMs to their limits using the uniquely complex Swiss legal system.

Overview of the SMILED benchmark tasks and pretraining corpus.

The benchmark consists of 11 datasets derived from 26 Swiss cantons and the Federal Supreme Court. As illustrated in the task overview, it covers a wide range of judicial activities, from Law Area Prediction (LAP) and Judgment Prediction (JP) to generative tasks like Leading Decision Summarization (LDS) and the highly difficult Court View Generation (CVG).

Detailed statistics of the SMILED benchmark datasets across languages and legal levels.

The scale of SMILED is unprecedented for a non-English legal benchmark. The pretraining corpus contains 2.1 billion words from court rulings and 116 million words of legislation. The data distribution spans multiple languages and legal levels, providing a robust testbed for cross-lingual information retrieval and reasoning.

Methodology and Model Recycling

The researchers didn't just build a benchmark; they developed specialized models using a technique called "model recycling," warm-starting training from multilingual XLM-RoBERTa checkpoints. They released three new domain-specific models:

  • Legal-Swiss-RoBERTa (Base/Large): Optimized for Swiss legal text.
  • Legal-Swiss-Longformer: Designed to handle longer sequences (up to 4,096 tokens) using windowed attention.

These were evaluated against 14 open models (e.g., LLaMA-2) and 5 closed models (e.g., GPT-4) using both fine-tuning and zero-shot/one-shot prompting.

Key Results and Insights

The benchmark proved to be a "model killer." The best-performing model achieved an aggregated Macro F1 score of only 48.4 on classification tasks—essentially a failing grade in a real-world legal setting.

  • Domain Pretraining is Essential but Insufficient: While "Legal-Swiss" models outperformed general models, the performance gap remains wide. Simply seeing legal text during training isn't enough to master legal logic.
  • Small and Specialized Beats Large and General: In several classification tasks, relatively small fine-tuned models (like RoBERTa) outperformed massive models like GPT-4. This suggests that for specific legal workflows, "boutique" models are currently more effective than "one-size-fits-all" giants.
  • The "Long-Context" Wall: Even with Longformer architectures, models had to truncate documents. Since legal arguments often hinge on details buried deep in a 50-page document, this truncation is a major bottleneck.
  • Multilingual IR is a "Hard" Problem: Models struggled to retrieve relevant documents across languages (e.g., using a German query to find a relevant French ruling), highlighting a weakness in how LLMs map legal concepts across different linguistic structures.

Future Outlook

The results are a wake-up call: even state-of-the-art models struggle significantly with legal reasoning and long-document processing in this domain. Future research must focus on developing generative models in the billions of parameters range trained specifically on multilingual legal data, alongside better methods for integrating external legal knowledge bases directly into the model's reasoning process.

Summary updated

BibTeX
@misc{rasiah2023one,
  author = {Vishvaksenan Rasiah and Ronja Stern and Veton Matoshi and Matthias Stürmer and Ilias Chalkidis and Daniel E. Ho and Joel Niklaus and Niklaus, Joel},
  title = {{One Law, Many Languages: Benchmarking Multilingual Legal Reasoning for Judicial Support}},
  year = {2023},
  eprint = {2306.09237},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.09237},
}
Figure