Search papers, labs, and topics across Lattice.
Melo is an LLM-powered music recommendation agent deployed on NetEase Cloud Music, designed with a deterministic five-node state graph and a prompt- and state-machine-driven orchestration policy. The system addresses critical production challenges such as entity hallucination and long-tail degradation through inference-time entity grounding and reflective retry mechanisms, which enhance decision accuracy and recovery from errors. A one-month A/B test demonstrated significant improvements, including a 2 percentage point increase in playlist retention and over one minute of additional engagement time, highlighting the importance of runtime machinery in LLM applications.
LLM-powered music recommendations can achieve over 2% higher retention and more than a minute of extra engagement by effectively managing errors in real-time.
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.