English

Binary Code based Hash Embedding for Web-scale Applications

Information Retrieval 2021-09-07 v1 Artificial Intelligence

Abstract

Nowadays, deep learning models are widely adopted in web-scale applications such as recommender systems, and online advertising. In these applications, embedding learning of categorical features is crucial to the success of deep learning models. In these models, a standard method is that each categorical feature value is assigned a unique embedding vector which can be learned and optimized. Although this method can well capture the characteristics of the categorical features and promise good performance, it can incur a huge memory cost to store the embedding table, especially for those web-scale applications. Such a huge memory cost significantly holds back the effectiveness and usability of EDRMs. In this paper, we propose a binary code based hash embedding method which allows the size of the embedding table to be reduced in arbitrary scale without compromising too much performance. Experimental evaluation results show that one can still achieve 99\% performance even if the embedding table size is reduced 1000×\times smaller than the original one with our proposed method.

Keywords

Cite

@article{arxiv.2109.02471,
  title  = {Binary Code based Hash Embedding for Web-scale Applications},
  author = {Bencheng Yan and Pengjie Wang and Jinquan Liu and Wei Lin and Kuang-Chih Lee and Jian Xu and Bo Zheng},
  journal= {arXiv preprint arXiv:2109.02471},
  year   = {2021}
}

Comments

CIKM 2021, 5 pages; The first two authors contributed equally to this work