The Future is Sparse: Embedding Compression for Scalable Retrieval in Recommender Systems

Petr Kasalický, Martin Spišák, Vojtěch Vančura, Daniel Bohuněk, Rodrigo Alves +1 more
5/16/2025
cs.IRcs.LG

Official code: recombee/CompresSAE (39 stars, MIT, last commit 2025-11-21).

Abstract

Industry-scale recommender systems face a core challenge: representing entities with high cardinality, such as users or items, using dense embeddings that must be accessible during both training and inference. However, as embedding sizes grow, memory constraints make storage and access increasingly difficult. We describe a lightweight, learnable embedding compression technique that projects dense embeddings into a high-dimensional, sparsely activated space. Designed for retrieval tasks, our method reduces memory requirements while preserving retrieval performance, enabling scalable deployment under strict resource constraints. Our results demonstrate that leveraging sparsity is a promising approach for improving the efficiency of large-scale recommenders. We release our code at https://github.com/recombee/CompresSAE.

View on arXivView PDF

Code Implementations(1)

MIT

Sparse Embedding Compression for Scalable Retrieval in Recommender Systems

392PythonMay 16, 202511 months agoMIT
embedding-compressionrecommender-systemssaesimilarity-searchsparse-autoencoder

Similar Papers

Cite this paper

@article{kasalick2025future,
  title  = {The Future is Sparse: Embedding Compression for Scalable Retrieval in Recommender Systems},
  author = {Petr Kasalický and Martin Spišák and Vojtěch Vančura and Daniel Bohuněk and Rodrigo Alves and Pavel Kordík},
  year   = {2025},
  eprint = {2505.11388},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.11388v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.11388.svg)](https://codeofpaper.com/paper/2505.11388)

Discussion