paper-with-me

홈 › Papers

Efficient Inference of Sub-Item Id-based Sequential Recommendation Models with Millions of Items

2024-08-19 · Aleksandr V. Petrov, Craig Macdonald, Nicola Tonellotto

Transformer-based recommender systems, such as BERT4Rec or SASRec, achieve state-of-the-art results in sequential recommendation. However, it is challenging to use these models in production environments with catalogues of millions of items: scaling Transformers beyond a few thousand items is problematic for several reasons, including high model memory consumption and slow inference. In this respect, RecJPQ is a state-of-the-art method of reducing the models' memory consumption; RecJPQ compresses item catalogues by decomposing item IDs into a small number of shared sub-item IDs. Despite reporting the reduction of memory consumption by a factor of up to 50x, the original RecJPQ paper did not report inference efficiency improvements over the baseline Transformer-based models. Upon analysing RecJPQ's scoring algorithm, we find that its efficiency is limited by its use of score accumulators for each item, which prevents parallelisation. In contrast, LightRec (a non-sequential method that uses a similar idea of sub-ids) reported large inference efficiency improvements using an algorithm we call PQTopK. We show that it is also possible to improve RecJPQ-based models' inference efficiency using the PQTopK algorithm. In particular, we speed up RecJPQ-enhanced SASRec by a factor of 4.5 x compared to the original SASRec's inference method and by a factor of 1.56 x compared to the method implemented in RecJPQ code on a large-scale Gowalla dataset with more than a million items. Further, using simulated data, we show that PQTopK remains efficient with catalogues of up to tens of millions of items, removing one of the last obstacles to using Transformer-based models in production environments with large catalogues.

📄 PDF Abstract BibTeX arXiv:2408.09992

Code (0)

등록된 구현이 없습니다.

Tasks

Recommendation SystemsSequential Recommendation

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Efficient Recommendation with Millions of Items by Dynamic Pruning of Sub-Item Embeddings

2025-05-01 · Aleksandr V. Petrov, Craig Macdonald, Nicola Tonellotto

A large item catalogue is a major challenge for deploying modern sequential recommender models, since it makes the memory footprint of the model large and increases inference latency. One promising approach to address th…

CITIES: Contextual Inference of Tail-Item Embeddings for Sequential Recommendation

2021-05-23 · Seongwon Jang, Hoyeop Lee, Hyunsouk Cho, Sehee Chung

Sequential recommendation techniques provide users with product recommendations fitting their current preferences by handling dynamic user preferences over time. Previous studies have focused on modeling sequential dynam…

Sequential Recommendation

Multi-factor Sequential Re-ranking with Perception-Aware Diversification

2023-05-21 · Yue Xu, Hao Chen, Zefan Wang, Jianwen Yin 외

Feed recommendation systems, which recommend a sequence of items for users to browse and interact with, have gained significant popularity in practical applications. In feed products, users tend to browse a large number …

DiversityGraph ClusteringRecommendation SystemsRe-Ranking

RecJPQ: Training Large-Catalogue Sequential Recommenders

2023-12-11 · Aleksandr V. Petrov, Craig Macdonald

Sequential Recommendation is a popular recommendation task that uses the order of user-item interaction to model evolving users' interests and sequential patterns in their behaviour. Current state-of-the-art Transformer-…

Passage RetrievalRecommendation SystemsRetrievalSequential Recommendation

KuaiRand: An Unbiased Sequential Recommendation Dataset with Randomly Exposed Videos

2022-08-18 · Chongming Gao, Shijun Li, Yuan Zhang, Jiawei Chen 외

Recommender systems deployed in real-world applications can have inherent exposure bias, which leads to the biased logged data plaguing the researchers. A fundamental way to address this thorny problem is to collect user…

Interactive RecommendationMulti-Task LearningRecommendation SystemsSequential Recommendation