Research map / Large language models / Language, safety and interpretability
LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development
Ilias Chalkidis, Nicolas Garneau, Anders Søgaard, Cătălina Goantă, Daniel Martin Katz
University of Copenhagen · Utrecht University · Illinois Tech
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 |
|---|---|---|---|
| further pre-train RoBERTa-L on LeXFiles (LexLM-L) | RoBERTa-L · LeXFiles upstream MLM average | accuracy: 73.8 -> 81.8 | Improved |
| further pre-train RoBERTa-B on LeXFiles (LexLM-B) | RoBERTa-B · LegalLAMA average | MRR: 33.1 -> 70.8 | Improved |
| pre-train on US-only legal corpora (CL-BERT, PoL-BERT) instead of generic corpora | RoBERTa · LegalLAMA | MRR: RoBERTa-B 33.1 vs CL-BERT 38.0 / PoL-BERT 36.8; RoBERTa-L 41.3 | Hurt |
| use diverse multinational legal corpus (LexLM-B) instead of LegalBERT on equal size | LegalBERT · upstream MLM average | accuracy: 78.7 -> 78.7 | No clear effect |
| use LexLM-B instead of LegalBERT | LegalBERT · LegalLAMA CC Sections (Canada) | MRR: 21.9 -> 50.6 | Improved |
| increase model size from base to large (RoBERTa, LexLM) | RoBERTa / LexLM · downstream average | micro-F1: RoBERTa 58.4 -> 71.5; LexLM 59.0 -> 73.3 | Improved |
| legal pre-training (LexLM-B) vs generic RoBERTa-B on downstream | RoBERTa-B · LexGLUE-style downstream tasks | micro-F1: 58.4 -> 59.0 average; better in 5/6 tasks | Mixed |
| legal pre-training on US Pile of Law (PoL-BERT) vs RoBERTa-L | RoBERTa-L · downstream tasks | micro-F1: 71.5 -> 69.5 average | Hurt |
| legal pre-training (LexLM-L) vs RoBERTa-L on downstream | RoBERTa-L · downstream tasks | micro-F1: 71.5 -> 73.3 average | Improved |
| longer label length (more than three tokens) in LegalLAMA | all PLMs · LegalLAMA | MRR | Hurt |
| larger output space (number of labels) | all PLMs · LegalLAMA | MRR | No clear effect |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- LegalBERT — LEGAL-BERT: The Muppets straight out of Law School (EMNLP 2020) · better on 6 of 7 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 LLM unlearning and benchmarks
Do LLM unlearning and privacy results still hold on larger models, other languages and real use?
- Results stop at small or mid-size models and larger ones are untested. · 23 papers state it
- The method adds compute, latency or memory over a simple baseline. · 17 papers state it
- Most work is tested in English or a few high-resource languages. · 14 papers state it
Closest papers by meaning
- LexGLUE: A Benchmark Dataset for Legal Language Understanding in English (ACL 2022 · similarity 0.92)
- LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domain (EMNLP 2023 · similarity 0.91)
- Pub-LawBench: Public-Oriented Benchmarking for LegalAI (ACL 2026 · similarity 0.91)
- SaulLM-54B & SaulLM-141B: Scaling Up Domain Adaptation for the Legal Domain (NeurIPS 2024 · similarity 0.90)
- LexEval: A Comprehensive Chinese Legal Benchmark for Evaluating Large Language Models (NeurIPS 2024 · similarity 0.90)
- Lawma: The Power of Specialization for Legal Annotation (ICLR 2025 · similarity 0.89)
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.