The Massive Legal Embedding Benchmark (MLEB)
Umar Butler, Abdur-Rahman Butler, Adrian Lucas Malec
TL;DR
The Massive Legal Embedding Benchmark (MLEB) addresses the inadequacy of existing legal information retrieval benchmarks by introducing a large, diverse, open benchmark that spans six jurisdictions, five document types, and three task types. It comprises ten evaluation sets, seven of which are newly created to broaden domain and jurisdictional coverage, and emphasizes high-quality labeling and real-world utility for legal RAG scenarios. The paper analyzes model performance, highlighting that domain-adapted, law-focused embeddings (e.g., Kanon 2 Embedder, Voyage variants) outperform general-purpose models on MLEB, and discusses speed considerations and limitations such as licensing constraints and potential data leakage. By releasing data and code openly, MLEB enables reproducible evaluations and sets the stage for ongoing expansion to better support practitioners and researchers in legal information retrieval.
Abstract
We present the Massive Legal Embedding Benchmark (MLEB), the largest, most diverse, and most comprehensive open-source benchmark for legal information retrieval to date. MLEB consists of ten expert-annotated datasets spanning multiple jurisdictions (the US, UK, EU, Australia, Ireland, and Singapore), document types (cases, legislation, regulatory guidance, contracts, and literature), and task types (search, zero-shot classification, and question answering). Seven of the datasets in MLEB were newly constructed in order to fill domain and jurisdictional gaps in the open-source legal information retrieval landscape. We document our methodology in building MLEB and creating the new constituent datasets, and release our code, results, and data openly to assist with reproducible evaluations.
