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

将思考与拼写分离以实现高效的生成式推荐

Separating Thinking from Spelling for Efficient Generative Recommendation

Danil Gusak, Anna Volodkevich, Ivan Oseledets, Evgeny Frolov

AI总结:

本研究提出Deco模型,将生成式推荐的历史读取与标识符编写分离,在保持准确率的同时大幅提升吞吐量,可支持更大候选池与模型规模。

摘要:

生成式推荐系统通过在trie约束的束搜索下逐代码编写其语义ID(SID)来检索物品,该方法现已部署在大型网络平台上。标准自回归接口会为SID长度K付出双重代价:包含T个物品的历史序列作为TK个代码令牌进入骨干网络,且每次束搜索步骤都需运行骨干网络,因此返回B个候选物品时,每个用户需消耗O(BK)个骨干解码令牌。第二种代价通常占主导,且会随骨干网络规模、SID深度和候选预算的增加而增长。我们提出Deco(从概念解码),它将读取历史序列与编写标识符分离:骨干网络将每个历史物品读取为一个融合令牌,并将历史序列一次性压缩为紧凑的下一个物品概念;一个轻量级KV缓存解码器在该概念和已生成前缀的条件下运行整个束搜索,而标识符、trie结构和自回归分解保持不变。该解码器仅通过交叉熵即可达到接近全骨干网络的准确率,蒸馏技术可进一步提升其性能。在来自电子商务、电影和音乐流媒体的七个数据集上,Deco的准确率与标准生成式推荐系统及采用融合输入的全骨干教师模型相当或更优,同时在生产式服务流水线中,其在50毫秒p95延迟预算下的吞吐量是上述两者的3.2至8.6倍。委托束搜索使更大的候选池和模型成为可能:Deco生成1000个候选的速度快于其教师模型生成100个,且在使用15亿参数的LLM骨干网络时,它的吞吐量与69M参数的教师模型相当,同时准确率更高。

英文摘要:

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.

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

↑