Skip to the stories
AI & ML

Shopify Standardizes Product Options for AI Shopping Across Stores

  • Richard Rodriguez
  • 608 reads

Shopify combines taxonomy mappings, option mining and evidence checks to make product choices easier to compare across stores and shopping agents.

Shopify Standardizes Product Options for AI Shopping Across Stores

Product catalogs become harder to compare when stores describe the same choice in different ways. Shopify’s approach is to build a shared vocabulary for those choices, then use merchant data and product evidence to apply it across listings. The system targets a practical problem for buyers and AI shopping agents: identifying equivalent options without erasing distinctions that matter.

Merchant options and product groups enter Build, which releases taxonomy and mappings to Apply. Apply produces standardized options and sends feedback to the next build.

The scale is substantial. Shopify says its Catalog contains more than 100 million product groups, while merchants use more than 200 million distinct combinations of option names and values. Its system organizes the work into two stages: Build creates a vocabulary and mappings from merchant language to shared concepts; Apply uses them to standardize options on product variants. A separate component, Option Mining, looks for choices that merchants have left out of their option fields.

That division matters because “standardization” can fail in opposite directions. Leave equivalent terms apart and buyers may see duplicate choices. Merge terms that describe different properties and buyers lose useful detail. The design therefore has to infer meaning from product category, examples, metadata and relationships among listings, rather than simply shorten a list of labels.

Four black-shirt product cards connect to one listing with standardized color and size choices, against a grid of products.

Why matching labels is not enough

Consider four listings for the same shirt. One has “Color: Black,” another “Colour: Black,” a third “Style: Black/M,” and a fourth “Couleur: Noir.” The terms differ by spelling, language and structure, but each may describe the same color and size combination. If those records are placed side by side without interpretation, an agent can mistake differences in wording for differences in available choices.

Four listings label the same black shirt Color: Black, Colour: Black, Style: Black/M, and Couleur: Noir, creating duplicate choices when combined.

An option is a named property and a value for a purchasable variant: “Color” and “Black,” for example. The same property can have multiple names across stores, while one name can refer to different properties. “Size” may refer to apparel sizing, storage capacity or package weight. Even within clothing, a shirt size and a collar size answer different questions.

Shopify’s Standard Product Taxonomy supplies an existing vocabulary of categories, attributes and values. It provides a starting point for mapping merchant terms, but cannot anticipate every useful property or value in a changing catalog. The company’s system extends that vocabulary using evidence from product options and mappings that link each merchant term to a shared concept.

Shopify Catalog brings product data from across the platform into a shared structure, and developers and AI shopping agents can access it through the Catalog API. Earlier work on product clustering groups related listings under a shared identity. Standardizing the options within those groups is a further step: clustering establishes which products to compare, while option mapping helps explain how their choices correspond.

Build a vocabulary from product evidence

The Build stage starts with merchant-provided option names and their observed values, grouped by product category. A label such as “Style” is difficult to interpret on its own. If its values are “Blue” and “Red,” it may describe color; if they are “Striped” and “Checked,” it may describe pattern. The values and the products they accompany give the system useful context.

Repeated terms are consolidated for analysis, while their original forms are retained as aliases. Normalizing spelling and formatting reduces duplicate work; keeping aliases preserves the link back to the wording merchants use. Category grouping narrows the interpretation, too. A field called “Size” on a shirt and one on a storage device need not share a meaning simply because their labels match.

The system also consults the existing taxonomy. For an option name, an LLM considers its category, observed values and relevant existing attributes. It can map the term to an existing attribute, propose a new one, or reject input that does not fit. That explicit choice keeps unfamiliar wording from automatically becoming a new taxonomy entry.

Resolving the attribute before its values establishes the property those values belong to, along with their expected type. A clothing size may need a sizing system; package weight needs a number and unit; color can use named values. These distinctions affect how downstream systems should interpret the data. A numeric measurement should not be treated as just another label.

Build pipeline: merchant option evidence and existing taxonomy feed attribute and value resolution, concept reconciliation, evaluation, and release of the vocabulary and mappings.

Build pipeline. Attribute proposals are resolved before values. The system then compares proposals and reconciles equivalent concepts before releasing the vocabulary and its mappings.

Reconcile duplicates without collapsing distinctions

Processing evidence in batches can produce separate proposals for the same missing attribute. “Interior Color” and “Lining Color” might refer to the same property on a bag, while “Strap Color” refers to a different component. Shopify compares proposals within a category to identify likely matches.

Comparing every proposal with every other proposal becomes costly as the vocabulary grows. The system uses text embeddings to retrieve plausible candidates, then asks an LLM to judge whether those candidates mean the same thing. Retrieval narrows the comparison set; it does not decide equivalence by itself.

Once the attribute is settled, the system resolves its values. It can reuse a known value, propose a missing one or reject an input that does not belong. Proposals are compared within their attribute, because “Blue” as a color, a pattern description or a flavor may carry different meanings. Values without their property are ambiguous.

Not every property has a finite set of named values. Measurements may combine a number with units such as milliliters or fluid ounces, and other properties may use numeric or boolean values. The taxonomy needs to preserve those structures rather than create a new named value for every number observed.

After value resolution, the attribute comparisons run again with richer evidence. The first comparison sees proposed attributes and raw examples. The later pass can also consider standardized values and existing taxonomy concepts. Shopify first reconciles attributes within categories, then compares them across compatible categories. This sequence establishes a local meaning before testing whether that meaning applies more broadly.

Shared values alone do not prove two attributes equivalent. Both “Lining Color” and “Strap Color” might contain “Blue,” but they describe different parts of a product. The relevant question is whether the attributes represent the same buyer choice. When attributes are merged, their values must be reconciled within the newly shared scope; otherwise, values answering different questions could be combined too early.

Release mappings with the vocabulary

Build produces both a taxonomy and mappings. The taxonomy defines shared attributes and values; mappings connect merchant option names and values to those concepts. They also record inputs the system rejected or could not map. A merge has to update those mappings as well as the vocabulary. If “Interior Color” is merged into “Lining Color,” both merchant terms need to resolve to the final shared attribute.

Before release, four LLM judges review proposed additions. One checks whether attributes meet inclusion rules, including category fit and value type. Another checks whether attributes duplicate each other. Two more perform equivalent checks for values: whether a value belongs under its attribute and whether it duplicates another value there.

Taxonomists reviewed early releases, with a larger group of annotators joining later. Shopify used their decisions to calibrate the four judges. The company reports that the judges matched expert taxonomists’ decision quality in its evaluations and applied the rules more consistently at a higher review volume. That result depends on the company’s evaluation process; the published description does not provide a breakdown of performance by category or error type.

Once issues supported by the evidence are corrected, Shopify releases the taxonomy and mappings together. The mappings can then be reused across many variants when category and attribute context match, reducing repeated model work and keeping terms consistent.

Recover options merchants omit

Standardizing existing option fields does not solve cases where a merchant records a choice elsewhere. Some stores publish each version of a product as a separate listing and put the distinguishing detail in a title, description or metafield. Option Mining looks across related listings from the same store and product group for such missing choices.

For example, a store might list the same shoe in white, olive and black, with sizes 9 through 12 available for each color. If size is the only option field and color appears in a custom metafield such as “custom.color-name,” clustering can group the listings, but their option sets still look identical. Shopify calls this an option collision: distinct variants from one merchant in the same product group have the same listed options.

Option Mining compares the related products and their supplied text and metadata. In this case, the metafield can support adding “Color = White,” “Color = Olive” and “Color = Black.” The component turns an existing product fact into an explicit choice, using one consistent option name across the group.

Option Mining recovers White, Olive, and Black from product information for three shoe listings that originally offered only sizes 9 through 12.

Comparison across products helps distinguish details that vary from those shared by every listing. A detail that changes may explain a buyer’s choice; a common detail may describe the product line as a whole. The system still needs supporting evidence. When a collision has no distinguishing information, inventing labels would separate the listings without recovering a meaningful option.

Shopify says products are created or changed by the millions each day, making a large model call for every case expensive. It uses distillation: a smaller “student” model learns a focused extraction task from selected predictions produced by a larger “teacher” model. The company reports that training on good teacher predictions increased the share of products for which all mined options were correct. Those mined options then enter Apply alongside merchant-provided ones.

Apply shared meanings to product groups

Apply uses a released version of the taxonomy and mappings to standardize options across product variants. For each product group, it selects a primary merchant and uses the mappings to group equivalent options across merchants, including choices recovered by Option Mining.

When the primary merchant supplies a matching name or value, Apply uses that merchant’s wording as the display label. Shopify says this helps retain brand-owner language while aligning options across multiple sellers. The standardized options appear in Shopify Catalog; they do not alter product data in a merchant’s own store. Merchants can set the option names shown to buyers through Catalog mapping settings.

Separating Build from Apply makes the vocabulary reusable and gives the system two distinct outputs to inspect: the taxonomy and mappings it releases, and the product choices those mappings produce. A clean taxonomy does not guarantee that every resulting variant option is correct, so Shopify evaluates both stages.

Apply pipeline: Build mappings, merchant options, and options recovered by Option Mining feed standardized names, supported value filling, structural checks, and final variant options.

Apply pipeline: Build supplies shared meanings and mappings; Option Mining contributes recovered choices. Value Filling can use allowed values and evidence about the target variant.

Fill gaps only when evidence supports a value

Some listings still have an option name but no value after standardization. The Value Filling component uses values found on other listings in the same group to create a set of allowed candidates, then selects a value for the target when its own product evidence supports that choice.

If the allowed color values are Red and Blue, a target variant titled “Blue / Medium” supports Blue. A general description listing both colors does not establish which color belongs to that variant. Other products supply possible values, but they are not proof about the target.

Value Filling cannot create a new option name or an arbitrary value. If the target’s evidence does not support a candidate, the gap remains unresolved at this stage. That boundary limits unsupported completions, though evaluation still needs to catch cases where a plausible selection is wrong.

Measure both vocabulary and output quality

Shopify evaluates the taxonomy separately from the options displayed for product groups, since either layer can fail on its own. Taxonomy judges use explicit rules and are calibrated against human taxonomy experts. Option judges inspect four qualities: uniqueness, recall, precision and display clarity.

  • Uniqueness: Do options repeat the same meaning? “S” and “Small,” for example, should not appear as separate size choices when they represent the same value. Names can also duplicate a property.
  • Recall: Are all choices supported by product data represented? A group with Small and Medium is incomplete if Large is also supported. Evaluation must consider the evidence across the group, including whether a missing option key leaves distinct variants with identical option sets.
  • Precision: Does the name and value apply to the target variant? “Blue” may be a valid color value but still be wrong for a red item. The check needs independent merchant evidence for the specific product.
  • Display quality: Are the options clear and ready to show customers? The check looks for leftover HTML, confusing pairs such as “Title = Blk/Wht/123,” and ordering problems such as XS, L, M, S instead of XS, S, M, L.

The company calibrates each judge against human labels and refines its instructions. It reports agreement of 90% to 95%, depending on the judge. These measures give Shopify a way to track changes in model quality, though the account does not detail how those agreement rates vary across product categories or edge cases.

What the system changes

Shopify says the expanded taxonomy behind Catalog has 2.5 times as many attributes and 3.6 times as many values as the taxonomy it started with. Build uses merchant evidence to expand shared concepts and map equivalent terms; Apply standardizes options and fills selected gaps where the product data supports an answer. Option Mining adds choices recovered from product information, and separate evaluation checks both the vocabulary and its outputs.

The practical gain is a more coherent set of choices across listings, while preserving distinctions such as lining versus strap color. For AI shopping agents, that can reduce the need to infer whether different labels refer to the same option. For merchants, the system relies on existing catalog evidence and offers control over displayed option names without changing store product data.

The hard cases remain the ones with sparse, contradictory or poorly structured product information. The next useful measure will be how the system handles those cases across categories, and how often unresolved values or incorrect merges reach the catalog. The architecture makes those errors measurable; its value for buyers depends on keeping that evidence bar intact as the vocabulary grows.

Source: Richard Rodriguez · shopify.engineering

From the same set