Unified Semantic and ID Representation Learning for Deep Recommenders
Guanyu Lin, Zhigang Hua, Tao Feng, Shuang Yang, Bo Long, Jiaxuan You
TL;DR
The paper tackles the redundancy and cold-start limitations of ID-token-based recommendations by proposing a Unified Semantic and ID Representation Learning framework. It blends low-dimensional ID tokens with semantically informed tokens obtained via RQ-VAE, and introduces a hybrid cosine–Euclidean distance scheme that applies to different layers to both decouple dense embeddings and distinguish unique items. End-to-end optimization combines recommendation loss with RQ-VAE quantization and text reconstruction losses, yielding 6–17% improvements on three benchmark datasets while reducing token size by over 80%. The work demonstrates that semantic and ID tokens are complementary, enabling better generalization and efficiency for large-scale sequential recommendation systems.
Abstract
Effective recommendation is crucial for large-scale online platforms. Traditional recommendation systems primarily rely on ID tokens to uniquely identify items, which can effectively capture specific item relationships but suffer from issues such as redundancy and poor performance in cold-start scenarios. Recent approaches have explored using semantic tokens as an alternative, yet they face challenges, including item duplication and inconsistent performance gains, leaving the potential advantages of semantic tokens inadequately examined. To address these limitations, we propose a Unified Semantic and ID Representation Learning framework that leverages the complementary strengths of both token types. In our framework, ID tokens capture unique item attributes, while semantic tokens represent shared, transferable characteristics. Additionally, we analyze the role of cosine similarity and Euclidean distance in embedding search, revealing that cosine similarity is more effective in decoupling accumulated embeddings, while Euclidean distance excels in distinguishing unique items. Our framework integrates cosine similarity in earlier layers and Euclidean distance in the final layer to optimize representation learning. Experiments on three benchmark datasets show that our method significantly outperforms state-of-the-art baselines, with improvements ranging from 6\% to 17\% and a reduction in token size by over 80%. These results demonstrate the effectiveness of combining ID and semantic tokenization to enhance the generalization ability of recommender systems.
