arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2504.02137cs.IRcs.AI
收藏

利用 Semantic ID 增强推荐系统中 Embedding 表示的稳定性

Enhancing Embedding Representation Stability in Recommendation Systems with Semantic ID

Columbia University(哥伦比亚大学);Meta
Carolina Zheng, Minhui Huang, Dmitrii Pedchenko, Kaushik Rangadurai, Siyu Wang, Gaby Nahum, Jie Lei, Yang Yang, Tao Liu, Zutian Luo, Xiaohan Wei, Dinesh Ramasam… 展开作者

Carolina Zheng, Minhui Huang, Dmitrii Pedchenko, Kaushik Rangadurai, Siyu Wang, Gaby Nahum, Jie Lei, Yang Yang, Tao Liu, Zutian Luo, Xiaohan Wei, Dinesh Ramasamy, Jiyan Yang, Yiping Han, Lin Yang, Hangjun Xu, Rong Jin, Shuang Yang

AI总结:

本文提出 Semantic ID prefix ngram token 参数化技术,通过基于内容 Embedding 的层次化聚类创建有意义的语义碰撞,解决了推荐系统中 ID 模型的 Embedding 表示不稳定问题,并在 Meta 生产系统中取得显著性能提升。

摘要:

在线内容的指数级增长给工业推荐系统中的基于 ID 的模型带来了重大挑战,包括极高的基数、动态增长的 ID 空间、高度倾斜的交互分布,以及由于 ID 自然生命周期(例如新 ID 的诞生和旧 ID 的退役)导致的预测不稳定性。为了解决这些问题,许多系统依赖随机哈希来处理 ID 空间并控制相应的模型参数(即 Embedding 表)。然而,这种方法引入了由多个 ID 共享相同 Embedding 产生的数据污染,导致模型性能下降和 Embedding 表示不稳定。本文研究了这些挑战,并引入了 Semantic ID prefix ngram,这是一种新颖的 token 参数化技术,显著提升了原始 Semantic ID 的性能。Semantic ID prefix ngram 通过基于内容 Embedding 对物品进行层次化聚类,而不是随机分配,来创建有意义的语义碰撞。通过大量实验,我们证明 Semantic ID prefix ngram 不仅解决了 Embedding 不稳定性问题,还显著改善了长尾 ID 建模,减少了过拟合,并缓解了表示偏移。我们进一步强调了 Semantic ID prefix ngram 在对用户历史进行上下文建模的基于注意力的模型中的优势,展示了显著的性能提升。我们还报告了将 Semantic ID 集成到 Meta 生产 Ads Ranking 系统中的经验,在实时部署中带来了显著的性能提升和增强的预测稳定性。

英文摘要:

The exponential growth of online content has posed significant challenges to ID-based models in industrial recommendation systems, ranging from extremely high cardinality and dynamically growing ID space, to highly skewed engagement distributions, to prediction instability as a result of natural id life cycles (e.g, the birth of new IDs and retirement of old IDs). To address these issues, many systems rely on random hashing to handle the id space and control the corresponding model parameters (i.e embedding table). However, this approach introduces data pollution from multiple ids sharing the same embedding, leading to degraded model performance and embedding representation instability. This paper examines these challenges and introduces Semantic ID prefix ngram, a novel token parameterization technique that significantly improves the performance of the original Semantic ID. Semantic ID prefix ngram creates semantically meaningful collisions by hierarchically clustering items based on their content embeddings, as opposed to random assignments. Through extensive experimentation, we demonstrate that Semantic ID prefix ngram not only addresses embedding instability but also significantly improves tail id modeling, reduces overfitting, and mitigates representation shifts. We further highlight the advantages of Semantic ID prefix ngram in attention-based models that contextualize user histories, showing substantial performance improvements. We also report our experience of integrating Semantic ID into Meta production Ads Ranking system, leading to notable performance gains and enhanced prediction stability in live deployments.

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

↑