arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.06165cs.IR
收藏

RecJPQ: 训练大规模目录的序列推荐器

RecJPQ: Training Large-Catalogue Sequential Recommenders

Aleksandr V. Petrov, Craig Macdonald

AI总结:

针对大规模目录下序列推荐模型训练成本高的问题,提出适配序列推荐的RecJPQ方法,通过共享子嵌入替换物品嵌入减少参数量,可在效果不降甚至提升的同时大幅压缩模型规模,适配工业级大规模物品推荐场景。

摘要:

序列推荐是一项热门的推荐任务,它利用用户-物品交互的顺序来建模用户不断变化的兴趣以及行为中的序列模式。当前最先进的基于Transformer的序列推荐模型,例如BERT4Rec和SASRec,会生成序列嵌入并计算目录中物品的分数,但不断增长的目录规模使得训练这些模型的成本很高。联合乘积量化(Joint Product Quantisation, JPQ)方法最初是为段落检索提出的,它通过用有限数量的共享子嵌入替换段落嵌入,在对模型效果影响极小的情况下显著减小了检索索引的规模。本文提出了RecJPQ,这是JPQ针对序列推荐的一种全新适配方法,它取代了物品嵌入张量,用有限数量的共享子嵌入的拼接来替换物品嵌入,从而限制了可学习模型参数的数量。RecJPQ的核心思想是在训练主推荐模型之前将物品拆分为子物品实体,这一思路受到了语言模型中将单词拆分为词元并训练词元化器的启发。我们在三个大规模序列数据集上将RecJPQ应用于SASRec、BERT4Rec和GRU4rec模型。实验结果表明,RecJPQ能够显著减小模型规模(例如,在Gowalla数据集上模型规模减小48%且效果没有下降)。RecJPQ还能通过正则化效应提升模型性能(例如,在Booking.com数据集上NDCG@10提升0.96%)。总体而言,RecJPQ使得在工业应用中训练最先进的Transformer推荐器成为可能,而工业应用中常见包含数百万物品的数据集。

英文摘要:

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-based models for sequential recommendation, such as BERT4Rec and SASRec, generate sequence embeddings and compute scores for catalogue items, but the increasing catalogue size makes training these models costly. The Joint Product Quantisation (JPQ) method, originally proposed for passage retrieval, markedly reduces the size of the retrieval index with minimal effect on model effectiveness, by replacing passage embeddings with a limited number of shared sub-embeddings. This paper introduces RecJPQ, a novel adaptation of JPQ for sequential recommendations, which takes the place of item embeddings tensor and replaces item embeddings with a concatenation of a limited number of shared sub-embeddings and, therefore, limits the number of learnable model parameters. The main idea of RecJPQ is to split items into sub-item entities before training the main recommendation model, which is inspired by splitting words into tokens and training tokenisers in language models. We apply RecJPQ to SASRec, BERT4Rec, and GRU4rec models on three large-scale sequential datasets. Our results showed that RecJPQ could notably reduce the model size (e.g., 48% reduction for the Gowalla dataset with no effectiveness degradation). RecJPQ can also improve model performance through a regularisation effect (e.g. +0.96% NDCG@10 improvement on the Booking.com dataset). Overall, RecJPQ allows the training of state-of-the-art transformer recommenders in industrial applications, where datasets with millions of items are common.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑