作者: Danil Gusak, Anna Volodkevich, Ivan Oseledets, Evgeny FrolovarXiv 2610.32980

Separating Thinking from Spelling for Efficient Generative Recommendation(将思考与拼写分离以实现高效生成式推荐)于 2026-10-23 提交到 arXiv,作者 Danil Gusak, Anna Volodkevich, Ivan Oseledets, Evgeny Frolov。去 arXiv 读原文,或下载 PDF。

主要发现

最重要的一点。 生成式检索可以将集束搜索完全交由轻量解码器基于单个概念向量执行,从而在不损失推荐质量的前提下免除重型语言模型对候选标识符的重复解码。

摘要

Generative recommenders retrieve items by writing their semantic IDs (SIDs) code by code under trie-constrained beam search, an approach now deployed on large web platforms. Standard autoregressive interfaces pay for the SID length K twice: a history of T items enters the backbone as TK code tokens, and every beam-search step runs through the backbone, so returning B candidates costs O(BK) backbone decode tokens per user. The second cost often dominates, and it grows with the backbone, the SID depth and the candidate budget. We introduce Deco (decoding from concepts), which separates reading the history from writing the identifier. The backbone reads each history item as one fused token and condenses the history once into a compact next-item concept; a light KV-cached decoder conditioned on the concept and the generated prefix runs the entire beam search, while the identifiers, the trie and the autoregressive factorization stay unchanged. The decoder approaches full-backbone accuracy with cross-entropy alone, and distillation improves it further. On seven datasets from e-commerce, movies and music streaming, Deco achieves comparable or better accuracy than both a standard generative recommender and the full-backbone teacher with fused inputs, while delivering 3.2-8.6$\times$ their throughput under a 50 ms p95 latency budget in a production-style serving pipeline. Delegating beam search makes larger candidate pools and models practical: Deco generates 1000 candidates faster than its teacher generates 100, and with a 1.5B-parameter LLM backbone, it matches the 69M-parameter teacher’s throughput while achieving higher accuracy.

译文:生成式推荐系统通过在前缀树约束的集束搜索下逐位写出物品的语义 ID(SID)来召回物品,该方法已部署于大型网络平台。标准的自回归接口在 SID 长度 K 上承受了两次计算代价:包含 T 个物品的历史记录作为 TK 个编码标记进入主干模型,且集束搜索的每一步均需运行完整主干模型,因此向每位用户返回 B 个候选物品需要消耗 O(BK)个主干解码标记。第二项开销通常占据主导地位,并随着主干模型规模、SID 深度以及候选预算的增加而增长。我们提出了 Deco(基于概念的解码),将读取历史记录与写出标识符这两个过程分离开来。主干模型将每个历史物品读取为一个融合标记,并仅将历史记录压缩一次为紧凑的下一物品概念;一个基于概念和已生成前缀条件的轻量化 KV 缓存解码器负责运行完整的集束搜索,而标识符、前缀树和自回归分解保持不变。该解码器仅凭交叉熵损失即可接近全主干模型的准确率,而知识蒸馏进一步提升了效果。在涵盖电子商务、电影和音乐流媒体的七个数据集上,Deco 取得了与标准生成式推荐模型以及具有融合输入的完整主干教师模型相当或更好的准确率,同时在生产级服务流程的 50 毫秒 p95 延迟预算下,吞吐量是它们的 3.2 至 8.6 倍。将集束搜索交由轻量解码器使更大的候选池和模型规模变得切实可行:Deco 生成 1000 个候选物品的速度快于其教师模型生成 100 个物品的速度;在配备 15 亿参数的 LLM 主干时,Deco 在达到更高准确率的同时,吞吐量匹敌 6900 万参数的教师模型。

关键术语

论文原文

作者指出在标准自回归生成式推荐中,集束搜索解码占据了绝大部分生成时间。

In our measurements at beam width 100, beam search takes up to 91% of generation time, even with a beam-shared history cache (§ 4.2.2 ). This cost grows with the SID depth, the candidate budget and the backbone size, so input compression alone does not remove this decoding bottleneck.

译文:在我们集束宽度为 100 的测试中,即使使用了集束共享的历史缓存,集束搜索依然占用了高达 91% 的生成时间。这一开销随 SID 深度、候选预算以及主干规模而增加,因此单靠输入压缩无法消除这一解码瓶颈。

Deco 通过一次主干前向传播计算概念向量,将集束搜索委派给轻量解码器。

Deco computes a compact concept in one backbone pass and delegates beam search to a light decoder conditioned on and the generated prefix.

译文:Deco 在一次主干前向传播中计算出紧凑的概念表示,并将集束搜索委托给以该概念和已生成前缀为条件的轻量解码器。

知识蒸馏提升了解码器的稳定性与训练效果。

With cross-entropy alone, the decoder overfits on Sports (validation N@10 peaks at 0.023 after 1.2k steps, then declines) and plateaus early at 0.094 on MovieLens. With distillation, training is stable and reaches a higher level, 0.027 on Sports and 0.101–0.103 on MovieLens.

译文:仅使用交叉熵时,解码器在 Sports 上出现过拟合(验证集 N@10 在 1.2k 步达到峰值 0.023 后下降),并在 MovieLens 上较早停滞于 0.094;引入蒸馏后,训练趋于稳定并达到更高水平,在 Sports 上达到 0.027,在 MovieLens 上达到 0.101 至 0.103。

论文里的图

展示 Deco 如何通过压缩历史输入并将集束搜索转移出庞大主干模型的系统架构对比。

Figure 1 . Compressing the input sequence and delegating beam search to a light decoder. For a history of T T items with

图来自论文 arXiv:2610.32980,版权归作者。原图说明:Figure 1 . Compressing the input sequence and delegating beam search to a light decoder. For a history of T T items with K K SID codes each, FlatGR (a) reads T ​ K TK history tokens, while FusedGR (b) and Deco (c) read T T fused tokens. With beam width B B , FlatGR and FusedGR process O ⁡ ( B ​ K ) O(BK) decode tokens through the heavy backbone. Deco computes a compact concept z z in one backbone pass and delegates beam search to a light decoder conditioned on z z and the generated prefix.

展示随着主干参数规模扩大到 30 亿,Deco 相比 FusedGR 保持显著吞吐优势并扩大加速比的扩展曲线。

Figure 5 . Scaling the backbone on BPC-23: S, M and L are trained from scratch; Qwen2.5 0.5B, 1.5B and 3B are fine-tuned

图来自论文 arXiv:2610.32980,版权归作者。原图说明:Figure 5 . Scaling the backbone on BPC-23: S, M and L are trained from scratch; Qwen2.5 0.5B, 1.5B and 3B are fine-tuned with LoRA, which is merged into the weights for timing. Labels give the speedup over FusedGR.

作者自己说的含义

可以怎么做

  1. 在生成式召回系统中采用解耦设计,由重型主干网络生成单次概念表征,并将前缀树集束搜索交由轻量解码器处理。 依据:在 50 毫秒 p95 延迟限制下,Deco 在多个数据集上取得 FusedGR 基线 3.2 至 7.3 倍的吞吐量。
  2. 利用全尺寸主干教师模型对轻量概念解码器进行知识蒸馏,避免单纯依靠交叉熵训练导致的过拟合。 依据:相比单独交叉熵,引入知识蒸馏使 Sports 数据集上的验证集 NDCG@10 由 0.023 提升至 0.027,MovieLens 由 0.094 提升至 0.103。
  3. 在音乐等存在频繁重复消费特征的业务场景中,为生成模型集成针对历史交互的显式指针机制。 依据:在 Yambda 数据集上引入复制指针后,Deco 的 NDCG@10 指标从 0.079 跃升至 0.171,且在重复物品上的 Recall@100 达到约 0.90。

注意。 本研究基于离线公开数据集和模拟的生产推理环境进行评测,未包含线上真实流量测试结果;在具有高频复访特征的数据集上,Deco 必须依赖显式指针机制才能取得与平面编码模型相当的复访效果。

一句话

该论文表明生成式推荐的主要计算瓶颈在于通过庞大的主干网络进行多步集束搜索。Deco 通过将历史记录压缩为单个概念向量并将搜索交由小尺寸解码器,在维持召回质量的同时实现了高达 8.6 倍的吞吐量提升。这种架构解耦使得百亿候选集与十亿参数大语言模型在严格的延迟预算下投入检索生产成为可能。

去 arXiv 读论文 →

这篇解读根据论文原文写成。引用的段落是原话,数字都是作者自己报告的。方法和完整结果请读论文。