We use cookies. Privacy choices

    Skip to content
    Data ManagementNovember 16, 202618 min read

    What Is Entity Resolution? How It Works, From Record Linkage to LLMs

    Featured image for "What Is Entity Resolution? How It Works, From Record Linkage to LLMs"

    Entity resolution is the process of finding records that refer to the same real-world entity, such as a person, company, product, or place, across one or more data sources, and grouping them so the entity is represented once. It is also called record linkage, data matching, or deduplication, depending on who is doing it and why.

    A simple example: account 1188 in the CRM is “Acme Corp.” at 100 Main St. Vendor 4421 in the ERP is “ACME CORPORATION” at 100 Main Street. A billing contact lists “acme.com.” Entity resolution decides that all three are the same company, links them, and gives the company one identity that every system and every AI agent can use.

    Fluree does this as data arrives: rules for exact identifiers, machine learning trained with your subject-matter experts for the rest, data stewards for the close calls, and each resolved entity stored as a node in a governed knowledge graph that AI agents can query.

    The field grew up in statistics, public health, computer science, and direct marketing at the same time, so it has many names. They overlap, but they are not identical.

    TermTypical scopeWho uses itWhat it produces
    Entity resolutionAny entity type, within or across sources, including clustering and mergingComputer science, data engineeringOne resolved entity per real-world thing
    Record linkageLinking records about people across two or more filesStatisticians, epidemiologists, census officesLinked pairs or groups of records
    Data matchingThe umbrella term for all of itVendors, practitioners (Christen, 2012)Matched records
    DeduplicationRemoving copies within one datasetData quality teamsA cleaned dataset
    Identity resolutionPeople only: customers, devices, cookies, emailsMarketing and customer data platformsA unified customer profile
    Merge-purgeMatching mailing lists and deleting duplicatesDirect marketing, historicallyA deduplicated list

    Entity linking is a neighbor but a different task: it connects mentions in text to records, rather than records to records. See what AI grounding is for how the two work together.

    A short history: from 1946 to language models

    • 1946. Halbert Dunn, chief of the US National Office of Vital Statistics, named the problem in “Record Linkage” in the American Journal of Public Health: assembling the records of each person’s life into one file.
    • 1959. Howard Newcombe and colleagues linked birth and marriage records by computer in Science, and introduced the idea that agreement on a rare value (an unusual surname) says more than agreement on a common one.
    • 1969. Ivan Fellegi and Alan Sunter published “A Theory for Record Linkage” in the Journal of the American Statistical Association, the probabilistic model most matching systems still build on.
    • 2000s–2010s. Supervised machine learning and active learning (a person labels the pairs the model is least sure of) replaced hand-tuned weights.
    • 2020s. Fine-tuned language models such as Ditto set the benchmarks, and since 2023 large language models have matched them with few or no training examples.

    How entity resolution works, step by step

    Diagram of the six steps of entity resolution as a narrowing flow. One million records would produce about 500 billion possible pairs. Standardize cleans the values, block limits comparisons to pairs that share a key, compare scores each pair field by field, classify labels each pair a match, non-match, or review, cluster groups matched pairs into entities, and merge builds one record per entity.

    The six steps of entity resolution. Blocking is what makes the problem tractable: without it, one million records means about 500 billion comparisons.

    1. Standardize

    Clean the values so that equal things look equal: consistent case, expanded abbreviations (“St.” to “Street”), parsed names and addresses, one form for each country (“USA,” “U.S.,” and “United States”). Every serious guide starts here because every later step depends on it.

    2. Block

    Comparing every record with every other grows with the square of the data. One million records produce about 500 billion pairs (n × (n − 1) ÷ 2). Blocking compares only records that share a key, such as the same postal code or the first letters of a name. The risk is that true matches with different keys are never compared, so production systems run several blocking passes with different keys.

    3. Compare

    For each candidate pair, compare field by field and turn each comparison into a score:

    • Edit distance (Levenshtein) counts the character changes between two strings: “Jonathon” and “Jonathan” differ by one.
    • Jaro–Winkler weights agreement at the start of a string, which suits names.
    • Token measures compare words regardless of order, so “Corporation Acme” still matches “Acme Corporation.”
    • Phonetic codes (Soundex, Double Metaphone) match names that sound alike but are spelled differently.
    • Exact identifiers (tax ID, email, account number) are compared exactly, and are the strongest evidence when present.

    4. Classify

    Decide, for each pair, match or non-match. This is where the approaches differ, covered in the next section. Most systems keep a third outcome, review, for pairs that are too close to call.

    5. Cluster

    Pairwise decisions have to become entities. The simplest method treats matches as links and takes the connected groups. It is fast and easy to explain, but one wrong link can join two groups that should be separate: if A matches B and B wrongly matches C, A and C end up as one entity. Better systems check the consistency of a whole cluster, not only its pairs.

    6. Merge

    Build one record per entity. Survivorship rules choose which value wins for each field: the most trusted source, the most recent value, or the most complete. Good systems keep every source value and the reason it won, so the merge can be explained and undone. This output is the golden record.

    Matching approaches: rules, probability, machine learning, and LLMs

    ApproachHow it decidesLabels neededStrengthsWeaknesses
    Deterministic rules“Match if tax IDs are equal, or if name and address agree”NoneSimple, explainable, fastEvery new irregularity needs another rule; rule sets grow brittle
    Probabilistic (Fellegi–Sunter)Sums the evidence from each field into a score, with two thresholdsNone (weights can be estimated from the data)Weighs rare values properly; principled review bandAssumes fields are independent, which they often are not
    Supervised and active learningA model learns from pairs people have labeledHundreds to thousandsLearns patterns rules missNeeds labeled data; can be hard to explain
    Large language modelsA model reads both records and judges whether they describe the same thingFew or noneStrong on messy, varied text; can explain its decisionCost and latency per pair; sensitive to the prompt

    Most production systems are hybrids: deterministic rules for exact identifiers, a probabilistic or learned model for the rest, and people for the review band.

    The Fellegi–Sunter model, simply

    For each field, ask two questions:

    • m-probability: if two records really are the same entity, how often does this field agree? (For birth date, very often.)
    • u-probability: if they are different entities, how often does it agree by chance? (For birth date, rarely; for gender, half the time.)

    The ratio of the two says how much an agreement is worth. A matching birth date is strong evidence; a matching gender is weak. The model adds up the evidence across fields into one score, then applies two thresholds: above the upper one is a link, below the lower one is not, and everything between goes to a person. Fellegi and Sunter showed how to set the thresholds to keep that manual-review band as small as possible for the error rates you accept.

    Diagram of Fellegi–Sunter scoring. Each candidate pair gets a total match score on one axis. Pairs below the lower threshold are non-matches, pairs above the upper threshold are matches, and pairs between the two thresholds go to clerical review. Example pairs are shown in each band.

    Fellegi–Sunter in one picture: every pair gets a score, two thresholds split the scores into non-match, review, and match. Tuning is choosing where the thresholds sit.

    What large language models change

    The clearest public evidence is Peeters, Steiner, and Bizer (EDBT 2025), who tested language models against fine-tuned matchers on six standard benchmarks. GPT-4, with no training examples, scored F1 of 89.6 on the WDC Products benchmark against 84.9 for the fine-tuned Ditto, and 95.8 against 91.3 on Abt-Buy. It lost on Amazon-Google (76.4 against 80.1) and DBLP-Scholar (89.8 against 94.3). The more telling result: fine-tuned matchers trained on one product dataset fell to about 49–56 F1 on another, while the language models held up.

    The practical reading is that language models are strong judges of hard pairs, but far too slow and costly to run on billions of comparisons. Put them after blocking, on the pairs that rules and scores cannot settle, and log their explanations for review.

    How to measure entity resolution quality

    • Precision: of the pairs the system matched, how many are true matches.
    • Recall: of the true matches, how many the system found.
    • F1: the harmonic mean of the two.

    Pairwise measures overweight large clusters, so teams also use cluster-level measures such as B-cubed (Bagga and Baldwin, 1998), which scores each record’s cluster rather than each pair.

    The two kinds of error are not equally costly:

    • A false merge blends two real entities: a father and son with the same name, or two companies that share an address. It exposes one person’s data to another and is hard to undo once downstream systems have used it.
    • A false split leaves one entity in pieces. Risk, spend, and history are undercounted, but nothing is wrongly shared.

    Most teams tune for precision on anything that drives automated action and accept some false splits for steward review. Fluree works the same way: high-confidence matches merge automatically, ambiguous ones go to a data steward, and every match records its confidence score so the threshold can be tuned per use case. Public benchmarks such as WDC Products (11,715 product offers describing 2,162 entities) show why testing on your own data matters: state-of-the-art systems ranged from 0.64 to 0.89 F1 depending on the variant, and all of them struggled with entities they had not seen in training.

    Entity resolution, master data management, and golden records

    The three terms describe a process, a program, and a result.

    What it isExample
    Entity resolutionThe process of matching and clustering recordsDeciding that CRM 1188 and ERP 4421 are the same company
    Master data management (MDM)The program around it: ownership, stewardship, policies, and distribution of master dataA data governance team that owns customer data and approves merges
    Golden recordThe output: one trusted record per entity, with each field’s sourceAcme Corporation, with its legal name from the ERP and its billing email from the CRM

    Entity resolution is the engine inside MDM. Many teams now start with entity resolution and add the program around it, rather than the reverse. For the output side, see what a golden record is and how survivorship works.

    Entity resolution for knowledge graphs and AI

    A knowledge graph with unresolved entities is a graph of duplicates. Facts about one customer sit on three nodes, relationships split across them, and every count, path, and risk score is wrong. Researchers studying graph-based retrieval report the same problem in automatically built graphs: duplicate and alias nodes (“Dr. Watson” and “Watson”) that scatter facts the model needs (arXiv 2510.14271).

    For AI agents the effect is worse than for dashboards, because an agent answers confidently from whichever node it finds. Ask about Acme’s open orders and you get one node’s answer, not the company’s. Fluree’s own 2024 GraphRAG accuracy study found that questions over raw relational data scored 8–15% zero-shot, while governed knowledge graphs started at 60–65% and passed 95% once enriched; resolved entities are part of that enrichment.

    Graph-based entity resolution

    Graphs also help do entity resolution, because shared neighbors are evidence: two customer records that share a phone number, a device, and a shipping address are probably one customer. Fluree uses those relationships alongside names and addresses when it matches, which is how “Acme Corp” at 100 Main St and “Acme Corporation” at 100 Main Street resolve even when no ID is shared. Neo4j’s Graph Data Science library is a common example. Its team describes using weakly connected components to group records, node similarity to score pairs, Node2Vec embeddings, and link prediction, and an example in which Meredith Corporation resolved 14 billion anonymous user records into 163 million profiles.

    Batch, real-time, and incremental

    • Batch resolution reprocesses everything on a schedule. Simple, but results are only as fresh as the last run.
    • Real-time resolution resolves each record as it arrives, which fraud checks and customer service need.
    • Incremental resolution updates only the entities a change touches, and revisits earlier decisions when new evidence arrives.

    Agents that act on current data need real-time or incremental resolution; a nightly batch means an agent can act on yesterday’s duplicates. Fluree resolves records as they are ingested and reads sources where they live, so resolved entities stay in step with the systems that feed them.

    Where entity resolution is used

    • Customer 360 and marketing: one profile per customer across channels, devices, and systems.
    • Financial crime, KYC, and anti-money laundering: linking accounts, people, and companies that share phones, addresses, or directors, to spot rings and screen against sanctions lists.
    • Healthcare: matching patients across providers. Pew reported in 2018 that match rates between organizations could be as low as 50%, even when they used the same records vendor.
    • Product catalogs: one product per SKU across suppliers and channels. In a Fluree customer’s catalog, 48% of product records turned out to be duplicates.
    • Banking: households and relationships across branches and systems, as in a community bank that unified 330,000 customers.
    • Government statistics: the UK Office for National Statistics used the open-source Splink library to link 2021 Census data.

    Entity resolution software: the landscape

    Listed by type, unranked:

    • Engines and SDKs: Senzing embeds real-time entity resolution in other applications.
    • Cloud services: AWS Entity Resolution, generally available since July 2023, offers rule-based, machine learning, and data-provider matching.
    • Open-source libraries: Splink (probabilistic, from the UK Ministry of Justice’s analytical services, MIT license), Zingg (machine learning on Spark), and dedupe (active learning in Python).
    • MDM platforms: Informatica, Reltio, and Tamr include entity resolution inside a master data program.
    • Decision intelligence: Quantexa resolves entities for financial crime and risk work.
    • Knowledge graph platforms: Fluree resolves entities during ingestion into a governed knowledge graph, with confidence scores, field-level lineage, and per-fact access policy, ready for AI agents through MCP. Neo4j’s Graph Data Science library supports graph-based matching inside a property graph.

    For a comparison with prices and selection criteria, see our entity resolution software guide.

    How Fluree resolves entities

    Fluree treats entity resolution as part of building the knowledge graph, not as a separate project that ends in a spreadsheet.

    1. Connect sources where they live. CRM, ERP, billing, support, warehouse, and lake tables, read in place or copied from a lake table into a governed twin that stays in sync.
    2. Normalize to shared vocabularies. Names, addresses, codes, and categories are standardized against the taxonomies you maintain, so equal things compare as equal.
    3. Match with rules, models, and people. Deterministic rules settle exact identifiers such as tax IDs and emails. Machine learning, trained with input from your subject-matter experts, handles the messy rest. Ambiguous matches go to data stewards, and their decisions improve the model.
    4. Keep the evidence. Every match carries a confidence score, and every field of the resolved entity keeps its source, timestamp, and the rule that chose it.
    5. Publish a governed graph. Each resolved entity becomes a node connected to everything else you know about it, with access policy enforced on every fact, and agents can query it through MCP or GraphRAG.

    In practice:

    • A global consumer goods company found that 48% of its product records were duplicates across five sources, and reached 97.5% catalog accuracy, in production in three weeks.
    • A community bank unified more than 330,000 customers, across 113 branches and three to five competing reporting systems, into household-level golden records with full lineage.

    See Fluree AI Resolve for how it works on your tables, and our entity resolution software guide for how it compares.

    Frequently Asked Questions

    Entity resolution finds records that describe the same real-world thing, such as the same customer stored differently in two systems, and links or merges them so the thing is represented once.

    Mostly. Record linkage is the older statistical term, usually for linking records about people across files. Entity resolution is the computer science term and usually includes grouping and merging records for any type of entity.

    Deduplication removes copies within one dataset. Entity resolution also links records across different sources and decides which values the resolved entity keeps.

    Identity resolution is entity resolution for people, mostly in marketing: linking a customer’s emails, devices, cookies, and accounts into one profile.

    Data matching is the umbrella term for comparing records to find those that refer to the same entity. Record linkage, deduplication, and entity resolution are all forms of it.

    It is the probabilistic model for record linkage published in 1969. It weighs how much agreement on each field says about a match, adds the evidence into a score, and uses two thresholds to label pairs as matches, non-matches, or cases for manual review.

    Blocking limits comparisons to records that share a key, such as a postal code. Without it, one million records would require about 500 billion comparisons.

    Yes, and well. In published tests, GPT-4 matched or beat fine-tuned matchers on several benchmarks with no training examples. Because each comparison is expensive, they are best used on the hard pairs left after blocking and scoring.

    With precision (how many matches are correct), recall (how many true matches were found), and F1, measured on pairs and on clusters. Track false merges and false splits separately, since they cost different things.

    Yes. Entity resolution is the matching engine; master data management is the program of ownership, stewardship, and policy around it; the golden record is the result.

    Neo4j’s Graph Data Science library supports graph-based entity resolution with algorithms such as weakly connected components, node similarity, Node2Vec embeddings, and link prediction, using shared neighbors as evidence that two records are one entity.

    AI agents and retrieval systems answer from the records they find. If one customer exists as three records, an agent sees a third of the facts, or blends facts from different customers. Resolved entities give AI one identity to ground on.

    Fluree resolves entities as data is ingested: rules for exact identifiers, machine learning trained with your experts for the rest, and data stewards for ambiguous matches. Each match has a confidence score, each field keeps its source, and each resolved entity becomes a node in a governed knowledge graph that AI agents can query.

    It depends on where the result has to go. For AI agents, look for software that keeps the evidence for every match, resolves continuously rather than in nightly batches, and publishes entities with their relationships and access rules. Fluree is built for that case; engines such as Senzing, cloud services such as AWS Entity Resolution, and open-source libraries such as Splink suit others. Our entity resolution software guide compares them.

    It resolves each record as it arrives, rather than in a scheduled batch, and revisits earlier decisions when new evidence appears. Fraud detection and agents acting on live data depend on it.
    Entity ResolutionData MatchingRecord LinkageMaster Data ManagementGolden RecordsKnowledge GraphsEnterprise AI
    Share
    Published November 16, 2026

    Stay in the loop

    Weekly insights on enterprise AI, knowledge graphs, and data intelligence.