arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.10784cs.LGcs.IR
收藏

学习嵌入分类特征而不嵌入推荐表

Learning to Embed Categorical Features without Embedding Tables for Recommendation

Google Research(谷歌研究院)

Wang-Cheng Kang, Derek Zhiyuan Cheng, Tiansheng Yao, Xinyang Yi, Ting Chen, Lichan Hong, Ed H. Chi

摘要:

分类特征(例如用户/项目ID)的嵌入学习是各种推荐模型的核心,包括矩阵分解和神经协同过滤。标准方法创建一个嵌入表,其中每行表示每个唯一特征值的专用嵌入向量。然而,这种方法无法有效地处理在现实世界的推荐系统中普遍存在的高基数特征和看不见的特征值(例如,新的视频ID)。在本文中,我们提出了一个替代的嵌入框架深度哈希嵌入(DHE),用深度嵌入网络代替嵌入表来动态计算嵌入。DHE首先使用多个哈希函数和变换将特征值编码为唯一标识符向量,然后应用DNN将标识符向量转换为嵌入。编码模块是确定性的,不可学习的,并且不需要存储,而嵌入网络在训练期间更新以学习嵌入生成。实证结果表明,DHE实现了与标准的one-hot全嵌入相当的AUC,模型尺寸较小。我们的工作揭示了基于DNN的替代嵌入方案的分类功能的设计,而不使用嵌入查表。

英文摘要:

Embedding learning of categorical features (e.g. user/item IDs) is at the core of various recommendation models including matrix factorization and neural collaborative filtering. The standard approach creates an embedding table where each row represents a dedicated embedding vector for every unique feature value. However, this method fails to efficiently handle high-cardinality features and unseen feature values (e.g. new video ID) that are prevalent in real-world recommendation systems. In this paper, we propose an alternative embedding framework Deep Hash Embedding (DHE), replacing embedding tables by a deep embedding network to compute embeddings on the fly. DHE first encodes the feature value to a unique identifier vector with multiple hashing functions and transformations, and then applies a DNN to convert the identifier vector to an embedding. The encoding module is deterministic, non-learnable, and free of storage, while the embedding network is updated during the training time to learn embedding generation. Empirical results show that DHE achieves comparable AUC against the standard one-hot full embedding, with smaller model sizes. Our work sheds light on the design of DNN-based alternative embedding schemes for categorical features without using embedding table lookup.

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

↑