This benchmark evaluates the capability of embedding models to perform legal information retrieval across diverse jurisdictions, document types, and legal tasks. It probes how well models understand judicial reasoning, regulatory interpretation, and multinational contract analysis compared to general-purpose IR models. Use when the user wants to benchmark on MLEB, or asks about evaluating this task. Reports NDCG@10.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill mleb-eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Mleb Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-mleb-eval)More formats (shields.io, HTML) on the badges page.
---
name: mleb-eval
description: This benchmark evaluates the capability of embedding models to perform legal information retrieval across diverse jurisdictions, document types, and legal tasks. It probes how well models understand judicial reasoning, regulatory interpretation, and multinational contract analysis compared to general-purpose IR models. Use when the user wants to benchmark on MLEB, or asks about evaluating this task. Reports NDCG@10.
metadata:
skill_kind: dataset_eval
source_arxiv: 2510.19365
bibtex_key: butler2025mleb
confidence: medium
---
# mleb-eval
> The Massive Legal Embedding Benchmark (MLEB) — Umar Butler, Abdur-Rahman Butler, Adrian Lucas Malec (2025) (arXiv:2510.19365, 2025)
## What this evaluates
This benchmark evaluates the capability of embedding models to perform legal information retrieval across diverse jurisdictions, document types, and legal tasks. It probes how well models understand judicial reasoning, regulatory interpretation, and multinational contract analysis compared to general-purpose IR models.
## Datasets
- **MLEB** — total ?; splits: test (-1); repo https://github.com/isaacus-dev/mleb
## Metrics
- `NDCG@10` **(primary)** — range: [0, 1]
- Normalized Discounted Cumulative Gain at rank 10. It measures the quality of a ranked list of retrieved documents by comparing it to a graded relevance judgment, discounting gains logarithmically by position and normalizing by the ideal DCG.
## Input / output format
**Input**: Queries paired with legal document collections (cases, legislation, contracts, regulatory guidance) across six jurisdictions.
**Output**: A ranked list of retrieved documents for each query, evaluated at the top 10 positions.
## Scoring recipe
```python
def compute_ndcg_at_10(gold_relevance, predicted_ranking):
k = 10
dcg = sum(gold_relevance[i] / math.log2(rank + 2) for rank, i in enumerate(predicted_ranking[:k]))
ideal_rels = sorted(gold_relevance, reverse=True)
idcg = sum(ideal_rels[i] / math.log2(i + 2) for i in range(k))
return dcg / idcg if idcg > 0 else 0.0
```
## Common pitfalls
- Data leakage risk: Some commercial models (Voyage AI, Jina, Google) opt users into data sharing by default, potentially contaminating training data with benchmark queries.
- Cohere models are excluded from evaluation due to their terms of service forbidding benchmarking, which may skew comparative results.
- General multilingual IR performance does not correlate with legal IR performance; models optimized for general tasks may underperform domain-adapted ones.
## Evidence (verbatim from paper)
> As of 21 October 2025, Isaacus’ Kanon 2 Embedder legal embedding model ranks first on MLEB out of 20 other models, with an NDCG@10 score of 86.03, followed by Voyage 3 Large at 85.71 and Voyage 3.5 at 84.07. The full results of the benchmark are presented below. All scores are NDCG@10 scores. We report both the task average (i.e., by evaluation set) and the domain average.
## Citation
```bibtex
@misc{butler2025mleb,
title={The Massive Legal Embedding Benchmark (MLEB)},
author={Umar Butler, Abdur-Rahman Butler, Adrian Lucas Malec (2025)},
year={2025},
note={arXiv:2510.19365}
}
```
- arXiv: 2510.19365
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!