OpenSanctions Pairs: Large-Scale Entity Matching with LLMs
This paper introduces OpenSanctions Pairs, a large-scale entity matching benchmark derived from real-world sanctions data, demonstrating that large language models significantly outperform production rule-based systems in accuracy while highlighting that future improvements should focus on pipeline components like blocking and clustering rather than pairwise matching alone.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are the head librarian for a massive, chaotic library that spans the entire globe. But this isn't a normal library; it's a library of people and companies that are on "Do Not Enter" lists (sanctions) because they are involved in illegal activities.
The problem? This library is a mess.
- 293 different catalogs (sources) from 31 different countries.
- Names are written in different languages (English, Russian, Arabic, Chinese).
- The same person might be listed as "John Smith," "J. Smith," "Ivanov" (a transliteration), or "The Boss."
- Some records are missing birth dates; others have typos.
Your job is to find duplicates: Is "Vladimir Putin" in the Russian list the same guy as "V. Putin" in the US list? If you miss a match, a bad actor gets through. If you match two different people, you accidentally freeze an innocent person's bank account.
This paper is about a team of researchers who built a giant test set to see if modern AI (Large Language Models, or LLMs) can do this matching job better than the old, rigid computer programs currently used by banks and governments.
Here is the breakdown in simple terms:
1. The New "Test Book" (OpenSanctions Pairs)
Before this paper, researchers mostly tested matching systems on clean, simple data like "Amazon products" or "movie titles." It was like testing a race car on a smooth track.
The authors created OpenSanctions Pairs, a massive dataset of 755,000 pairs of records. It's like taking a race car and putting it on a muddy, rocky, foggy mountain road with 293 different types of terrain. It includes:
- Names in 31 different countries.
- Messy data (missing info, typos).
- Real-world complexity (aliases, different spellings).
They didn't just guess the answers; they used human experts to label the pairs. Think of these experts as the "gold standard" referees.
2. The Race: Old Rules vs. New AI
The researchers pitted two types of "detectives" against each other:
The Old Detective (Rule-Based System): This is like a robot with a strict checklist. It says, "If the names are 90% similar and the birth year is the same, they are a match." It's fast but rigid. It often makes mistakes when names are spelled differently or when data is missing.
- Result: It got about 91% of the answers right. It was too eager to say "Yes, they match," leading to many false alarms.
The New Detective (LLMs like GPT-4o, DeepSeek, etc.): These are the advanced AI models. Instead of a checklist, they "read" the records like a human would, understanding context. They know that "Mr. Smith" and "Smith" are likely the same, but "Smith" and "Smithers" might not be.
- Result: The best AI models got 98-99% of the answers right. They were almost as good as the human experts.
3. The Surprising Twist: "Less is More"
The researchers tried to make the AI even smarter by:
- Giving it examples (showing it a few solved cases first).
- Using a "Prompt Optimizer" (a tool that rewrites the instructions to the AI to find the perfect wording).
The surprise?
- Giving examples actually made the AI slightly worse. It's like trying to teach a genius student by showing them a few specific math problems; they got confused by the specific examples and forgot the general rule.
- The "Perfect Prompt" was surprisingly simple. The AI didn't need a 500-word instruction manual. It just needed to be told: "Don't look for similarities; look for conflicts. If you don't see a clear contradiction (like different ID numbers), assume they are the same person."
4. Where the AI Still Stumbles
Even the best AI isn't perfect. The paper found two main ways they fail:
- The "Translator" Problem: If a name is written in Cyrillic (Russian) and then transliterated into English in two different ways, the AI sometimes misses the connection.
- The "Typo" Problem: If one record says "1980" and another says "1981" (maybe a typo), the AI gets too strict and says, "These are different people!" because it's looking for conflicts.
5. The Big Conclusion: The Job Has Changed
The most important takeaway is this: The "matching" part of the job is basically solved.
In the past, the biggest bottleneck was getting the computer to figure out if two records were the same. Now, the AI is so good at that (99% accuracy) that it's no longer the hard part.
So, what should we focus on next?
Instead of trying to make the "matching" AI slightly smarter, we should focus on the other parts of the pipeline:
- Blocking: How do we quickly find the right candidates to compare without checking every single person in the world?
- Clustering: How do we group 10 different records that all refer to the same person into one "super-profile"?
- Uncertainty: When the AI isn't 100% sure, how do we flag it for a human to review?
The Analogy Summary
Imagine you are trying to find a lost needle in a haystack.
- The Old Way: You used a magnet that only picked up needles made of a specific type of steel. You missed a lot of needles.
- The New Way: You hired a super-smart robot that can see the needle through the hay. It finds almost every needle.
- The Lesson: We don't need to make the robot's eyes sharper anymore. We need to figure out how to organize the haystack better so the robot doesn't have to look at the whole thing, and how to handle the few needles the robot is unsure about.
In short: AI has mastered the art of matching names in a messy, global database. The future isn't about better matching; it's about better organization and human oversight.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.