Product option standardization: Making product choices clear to AI Shopify has built a system that standardizes product option names and values across stores in Shopify Catalog, where more than 100 million product groups and over 200 million distinct option name-value combinations exist, using its open-source Standard Product Taxonomy as a starting vocabulary. The system maps merchant option names and values to shared concepts, aggregating evidence by product category and preserving original forms as aliases, to prevent AI shopping agents from seeing duplicate or conflated choices such as Color: Black, Colour: Black, and Couleur: Noir. The work follows Shopify's two-part product clustering series, which gave related listings a shared product identity. Shopify Catalog https://www.shopify.com/blog/what-is-shopify-catalog brings product data from across Shopify into a shared structure. Developers and AI shopping agents can access that data through the Catalog API https://shopify.dev/docs/agents/catalog . In our product clustering series part 1 https://shopify.engineering/catalog-clustering and part 2 https://shopify.engineering/catalog-clustering-part-ii , we described how clustering gives related listings a shared product identity. That gives us a group of products to compare. But once products sit together, differences in how stores describe them become harder to ignore. Imagine four listings for the same shirt next to each other. One states Color: Black . Another uses Colour: Black . A third says Style: Black/M , combining color and size. A fourth uses Couleur: Noir French for Color: Black . All four describe the same color in different ways, it’s clear when you look closely. But when these options appear together on a product listing, they can look like different choices. This can be especially hard for an AI agent that helps you find products. An option describes a choice between product variants, the versions a buyer can purchase. It has a name and a value: Color and Black , for example. Across stores, the same property can have different names. The same name can also describe different properties. Size might mean a clothing size, storage capacity, or package weight. Even within clothing, shirt size and collar size mean different things. These differences create two ways to get standardization wrong: 1. When you leave equivalent concepts separate, a buyer can see duplicate choices for the same property. 2. When you merge different concepts, the options can lose detail that the buyer needs. A shorter list of names is useful only if it preserves what those names mean. Shopify’s Standard Product Taxonomy https://github.com/Shopify/product-taxonomy , which we open source, gives us a shared vocabulary of product categories, attributes, and values. An attribute is a property, like Color . One possible value is Black . Existing taxonomy is a good starting point, but it can’t anticipate every useful property or value in an ever-changing catalog. We needed to solve this problem at scale. Millions of merchants publish billions of product listings on Shopify. In Shopify Catalog, more than 100 million product groups bring together listings from different stores. Across the catalog, merchants use more than 200 million distinct combinations of option names and values. We built a system that extends this vocabulary, using product option evidence to standardize options across stores. A mapping connects a merchant's option name or value to a shared concept. The central design divides this into two jobs: building and reviewing shared meanings, then applying those mappings to product variants. The construction process has to make equivalent terms meet without forcing distinct properties together. That requires more than asking an LLM to produce a clean list of names. We’ll discuss each of these jobs in more detail. Build a vocabulary from the evidence The obvious starting point is an option name, but it’s also an unreliable one. Style tells us little until we know which products use it and what answers it contains. Blue and Red suggest a different property from Striped and Checked . The first job is to assemble that context before deciding what an option means. We aggregate merchant-provided option names and their observed values by product category. Repeated terms become one body of evidence, while their original forms remain available as aliases. Normalizing spelling and formatting reduces repeated work. Keeping the aliases preserves the connection between the shared concept and the language that stores actually use. Grouping by category also narrows the question. A size field on clothing and a size field on a storage device should not compete for the same interpretation simply because their names match. Category context lets the LLM consider plausible meanings without treating every occurrence as an unrelated problem. The existing taxonomy enters here. We are extending a vocabulary, rather than generating one from scratch. Reusing a suitable concept keeps established meanings available and avoids creating another label for something the taxonomy already describes. Build pipeline. The pipeline resolves attributes first, then their values, merging equivalent new proposals at each stage. Reconciliation compares attributes within and across compatible categories, then checks values under the merged attributes. Establish the property before interpreting the answer For each option name, the LLM considers the category, observed values, and existing attributes. It can reuse an attribute, propose a missing one, or reject unsuitable input. This makes extension an explicit decision. An unfamiliar term does not automatically become a new taxonomy entry. Resolving the attribute first gives the values a meaning and a type. - A clothing size needs its sizing system. - A package weight needs a number and a unit. - A color can use named values. Each type tells the system how to interpret that value. Treating them all as labels would hide information needed later. One pass still leaves duplicates. We process evidence in batches, and two batches can propose different names for the same missing property. We therefore compare the new attribute proposals within each category before resolving their values. For a bag, Interior Color and Lining Color may describe the same property. But Strap Color describes another part and must retain that distinction. This comparison also creates a scaling problem. Comparing every proposal with every other proposal becomes expensive as the vocabulary grows. We use text embeddings to retrieve plausible matches. The LLM then judges whether the candidate attributes mean the same thing. Retrieval limits the comparisons but doesn’t establish equivalence. Resolve values inside their attribute Once the attribute is established, we resolve its observed values. As we mentioned, the LLM can reuse an existing value, propose a missing value, or reject input that doesn’t fit. The selected attribute and its type constrain this decision. A string that is useful for one property may be meaningless for another. New value proposals can duplicate each other just as attribute proposals do. We compare them within the resolved attribute and merge equivalent proposals. Later reconciliation can compare them with the additions. The comparison must stay within the selected attribute. A value can name a color, describe a pattern, or identify a flavor. Comparing values without their property would repeat the ambiguity we resolved in the previous stage. Not every attribute needs a finite list of values. Some attribute values can be represented through units of measurement e.g. ml or fl oz and numeric value e.g. 500 . Some values might be numeric or boolean. Construction must preserve that structure instead of turning every observed number into a new named value. The vocabulary describes which property an option represents, and also how to interpret its values. Revisit early decisions with better evidence Resolving values gives the next attribute comparison better evidence. The first comparison sees proposed attributes and raw examples. The later comparison can inspect standardized values and existing taxonomy concepts alongside the new ones. It can recognize relationships that were less clear during the first pass. We first revisit attributes within each category. We then compare attributes across compatible categories. These passes can reconcile a new attribute with an existing one as well as bringing equivalent additions together. Keeping the steps separate lets the system establish a local meaning before considering whether that meaning also applies elsewhere. The wider comparison must still preserve the property. Two categories may use the same color attribute, but Lining Color and Strap Color remain different even when both contain Blue . The question is whether the attributes describe the same choice, not whether their value lists look alike. Attribute merges also change the work left for values. Two formerly separate attributes may each contain a name for the same value. After redirecting those attributes to their final concept, we reconcile their values in the combined scope. Merging values before establishing that scope could compare answers to different questions. The early and late passes therefore serve different purposes. Early merging prevents independent batches from multiplying new concepts. Later reconciliation uses richer evidence to align those concepts with each other and with the existing taxonomy. But neither of these passes makes a smaller vocabulary an objective in itself. Save the vocabulary and its mappings together The Build pipeline produces a taxonomy and a set of mappings. The taxonomy defines the shared attributes and values. The mappings connect merchant option names and values to those shared terms. They also record inputs that we rejected or couldn’t map. Every merge must update the mappings. If we merge Interior Color into Lining Color , both names must now map to Lining Color . Otherwise, the two names would remain separate when we standardize product options. The same rule applies when we merge values. Before release, we check the proposed taxonomy and its mappings. Four LLM judges review proposed additions, each with a specific question: - Attribute precision: Does the attribute meet our rules for inclusion? For example, does it fit the category and have the correct value type? - Attribute uniqueness: Do two attributes describe the same property and need to be merged? - Value precision: Does the proposed value belong under this attribute? - Value uniqueness: Do two values within the same attribute mean the same thing and need to be merged? Taxonomists reviewed early releases by hand, and a larger group of annotators joined them later. We used their decisions to calibrate four LLM judges, which apply the same inclusion rules to every proposal at a volume that manual review can’t handle. In our evaluations, the LLM judges matched the quality of expert taxonomists’ decisions . They also applied the rules more consistently and could review more proposals than the annotators, obviously. We correct issues when the evidence supports a change. We then release the taxonomy and mappings together so each mapping points to the correct attribute or value. We use these mappings to standardize options across product variants. When the category and attribute context match, we can use the same mapping for many variants. This reduces repeated LLM calls and keeps the meaning consistent. Recover choices missing from the option fields The Build pipeline creates a shared vocabulary from the option names and values that merchants provide, like Color and Blue . But before we can standardize product choices using that vocabulary, we need to recover choices missing from the option fields. Some merchants sell each version of a product in a separate listing and describe the difference only in the title, description, or a metafield. We compare those listings to find what buyers can choose between. Consider a store that sells the same shoe in white, olive, and black. Each color has its own listing. All three listings offer sizes 9, 10, 11, and 12. Size is the only option the store lists. It records the color in a metafield, a custom field for product details. For example, a metafield named “custom.color-name” might hold the value White. Clustering brings the three listings into one product group. The group now contains three different shoes whose only option is Size . We call this an option collision : different variants in the same store and product group with identical option sets. The same collision occurs for each of the other sizes. Option Mining compares related products from that same store and group. It's an LLM-based component that looks for distinguishing properties absent from their options, using supplied product text and metadata. In this case, it adds Color = White , Color = Olive , and Color = Black , supported by a custom metafield created by this merchant. It turns an existing fact into an explicit choice. The comparison context is important. A detail shared by every product might describe the whole product line, and a detail that varies can explain a choice. Reading products together helps the LLM find that difference and use a consistent option name. Mining asks the LLM for an absent option supported by evidence. Some collisions have no supported answer. Arbitrary labels would separate variants without recovering useful choices. Millions of products are created or changed daily. To make this work affordable at scale, we used distillation : a smaller student LLM learns from outputs produced by a larger teacher LLM. The student learns this focused extraction task with related products as context. By training on pre-selected good predictions from the teacher LLM, the student increased the share of products with mined options that were all correct. These mined options then enter the Apply pipeline alongside the merchant-provided options. Apply standardizes their names and values using the shared vocabulary from Build. Apply the vocabulary consistently The released taxonomy defines shared concepts. Its accompanying mappings connect merchant terms to those concepts. The Apply pipeline uses one released version to build standardized option sets for product variants. For each product group, the Apply pipeline selects a primary merchant. It uses the taxonomy mappings from Build to group equivalent options across merchants, including options recovered by Option Mining. When the primary merchant supplies a matching key or value, the Apply pipeline uses that merchant’s wording for the display label. This helps us to match brand owner wording while standardizing across multiple merchants. Standardized options appear in Shopify Catalog. They don't change the product data in a merchant's own store, and merchants can set the option names Catalog shows buyers in their Catalog mapping settings. Separating construction from application lets us reuse vocabulary decisions across product data. It also gives evaluation two concrete objects to inspect: the vocabulary and mappings we release, plus the product choices those mappings produce. Apply pipeline: Build supplies shared meanings and mappings. Option Mining supplies options recovered from merchant evidence. Value filling uses allowed values and evidence for the target variant. Fill a missing value from supported choices After the Apply pipeline standardizes options in the product group, some listings may still have options with no values and form gaps. We use the Value Filling LLM component to complete some of those gaps. For each selected option name, it uses existing values from other listings in that group to form the allowed candidates, then selects one appropriate value to fill the gap. The Value Filling LLM must identify evidence for the target variant or product. Suppose the allowed Color values are Red and Blue . A target variant title of Blue / Medium supports Blue . A description that lists both colors does not identify which one belongs to that variant. Other variants supply candidates, rather than proof about the target. The LLM can select an existing candidate for a selected option name, but it can’t create a new name or an arbitrary value. If the evidence can’t support a fill, the value stays unresolved at this stage. These limits narrow the possible answers. Evaluation still needs to check whether the selected answer is correct. Evaluate quality A well-formed taxonomy can still describe the wrong concepts. A reasonable vocabulary can produce incomplete or incorrect options for a product group. We evaluate these two layers separately because each can fail independently. We use several judges to measure model quality, identify where models need improvement, and track progress over time. Taxonomy judges are LLMs with explicit evaluation rules we described these previously when discussing the Build pipeline to expand Taxonomy . These judges test attributes and values that we put into Shopify Taxonomy. We aligned those judges with our taxonomy human experts and ensured that we maintain the same quality bar. Option judges inspect the resulting product options. We separate four questions: uniqueness, recall, precision, and display quality. Each reveals a different way the output can become less useful. - Uniqueness judge asks whether the options repeat the same meaning. If S and Small represent the same size, presenting both creates a repeated choice. Two option names can also repeat the same property. - Recall judge asks whether the options retain all necessary choices supported by the product data. A size selector with Small and Medium is incomplete if the group also contains a supported Large choice. The remaining choices can each be correct while the group is incomplete. Evaluation therefore needs to consider the available evidence across the group, rather than inspect only the values that survived. Missing an entire option key can also cause collisions, where two distinct variants from the same merchant end up with identical options because we failed to capture what distinguishes them. - Precision judge asks whether the supplied option name and value are correct for the target variant. A valid taxonomy value can still be wrong for a particular item. Blue belongs under Color, but that doesn’t make it correct for a Red variant. The correctness check needs independent merchant evidence and a value that belongs under the supplied name. - Display error judge asks whether the options are clear, sensible, and ready to display to customers. It checks for leftover HTML tags and confusing name–value pairs like Title = Blk/Wht/123 . It also checks that values with a natural order appear in the expected sequence: XS, S, M, L rather than XS, L, M, S. We calibrate each judge against human labels and refine its instructions to achieve high agreement. This process makes the judge's decisions reliable for evaluation at scale. We calibrate each judge against human labels and refine its instructions until agreement reaches 90% to 95%, depending on the judge. That agreement lets us trust the metrics we use to track model quality. Solving the option standardization problem Our two-stage pipeline makes product options consistent across stores while preserving the details buyers need: - Build uses merchant evidence to extend Shopify Taxonomy and map equivalent terms to shared concepts. This expanded the taxonomy behind Shopify Catalog to 2.5x as many attributes and 3.6x as many values as the taxonomy we started from. - Apply standardizes product options using that shared vocabulary and fills gaps where product evidence supports an answer. The Option Mining LLM component recovers missing choices from product information and passes them to Apply alongside merchant-provided options. We evaluate both the Taxonomy and the resulting options to measure quality and guide improvements. Together, these components give cross-store product groups a coherent set of choices. Equivalent options come together, while meaningful differences between variants remain visible. Buyers and AI shopping agents can then compare products and select the version they need, without having to interpret each merchant’s vocabulary.