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

数据增强作为免费午餐:探索序列推荐中的测试时增强

Data Augmentation as Free Lunch: Exploring the Test-Time Augmentation for Sequential Recommendation

Yizhou Dang, Yuting Liu, Enneng Yang, Minhan Huang, Guibing Guo, Jianzhe Zhao, Xingwei Wang

AI总结:

本文探索序列推荐中的测试时增强(TTA),通过在推理时对输入进行增强并聚合预测来提升准确率,避免重训开销;提出TNoise和TMask方法,有效解决了现有增强操作符的效率与干扰问题。

摘要:

数据增强已成为缓解序列推荐中数据稀疏性的一种有前景的方法。现有方法在模型训练期间生成新的且有效的数据以提高性能。然而,部署它们需要重新训练、修改架构或引入额外的可学习参数。对于训练良好的模型,上述步骤耗时且成本高昂,尤其是当模型规模变大时。在这项工作中,我们探索了序列推荐的测试时增强(TTA),它在模型推理期间对输入进行增强,然后聚合模型对增强数据的预测以提高最终准确率。它避免了损失计算和反向传播带来的显著时间和成本开销。我们首先通过实验揭示了现有增强操作符在TTA中的潜力,并发现Mask和Substitute持续取得更好的性能。进一步分析表明,这两个操作符之所以有效,是因为它们保留了原始序列模式,同时添加了适当的扰动。同时,我们认为这两个操作符仍面临耗时的物品选择或来自mask token的干扰信息。基于分析和局限性,我们提出了TNoise和TMask。前者将均匀噪声注入原始表示,避免了物品选择的计算开销。后者阻止mask token参与模型计算,或直接移除本应被替换为mask token的交互。综合实验证明了我们方法的有效性、效率和泛化性。我们在 https://github.com/KingGugu/TTA4SR 提供了匿名实现。

英文摘要:

Data augmentation has become a promising method of mitigating data sparsity in sequential recommendation. Existing methods generate new yet effective data during model training to improve performance. However, deploying them requires retraining, architecture modification, or introducing additional learnable parameters. The above steps are time-consuming and costly for well-trained models, especially when the model scale becomes large. In this work, we explore the test-time augmentation (TTA) for sequential recommendation, which augments the inputs during the model inference and then aggregates the model's predictions for augmented data to improve final accuracy. It avoids significant time and cost overhead from loss calculation and backward propagation. We first experimentally disclose the potential of existing augmentation operators for TTA and find that the Mask and Substitute consistently achieve better performance. Further analysis reveals that these two operators are effective because they retain the original sequential pattern while adding appropriate perturbations. Meanwhile, we argue that these two operators still face time-consuming item selection or interference information from mask tokens. Based on the analysis and limitations, we present TNoise and TMask. The former injects uniform noise into the original representation, avoiding the computational overhead of item selection. The latter blocks mask token from participating in model calculations or directly removes interactions that should have been replaced with mask tokens. Comprehensive experiments demonstrate the effectiveness, efficiency, and generalizability of our method. We provide an anonymous implementation at https://github.com/KingGugu/TTA4SR.

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

↑