The self-attention mechanism, which equips with a strong capability of modeling long-range dependencies, is one of the extensively used techniques in the sequential recommendation field. However, many recent studies represent that current self-attention based models are low-pass filters and are inadequate to capture high-frequency information. Furthermore, since the items in the user behaviors are intertwined with each other, these models are incomplete to distinguish the inherent periodicity obscured in the time domain. In this work, we shift the perspective to the frequency domain, and propose a novel Frequency Enhanced Hybrid Attention Network for Sequential Recommendation, namely FEARec. In this model, we firstly improve the original time domain self-attention in the frequency domain with a ramp structure to make both low-frequency and high-frequency information could be explicitly learned in our approach. Moreover, we additionally design a similar attention mechanism via auto-correlation in the frequency domain to capture the periodic characteristics and fuse the time and frequency level attention in a union model. Finally, both contrastive learning and frequency regularization are utilized to ensure that multiple views are aligned in both the time domain and frequency domain. Extensive experiments conducted on four widely used benchmark datasets demonstrate that the proposed model performs significantly better than the state-of-the-art approaches.
翻译:自注意机制是序列推荐领域广泛使用的技术之一,具有建模长程依赖关系的强大能力。然而,许多最近的研究表明,当前基于自我注意力的模型是低通滤波器,不足以捕获高频信息。此外,由于用户行为中的项目相互交织在一起,这些模型不能区分时间域中隐藏的固有周期性。在这项工作中,我们将视角转移到频域,并提出了一种新颖的频率增强的混合注意力网络用于序列推荐,即FEARec。在这个模型中,我们首先在频域中利用斜坡结构改进了原始时域自注意力,使得我们的方法可以明确学习低频和高频信息。此外,我们还通过频域中的自相关设计了类似的注意力机制,以捕捉周期特征,并在联合模型中融合时间和频率级别的注意力。最后,我们利用对比学习和频率正则化来确保在时间域和频率域中多个视图对齐。在四个广泛使用的基准数据集上进行的大量实验表明,所提出的模型比现有最先进的方法表现显著更好。