Generative Search and Recommendation at Shopify
Juhana Kangaspunta, Khalil Hajji, Darshan Fofadiya, Kyumin Park, Michael Garner, Anthony Maltsev, Ryan Synk, Jose Sepulveda,
Key points
From the paper's conclusion- We evaluate SID-LLM both as a standalone retriever and as a component of Shopify's production search and recommendation systems.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From Sessions to Serving: Integrating LLM-Based Embeddings into Retrieval for Production Content RecommendationarXiv · 2026
- Knowledge Distillation across Item and Code Spaces for Parallel Generative RecommendationarXiv · 2026
- OneChord: Distill What You Rank, Recommend in One PassarXiv · 2026
- HiGenTrans: Hierarchical LLM Knowledge Transfer for Generative RecommendationarXiv · 2026
- Beyond Semantic IDs: Finite-Beam Reachability and Continuous-Query Generation in Generative RecommendationarXiv · 2026
- RedMall: Generative Recommendation for Large-Scale E-commercearXiv · 2026