NeurIPS 2023poster1 citations

Clustering the Sketch: Dynamic Compression for Embedding Tables

Henry Tsang, Thomas Dybdahl Ahle

Abstract

Embedding tables are used by machine learning systems to work with categorical features. In modern Recommendation Systems, these tables can be very large, necessitating the development of new methods for fitting them in memory, even during training. We suggest Clustered Compositional Embeddings (CCE) which combines clustering-based compression like quantization to codebooks with dynamic methods like The Hashing Trick and Compositional Embeddings [Shi et al., 2020]. Experimentally CCE achieves the best of both worlds: The high compression rate of codebook-based quantization, but \emph{dynamically} like hashing-based methods, so it can be used during training. Theoretically, we prove that CCE is guaranteed to converge to the optimal codebook and give a tight bound for the number of iterations required.

Embedding table compressionClustering and sketchingMemory-efficient training
BibTeX
@inproceedings{
tsang2023clustering,
title={Clustering the Sketch: Dynamic Compression for Embedding Tables},
author={Henry Tsang and Thomas Dybdahl Ahle},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023},
url={https://openreview.net/forum?id=C4rRqkXFyC}
}
Clustering the Sketch: Dynamic Compression for Embedding Tables · NeurIPS 2023