Read Between the Tracks: Exploring LLM-driven Intent-based Music Recommendations
Abstract
This paper evaluates the effectiveness of large language models (LLMs) on the task of contextaware music recommendation, specifically focusing on the alignment of music tracks with a listening intent, in addition to user preferences.We present a preliminary investigation in which five LLMs (variants of LLama, Qwen, and Mistral) are tasked with ranking a candidate set of tracks containing both ground-truth items (associated with specific user-intent pairs) and distractor items (containing user-relevant, intentrelevant, or non-user and non-intent relevant items).Our results show that LLMs rank intentuser-relevant items higher than the distractors, with Llama-3.1-8B-Instructhaving the best performance (NDCG of 0.32 0.20 vs. 0.20 0.15 ).We further investigate whether performance differs when mentioning the listening intent explicitly in the prompt vs. implicitly given solely music preferences.Surprisingly, the LLMs achieved the best performance through an implicit indication of intent, versus explicitly adding it to the prompt, with Mistral-7B-Instruct-v0.3 performing the best (NDCG of 0.37 0.22 vs. 0.29 0.18 ).
Fields of Study & Subjects
Music and Audio Processing
Recommender Systems and Techniques
Authorship Attribution and Profiling
Publication details
- Journal / source
- Proceedings of the 4th Workshop on NLP for Music and Audio (NLP4MusA 2026)
- Publisher
- Association for Computational Linguistics
- Pages
- 44–50
- Publication date
- 1 January 2026