← Latest papers
💬 NLP

Structure-Guided Entity Resolution: Fine-Tuning LLMs for Robust Name Matching in Complex Linguistic Contexts

This paper introduces Structure-Guided Entity Resolution (SGER), a two-phase curriculum fine-tuning framework for Large Language Models that achieves state-of-the-art accuracy in matching complex, multilingual personal names and is currently deployed at scale for KYC compliance on Dream11's platform.

Original authors: Shivam Chourasia, Hitesh Kapoor, Nilesh Patil

Published 2026-05-25
📖 4 min read☕ Coffee break read

Original authors: Shivam Chourasia, Hitesh Kapoor, Nilesh Patil

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 trying to match two people's names, but the names are written in a chaotic, messy way. One person might be listed as "Rajesh Kumar," another as "Kumar Rajesh," a third as "RajeshKumar" (no space), and a fourth as "Rajeshbhai" (with a friendly title added). In a country as diverse as India, where names change based on region, language, and even how a clerk typed them, this is a nightmare for computers.

This paper introduces a new system called SGER (Structure-Guided Entity Resolution) that solves this problem with a clever two-step training method. Here is how it works, explained simply:

The Problem: The "Messy Name" Puzzle

In the world of "Know Your Customer" (KYC) checks—where companies verify who you are before letting you play games or open accounts—computers often fail.

  • The Old Way: Traditional computers use simple rules, like counting how many letters are different between two names. It's like trying to solve a puzzle by only looking at the color of the pieces, ignoring the shape. If someone writes "Shubham" instead of "Subham," the computer gets confused.
  • The New Way (LLMs): Large Language Models (AI) are smart, but if you just ask them "Are these two names the same person?" they sometimes guess wrong because they haven't learned the grammar of names first. They try to learn the structure and the answer at the same time, which is like asking a student to write a thesis and solve a math problem simultaneously.

The Solution: A Two-Phase "School" for AI

The authors created a curriculum (a lesson plan) to teach their AI model, based on a system called Llama 3, in two distinct phases. Think of it like training a new employee:

Phase 1: The "Name Architect" Class
Before the AI tries to match names, it is taught to break them apart.

  • The Task: You give the AI a messy name like "Kirtan Singh Rathore."
  • The Lesson: The AI must output a neat, structured list (like a JSON file) that says: First Name: Kirtan, Middle Name: Singh, Last Name: Rathore.
  • The Analogy: Imagine teaching a child to take a jumbled pile of Lego bricks and sort them into "wheels," "windows," and "walls" before trying to build a car. The AI learns that "Singh" is often a middle name or a family name, and "Rathore" is the family name, regardless of the order they appear in.

Phase 2: The "Detective" Class
Now that the AI understands how names are built, it is promoted to the detective role.

  • The Task: You give it two names (e.g., "Rajeshk" and "Rajesh Kumar") and ask, "Are these the same person?"
  • The Advantage: Because the AI already knows how to deconstruct names from Phase 1, it doesn't have to guess the structure while making the decision. It can focus purely on the match.
  • The Result: It becomes incredibly accurate at spotting that "Rajeshk" is just a typo or abbreviation of "Rajesh Kumar."

The Results: A Super-Accurate System

The team tested this system on 50,000 real-world examples from India, a place known for having some of the most complex and varied naming conventions in the world.

  • Old Methods: Got about 57% to 85% accuracy.
  • Standard AI (without the two-step training): Got about 91% accuracy.
  • SGER (The New System): Achieved 99.02% accuracy.

This means the system is almost perfect at telling if two names belong to the same person, even when the names are misspelled, swapped, or missing spaces.

Real-World Impact: Dream11

This isn't just a theory; it's already working. The system is deployed at Dream11, the world's largest fantasy sports platform, which serves over 250 million users.

  • Before: When the computer wasn't sure, it had to send the case to a human to check manually. This was slow and expensive.
  • After: The AI handles almost everything automatically.
  • The Benefit: The company saves over $500,000 a year because they don't need to pay humans to check these cases anymore, and legitimate users get verified instantly without waiting.

Summary

The paper argues that to make AI good at a specific, messy job (like matching names in India), you shouldn't just throw data at it. Instead, you should teach it the rules of the game (how names are structured) first, and then teach it how to play the game (match the names). This "curriculum" approach turned a good AI into a near-perfect one, solving a massive headache for a global company.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →