Abstract
Researchers from KAIST have developed a framework to enhance user understanding in music discovery dialogues by predicting both functional user intents (e.g., "add a filter") and specific musical attributes (e.g., "mood" or "genre"). Their findings demonstrate that a smaller, domain-specifically fine-tuned model (DistilBERT) significantly outperforms massive general-purpose Large Language Models (LLMs) like Llama 3 in this specialized task. The study also explores the optimal amount of conversation history needed for accurate classification, finding that excessive context can often degrade performance.
Introduction
While intent classification (IC) is a standard component of modern NLP systems, its application within the music domain remains relatively under-explored. Most existing music recommendation systems are limited to recognizing basic commands such as PlayMusic or AddToPlaylist. However, genuine music discovery is a nuanced, multi-turn process. For instance, a user might start with a broad request and then refine it based on the system's subsequent suggestions.
To effectively navigate these conversations, a system must simultaneously understand:
- Functional Intent: Is the user initiating a search, refining a previous query, or accepting/rejecting a suggestion?
- Musical Attributes: What specific dimensions (genre, mood, era, tempo, etc.) are being referenced?
Methodology
The researchers evaluated several architectural approaches to determine the most effective method for parsing music-related queries:
- Sparse Representations: Traditional Bag-of-Words (BoW) and TF-IDF models.
- Word Embeddings: Word2Vec (skip-gram) pre-trained on Google News.
- Encoder-based Transformer: DistilBERT, evaluated in both "Probing" mode (frozen weights, trained classification head) and "Fine-tuning" mode (all parameters updated).
- Large Language Models (LLMs): Llama 3.1 (8B) and Llama 3.2 (1B, 3B) using zero-shot and 5-shot prompting.
A significant technical focus was the exploration of context concatenation, testing how model performance fluctuates when provided with the current query plus the previous $N$ turns of dialogue history.
Dataset
The study utilized the Conversational Playlist Curation Dataset (CPCD), which consists of 888 dialogues annotated by three experts. The taxonomy includes 8 user intents (e.g., initial_query, add_filter) and 15 musical attributes (e.g., genre, mood, tempo). Given that a single utterance often contains multiple labels, the task was framed as multi-label classification.
Results and Discussion
The experimental results highlighted several key findings regarding model performance and the role of context.
Specialized Models vs. General LLMs
The fine-tuned DistilBERT model consistently outperformed Llama 3 across the board. For user intent classification, DistilBERT achieved a Macro F1 score of 0.89, while Llama 3.1 8B’s best 5-shot score was 0.61. The gap was even more pronounced in musical attribute classification, where DistilBERT reached an F1 of 0.72 compared to Llama 3.1 8B’s 0.20. This suggests that for niche domains, specialized fine-tuning is more effective than the broad "world knowledge" of massive LLMs.
The Impact of Conversation Context
The study revealed a "context sweet spot" that differs between intents and attributes. For user intents, adding the immediately preceding query (0.5 turns) improved performance, but further history led to a decline. For musical attributes, adding any context generally hurt performance, as it introduced noise and led to hallucinations of attributes mentioned in earlier, no longer relevant turns.
Conclusion and Future Work
While DistilBERT proved highly effective and efficient—being 60% faster than standard BERT—the study noted challenges with data imbalance. Models struggled with infrequent labels like vocal or instrument compared to common ones like artist. Future research may involve using larger encoders like RoBERTa or employing LLMs for data augmentation to address class imbalances. Additionally, exploring datasets with more deeply interconnected dialogues could further clarify the long-term benefits of conversational context.
Summary updated