Modern approaches to product matching with LLMs. Experience in e-commerce

Vitaly Kuliev21 May 2025

Problem

Wildberries needs to find identical products on different platforms or in different cards of its own marketplace. The result feeds competitor price monitoring, card grouping and search. The classical pipeline (embedding candidate search, attribute extraction, a gradient boosting classifier on pairs) misses the needed precision and recall. Complex attributes are extracted poorly and values are hard to compare, such as "1 TB" and "1024 GB". For clothing and shoes the photo often decides, and classical computer vision struggles with angle and background changes.

Example from the article: smartphone cards "TECNO Camon 30" and "POCO M6 Pro" must be told apart, while "belyy mramor" and "Uyuni Salt White" must be read as the same white.

Solution in brief

Keep the embedding candidate search and replace the rest with prompted models. One LLM extracts attributes from the card text, an LLM compares each attribute pair with its own prompt and a vision-language model compares photos. No training is needed, and about 100 labeled examples are enough to choose a prompt.

Questions this case answers
  • How to decide whether two catalog records describe the same real-world entity when attributes are noisy, hard to compare and sometimes visible only in images
  • How to build an entity matcher quickly when only a small labeled set is available
  • How to decide whether two marketplace product cards describe the same item when attributes are extracted badly or only the photo shows the difference?
  • How to extract and normalize product attributes without training a separate model for every attribute?

Tools and methods

  • Embedding candidate search — rough selection of similar products, unchanged.
  • Qwen2.5-72B-Instruct — attribute extraction and normalization from title, description and characteristics.
  • Per-attribute LLM comparison — one prompt per attribute type returns an explanation and a boolean match_flag.
  • InternVL2 76b and Qwen2-VL-72B-Instruct — image matching, for example smartphone color and clothing.
Continue reading — it's free

Google or a one-time email code. No password.