Problem
Amazon's catalogue holds hundreds of millions of products, and millions of listings are added or edited daily. Titles, attributes and descriptions must be complete, accurate and appealing so that shoppers can find products quickly. Category-specific ML models handle products with short structured attribute lists, such as dinner plates. Products with complex or nuanced attributes needed specially trained models or manual review, too costly to extend to the whole catalogue.
Example from the article: wireless headphones can carry the connectivity value as "Bluetooth", "BT", "BT 5.1" or "Bluetooth version 5.1", and the catalogue has to settle on one standard form.
Solution in brief
Group the whole catalogue by product type and attribute value, and count how often each value is used and viewed. Feed the most trusted values to a general-purpose LLM as candidate lists, and tune the prompt over several rounds so the model keeps the right granularity and consistent wording. The tuned LLM then runs over the full catalogue to confirm standard values, collect synonyms and flag erroneous entries.
Questions this case answers
- How to validate and standardize free-form attribute values across a huge multi-category catalogue when per-category supervised models do not scale to complex attributes
- How to use value-frequency statistics as a correctness signal for an LLM without losing legitimately rarer, more specific values
- How to keep product attribute values correct and consistent across a catalogue of hundreds of millions of items?
- How to normalize seller-provided attribute values (synonyms, spelling variants) without a separate ML model per product category?
Tools and methods
- Attribute-value statistics — per product type, how many products use a value and how often products with that value are viewed; a proxy for correctness.
- Prompt tuning — iterative prompt rounds that teach a general LLM the schemas, rules and vocabulary of the catalogue.
- LLM catalogue pass — recognizes standard values, collects synonyms and detects nonsensical entries.
Google or a one-time email code. No password.