arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.08121cs.IRcs.LG
收藏

借助Semantic IDs实现更好的泛化:推荐系统排序的案例研究

Better Generalization with Semantic IDs: A Case Study in Ranking for Recommendations

Google(谷歌);Google DeepMind(谷歌DeepMind)

Anima Singh, Trung Vu, Nikhil Mehta, Raghunandan Keshavan, Maheswaran Sathiamoorthy, Yilin Zheng, Lichan Hong, Lukasz Heldt, Li Wei, Devansh Tandon, Ed H. Chi, Xinyang Yi

AI总结:

针对推荐系统中随机哈希ID导致相似物品泛化困难的问题,提出使用RQ-VAE从内容嵌入学习的Semantic ID替代随机ID,通过哈希子片段适应工业级排序模型,在不牺牲整体质量下提升长尾物品泛化。

摘要:

随机哈希的物品ID在推荐模型中被普遍使用。然而,从随机哈希中学习到的表示阻碍了相似物品之间的泛化,导致难以学习未见过的和长尾物品,尤其是当物品语料库庞大、呈幂律分布且动态演化时。在本文中,我们提出使用内容派生的特征来替代随机ID。我们表明,由于记忆能力的降低,简单地用基于内容的嵌入替换ID特征会导致质量下降。为了在记忆和泛化之间取得良好的平衡,我们提出使用Semantic ID——一种使用RQ-VAE从冻结的内容嵌入中学习到的紧凑离散物品表示,能够捕获物品中概念的层次结构——作为随机物品ID的替代。与内容嵌入类似,Semantic ID的紧凑性在推荐模型中带来了易于适应的问题。我们提出了将Semantic ID适应于工业级排序模型的新方法,通过对Semantic-ID序列的子片段进行哈希。特别地,我们发现LLM分词中常用的SentencePiece模型优于手工制作的片段(如N-grams)。最后,我们在YouTube推荐的真实世界排序模型中评估了我们的方法。我们的实验表明,Semantic ID可以通过提高新物品和长尾物品切片上的泛化能力来替代视频ID的直接使用,而不牺牲整体模型质量。

英文摘要:

Randomly-hashed item ids are used ubiquitously in recommendation models. However, the learned representations from random hashing prevents generalization across similar items, causing problems of learning unseen and long-tail items, especially when item corpus is large, power-law distributed, and evolving dynamically. In this paper, we propose using content-derived features as a replacement for random ids. We show that simply replacing ID features with content-based embeddings can cause a drop in quality due to reduced memorization capability. To strike a good balance of memorization and generalization, we propose to use Semantic IDs -- a compact discrete item representation learned from frozen content embeddings using RQ-VAE that captures the hierarchy of concepts in items -- as a replacement for random item ids. Similar to content embeddings, the compactness of Semantic IDs poses a problem of easy adaption in recommendation models. We propose novel methods for adapting Semantic IDs in industry-scale ranking models, through hashing sub-pieces of of the Semantic-ID sequences. In particular, we find that the SentencePiece model that is commonly used in LLM tokenization outperforms manually crafted pieces such as N-grams. To the end, we evaluate our approaches in a real-world ranking model for YouTube recommendations. Our experiments demonstrate that Semantic IDs can replace the direct use of video IDs by improving the generalization ability on new and long-tail item slices without sacrificing overall model quality.

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

↑