The question
Listings from different sources can describe the same product in different ways. With Creed McFall, Carlos Mejia, and Zachary Meyer, I explored how to identify brands and product families during ingestion while leaving a path for uncertain records.
Finding candidates
The public Python model normalizes names, indexes brands and aliases with Aho–Corasick, and accepts full-token matches. It scores candidate brands, then compares likely subgroups and variants using more text and product signals.
Testing the mistakes
A harness runs the matcher against grouped reference products and prints mismatched brand and subgroup predictions. Inspecting those failures told us more than a single accuracy number. We initially tested machine learning features, then used candidate matching for the real-time path and reserved model-assisted or human review for ambiguity.
The system around it
Our published research describes a Terraform-provisioned AWS design using Lambda for matching, S3 for curated reference data, and DynamoDB for confirmed and uncertain records. The central decision was to narrow the search and explain a candidate without forcing every listing into a group.