用思维链分词与稀疏注意力提升推荐生成效率和精度
GRACE: Generative Recommendation via Journey-Aware Sparse Attention on Chain-of-Thought Tokenization
- 引入思维链分词,融合商品属性增强可解释性
- 稀疏注意力机制使长序列计算量降低48%,性能提升超106%
- 适合追求高精度与低延迟的个性化推荐场景
生成式模型在多行为推荐中展现强大潜力,但面临三重挑战:(1)分词缺乏显式推理信息;(2)标准注意力存在二次复杂度及密集表示导致高算力开销;(3)用户历史多尺度建模能力有限。本文提出GRACE框架,采用混合思维链(CoT)分词方法,在语义分词基础上融入商品知识图谱中的类别、品牌、价格等显式属性,实现行为对齐的可解释生成。设计旅程感知稀疏注意力(JSA),仅关注压缩后的序列内、跨、当前上下文片段,显著降低计算开销。在两个真实数据集上的实验表明,GRACE在家居领域相比最优基线提升最高达+106.9% HR@10与+106.7% NDCG@10,电子品类提升+22.1% HR@10,同时支持长序列时注意力计算减少48%。
原文摘要 · Abstract (English)
Generative models have recently demonstrated strong potential in multi-behavior recommendation systems, leveraging the expressive power of transformers and tokenization to generate personalized item sequences. However, their adoption is hindered by (1) the lack of explicit information for token reasoning, (2) high computational costs due to quadratic attention complexity and dense sequence representations after tokenization, and (3) limited multi-scale modeling over user history. In this work, we propose GRACE (Generative Recommendation via journey-aware sparse Attention on Chain-of-thought tokEnization), a novel generative framework for multi-behavior sequential recommendation. GRACE introduces a hybrid Chain-of-Thought (CoT) tokenization method that encodes user-item interactions with explicit attributes from product knowledge graphs (e.g., category, brand, price) over semantic tokenization, enabling interpretable and behavior-aligned generation. To address the inefficiency of standard attention, we design a Journey-Aware Sparse Attention (JSA) mechanism, which selectively attends to compressed, intra-, inter-, and current-context segments in the tokenized sequence. Experiments on two real-world datasets show that GRACE significantly outperforms state-of-the-art baselines, achieving up to +106.9% HR@10 and +106.7% NDCG@10 improvement over the state-of-the-art baseline on the Home domain, and +22.1% HR@10 on the Electronics domain. GRACE also reduces attention computation by up to 48% with long sequences.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。