Authors: Juhana Kangaspunta, Khalil Hajji, Darshan Fofadiya, Kyumin Park, Michael Garner, Anthony Maltsev, Ryan Synk, Jose Sepulveda, Joshua Crisologo, Shuying Sun, Akshay SoniarXiv 2611.08804

Generative Search and Recommendation at Shopify was submitted to arXiv on 2026-11-05 by Juhana Kangaspunta, Khalil Hajji, Darshan Fofadiya, Kyumin Park, Michael Garner, Anthony Maltsev and others. Read it on arXiv or as a PDF.

Key findings

The main takeaway. Representing catalog items as hierarchical semantic IDs enables a single generative language model architecture to retrieve products for both search and recommendation while meeting production latency constraints.

The abstract, as written

Search and recommendation at Shopify require retrieving relevant products from a changing catalog of billions of products under strict latency constraints. We present SID-LLM, which casts both tasks as generating semantic IDs: short sequences of content-derived tokens representing products. We jointly pre-train SID-LLM on catalog and behavioral data, giving search and recommendation a shared representation and training objective. We show that reinforcement learning further improves judged search relevance. Furthermore, distillation from task-specific experts improves recommendation quality over joint supervised fine-tuning without a statistically detected loss in search quality. Finally, for efficient serving, we pair multi-token prediction with a lightweight ranker, improving retrieval quality over our autoregressive baseline while reducing latency. We evaluate SID-LLM both as a standalone retriever and as a component of Shopify’s production search and recommendation systems. As a standalone search system, SID-LLM achieves quality comparable to Shopify’s existing multi-model search stack while meeting production latency requirements. Integrating SID-LLM into the search and recommendation stacks provides significant gains in both offline evaluations and online A/B tests. Together, these results demonstrate the practical value of semantic-ID generation as a unified approach to product discovery at scale.

Key terms

From the paper

Online experiments confirmed significant business improvements on the Shop app home feed.

We ran an A/B test on our home feed using SID-LLM with the joint-probability decoder ( Sections 7.2 and 19 ). On the impacted surface, adding SID-LLM raised attributed orders by 7.95%, converting users by 8.60% and conversion rate by 9.85%. All three lifts are significant after Dunnett correction ( Dunnett, 1955 ) .

Offline candidate pool evaluations demonstrated that SID-LLM added unique relevant products beyond existing recommendation generators.

We evaluate on 70,747 users with a purchase in the held-out week. We compare it with recent engagement, which recommends products the buyer has recently interacted with, and HSTU ( Zhai et al., 2024 ) , a generative recommender over item IDs. SID-LLM adds more to the pool than any other generator. Its incremental pool recall is 2.65 points, 61% more than recent engagement, the second-best candidate generator by incremental pool recall (1.64 points).

The authors observed that SID-LLM achieved standalone performance comparable to an entire multi-model system.

As a standalone search system, SID-LLM achieves quality comparable to Shopify’s existing multi-model search stack while meeting production latency requirements. Integrating SID-LLM into the search and recommendation stacks provides significant gains in both offline evaluations and online A/B tests.

Figures from the paper

The trade-off curves demonstrate how different distillation and fine-tuning approaches balance search relevance against recommendation recall.

Figure 4 : Search against recommendation Pareto frontier, as change (%) from joint SFT at the origin, with 95% paired-bo

Figure from the paper, arXiv:2611.08804, by its authors. Caption as written: Figure 4 : Search against recommendation Pareto frontier, as change (%) from joint SFT at the origin, with 95% paired-bootstrap whiskers: (a) Recall@50 against OneDCG@10, (b) Recall@50 against purchase Recall@10, (c) discovery Recall@50 against OneDCG@10. Hollow markers: full fine-tuning. For a full sweep over model merges see Figure 9 .

What the authors say it means

What to do with it

  1. Construct semantic ID codebooks using high gross merchandise value catalog subsets rather than uniform random sampling. Supported by: Residual k-means fitted on the top 25 million gross merchandise value products achieved higher downstream search relevance than random sampling in both tested codebook shapes.
  2. Deploy multi-token prediction alongside a lightweight re-ranker when serving generative search under strict latency limits. Supported by: Multi-token prediction with the 350-million-parameter ranker outperformed autoregressive decoding on both top-10 metrics while maintaining lower latency across all tested request rates.
  3. Evaluate candidate retrieval models using leave-one-out incremental pool recall on held-out conversion logs. Supported by: Incremental pool recall isolated SID-LLM’s distinct contribution of 2.65 percentage points on a test set of 70,747 purchasing users.

Caveat. Results are derived within Shopify’s proprietary commerce catalog, and absolute offline scores varied substantially across evaluation protocols, relevance judges, and inference versions.

In short

Shopify evaluated SID-LLM as a unified generative model for product search and recommendation. The model uses residual k-means semantic IDs to generate candidate products from text queries and user interaction sequences. Both offline benchmarks and production A/B tests showed measurable gains in search relevance, candidate recall, and purchase conversion.

Read the paper on arXiv →

Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.