Skip to content

LLM-Based Generative Retrieval for Snapchat Content Recommendation

Jul 2026 · arXiv.org · Vol abs/2607.28895 · 0 citations · 41 references
Computer Science

TL;DR

The design and launch of SnapLGR, an LLM-based generative retrieval system for short-video recommendation at Snapchat shows that successful production SnapLGR requires joint design across representation learning, vocabulary grounding, and efficient training and serving.

Abstract

Pretrained large language models (LLMs) are promising retrieval engines because they combine rich semantic priors, strong sequence modeling capabilities, and favorable scaling behavior. However, turning a pretrained LLM into a generative retriever in production deployment raises several challenges: the model must learn an internal item vocabulary that was absent from pretraining, and generate valid item identifiers under strict latency and cost constraints. We address these challenges through the design and launch of SnapLGR, an LLM-based generative retrieval system for short-video recommendation at Snapchat. The system is built around three main designs. First, we construct semantic identifiers (SIDs) from multimodal item embeddings and enhance them with Personalized PageRank (PPR)-based co-engagement contrastive learning, resulting in improved codebook utilization, reduced collisions, and infused collaborative signal. Second, we use continued pretraining (CPT) to ground the introduced SID tokens before supervised fine-tuning (SFT) on user interaction sequences. Third, we make SnapLGR serving practical through TensorRT-LLM CUDA-backed beam search and a decentralized worker-loop architecture. In a live A/B test, the launched system increased View Time by 0.37%, Time Spent by 0.09%, Deep Sessions by 0.18%, and Deep Sessions Unique User by 0.11% relative to the existing TIGER-style generative retrieval baseline. We then decompose this offline gap under a fixed tokenizer and quantify the gains due to model architecture, scaling, and pretraining. Overall, our deployment shows that successful production SnapLGR requires joint design across representation learning, vocabulary grounding, and efficient training and serving.

View source

Similar papers

Preprint Aug 2026

Preserving Item Semantics for Free: Rethinking Token Initialization in LLM-Based Generative Recommendation

This work proposes a simple, parameter-free intervention that initializes SID token embeddings directly from their corresponding centroids in the semantic embedding space, and shows that preserving SID geometry, beyond shared-prefix structure, provides a simple and effective semantic prior for LLM-based GR.

Donald Loveland, Liam Collins, B. Kumar et al. · 0 citations
Review Jul 2026

EGR: Embedding-Native Generative Retrieval with a Shared LLM

EGR is proposed, an Embedding-Native Generative Retrieval framework that uses a single shared LLM to learn item representations from item metadata and user representations from interaction histories in one embedding space, simplifying system design while improving retrieval quality and ad performance.

Xiao-Dong Liu, Cong-Fei Zhang, Hsiang-Wei Chao et al. · 0 citations
Jul 2026

Tokenizing Numerical and Embedding Features for LLM RecSys

Experiments on three Amazon recommendation benchmarks show that soft-token fusion improves retrieval performance over LLM-based baselines, and that interaction-based fusion is more effective than direct concatenation of heterogeneous soft tokens.

Zhe Xu, Ankit Peshin, Chiyu Zhang et al. · 0 citations
Jul 2026

The Case Against Generation for Retrieval: Discriminative Language Models as Effective Retrievers

Large Language Models (LLMs) have emerged as powerful assets for recommender systems. However, deploying them as generative recommenders or zero-shot rankers at web-scale remains bottlenecked by prohibitive computational overhead and grounding challenges. In this paper, we revitalize the classic, highly efficient two-t...

Zhe Xu, Prachi Agrawal, Kavosh Asadi et al. · 0 citations
Book Open access Jul 2026

RedGR: Unified Generative Retrieval for Recommendation in REDnote

RedGR is proposed, a generative retrieval model that unifies the modeling of multiple complex retrieval tasks and has been fully depolyed in the homefeed recommendation scenario of RedNote, serving hundreds of millions of users every day.

Mengcheng Fang, Hongyu Wang, Xichuan Niu et al. · 0 citations
Open access Aug 2026

UniRec: Unified Space Learning for Generalizable Sequential Recommendation

UniRec is proposed, a unified space learning framework that achieves deep alignment through a hierarchical space transformation path: language space → collaborative space → real space and is optimized for large-scale applications.

Jia-Rui Yang, Jun-Mei Feng, Yihan Zhang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.