使用Simple Transformers的近最优实时个性化
Near-Optimal Real-Time Personalization with Simple Transformers
AI总结:
针对Transformer模型在实时个性化推荐中优化困难的问题,本文提出基于单层自注意力的Simple Transformers,并开发出在亚线性时间内实现近最优性能的快速优化算法,实验证明其准确度优于非Transformer模型且与复杂Transformer相当。
摘要:
近年来,实时个性化取得了显著进展,各平台利用机器学习模型基于每个用户的丰富行为数据来预测用户偏好。传统方法通常依赖基于嵌入的机器学习模型来捕捉用户偏好,然后将最终的优化任务简化为最近邻问题,这可以极快地完成。然而,这些模型难以捕捉复杂的用户行为,而这对做出准确推荐至关重要。另一方面,基于Transformer的模型以其对序列行为建模的实际能力而闻名,因此最近被广泛用于个性化以克服这些限制。然而,由于架构复杂,在基于Transformer的模型下优化推荐具有挑战性。在本文中,我们通过考虑特定类别的transformers来解决这一挑战,展示其表示复杂用户偏好的能力,并开发用于实时个性化的高效算法。我们关注一组特定的transformers,称为simple transformers,它们包含单个自注意力层。我们证明simple transformers能够捕捉复杂的用户偏好。然后,我们开发了一种算法,能够基于simple transformers快速优化推荐任务。我们的算法在亚线性时间内实现近最优性能。最后,我们通过在Spotify和Trivago数据集上的实证研究证明了方法的有效性。实验结果表明:(1) simple transformers建模/预测用户偏好的准确度显著高于非transformer模型,且几乎与更复杂的transformers一样准确;(2) 我们的算法快速有效地完成了基于simple transformers的推荐任务。
英文摘要:
Real-time personalization has advanced significantly in recent years, with platforms utilizing machine learning models to predict user preferences based on rich behavioral data on each individual user. Traditional approaches usually rely on embedding-based machine learning models to capture user preferences, and then reduce the final optimization task to nearest-neighbors, which can be performed extremely fast. However, these models struggle to capture complex user behaviors, which are essential for making accurate recommendations. Transformer-based models, on the other hand, are known for their practical ability to model sequential behaviors, and hence have been intensively used in personalization recently to overcome these limitations. However, optimizing recommendations under transformer-based models is challenging due to their complicated architectures. In this paper, we address this challenge by considering a specific class of transformers, showing its ability to represent complex user preferences, and developing efficient algorithms for real-time personalization. We focus on a particular set of transformers, called simple transformers, which contain a single self-attention layer. We show that simple transformers are capable of capturing complex user preferences. We then develop an algorithm that enables fast optimization of recommendation tasks based on simple transformers. Our algorithm achieves near-optimal performance in sub-linear time. Finally, we demonstrate the effectiveness of our approach through an empirical study on datasets from Spotify and Trivago. Our experiment results show that (1) simple transformers can model/predict user preferences substantially more accurately than non-transformer models and nearly as accurately as more complex transformers, and (2) our algorithm completes simple-transformer-based recommendation tasks quickly and effectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。