Enhancing Embedding Representation Stability in Recommendation Systems with Semantic ID
Zheng, Carolina, Huang, Minhui, Pedchenko, Dmitrii, Rangadurai, Kaushik, Wang, Siyu, Nahum, Gaby, Lei, Jie, Yang, Yang, Liu, Tao, Luo, Zutian, Wei, Xiaohan, Ramasamy, Dinesh, Yang, Jiyan, Han, Yiping, Yang, Lin, Xu, Hangjun, Jin, Rong, Yang, Shuang
–arXiv.org Artificial Intelligence
CarolinaZheng,1, MinhuiHuang, DmitriiPedchenko, KaushikRangadurai, SiyuWang, GabyNahum, JieLei, YangYang, Tao Liu, ZutianLuo, XiaohanWei, DineshRamasamy, JiyanYang, YipingHan, LinYang, HangjunXu, RongJin, ShuangYang Columbia University, AI at Meta 1Work done during 2024 Internship at Meta 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 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. To mitigate these drawbacks, a stable ID space is needed. A1 Introduction stable ID space ideally ensures that a learned embedding repreItem recommendation can involve many signal-rich features, sentation has a stable meaning as the model learns from more including categorical features corresponding to item IDs.
arXiv.org Artificial Intelligence
Apr-4-2025