arXiv:2607.23718cs.IR2026-07

用大模型打造可纠错的音乐推荐系统,提升播放留存与时长

Melo: A Production LLM-Powered Music Recommendation Agent

论文配图:Melo: A Production LLM-Powered Music Recommendation Agent
图 1 · 摘自论文原文
  • 基于状态机和提示驱动,动态调度多工具协同决策
  • 上线测试中播放留存提升2个百分点,用户互动时长增加1分钟以上
  • 通过实体校验与反思重试机制,有效应对错误传播和长尾内容衰减

我们介绍 Melo,一个部署在网易云音乐上的大语言模型驱动的音乐推荐代理。Melo 采用确定性的五节点异构工具状态图结构,通过提示和状态机驱动的编排策略,而非微调控制器。在工业级规模下,系统瓶颈不在于模型智能程度,而在于如何检测并恢复模型犯的错误。两个生产环境中的失败模式推动了设计:实体幻觉(代理基于非实时数据做出错误推断)和长尾衰退(过度约束请求退化为通用热门推荐)。为此提出两种互补机制:推理时实体校验利用生产搜索索引作为验证原语,在实体决策传播前进行拦截;反思重试则从中断的工具链中提取失败原因,并反馈至下一规划步骤,使系统能主动放松或修正约束,而非盲目回退。一个月在线A/B测试显示,在网易云音乐多个歌单场景下,主歌单留存率提升超2个百分点,核心歌单参与时长增加超1分钟。离线消融实验表明,三层次校验栈使实体误识别率降低7.8个百分点;评估集触发会话分析显示,反思重试在5.8%的会话中被触发,实现59%的进程级恢复。部署经验表明,大规模大模型音乐推荐的进步,既依赖于能捕获并纠正模型错误的可命名、可消融的运行时机制,也依赖于模型本身——这一假设可供社区验证。

原文摘要 · Abstract (English)

We describe Melo, an LLM-powered music recommendation agent deployed on NetEase Cloud Music. Melo is structured as a deterministic five-node state graph over heterogeneous tools, with a prompt- and state-machine-driven orchestration policy rather than a fine-tuned controller. At industrial scale, the bottleneck is not how smart the brain is but how the system detects and recovers from the mistakes that brain makes. Two production failure modes drove the design: entity hallucination, where the agent commits to interpretations unsupported by the live catalog or user-behavior index, and long-tail degradation, where over-constrained requests collapse to generic popular fallbacks. We address them with two complementary mechanisms. Inference-time entity grounding repurposes the production search index as a verification primitive that gates entity decisions before they propagate downstream. Reflective retry verbalizes failure reasons from a broken tool chain and feeds them into the next planning step, so the system can relax or revise constraints rather than fall back blindly. A one-month online A/B test across NetEase Cloud Music's playlist surfaces reports an over 2 pp lift in a primary playlist retention metric and a lift of over one minute in a core playlist engagement metric. Offline ablation isolates a 7.8 pp reduction in entity misidentification from the three-layer grounding stack on our evaluation set, and a triggered-session analysis on our evaluation set shows reflective retry firing on 5.8% of sessions with 59% process-level recovery. Our deployment experience suggests that progress on LLM-powered music recommendation at this scale depends as much on the named, ablatable runtime machinery that catches and corrects the brain's mistakes as on the brain itself: a hypothesis we offer for the community to test.

音乐推荐大模型应用系统优化可靠性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。