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

关于顺序感知推荐系统效率的探讨:Cotten4Rec

On the Efficiency of Sequentially Aware Recommender Systems: Cotten4Rec

Rensselaer Polytechnic Institute(伦斯勒理工学院)

Shankar Veludandi, Gulrukh Kurdistan, Uzma Mushtaque

AI总结:

Cotten4Rec通过线性时间余弦相似度注意力机制,在减少计算开销的同时保持推荐准确性,为大规模顺序推荐提供了高效的解决方案。

摘要:

顺序推荐(SR)模型通过建模用户的历史行为来预测用户下一步的交互。基于Transformer的SR方法,特别是BERT4Rec,能够有效捕捉这些模式,但由于与Softmax基于的注意力相关的大量中间计算,导致计算开销显著。我们提出了Cotten4Rec,一种利用线性时间余弦相似度注意力的新型SR模型,通过一个优化的计算统一设备架构(CUDA)内核实现。通过最小化中间缓冲区和内核启动开销,Cotten4Rec相比BERT4Rec和线性注意力基线模型LinRec,在中等序列长度和词汇量的数据集上显著减少了资源使用。在三个基准数据集上的评估证实,Cotten4Rec在内存和运行时间上实现了显著的减少,同时对推荐准确性的影响很小,证明了Cotten4Rec作为实际大规模顺序推荐场景中高效替代方案的可行性,特别是在计算资源至关重要的情况下。

英文摘要:

Sequential recommendation (SR) models predict a user's next interaction by modeling their historical behaviors. Transformer-based SR methods, notably BERT4Rec, effectively capture these patterns but incur significant computational overhead due to extensive intermediate computations associated with Softmax-based attention. We propose Cotten4Rec, a novel SR model utilizing linear-time cosine similarity attention, implemented through a single optimized compute unified device architecture (CUDA) kernel. By minimizing intermediate buffers and kernel-launch overhead, Cotten4Rec substantially reduces resource usage compared to BERT4Rec and the linear-attention baseline, LinRec, especially for datasets with moderate sequence lengths and vocabulary sizes. Evaluations across three benchmark datasets confirm that Cotten4Rec achieves considerable reductions in memory and runtime with minimal compromise in recommendation accuracy, demonstrating Cotten4Rec's viability as an efficient alternative for practical, large-scale sequential recommendation scenarios where computational resources are critical.

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

↑