arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15864cs.IRcs.AIcs.CLcs.LG
收藏

基于语义ID的个性化大语言模型推荐:自回归集束搜索与多令牌预测

Personalized LLM Recommendation with Semantic IDs: Autoregressive Beam Search vs. Multi-Token Prediction

Netflix Personalization Foundations Team(Netflix个性化基础团队)
Sejoon Oh, Fernando Amat Gil, Evan Smothers, Dan Iter, Mark Thornburg, Dawit Mureja Argaw, Sourabh Medapati, Thea Wang, Ria Verma, Qiuling Xu, Harshit Syal, Ehs… 展开作者

Sejoon Oh, Fernando Amat Gil, Evan Smothers, Dan Iter, Mark Thornburg, Dawit Mureja Argaw, Sourabh Medapati, Thea Wang, Ria Verma, Qiuling Xu, Harshit Syal, Ehsan Gholami, Moumita Bhattacharya, Ashish Rastogi

AI总结:

本文对比了个性化LLM推荐中SID生成的自回归集束搜索与MTP两种范式,发现前者在多数关键指标上更优,仅推理吞吐量不及后者,还通过强化学习解决了SID词汇扩展导致的语言指标回归问题。

摘要:

大规模个性化推荐正从嵌入表检索转向基于大语言模型(LLM)的推荐系统,这类系统会生成待推荐物品的语义ID(Semantic ID, SID),每个SID是离散分层内容编码的短序列。单条指令微调模型可统一完成检索、内容理解与语言处理,并仅通过SID从内容层面推荐全新标题;那么模型应如何生成SID?传统上,模型依赖单个语言建模头自回归生成令牌,通常采用约束集束搜索。相比之下,新兴研究探索多令牌预测(Multi-Token Prediction, MTP),即专用头并行预测所有令牌,大幅降低与集束搜索相关的解码延迟。本文对这两种生成范式开展行业级公平对比:单头自回归解码与MTP。我们引入一种基于联合SID分数定义的新型辅助排序损失,用于训练MTP目标。我们在多任务LLM内部,从质量及训练/推理成本两方面评估SID训练目标,该LLM可针对大型流媒体目录联合执行个性化检索、内容问答(QA)及指令跟随。实验表明,在多数产品关键指标(排序与内容QA)上,单头集束搜索始终优于MTP;在Qwen3-8B规模下,其训练美元成本约低2.6倍;MTP仅在原始推理吞吐量上胜出。围绕这一发现,我们详述了高效训练与推理栈,并报告了与配备辅助排序头的非SID基线相比的端到端提升:物品冷启动排序提升77%,内容QA准确率提升22%,训练速度提升2.8倍;语言指标的回归可追溯至SID词汇扩展,我们通过训练后强化学习解决了该语言回归问题。

英文摘要:

Large-scale personalization is shifting from embedding-table retrieval to LLM-based recommenders that generate the Semantic ID (SID) of the item to recommend, where each SID is a short sequence of discrete hierarchical content codes. A single instruction-tuned model can then unify retrieval, content understanding, and language, and recommend brand-new titles from their content alone using SID; then, how should the model generate the SID? Traditionally, models rely on a single language modeling head that generates tokens autoregressively, typically using constrained beam search. In contrast, an emerging body of work explores multi-token prediction (MTP), where dedicated heads predict all tokens in parallel, substantially reducing the decoding latency associated with beam search. We report an industry-scale, apples-to-apples comparison of these two generation paradigms: single-head autoregressive decoding vs. MTP. We introduce a new auxiliary ranking loss, defined over the joint SID score, to train the MTP objective. We evaluate the SID training objectives on both quality and training/inference cost, inside a multi-task LLM that jointly does personalized retrieval, content question-answering (QA), and instruction following over a large streaming-media catalog. Our experiments show single-head beam search consistently beats MTP on most product-critical metrics: ranking and content QA, and trains at roughly 2.6x lower dollar cost on Qwen3-8B scale; MTP wins only on raw inference throughput. Around this finding, we detail an efficient training and inference stack and report end-to-end gains over the previous non-SID baseline equipped with an auxiliary ranking head: +77% item cold-start ranking, +22% content-QA accuracy, +2.8x faster training, with language metric regression traced to SID vocabulary expansion. We address the language regression by reinforcement learning post training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑