Generative Search and Recommendation at Shopify
Juhana Kangaspunta, Khalil Hajji, Darshan Fofadiya, Kyumin Park, Michael Garner, Anthony Maltsev, Ryan Synk, Jose Sepulveda, Joshua Crisologo, Shuying Sun, Akshay Soni
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.
Create a lesson
Related papers
Where Beam Search Loses Top-Ranked Items:First-Step Coverage in Generative Recommendation
Shared title terminology · Heng Yao, Hanwei Zhu
Generative News Recommendation Reproduces Popularity: A Memorization-Based Analysis
Shared title terminology · Shotaro Ishihara
Better Rankers, Worse Retrievers: The Hidden Cost of RL Post-Training in Generative Recommendation
Shared title terminology · Yuheng Chen, Fan Zhang, Yixuan Xu et al.
IntentGR: Enhancing Intent for End-to-End Personalized Generative Retrieval in Search
Shared title terminology · Gefan Ye, Yanjing Wu, Yinfu Feng et al.
More Than a Score: Reinforcement Learning with Verbalized Feedback for Generative Recommendation
Shared title terminology · Zipeng Chen, Xinyu Lin, Yuliang Sun et al.
Keep it Simple! A Multiple-Choice Task can Benefit Generative Recommendation
Shared title terminology · Wei-Hsiang Huang, Jyun-Yu Jiang, Pu-Jen Cheng