在关键处更深入思考:面向序列推荐的物品级自适应递归
研究论文 · 2026/10/22
现有序列推荐模型对用户交互历史中的每个物品分配固定的计算预算,忽略了物品对最终预测贡献的差异。本文通过两个诊断发现挑战这一设计:(1)非均匀计算需求:同一序列中的物品所需计算量差异巨大,多数物品浅层处理即可收敛,而关键少数需全深度才稳定;(2)固定分配次优:在可访问目标物品的预言机条件下,非均匀深度分配始终优于固定分配,表明均匀计算既浪费容量又损害推荐质量。为此,提出LoopRec,递归应用权重共享块,并在每个递归边界引入轻量门控,为每个物品独立做出二值退出或继续决策。表示成熟的物品提前退出,需更深推理的物品继续递归。该设计将固定全局深度转化为学习的逐物品属性,无需辅助深度标签,且易于适配多种骨干架构。在四个骨干家族的公开基准上,LoopRec一致优于匹配的固定深度对应模型。分析表明,学习到的分配模式与事后预言机分析一致:低频物品和更近的交互获得更深计算。代码已开源。
该论文挑战了序列推荐中固定计算预算的默认设计,通过实证分析揭示物品级计算需求的非均匀性,并提出一种无需深度标签、可适配多种骨干的自适应递归方法,在多个基准上验证有效,为高效推荐系统提供了新思路。
Existing sequential recommenders usually allocate a fixed computational budget to every item in a user's interaction history, regardless of the item's contribution to the final prediction. We challenge this de facto design with two diagnostic findings. (1) Non-uniform computational need: items within the same sequence vary drastically in how much computation they require. Most converge after shallow processing while a critical minority only stabilizes at full depth. (2) Suboptimality of fixed allocation: given oracle access to the target item, a non-uniform depth assignment consistently outranks the fixed one, indicating that existing uniform computation both wastes capacity on already-converged items and sacrifices overall recommendation quality. These observations motivate a shift from fixed-depth computation to item-level adaptive reasoning. To this end, we propose LoopRec. LoopRec recursively applies a single weight-shared block and introduces a lightweight gate at each recursion boundary that makes a binary exit-or-continue decision for every item independently. Items whose representations have sufficiently matured exit early, while those requiring deeper reasoning continue to subsequent recursions. This design converts the fixed global depth into a learned, per-item property without auxiliary depth labels, and is readily adaptable to diverse backbone architectures. Extensive experiments on public benchmarks with four backbone families demonstrate that LoopRec consistently outperforms matched fixed-depth counterparts. Further analysis reveals that LoopRec's learned allocation exhibits interpretable patterns aligned with our post-hoc oracle analysis: lower-frequency items and more recent interactions naturally receive deeper computation. Our code is available at https://github.com/Elpmis117/LoopRec.