Duplicate product detection is not simply a search for identical titles. A reliable product matching algorithm must distinguish the same item listed twice from legitimate variants that differ by size, color, model, capacity, bundle, or package quantity. This guide presents a repeatable workflow for product catalog deduplication: normalize fields, verify identifiers, generate candidates, compare attributes with variant-aware rules, assign confidence bands, and route uncertain matches to review.
Overview
Catalog duplication usually appears when multiple suppliers describe the same product differently, when a marketplace import is repeated, or when an existing item is re-created instead of updated. The records may share a manufacturer part number but have different titles, or they may have similar titles while representing different package sizes. Treating every high text-similarity score as a duplicate can collapse valid assortment choices and create downstream problems in inventory, pricing, fulfillment, and reporting.
The safest approach is entity resolution: determine whether two records refer to the same sellable product entity, then preserve meaningful variants as separate entities. This requires more than fuzzy matching. Approximate string matching can help compare noisy titles and brands, but the final decision should combine identifiers, structured attributes, normalized units, category context, and explicit variant rules.
Separate the workflow into two decisions:
- Candidate generation: Find records that could represent the same product without comparing every record with every other record.
- Match classification: Decide whether each candidate pair is a duplicate, a variant, or an unrelated product.
For a broader view of catalog fields, units, and brand-aware scoring, see Fuzzy Matching Product Catalogs: SKUs, Variants, Units, and Brand-Aware Scoring. If the input contains customer or supplier data beyond products, the entity resolution workflow in How to Build an Entity Resolution Pipeline for Noisy Customer Records provides useful general principles.
What to track
1. Build a normalization pipeline
Keep the original values for auditability, then create normalized versions for comparison. Typical transformations include lowercasing, Unicode normalization, punctuation removal, whitespace cleanup, consistent apostrophe handling, and standardization of common abbreviations. Do not remove information blindly. A slash, hyphen, decimal, or letter can distinguish a model or package configuration.
Normalize quantities into comparable units where the product category permits it. For example, convert grams to kilograms or milliliters to liters, while retaining the original representation and recording the conversion. Parse pack expressions such as “case of 12,” “12-pack,” and “12 x 330 ml” into structured fields. Brand names may also need an alias table, but aliases should be reviewed because similar brand strings can refer to different manufacturers.
2. Check identifiers before fuzzy similarity
Identifiers are strong evidence when their provenance and scope are understood. Useful fields can include a global trade item number, manufacturer part number, model number, supplier SKU, or internal catalog ID. These identifiers are not interchangeable: a supplier SKU may be unique only within one supplier, while a manufacturer part number may apply across channels.
Track the identifier value, identifier type, issuing context, and validation status. An exact match on a trusted manufacturer identifier may support an automatic duplicate decision, provided that variant attributes also agree. An exact identifier match combined with conflicting size or color should not be merged automatically; it may indicate a source-data error, reused identifier, or an incorrectly modeled variant.
3. Compare fields with a matching matrix
Use field-specific comparisons rather than one unweighted title score. The following matrix is a practical starting point; adjust it by category and validate it against reviewed examples.
| Field | Comparison method | Typical interpretation |
|---|---|---|
| Manufacturer identifier | Exact match after validation | Strong duplicate signal, unless variant fields conflict |
| Supplier SKU | Exact match within supplier scope | Useful source-specific evidence, not a universal key |
| Brand | Normalized exact match or approved alias | Supports a match; disagreement is often a warning |
| Model or part number | Exact or carefully normalized match | Often stronger than title similarity |
| Title | Token similarity, edit similarity, or trigram similarity | Useful supporting evidence; sensitive to marketing text |
| Category | Exact, hierarchical, or taxonomy-aware comparison | Prevents unrelated items from matching |
| Size, color, capacity | Parsed exact comparison | Usually a variant discriminator |
| Package quantity | Numeric comparison after unit parsing | Different values commonly indicate separate offers or products |
| Dimensions or weight | Numeric comparison with tolerance | Helpful when reliably supplied; do not overtrust rounded values |
| Images | Image hash or visual review where available | Supporting evidence, not a replacement for structured data |
4. Define variant rules explicitly
Write down which differences create separate catalog entities. Common variant dimensions include color, size, flavor, voltage, storage capacity, memory configuration, model year, gender or fit, fragrance, package count, and bundle contents. A difference in these fields should usually produce a “variant” outcome even when the title and brand match closely.
Rules should be category-specific. A 500 ml bottle and a 1 liter bottle may be separate purchasable variants. For a replacement part, a small dimensional difference may indicate incompatibility rather than a harmless variant. For apparel, color and size may be child variants under one parent product, while for electronics a storage capacity change may require separate inventory and pricing records.
5. Generate candidates efficiently
Do not run all-pairs fuzzy matching across a large catalog unless the dataset is small. Use blocking keys to create plausible candidate groups, such as normalized brand plus model prefix, manufacturer identifier, category plus title tokens, or brand plus parsed product type. Use multiple blocking passes so a typo in one field does not exclude a genuine candidate.
Within each block, calculate field-level features such as exact identifier agreement, title token similarity, character trigram similarity, numeric attribute agreement, and category compatibility. Libraries for Levenshtein distance, Jaro-Winkler, token-based similarity, or database trigram search can support these features, but the library is less important than preserving field meaning and testing decisions on labeled pairs.
6. Use confidence bands and human review
Convert the comparison features into a score or rule-based decision with three practical bands:
- Auto-match: Strong identifier or multi-field agreement, no conflicting variant attributes, and a score comfortably above the reviewed threshold.
- Review: Ambiguous evidence, missing identifiers, conflicting fields, or a score near the decision boundary.
- Keep separate: Clear variant differences, incompatible categories, or strong evidence that the records represent different products.
Store the evidence behind every decision: source record IDs, normalized values, matched fields, conflicts, score components, rule version, reviewer decision, and timestamp. This makes duplicate detection explainable and allows thresholds to be improved without losing the audit trail.
Cadence and checkpoints
Product matching should be monitored as an operating process rather than treated as a one-time cleanup. A useful cadence is:
- During every supplier import: Measure the number of new records, candidate pairs, automatic matches, review cases, and rejected matches. Sample both high-confidence matches and automatic non-matches.
- Monthly: Review recurring conflict types, such as missing model numbers, inconsistent pack quantities, new brand aliases, or titles that contain variant information in unfamiliar formats.
- Quarterly: Recheck thresholds and blocking keys against a labeled sample. Compare duplicate decisions by supplier, category, language, and source system. Review whether valid variants are being merged or duplicate records are escaping detection.
- After schema or taxonomy changes: Re-run normalization tests and a controlled sample before applying new rules to the full catalog.
- After seasonal assortment updates: Inspect newly introduced categories, bundles, colors, sizes, and promotional packaging. Seasonal packaging can look like a duplicate while representing a distinct sellable configuration.
Track operational measures that reveal process quality: review queue size, reviewer agreement, confirmed duplicate rate, variant-separation errors, unresolved pairs, and the share of records missing key identifiers. These are monitoring signals, not universal benchmarks. Their value comes from comparing them with your own previous imports and reviewed outcomes.
How to interpret changes
A rising duplicate rate can mean the supplier feed has become noisier, but it can also indicate that candidate blocking improved and is now finding cases previously missed. Interpret the rate alongside sample quality and review outcomes. If automatic matches increase while reviewer reversals also increase, the threshold may be too permissive or a new field format is being misread.
A growing review queue often points to missing structured attributes rather than a scoring problem. For example, titles may contain “two pack” or “large” while the package quantity and size fields remain empty. Improve parsing and source mappings before simply lowering the review threshold.
Watch for false merges separately from false non-matches. A false merge can combine inventory, pricing, or fulfillment records that should remain distinct. A false non-match creates duplicate listings and fragmented sales history. In most catalogs, the acceptable balance depends on the operational cost of each error, so thresholds should be chosen with catalog, merchandising, and operations stakeholders rather than from similarity scores alone.
When multilingual data is involved, transliteration, punctuation, word order, and local unit conventions can change similarity behavior. Use language-aware normalization and candidate generation, and inspect errors by language instead of assuming one global rule will work. The guide to multilingual entity matching covers these considerations in more detail.
When to revisit
Revisit the workflow monthly when imports are frequent or supplier formats change often; otherwise, a quarterly review is a reasonable starting point. Do not wait for a scheduled review when a catalog migration, taxonomy redesign, new marketplace integration, identifier policy change, or major expansion into new languages or categories occurs.
Use this practical review checklist:
- Sample confirmed duplicates, confirmed variants, and rejected pairs from the latest period.
- Check whether new model, size, color, capacity, or bundle values are being parsed correctly.
- Review identifier collisions and records where identifiers disagree with variant attributes.
- Compare false-merge and false-non-match examples with the current rules.
- Update alias tables, unit parsers, blocking keys, and category-specific variant rules.
- Version the changes, run them on a holdout sample, and record the expected impact before production rollout.
Keep a duplicate-review template that asks: “Are these records the same sellable product?”, “Which fields support the decision?”, “Which fields conflict?”, “Is the conflict a legitimate variant?”, and “What action should follow?” The answer may be merge, keep separate, link as variants, correct source data, or escalate for catalog ownership review.
For teams evaluating a matching service or implementation, the fuzzy search API evaluation guide can help compare integration requirements, while this relevance testing framework offers a way to structure labeled evaluation. The core principle remains stable: use fuzzy matching to find plausible relationships, but use identifiers, structured attributes, variant rules, and review evidence to decide what belongs together.