DuoLM:基于语言模型的高效个性化推荐

·

研究论文 · 2026/10/26

DuoLM 是一个快速有效的个性化推荐框架,它将紧凑的推荐模型与高效的 serving 运行时相结合。编码器 LLM 学习可离线复用的紧凑物品表示,个性化排序器 LLM 将这些表示与用户历史和反馈结合进行推荐。两个模型通过推荐监督和教师蒸馏进行端到端训练。运行时通过虚拟 token ID 进行嵌入访问、共享历史计算和 CUDA Graph 重放来加速推理。基准测试表明,该框架的推荐质量与专家教师模型相当,在单张 H100 上每秒可处理约 26,400 个候选评分,约为使用 vLLM 和自动前缀缓存的教师模型吞吐量的 60 倍。

该论文提出了一种结合语言模型与高效推理的推荐框架,在保持推荐质量的同时大幅提升吞吐量,对工业级推荐系统的部署具有重要参考价值。

Language models can make personalized recommendations from rich item content, user history, and feedback. However, evaluating many candidates with full-text inputs incurs substantial online computation and limits serving throughput. We introduce DuoLM, a framework for fast and effective personalized recommendation that integrates a compact recommendation model with an efficient serving runtime. An encoder LLM learns compact item representations for offline reuse, while a personalized ranker LLM combines them with user history and feedback for recommendation. We train both models end to end with recommendation supervision and teacher distillation. The runtime further accelerates inference through virtual token IDs for embedding access, shared history computation, and CUDA Graph replay. Benchmark results show that our framework achieves recommendation quality comparable to that of the expert teacher model. On a single H100, it delivers approximately 26,400 candidate scores per second, about 60times the throughput of the teacher served with vLLM and automatic prefix caching.

阅读原文

参与讨论