Matching Supplier Products to a Catalog: Retrieve With Qwen3 or BGE-M3, Then Verify Identity With Ditto
Supplier-to-catalog matching needs two models with different jobs. An embedding model finds candidates, and a separate matcher decides whether a candidate is the exact same product, with thresholds set on your own data.
To match supplier products to a catalog, check validated GTINs and part numbers first. Then retrieve a shortlist with keyword search plus an embedding model such as Qwen3-Embedding-0.6B or BGE-M3. A separate entity-matching model then decides whether each candidate is the exact same product. Ditto, a fine-tuned pair classifier, suits teams that already have labeled pairs. A University of Mannheim study revised in November 2026 found that zero-shot decision models scored higher than Ditto on the WDC Products benchmark. No public benchmark can tell you which matcher wins on your own catalog.
Exact identity is a stricter question than similarity, so retrieval and matching need separate models
A supplier listing matches a catalog item only when both records describe the same sellable product. That definition excludes three things that look close. A substitute is a different product that serves the same need, such as another brand of nitrile gloves. A duplicate is a second catalog record for a product that you already list. Packaging equivalence is a business rule that decides whether a case of 12 maps to the single unit in your catalog.
The hardest negatives differ in one small field. "Nitrile gloves, medium, box of 100" and "Nitrile gloves, large, box of 100" share a brand, a product family and almost every word. The same applies to a 500 ml bottle and a 1 litre bottle, a 6-pack and a 12-pack, or revision B of a part and revision C. A retriever should place both records close together, because the correct item has to reach the shortlist. The matcher then has to separate them.
The Sentence Transformers documentation describes this two-stage design. It explains that a bi-encoder embeds each query and document independently, which keeps it fast enough "for large document collections with millions of entries." A cross-encoder reads the query and one document together, which is slower but more accurate. The documentation suggests retrieving "e.g. 100 possible candidates" and re-ranking only those. Supplier matching follows the same plan, with one change: the second stage must answer an identity question rather than a relevance question.
Validated GTINs and part numbers settle many matches before any model runs
A product identifier is the cheapest and most reliable signal in a supplier feed. WDC Products, a public benchmark for product matching, built its ground truth this way. Its documentation says that MPNs and GTINs in web offers "allow us to group offers into clusters," and each cluster represents one real product.
Identifiers need three checks before they can authorize a match:
- Store each GTIN and manufacturer part number as a text string, so that a spreadsheet or a numeric column cannot drop leading digits or reformat the value.
- Validate the GTIN check digit before trusting it. GS1 UK describes the calculation: add alternate digits starting from the right, multiply that sum by 3, add the remaining digits, and take the smallest number that brings the total to a multiple of 10.
- Compare the identifier match against contradictory attributes such as size, pack count and unit of measure. A valid GTIN that sits next to a conflicting pack size points to a data error in one of the two records.
Listings that pass all three checks can be matched by rule. Listings with missing, invalid or contradicted identifiers move on to the model pipeline.
A normalized field schema and a hybrid retriever produce the shortlist
Matching and evaluation are simpler when both sides use the same fields. A practical schema separates title, brand, manufacturer part number, GTIN, size value, size unit, pack count, colour and category. Brand aliases and units should be normalized before indexing, so that "ml" and "mL" and "millilitre" become one value.
Two open embedding models fit the retrieval stage. Qwen3-Embedding-0.6B has 0.6 billion parameters, a 32k-token context and an Apache-2.0 licence, according to its model card. The card says that each query needs a one-sentence task instruction, and that leaving it out can cost "approximately 1% to 5%" in retrieval performance. BGE-M3 is MIT-licensed, handles inputs up to 8,192 tokens and supports more than 100 languages. Its card highlights that it produces dense, sparse and multi-vector representations at once, and it recommends "hybrid retrieval + re-ranking."
Keyword search belongs in the retriever even when embeddings are strong. A part number such as XR-2210B is a precise string, and an exact keyword hit on it is worth more than semantic closeness. BGE-M3's sparse output gives one way to combine the two signals, and a separate keyword index gives another.
The retrieval stage has its own metric. Recall at K is the share of supplier listings whose correct catalog item appears in the top K candidates. It should be reported for several shortlist sizes, such as 10, 20, 50 and 100. A matcher cannot recover an item that retrieval missed, so a low recall at K is a retrieval failure and should never be counted against the matcher.
Four kinds of model can make the identity decision on the same shortlist
Each option below scores the same supplier listing against the same candidates, which makes a fair comparison possible:
- A general reranker such as Qwen3-Reranker-0.6B scores the probability that the model answers "yes" to whether a document meets a query. Its default instruction asks it to "retrieve relevant passages that answer the query," which describes relevance, not identity. A custom instruction about exact product identity is an obvious first step, and the card says that instructions typically improve results by 1% to 5%.
- A trained pair classifier in the style of Ditto reads two records as one sequence and outputs match or no match. The Ditto paper, published for VLDB 2021, reports F1 gains of up to 29% over earlier methods. It also reports matching earlier results with "at most half the number of labeled data." Its repository offers a
--dk productoption that highlights product IDs and normalizes numbers. - A prompted large language model compares the records in natural language. Research by Peeters, Steiner and Bizer, published at EDBT 2025, found that the best LLMs "require no or only a few training examples" to perform comparably to fine-tuned models. The same work found that "there is no single best prompt."
- A decision model returns a probability for each answer option that you supply, instead of writing free text. In the Mannheim decision-model study, the options were "Yes: The records describe the same real-world entity" and "No."
Parsec's TOD is a decision model of this kind that ranks a supplied list of options. Its release is a set of LoRA adapters on google/gemma-4-12B-it with a ModernBERT-base retriever, published as parsecai/tod. Its predict function returns one probability per option, and its repository says that it was measured with up to 300 options. That design could score a whole shortlist plus a "none of these" option in one call. Parsec's TOD page lists a price of $0.30 per 1,000 decisions. TOD is not one of the six models in the Mannheim study, and its accuracy on product matching has not been measured.
The strongest public evidence favours zero-shot decision models over Ditto on unseen products
The most relevant comparison is the Mannheim paper "Entity Matching using Decision Models," revised on 20 November 2026. It tested six decision models without any task training on eight benchmarks, including WDC Products, Abt-Buy and Walmart-Amazon. It compared them with Ditto and with three frontier LLMs.
The averages across all eight benchmarks put the strongest decision model, PPLX v1.2, at 88.13 mean F1. Ditto trained on the full benchmark training sets reached 80.6. Gemini 4 Argon, GPT-6.1 Sol and Claude Opus 5.5 scored between 90.77 and 91.06. The paper says that the decision models "give up a few F1 points, mostly on product data."
WDC Products is the closest public test to supplier matching. In this study its test set contained 80% corner cases, and every test product was absent from the training data. PPLX scored 87.01 F1 on it and GPT-6.1 Sol scored 91.58. Ditto reached 71.23 with the full training set and 20.38 with only 200 labeled pairs. The authors explain the gap by noting that matchers built on pre-trained language models "have a tendency to generalize poorly to unseen entities."
These results describe pre-built pairs at a fixed threshold of 0.5. They do not include a retrieval stage, absent catalog items or a review queue. The authors also say that data contamination "cannot be ruled out" for the public benchmarks. The results support testing a decision model first, but they do not replace a test on your own supplier feeds.
Match, review and no-match decisions need thresholds fitted outside the test set
A matcher score must not merge catalog records by itself. An embedding similarity of 0.95 is a distance between two vectors, not a 95% chance that the products are identical. A reranker's "yes" probability is a relevance score until it has been checked against labeled outcomes.
The application layer should allow three outcomes. A score above an upper threshold produces an automatic match. A score between the two thresholds goes to a human reviewer. A score below the lower threshold, or a "none of these" choice, records no match, because the supplier's product may not be in the catalog at all.
Both thresholds should be fitted on a validation set that the final test never touches. The Mannheim study found that three decision models produced well-calibrated probabilities. It also found that a tuned threshold "compensates for a high calibration error but leaves the resolution unchanged." A separate study of 117 synthetic cases, which the paper cites, found that "thresholds set on Jev do not transfer." A threshold therefore belongs to one model, one prompt and one catalog, and it needs refitting when any of the three changes.
The same study tested cascades that send the least certain pairs to a frontier LLM. For the four strongest decision models, cascades raised mean F1 by 2.7 to 4.8 points. They cost 2.5 to 5.1 times less than sending every pair to the LLM. A human review queue plays the same role at the top of the uncertainty range.
A fair comparison on your catalog reports precision, coverage and cost per listing
No published study has compared identifier rules, Qwen3-Reranker-0.6B, Ditto, a prompted LLM and TOD on the same retrieved candidates from real supplier feeds. A comparison that a buying team can act on needs the following design:
- Split the labeled data so that held-out suppliers and products never appear in training or threshold fitting. Include difficult negatives that differ only in size, pack count, unit or revision.
- Include supplier listings whose product is absent from the catalog, so that the no-match outcome is tested.
- Train or prompt each matcher at several label budgets, such as 200, 2,000 and the full set. Keep frozen baselines apart from tuned versions.
- Report automatic-match precision and coverage, which is the share of listings that are handled without review. Also report calibration, review volume and missed matches.
- Record the hardware, model versions, input lengths, candidate counts, p95 latency and the full cost per supplier listing. Add bootstrap confidence intervals, as the Mannheim repository does.
- Use WDC Products as a public check that others can reproduce, and keep your own reviewed supplier pairs as the deciding test.
Labeling does not have to be the bottleneck. A 2026 paper by Steiner and Bizer found that matchers trained on LLM-labeled pairs performed similarly to those trained on benchmark labels in most cases. The labeling cost averaged $5.86 to $8.11 per training set at GPT-5.2 prices. The same paper found that these smaller trained matchers fell well short of their LLM teachers on two benchmarks with many unseen products. A feed from a new supplier can contain many products that the training data does not include, which is the same situation.
Sources
- Qwen, Qwen3-Embedding-0.6B model card: https://huggingface.co/Qwen/Qwen3-Embedding-0.6B
- BAAI, BGE-M3 model card: https://huggingface.co/BAAI/bge-m3
- Qwen, Qwen3-Reranker-0.6B model card: https://huggingface.co/Qwen/Qwen3-Reranker-0.6B
- Sentence Transformers, Retrieve and Re-Rank: https://www.sbert.net/examples/sentence_transformer/applications/retrieve_rerank/README.html
- Li et al., Deep Entity Matching with Pre-Trained Language Models (Ditto): https://arxiv.org/abs/2004.00584
- Megagon Labs, Ditto repository: https://github.com/megagonlabs/ditto
- Peeters, Steiner and Bizer, Entity Matching using Large Language Models: https://arxiv.org/abs/2310.11244
- Steiner, Peeters and Bizer, Entity Matching using Decision Models: https://arxiv.org/abs/2610.34626
- Decision models for entity matching, code and results: https://github.com/wbsg-uni-mannheim/decision-models-4-entity-matching
- Steiner and Bizer, Labeling Training Data for Entity Matching Using Large Language Models: https://arxiv.org/abs/2606.28823
- Web Data Commons, WDC Products benchmark: https://webdatacommons.org/largescaleproductcorpus/wdc-products/
- GS1 UK, What is a check digit: https://www.gs1uk.org/knowledge-hub/standards/what-is-a-check-digit
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, TOD model card: https://huggingface.co/parsecai/tod
- Parsec, TOD repository: https://github.com/daseinlabs/tod