LIVE · Thursday 3 December

Best Models for Matching Duplicate Customer Records: Splink, Dedupe, Ditto or TOD by Situation and Cost

A buyer's guide to customer record deduplication that matches each entity matching tool to your fields, labels and risk of false merges, with a worked cost for 20 million candidate pairs.

By Surya8 min read

The best model for matching duplicate customer records depends on your fields and your labels. For structured names, emails, phones and addresses with no labelled data, use Splink. If your team can label example pairs, compare Dedupe against Splink. For text-heavy records or ambiguous company names, test Ditto or a decision model such as Parsec's TOD on the pairs that the first two leave uncertain. No published entity matching benchmark compares these tools on customer records, so the final choice comes from a held-out test on your own customers that counts false merges, missed duplicates and cluster errors.

The right tool depends on your fields, your labels and the cost of a false merge

Every customer deduplication system follows the same steps. It normalizes fields, blocks records into candidate pairs, scores each pair, applies thresholds, clusters accepted pairs and finally merges accounts. The tools below differ mainly in how they score pairs and how much labelled data they need.

Situation Approach What it needs Licence
A verified email or account number links most duplicates Exact-match rules Clean key fields None
Structured records, no labels Splink, Fellegi-Sunter linkage Comparison and blocking rules MIT
Team can label pairs from its own data Dedupe, learned matching Rounds of human labelling MIT
Text-heavy records or company names, labels available Ditto, transformer classifier Labelled pairs and a GPU Apache-2.0
Hard text pairs, testing a decision model TOD, option scorer A held-out test on your own pairs Adapters Apache-2.0, base under Gemma 4 terms

If a verified key already links most duplicates, exact rules may be all you need

Many customer databases hold a field that identifies a person on its own, such as a verified email, a loyalty number or a tax ID. An exact match on that field links duplicates with very few false merges, and it costs nothing to run. A model is worth adding only for the records that lack such a key or disagree on it.

Rules can be tested on a labelled sample by counting the duplicates that they miss and the false merges that they make. If both numbers meet the business requirement, a model adds cost without adding value.

If your records are structured and you have no labels, start with Splink

Splink implements the Fellegi-Sunter model of record linkage, and its models can be trained without labelled data. It is MIT licensed, installed with pip install splink, and maintained by the UK Ministry of Justice's analytical services team. Its GitHub page lists version 5.0.0 as the latest release.

Two features make it a strong default for customer data:

  • Its term-frequency adjustments give a match on a common surname less weight than a match on a rare one, which reduces false merges between unrelated people with common names.
  • Its scale on ordinary hardware covers most customer databases, since its documentation cites linking a million records on a laptop in about one minute with DuckDB.

Splink also provides evaluation tools. Its Threshold Selection Tool estimates a cutoff from labelled pairs, and its graph metrics flag bridge links and oversized clusters as possible false merges.

If your team can label pairs, compare Dedupe with Splink

Dedupe "takes in human training data and comes up with the best rules for your dataset," according to its README. The README names removing duplicates from a list of names and addresses and linking a customer list to order history as typical uses. It is MIT licensed.

Dedupe uses active learning. It finds pairs on which its blocking rules and its classifier disagree, shows one to a person and relearns after each label. This approach suits data with recurring errors that are specific to one business, such as a call centre that types names in a particular way.

Its training labels cannot be used to measure accuracy. Dedupe's documentation states that those examples "are not at all representative, and that's by design." A separate random sample of pairs, labelled by people, is needed for the test.

If company names or free text cause most errors, test Ditto or a zero-shot decision model

Ditto treats matching as sequence-pair classification with pre-trained language models such as BERT and RoBERTa. Its 2020 paper, accepted for VLDB 2021, reports gains of up to 29% in F1 on standard benchmarks. It also reports matching company datasets of 789,000 and 412,000 records at an F1 of 96.5%. It needs labelled pairs and a GPU, and its public code pins older versions of Python, PyTorch and Transformers.

Decision models offer a way to score hard pairs without training. A University of Mannheim study revised on November 20, 2026 tested six of them on eight benchmarks. The best, Perplexity Decider v1.2, reached a mean F1 of 88.13 without training, above the fine-tuned Ditto baseline. Cascades that passed the least certain 11% to 23% of pairs to a frontier model raised mean F1 by 2.7 to 4.8 points.

The study contains no customer records. Its benchmarks cover products, bibliographic records and books. It also found that deleting one attribute lowered F1 significantly for every decision model, by 2.0 to 3.7 points, which matters for customer records with blank fields.

If you want to test TOD, measure it as one pair-scoring stage against its frozen base

Parsec, a small language model lab, publishes TOD, which it calls a "universal decision model." The release is LoRA adapters on google/gemma-4-12B-it with a ModernBERT-base retriever. The base weights are not included, and users must accept the Gemma 4 licence. The adapters are listed as Apache-2.0, while the base model stays under the Gemma 4 terms. According to Parsec's TOD page, the hosted price is $0.30 per 1,000 decisions. TOD was not part of the Mannheim study, and it has not been measured on entity matching or customer records. Its published scores come from general decision tasks and do not show how it handles customer pairs.

Its predict(state, options, question, images) call returns one probability per option. A customer pair fits as a two-option question:

probs = picker.predict(
    state="Record A: company=Acme Holdings Ltd; city=Bristol; phone=555-0190\n"
          "Record B: company=Acme Logistics Ltd; city=Bristol; phone=",
    options={"match": "Both records describe the same customer organization",
             "nonmatch": "The records describe different organizations, such as a parent firm and its subsidiary"},
    question="Do these two records describe the same customer?",
)

A fair test runs three versions on the same candidate pairs. The first is the frozen gemma-4-12B-it base with the same readout. The second is the released adapter, and the third is the adapter tuned only on training-split pairs with Parsec's open-jev SDK. If none of them lowers false merges at the same recall as Splink or Dedupe, TOD adds no measured value on that dataset.

Every option has to pass the same customer benchmark before it merges records

A fair comparison starts with the right data. Public sets prove that a pipeline runs: Splink ships a labelled fake_1000 set of 250 simulated people, and pseudopeople generates simulated census and tax records with a ground-truth simulant_id and a household_id. Decisions still need a deidentified sample of your own customers.

The sample should be split by customer cluster, so that no person appears in both training and test data. It should also include these hard cases on purpose:

  • Different customers who share a household address or phone can be merged by mistake.
  • Customers whose contact details changed after a move can be missed as duplicates.
  • Common names that repeat across unrelated people can produce false merges.
  • Records with missing fields, such as a blank email, give a scorer less evidence to compare.
  • Ambiguous company names, such as a parent firm and its subsidiary, can be joined wrongly.

Each tool should be run on one shared candidate set and then end to end with its own blocking and clustering. The report should give precision of automatic merges, duplicate recall, cluster quality, calibration, review coverage, latency and total cost. It should also list dataset sizes, candidate counts, labelling hours, hardware, software and model versions, confidence intervals and the scripts.

Scoring 20 million candidate pairs costs from nothing to about $15,000 in model fees at list prices

The example assumes a database of two million customer records. Splink's documentation puts the unblocked pair count for one million records at roughly 500 billion, so blocking is essential. The example assumes that blocking leaves 20 million candidate pairs and that Splink leaves 5% of them, or one million pairs, in an uncertain band.

The model fees at list prices then work out as follows:

  1. Running Splink or Dedupe alone has no licence or per-pair fee, since both are MIT licensed and run on your own hardware.
  2. Sending all 20 million pairs to TOD costs $6,000 at the $0.30 per 1,000 decisions listed on Parsec's TOD page, while sending only the one million uncertain pairs costs $300.
  3. Sending all 20 million pairs to Perplexity Decider costs about $142, using the Mannheim study's projection of $7.10 per million pairs.
  4. Sending the one million uncertain pairs to GPT-6.1 Sol costs about $753, and sending all 20 million costs about $15,060, using the study's projection of $753 per million pairs.

The Mannheim projections come from the token counts of its benchmark pairs and its default prompt. Customer pairs of a different length would cost proportionally more or less.

Human time is often the larger cost. Assuming that 3,000 test pairs are labelled at 30 seconds each, the benchmark takes about 25 hours of labelling. If 10,000 pairs per run still reach review at 30 seconds each, review takes about 83 hours. A scorer that shrinks the review band without raising false merges saves more than any difference in model fees.

The application should set review thresholds from error costs and approve every merge itself

A pair probability shows confidence in one decision. It does not give authority to merge accounts. The application should set three bands from the cost of each error: automatic match, automatic nonmatch and human review. Dedupe's documentation frames the cutoff as a trade-off between precision and recall, weighted with an F-score.

Clusters need a second check, because pair scores are not transitive. In Dedupe's example, two pairs that each match at 0.6 imply only about a 36% match for the third pair. Clusters with bridge links, or with unusually many records, should go to review even when every pair scored highly. Each approved merge should be logged with its scores and model versions, and the source records should be kept so that a wrong merge can be split again.

Sources

More in Research

All Research →