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

学习可变长度分词以生成推荐

Learning Variable-Length Tokenization for Generative Recommendation

University of Science and Technology of China(中国科学技术大学)

Minhao Wang, Bowen Wu, Wei Zhang

AI总结:

本文提出VarLenRec框架,通过Popularity-Weighted Information Budget Allocation方法解决生成推荐中可变长度分词问题,提升推荐准确性和效率。

摘要:

生成推荐将推荐问题重新表述为离散语义标识符(ID)的下一个标记预测。一个基本但未被探索的设计选择是现有方法对所有项目使用固定长度分词,隐含假设编码能力在项目特性上是均匀的。通过系统地在四个数据集上进行实验,我们发现流行度-长度悖论:流行项目在短ID下表现最佳,而尾部项目需要显著更长的代码来捕捉判别性语义。这揭示了一个关键不匹配:流行项目受益于丰富的协同信号并需要最小的语义细节,而尾部项目必须依赖于细粒度的内容特征,因为交互数据稀疏。为了解决这个问题,我们提出了VarLenRec,一个学习可变长度分词的框架。我们开发了流行度加权信息预算分配(PIBA),一个信息论框架证明最优ID长度应与流行度的负幂成比例。直接实现可变长度分配面临两个技术挑战:标准欧几里得残差量化缺乏支持不同代码长度的几何容量,而离散长度决策是非可微的。我们通过双曲残差量化解决这些问题,该方法利用庞加莱球的指数体积增长来自然分层编码能力,并通过软长度控制器实现可微长度预测,通过连续层保留概率正则化由PIBA推导出的先验。广泛的实验表明,VarLenRec在推荐准确性和训练/推理效率上显著优于现有最先进方法,揭示了自适应编码能力在生成推荐中的重要性。

英文摘要:

Generative recommendation reformulates recommendation as next-token prediction over discrete semantic identifiers (IDs). A fundamental yet unexplored design choice is that existing methods employ fixed-length tokenization for all items, implicitly assuming uniform encoding capacity regardless of item characteristics. Through systematic experiments across four datasets, we discover the Popularity-Length Paradox: popular items achieve optimal performance with short IDs, while tail items require substantially longer codes to capture discriminative semantics. This reveals a critical mismatch where popular items benefit from abundant collaborative signals and require minimal semantic detail, whereas tail items must rely on fine-grained content features due to sparse interaction data. To address this, we propose VarLenRec, a framework for learning variable-length tokenization. We develop Popularity-Weighted Information Budget Allocation (PIBA), an information-theoretic framework proving that optimal ID length should scale as a negative power of popularity. Directly implementing variable-length allocation faces two technical challenges: standard Euclidean residual quantization lacks geometric capacity to support diverse code lengths without distortion, and discrete length decisions are non-differentiable. We address these through Hyperbolic Residual Quantization, which leverages the exponential volume growth of the Poincaré ball to naturally stratify encoding capacity, and a Soft Length Controller, which enables differentiable length prediction via continuous layer retention probabilities regularized by PIBA-derived priors. Extensive experiments demonstrate that VarLenRec achieves significant improvements over state-of-the-art methods in recommendation accuracy and training/inference efficiency, revealing the importance of adaptive encoding capacity in generative recommendation.

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

↑