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
Data behind the chart
| Stage | Pairs |
|---|---|
| Every cross-store pair | 100,000,000 |
| Top 50 candidates per offer | 500,000 |
| Top 10 candidates per offer | 100,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
| Family | How it decides | Needs labels? | Strength | Typical failure |
|---|---|---|---|---|
| Identifiers | Same GTIN, or same brand plus manufacturer part number | No | Very precise when identifiers are present and correct | Missing, placeholder or reused codes; variants sharing a parent code |
| Rules on normalized attributes | Hand-written conditions on brand, model, size, pack count | No, but needs domain knowledge | Transparent and easy to audit | Brittle across categories; endless exceptions |
| Similarity scoring | String or token similarity over titles and attributes, with a threshold | A few, to set thresholds | Simple, fast, a good blocking tool | Treats near-identical titles of different variants as matches |
| Probabilistic record linkage | Weights agreement on each field by how informative it is, following Fellegi and Sunter (1969) | Some, or estimated from the data | Principled, interpretable weights | Assumes fairly clean, structured fields |
| Supervised models on features | A classifier over many similarity features | Yes | Combines weak signals well | Feature engineering per domain |
| Pre-trained language models | A transformer reads both records as text and classifies the pair | Yes, fewer than before | Strongest benchmark scores on seen products | Weaker on unseen products; costly to run on many pairs |
| Learned representations | Embeddings trained so that matching records sit close together | Few or none (self-supervised) | Excellent for blocking at scale | Closeness 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
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
| Measure | Question it answers |
|---|---|
| Candidate recall | Did blocking keep the true matches? |
| Pairwise precision, recall and F1 | How good are the matcher’s decisions on candidates? |
| Cluster errors | After grouping, how many products were wrongly merged or split? |
| Calibration | When the model says 90% sure, is it right about 90% of the time? |
| Review load | How 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.
