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

滑动窗口是否足够?一个长序列推荐的开放框架

Is Sliding Window All You Need? An Open Framework for Long-Sequence Recommendation

Department of Computer Science(计算机科学系);School of Electrical and Computer Engineering(电气与计算机工程学院);Northwestern University(西北大学);Purdue University(普渡大学)

Sayak Chakrabarty, Souradip Pal

AI总结:

本文提出一个开放框架,展示长序列推荐在实际中的可行性和有效性,通过滑动窗口实现工业级训练,并引入新的嵌入层提升词汇规模,同时报告训练时间成本。

摘要:

长交互历史对现代推荐系统至关重要,但使用长序列训练常被视为不切实际。本文证明在学术规模下不仅可行而且有效。我们发布了一个完整的端到端框架,实现了滑动窗口的工业级长序列训练,包括所有数据处理、训练和评估脚本。除了复现先前成果外,我们还贡献了两项缺失的能力:(i)运行时感知的消融研究,量化窗口化制度和步长的准确率-计算前沿;(ii)一种新的k-shift嵌入层,使在商用GPU上实现百万级词汇量,且精度损失 negligible。我们的实现能够在适度的大学集群上稳定训练,同时提供竞争性的检索质量(例如,在Retailrocket上MRR提升+6.04%、Recall@10提升+6.34%),尽管训练时间成本增加约4倍。通过打包一个稳健的流水线、报告训练时间成本,并引入一种针对低资源环境的嵌入机制,我们将长序列训练从封闭的工业技术转变为实用、开放和可扩展的方法论。

英文摘要:

Long interaction histories are central to modern recommender systems, yet training with long sequences is often dismissed as impractical under realistic memory and latency budgets. This work demonstrates that it is not only practical but also effective-at academic scale. We release a complete, end-to-end framework that implements industrial-style long-sequence training with sliding windows, including all data processing, training, and evaluation scripts. Beyond reproducing prior gains, we contribute two capabilities missing from earlier reports: (i) a runtime-aware ablation study that quantifies the accuracy-compute frontier across windowing regimes and strides, and (ii) a novel k-shift embedding layer that enables million-scale vocabularies on commodity GPUs with negligible accuracy loss. Our implementation trains reliably on modest university clusters while delivering competitive retrieval quality (e.g., up to +6.04% MRR and +6.34% Recall@10 on Retailrocket) with $\sim 4 \times $ training-time overheads. By packaging a robust pipeline, reporting training time costs, and introducing an embedding mechanism tailored for low-resource settings, we transform long-sequence training from a closed, industrial technique into a practical, open, and extensible methodology for the community.

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

↑