arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02561cs.IRcs.CVcs.LG
收藏

SOLAR: SVD优化的终身注意力用于推荐

SOLAR: SVD-Optimized Lifelong Attention for Recommendation

Chenghao Zhang, Chao Feng, Yuanhao Pu, Xunyong Yang, Wenhui Yu, Xiang Li, Chunjie Chen, Kaiqiao Zhan

AI总结:

SOLAR通过SVD-Attention优化低秩结构,提升推荐系统中长序列建模效率,实现0.68%的视频观看量增长。

摘要:

注意力机制仍然是Transformer中的核心运算符,因为它提供了表达性全局信用分配,但其在序列长度N下的O(N²d)时间与内存成本使长上下文建模昂贵,通常迫使截断或其他启发式方法。线性注意力通过重新排列计算通过核特征图将复杂度降低到O(Nd²),但这种改写方式丢弃了softmax机制并改变了注意力分数分布。在推荐系统中,矩阵中的低秩结构并非罕见案例,而是其表示学习中的默认归纳偏差,特别是在用户行为序列建模中尤为明显。利用这种结构,我们引入了SVD-Attention,其在低秩矩阵上理论上是无损的,并在减少注意力复杂度从O(N²d)到O(Ndr)的同时保留softmax。借助SVD-Attention,我们提出了SOLAR,即SVD优化的终身注意力用于推荐,一种序列建模框架,支持十万个规模的行为序列和几个千级候选集在级联过程中无需任何过滤。在快手的在线推荐场景中,SOLAR实现了0.68%的视频观看量提升,同时带来了其他业务指标的改进。

英文摘要:

Attention mechanism remains the defining operator in Transformers since it provides expressive global credit assignment, yet its quadratic cost in sequence length N makes long-context modeling expensive and often forces truncation or other heuristics. Linear attention reduces complexity to O(Nd^2) by reordering computation through kernel feature maps, but this reformulation drops the softmax mechanism and shifts the attention score distribution. Lifelong recommendation requires efficient attention as well, for large-scale sequence modeling with user histories and candidate items under tight latency and resource constraints. We introduce SVD-Attention, a novel attention mechanism, and SOLAR, a set-aware framework built on it for lifelong recommendation. SVD-Attention factorizes low-rank embeddings into r principal components, computes candidate-to-interest scores in compact space, and applies softmax over those scores. Its bilinear reduction is exact on the rank-r reconstruction, while the normalized output approximates token-level softmax with an explicitly bounded residual. The resulting computation reduces the cost from O(N^2d) to O(Ndr), and supports 12,000 behaviors and 3,000 candidates per request without filtering. SOLAR achieves the best among compared methods on RecFlow and MIND, delivers 0.8531 AUC at approximately 19ms 95th-percentile latency in an industrial evaluation, and yields business gains with a 0.68% relative lift in Video Views in the real-world online A/B test. Following this evaluation, SOLAR has been fully deployed in Kuaishou's production recommendation system.

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

↑