Entity Resolution for Product Data: An Overview of Methods

Cover for “Entity Resolution for Product Data: An Overview of Methods”: entity resolution pipeline from store listings to one product, pair counts and evaluation

4 min read

Any dataset that combines products from more than one store has to answer a deceptively simple question: which of these listings describe the same item? That task is entity resolution, also called entity matching or record linkage. It decides whether a price comparison compares like with like. The methods range from exact identifier lookups to transformer models, and research benchmarks show that even the strongest struggle with products they have not seen in training. This overview covers the main families, what each needs and where each breaks.

Key takeaways

  • Entity resolution has two stages: blocking (finding candidate pairs cheaply) and matching (deciding each pair). A match that blocking misses is lost.
  • Method families run from identifiers and rules through similarity scores and supervised models to pre-trained language models.
  • Pre-trained transformer matchers such as Ditto lifted benchmark scores substantially, but the WDC Products benchmark shows that strong matchers all struggle with unseen products.
  • Similar text is not identity. Size, pack count, condition and model suffixes need explicit checks.
  • Evaluate by stage, split train and test by product rather than by pair, and count review effort as a cost.

Two stages: blocking, then matching

Comparing every listing with every other listing is quadratic. Two catalogs of 10,000 products each already give 100 million pairs. Practical systems first generate a short list of candidates per record, then spend the expensive comparison only on those.

Why matching starts with blocking

Pairs to compare between two 10,000-product catalogs, with and without candidate generation

10³10⁴10⁵10⁶10⁷10⁸Every cross-store pair10,000 × 10,000100,000,000 pairsTop 50 candidates per offer10,000 × 50500,000 pairsTop 10 candidates per offer10,000 × 10100,000 pairsPairs to score, logarithmic scale. Blocking cuts the work by a factor of 200 to 1,000 here, and anything it dropsnever reaches the matcher. Measure candidate recall before tuning the matcher.
Calculation by JsonEngine. Catalog sizes and candidate counts are illustrative. Graphic: JsonEngine.
Data behind the chart
StagePairs
Every cross-store pair100,000,000
Top 50 candidates per offer500,000
Top 10 candidates per offer100,000

Blocking can be as simple as “same brand and category” or as involved as nearest-neighbor search over learned embeddings. Whatever the method, measure its candidate recall: of the true matches in a labeled sample, how many made it into the candidate set? No matcher can recover a pair it never sees.

The method families

FamilyHow it decidesNeeds labels?StrengthTypical failure
IdentifiersSame GTIN, or same brand plus manufacturer part numberNoVery precise when identifiers are present and correctMissing, placeholder or reused codes; variants sharing a parent code
Rules on normalized attributesHand-written conditions on brand, model, size, pack countNo, but needs domain knowledgeTransparent and easy to auditBrittle across categories; endless exceptions
Similarity scoringString or token similarity over titles and attributes, with a thresholdA few, to set thresholdsSimple, fast, a good blocking toolTreats near-identical titles of different variants as matches
Probabilistic record linkageWeights agreement on each field by how informative it is, following Fellegi and Sunter (1969)Some, or estimated from the dataPrincipled, interpretable weightsAssumes fairly clean, structured fields
Supervised models on featuresA classifier over many similarity featuresYesCombines weak signals wellFeature engineering per domain
Pre-trained language modelsA transformer reads both records as text and classifies the pairYes, fewer than beforeStrongest benchmark scores on seen productsWeaker on unseen products; costly to run on many pairs
Learned representationsEmbeddings trained so that matching records sit close togetherFew or none (self-supervised)Excellent for blocking at scaleCloseness is not identity; needs a final check

A taxonomy for orientation, not a ranking. Real systems combine several families.

Two papers mark the shift to language models. Ditto (Li et al., PVLDB 2020) cast matching as sequence-pair classification with a pre-trained transformer and reported up to 29% higher F1 than the previous state of the art, matching earlier results with at most half the labeled data. Sudowoodo (Wang et al., ICDE 2023) learned similarity-aware representations with contrastive self-supervision, which reduces the need for labels and suits candidate generation.

What the benchmarks show

The WDC Products benchmark (Peeters, Der and Bizer; paper at EDBT 2024) was built from product offers found on thousands of e-shops. It varies three things that matter in practice: the share of hard corner cases, whether test products were seen during training, and how much labeled data is available. Its headline finding is sobering. The strong matchers it evaluated, including Ditto, HierGAT and R-SupCon, all struggle with unseen entities.

That is exactly the situation of a live product dataset: new products keep arriving, and many were never in your training set. Benchmark scores on seen products overstate what you will get in production.

Why similar is not the same

Similar text, different products

Typical hard cases in product matching, with the decision a careful matcher should reach

Trail Jacket Men's Blue, Size MTrail Jacket Men's Blue, Size LDifferent variantUSB-C Cable 2 mUSB-C Cable 2 m, 2-PackDifferent pack sizeAcme X200 HeadphonesAcme X200 Headphones (Renewed)Same productdifferent conditionZentro 900W Blender, BlackBlack 900 W Blender by ZentroSame productClear Case for Phone 15Clear Case for Phone 15 ProDifferent product
Synthetic examples written by JsonEngine; brand and product names are invented. Graphic: JsonEngine.

Many costly matching errors look like these. Textual similarity is high, but one attribute that changes the product (size, pack count, model suffix, condition) differs. The fix is to check those attributes explicitly after the similarity stage: extract size, quantity and model tokens, compare them as structured values, and refuse a match when they disagree. Condition is a special case: a renewed item can be the same product as a new one but a different offer, which belongs in the offer data, not the product identity. We discuss the practical side in product matching across stores.

Evaluating honestly

MeasureQuestion it answers
Candidate recallDid blocking keep the true matches?
Pairwise precision, recall and F1How good are the matcher’s decisions on candidates?
Cluster errorsAfter grouping, how many products were wrongly merged or split?
CalibrationWhen the model says 90% sure, is it right about 90% of the time?
Review loadHow many uncertain pairs go to a person, and how long do they take?

Two practices matter more than the choice of model. First, split training and test data by product, not by pair, so the test measures performance on products the model hasn’t seen. Second, keep a labeled sample from your own sources: public benchmarks tell you how methods compare, not how they will do on your categories.

Quick answers

What is entity resolution for product data?

Deciding which product records, often from different stores, refer to the same real-world item. It is also called entity matching, record linkage or product matching.

What is blocking in entity resolution?

A cheap first step that generates a short list of candidate matches for each record, so the expensive matcher doesn’t have to compare every pair. True matches it misses are lost.

Are transformer models better at product matching?

On benchmarks with products seen in training, pre-trained language models such as Ditto score strongly. The WDC Products benchmark found that strong matchers all struggle with unseen products.

Can I match products by title similarity alone?

Not reliably. Different sizes, pack counts, models and conditions often have nearly identical titles. Check those attributes explicitly.

How should I evaluate a product matcher?

Measure candidate recall for blocking, precision and recall for pair decisions, cluster errors and review load, with test data split by product rather than by pair.

Matched product data, delivered

We can match products across stores using identifier checks, attribute rules and review of uncertain pairs. See price monitoring or custom datasets.