Reproduce “Learning to Embed Categorical Features without Embedding Tables for Recommendation” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Wang-Cheng Kang, Derek Zhiyuan Cheng, Tiansheng Yao, Xinyang Yi, Ting Chen, Lichan Hong, Ed H. Chi
Google Research developed Deep Hash Embedding (DHE), an approach that learns embeddings for high-cardinality categorical features in recommendation systems without using explicit embedding tables. DHE generates embeddings on-the-fly via a deep neural network, achieving performance comparable to full embeddings while significantly reducing model memory footprint and inherently supporting out-of-vocabulary features.
Key insights
- It is feasible to replace memory-intensive embedding lookup tables with parameter-efficient deep neural networks for embedding generation in recommendation systems.
- Careful design of both the input encoding (Dense Hash Encoding for uniqueness and high entropy) and the deep embedding network's architecture (Batch Normalization, Mish activation, sufficient depth) is crucial for achieving high performance and training stability.
- Deep networks can implicitly 'memorize' embedding information more compactly than explicit lookup tables, enabling collision-free embedding generation and better generalization, especially when incorporating side features.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.