← Latest papers
💬 NLP

A System for Name and Address Parsing with Large Language Models

This paper presents a prompt-driven, validation-centered framework that leverages large language models without fine-tuning to reliably transform unstructured name and address text into a consistent 17-field schema by integrating input normalization, constrained decoding, and strict rule-based validation.

Original authors: Adeeba Tarannum, Muzakkiruddin Ahmed Mohammed, Mert Can Cakmak, Shames Al Mandalawi, John Talburt

Published 2026-01-27
📖 4 min read☕ Coffee break read

Original authors: Adeeba Tarannum, Muzakkiruddin Ahmed Mohammed, Mert Can Cakmak, Shames Al Mandalawi, John Talburt

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 have a giant, messy pile of handwritten letters. Some are written in English, some in Spanish, some have smudged ink, and others are missing commas or have typos like "123 Main St Apt 4B" written as "123MainStApt4B". Your goal is to take this chaotic pile and turn it into a neat, organized spreadsheet where every piece of information (Name, Street, City, Zip Code) has its own specific column.

This paper describes a new way to do that job using a very smart computer brain (called a Large Language Model, or LLM), but with a twist: instead of teaching the computer brain a new language from scratch (which is like hiring a new employee and training them for months), the authors built a strict "checklist and supervisor" system around it.

Here is how their system works, broken down into simple steps:

1. The "Prep Chef" (Input Normalization)

Before the smart computer even looks at the data, a "Prep Chef" cleans it up.

  • The Problem: The raw data is messy. One person wrote "Ave." and another wrote "Avenue." One wrote "N.E." and another wrote "NE."
  • The Fix: The system automatically standardizes everything. It turns all abbreviations into full words, fixes capitalization, and removes weird symbols. It's like a chef chopping all the vegetables into the exact same size before cooking, so the recipe works perfectly every time.

2. The "Strict Recipe" (Prompt Assembly)

Instead of letting the computer brain guess what to do, the authors give it a very specific, unchangeable recipe card.

  • The Problem: If you just ask a smart computer, "Here is an address, tell me the parts," it might make up facts or format the answer differently every time.
  • The Fix: The recipe card says: "You are an expert parser. You must output exactly 17 fields in this exact order. If you don't know something, leave it blank. Do not make up data." It's like giving a robot a strict assembly manual: "Put the screw here, the bolt there. No improvising."

3. The "Assembly Line" (Constrained Inference)

The computer processes the data in small, fixed groups (batches of 16), just like an assembly line moving 16 cars at a time.

  • The Goal: This ensures the computer doesn't get "creative" or tired. It keeps the settings locked so that if you run the same job twice, you get the exact same result. It's like a factory machine that never changes its speed or settings.

4. The "Quality Control Inspector" (Validation)

This is the most important part. Once the computer finishes its work, a strict "Quality Control Inspector" checks every single line.

  • The Rules:
    • Does the Zip Code match the State? (e.g., A Zip Code for California cannot be in New York).
    • Did the computer invent a street name that doesn't exist?
    • Are there exactly 17 fields?
  • The Result: If the computer makes a mistake, the Inspector catches it immediately. If the computer is unsure, the system flags it for a human to look at later. This ensures that the final spreadsheet is almost perfect.

What Did They Find?

The authors tested this system on 1,500 different address records, including messy ones from the US, Puerto Rico, and other countries.

  • The Score: The system got it right 99.8% of the time.
  • The Comparison: It did slightly better than older, rule-based systems (which are like rigid instruction manuals) and didn't need to be "retrained" or taught new things to work.
  • The Confidence: The system also told you how sure it was about its answer. When it said it was 90%+ sure, it was almost always right.

The Big Takeaway

The paper argues that you don't need to train expensive, custom AI models to fix messy data. Instead, you can use a powerful, off-the-shelf AI model but wrap it in a strict, rule-based safety net.

Think of it like hiring a brilliant, creative writer (the AI) to fill out a tax form. If you just let them write, they might invent numbers. But if you give them a form with strict boxes, a checklist of rules, and a supervisor who checks every box before it's submitted, you get a perfect tax form every time, without needing to teach the writer how to do taxes from scratch.

This approach makes it possible to turn messy, real-world text into clean, reliable data quickly and cheaply, without needing to retrain the AI for every new country or language.

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 →