OpenSanctions Pairs: Large-Scale Entity Matching with LLMs
Organizations: University of Oxford · OpenSanctions
Abstract
We release OpenSanctions Pairs, the first large-scale public benchmark for entity matching on sanctions and OSINT data. The dataset includes 755,540 expert-labeled pairs over 1 million entities, aggregated from 293 source datasets across 45 jurisdictions. It captures real-world diversity in compliance data, spanning multiple languages and writing systems (e.g., Latin, Cyrillic, Arabic), inconsistent structure, and time-varying provenance, and is substantially more heterogeneous than prior entity matching benchmarks. As baselines, we evaluate the production rule-based matcher (nomenklatura RegressionV1) alongside open- and closed-source LLMs in both zero- and few-shot settings, each tested with and without MIPROv2 prompt optimization to control for prompt sensitivity. The rule-based baseline reaches 91.3% F1; GPT-4o achieves the best result at 99.0% F1, and a locally deployable open-source model (DeepSeek-R1-Distill-Qwen-14B) achieves 98.2% F1. The rule-based baseline and LLMs fail in complementary ways: rules over-match, while LLMs struggle with cross-script transliteration. These results suggest that pairwise matching performance is approaching a practical ceiling and shift attention toward pipeline components such as blocking, clustering, and uncertainty-aware review.
Figures & tables
| Dataset | Entities | Matches | Sources | Unique Fields | Domain |
|---|---|---|---|---|---|
| Fodors-Zagat [ 21 , 22 ] | 864 | 110 | 2 | 6 | Restaurant |
| Abt-Buy [ 35 ] | 2,173 | 1,097 | 2 | 4 | E-commerce |
| Amazon-GoogleProducts [ 35 ] | 4,589 | 1,300 | 2 | 4 | E-commerce |
| DBLP-ACM [ 35 ] | 4,910 | 2,220 | 2 | 4 | Bibliographic |
| BeerAdvo-RateBeer [ 21 , 22 ] | 7,345 | 68 | 2 | 4 | Beverage |
| WDC Products [ 32 ] | 11,715 | 2,162 ∗ | 3,259 | 5 | E-commerce |
| Schema combination | Pairs | Share | Pos / Neg |
|---|---|---|---|
| Analyst-judged matching subjects | |||
| Person, Person | 284,808 | 37.7% | 203K / 81K |
| Company / Organization / LegalEntity (any) | 175,311 | 23.2% | 89K / 86K |
| Position, Position | 26,330 | 3.5% | 24K / 3K |
| Vessel, Vessel | 7,550 | 1.0% | 5K / 2K |
| Person, LegalEntity, other cross-schema | 7,299 | 1.0% | 7K / 0.3K |
| Model | Config | Acc. | F1 | Prec. | Recall |
|---|---|---|---|---|---|
| Rule-Based Baseline | |||||
| nomenklatura/RegressionV1 | — | 85.45 | 91.33 | 84.46 | 99.42 |
| Open-Source Models | |||||
| Llama-3.1-8B | 0-shot | 90.40 | 94.05 | 89.84 | 98.67 |
| Llama-3.1-8B | 0-shot (opt) | 93.88 | 95.94 | 97.98 | 93.97 |
| Llama-3.1-8B | 2-shot (opt) | 93.00 | 95.46 | 94.85 | 96.08 |
| Method | TP% | TN% | FP% | FN% |
|---|---|---|---|---|
| Nomenklatura | 0.766 | 0.088 | 0.141 | 0.004 |
| Llama-3.1-8B | 0.759 | 0.145 | 0.086 | 0.010 |
| DeepSeek-Qwen | 0.758 | 0.208 | 0.030 | 0.005 |
| GPT-3.5 Turbo | 0.701 | 0.218 | 0.013 | 0.068 |
| GPT-4o | 0.762 | 0.222 | 0.009 | 0.007 |
| GPT-5 Nano | 0.761 | 0.163 | 0.068 | 0.008 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Entity Resolution
Entity resolution links records that refer to the same real-world entity across datasets despite differences in names, attributes, formats, and languages.
See all 40 papers