RECE: Reduced Cross-Entropy Loss for Large-Catalogue Sequential Recommenders

Danil Gusak, Gleb Mezentsev, Ivan Oseledets, Evgeny Frolov
8/5/2024
cs.IRcs.LG

No official code found. Best implementation: dalibra/RECE (11 stars, Apache-2.0, last commit 2024-10-21).

Abstract

Scalability is a major challenge in modern recommender systems. In sequential recommendations, full Cross-Entropy (CE) loss achieves state-of-the-art recommendation quality but consumes excessive GPU memory with large item catalogs, limiting its practicality. Using a GPU-efficient locality-sensitive hashing-like algorithm for approximating large tensor of logits, this paper introduces a novel RECE (REduced Cross-Entropy) loss. RECE significantly reduces memory consumption while allowing one to enjoy the state-of-the-art performance of full CE loss. Experimental results on various datasets show that RECE cuts training peak memory usage by up to 12 times compared to existing methods while retaining or exceeding performance metrics of CE loss. The approach also opens up new possibilities for large-scale applications in other domains.

View on arXivView PDF

Code Implementations(1)

dalibra/RECECommunity100%
Apache-2.0

The repository provides code for the paper RECE: Reduced Cross-Entropy Loss for Large-Catalogue Sequential Recommenders, CIKM'24

110PythonAug 4, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{gusak2024rece,
  title  = {RECE: Reduced Cross-Entropy Loss for Large-Catalogue Sequential Recommenders},
  author = {Danil Gusak and Gleb Mezentsev and Ivan Oseledets and Evgeny Frolov},
  year   = {2024},
  eprint = {2408.02354},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.02354v3}
}

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/2408.02354.svg)](https://codeofpaper.com/paper/2408.02354)

Discussion