Source: https://jtpck.com/blog/can-ai-match-duplicate-customer-records

# Can AI Tell Whether Two Customer Records Are the Same?

Before AI merges customer records, define what counts as a match, test missed duplicates, and separate suggested links from permanent changes.

By JTPCK Team · Nov 20, 2026

Two customer records have almost the same name. One has an old address, the other has a recent order. Should an AI tool combine them?

Maybe. They could also describe different branches of a company, two people with similar names, or a shared office with separate accounts. A convincing explanation of why they look alike does not settle which history belongs together.

This problem is called record linkage, or entity resolution: deciding whether records refer to the same real-world thing. We recommend treating it as a defined matching task before allowing it to change a business system.

## Decide what “same customer” means

Consider a hypothetical commercial cleaning company with contacts in its sales software and service locations in its scheduling system. This is an invented example, not a JTPCK client account.

One property manager might oversee several buildings. The buildings could share a billing contact without being the same service location. Combining them because their contact details agree would erase a distinction the scheduling team needs.

Write down the unit being matched. Is it a person, a company, a billing account, or a service address? A useful outcome might be “these locations belong to the same account,” not “delete one of these locations as a duplicate.”

We build [AI integrations](/services/ai-integrations) that connect models to existing software. In a matching workflow, the destination system's definitions should govern the result, rather than whichever interpretation makes the records easiest to combine.

## Use the evidence already available

Start with reliable shared identifiers when they exist. Check their scope: an account number from one system may have no relationship to the same number in another.

Then inspect the fields that can support or contradict a match. Preserve the original spelling alongside any cleaned version. Removing punctuation can make comparison easier; discarding a building number or branch label can remove the evidence that two records differ.

For our hypothetical company, a shared billing email could support an account relationship while different service addresses argue against merging the locations. The matching process needs to represent both observations.

AI may be worth testing for interpreting messy notes or proposing candidate relationships. Compare it with ordinary normalization, exact matching, and established record-linkage methods. Do not use a language model to invent missing identifiers or fill in facts just to make a pair agree.

## Check which pairs get considered

A matching system often narrows the search before scoring pairs. Splink, an open-source record-linkage tool, calls this blocking. Its documentation explains that an exact-name rule can exclude a genuine match when one name contains a typo.

That creates a failure a better final prompt cannot fix. A pair excluded at the candidate stage never reaches the model that decides whether it matches.

For the cleaning-company example, we would test known duplicates with changed addresses, abbreviated company names, and incomplete contact details. Check whether the candidate-generation step includes them before judging the quality of its decisions.

Keep “not compared” separate from “compared and rejected.” Otherwise, a reassuring report of rejected duplicates can hide a search that never considered the difficult cases.

## Measure wrong links and missed links

A high match rate sounds productive. It only tells you how much data was linked.

The Office for National Statistics explicitly distinguishes match rate from linkage quality. Precision asks how many accepted links are correct. Recall asks how many of the true links were found. Both matter, and improving one can come at a cost to the other.

For example, a teaching set might contain 50 genuine duplicate pairs. If a system proposes 40 links and 36 are correct, its precision is 90%, while its recall is 72%. These are illustrative numbers, not JTPCK results or recommended targets.

The four wrong links and fourteen missed pairs deserve separate inspection. Joining unrelated service histories may be more damaging than leaving an extra record for review. The business needs to decide that tradeoff before selecting a cutoff.

Splink's evaluation guidance uses labeled matches and non-matches, with a representative sample for unbiased accuracy analysis. We recommend keeping an everyday sample for estimating performance and a separate challenge set for unusual failures. A handpicked collection of easy duplicates will not establish how the system handles the full database.

## Review the proposed relationship before changing records

Give a reviewer both records, their source systems, the fields that agree, and the fields that conflict. Include the proposed relationship in plain language. “Same billing account, separate service locations” is more useful than a match score on its own.

Leave unresolved cases unresolved. If two records lack enough information, the next step may be a staff lookup or a better source record. Repeatedly asking an AI to choose one answer can hide that missing evidence.

Review groups as well as pairs. If record A looks like B and B looks like C, inspect whether the resulting group really belongs together. One mistaken connection can bring an unrelated record into a larger customer history.

Our guide to [AI confidence scores](/blog/what-an-ai-confidence-score-actually-tells-you) explains why a precise-looking score needs its own tested meaning. It should help organize review, not conceal conflicting evidence.

## Make the first rollout reversible

We recommend starting with a proposed-link table rather than destructive cleanup. Keep source identifiers and the reason for each decision so accepted links can be inspected and disputed.

A later merge needs explicit rules for conflicting fields, related orders, contact preferences, and downstream systems. Test recovery before using it on live records. Restoring one customer row may not undo a change already copied elsewhere.

For a small database, a focused manual cleanup or a shared identifier may cost less than an AI matching system. For a larger recurring problem, measure review time and corrected mistakes as well as accepted links.

[Tell us which records you need to reconcile and what “the same” means in your workflow](/contact). A useful first version should make relationships easier to verify without quietly rewriting the history your team relies on.
