FuXi-γ:基于指数-幂时间编码器和对角稀疏位置机制的高效序列推荐
FuXi-$γ$: Efficient Sequential Recommendation with Exponential-Power Temporal Encoder and Diagonal-Sparse Positional Mechanism
AI总结:
FuXi-γ通过指数-幂时间编码器和对角稀疏位置机制,提升序列推荐的效率和效果,实现训练和推理速度的显著提升。
摘要:
序列推荐旨在根据用户的历史交互建模用户 evolving 的偏好。最近的进展利用基于Transformer的架构来捕捉全局依赖性,但现有方法常常面临计算开销大的问题,主要由于时间编码中的不连续内存访问和长序列中的密集注意力。为了解决这些限制,我们提出了FuXi-γ,一种新的序列推荐框架,通过系统性的架构设计提高了有效性和效率。FuXi-γ采用解码器-only Transformer结构,并引入了两个关键创新:(1)一个指数-幂时间编码器,通过受Ebbinghaus遗忘曲线启发的可调指数衰减函数编码相对时间间隔。该编码器能够灵活地建模短期和长期偏好,同时通过连续内存访问和纯矩阵运算保持高效率。(2)一个对角稀疏位置机制,通过Toeplitz矩阵的对称性指导的对角滑动策略来修剪低贡献的注意力块。在四个真实世界数据集上的大量实验表明,FuXi-γ在推荐质量上实现了最先进的性能,同时训练速度提高高达4.74倍,推理速度提高高达6.18倍,使其成为长序列推荐的实用且可扩展的解决方案。我们的代码可在https://github.com/Yeedzhi/FuXi-gamma上获取。
英文摘要:
Sequential recommendation aims to model users' evolving preferences based on their historical interactions. Recent advances leverage Transformer-based architectures to capture global dependencies, but existing methods often suffer from high computational overhead, primarily due to discontinuous memory access in temporal encoding and dense attention over long sequences. To address these limitations, we propose FuXi-$γ$, a novel sequential recommendation framework that improves both effectiveness and efficiency through principled architectural design. FuXi-$γ$ adopts a decoder-only Transformer structure and introduces two key innovations: (1) An exponential-power temporal encoder that encodes relative temporal intervals using a tunable exponential decay function inspired by the Ebbinghaus forgetting curve. This encoder enables flexible modeling of both short-term and long-term preferences while maintaining high efficiency through continuous memory access and pure matrix operations. (2) A diagonal-sparse positional mechanism that prunes low-contribution attention blocks using a diagonal-sliding strategy guided by the persymmetry of Toeplitz matrix. Extensive experiments on four real-world datasets demonstrate that FuXi-$γ$ achieves state-of-the-art performance in recommendation quality, while accelerating training by up to 4.74$\times$ and inference by up to 6.18$\times$, making it a practical and scalable solution for long-sequence recommendation. Our code is available at https://github.com/Yeedzhi/FuXi-gamma.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。