Research map / Large language models / Language, safety and interpretability
MultiLegalPile: A 689GB Multilingual Legal Corpus
Joel Niklaus, Veton Matoshi, Matthias Stürmer, Ilias Chalkidis, Daniel E. Ho
Stanford University · University of Bern · Bern University of Applied Sciences · University of Copenhagen
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| continue pretraining XLM-R base on MultiLegalPile (Legal-XLM-R-base) | XLM-R-base · LEXTREME | dataset aggregate macro-F1: 64.2 -> 66.8 | Improved |
| legal pretraining at base size instead of XLM-R large | Legal-XLM-R-base · LEXTREME | dataset aggregate macro-F1: 66.1 (XLM-R-large) -> 66.8 | Improved |
| extend to 4096-token Longformer (Legal-XLM-LF-base) | Legal-XLM-R-base · LEXTREME BCD | macro-F1: 62.5 -> 72.4 | Improved |
| Longformer variant | Legal-XLM-R-base · LEXTREME | language aggregate macro-F1: 53.5 -> 48.9 | Hurt |
| legal pretraining | XLM-R · LEXTREME NER tasks (GLN, LNR, LNB) | macro-F1: e.g. LNR 85.8 -> 84.1 | Hurt |
| monolingual legal models instead of XLM-R base | XLM-R-base · LEXTREME per language | macro-F1 | Mixed |
| legal pretraining on English subset (Legal-en-R-large) | RoBERTa-large · LexGLUE | aggregate macro-F1: 70.9 -> 72.7 | Improved |
| legal pretraining | RoBERTa / Legal-BERT · LexGLUE LEDGAR and UNFAIR-ToS | macro-F1: LEDGAR 83.6 -> 82.5; UNFAIR-ToS 83.0 -> 82.4 | Hurt |
| second regex refinement iteration for legal mC4 filtering (ablation) | legal mC4 filter · English precision | precision: 20% -> 85% | Improved |
| refine regexes in second iteration (ablation) | legal mC4 · corpus size | GB: 133GB -> 106GB | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 0 of 1 on most shared results.
- Legal-BERT — LEGAL-BERT: The Muppets straight out of Law School (EMNLP 2020) · better on 1 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in multilingual LLM data and culture
Which languages, model sizes and evaluation methods are still missing from multilingual LLM and translation studies?
- Only a few languages are covered and low-resource ones are mostly missing. · 42 papers state it
- Only small models are tested, and larger ones are left untested. · 21 papers state it
- Data is machine-translated or LLM-generated and may carry artifacts. · 15 papers state it
Closest papers by meaning
- LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domain (EMNLP 2023 · similarity 0.89)
- LexEval: A Comprehensive Chinese Legal Benchmark for Evaluating Large Language Models (NeurIPS 2024 · similarity 0.88)
- The Common Pile v0.1: An 8TB Dataset of Public Domain and Openly Licensed Text (NeurIPS 2025 · similarity 0.88)
- SaulLM-54B & SaulLM-141B: Scaling Up Domain Adaptation for the Legal Domain (NeurIPS 2024 · similarity 0.86)
- SILO Language Models: Isolating Legal Risk In a Nonparametric Datastore (ICLR 2024 · similarity 0.86)
- Lawma: The Power of Specialization for Legal Annotation (ICLR 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.