TL;DR
This paper introduces a new benchmark for detecting music entities (like song titles and artists) in user-generated content using large language models (LLMs) with in-context learning (ICL). They found that LLMs with ICL outperform smaller models and are significantly impacted by the amount of music entity exposure during their pre-training.
What Problem Does This Paper Address?
Identifying music entities in text, such as song titles and artist names, is crucial for applications like music search and analyzing music consumption. User-generated content (UGC) presents a unique challenge due to misspellings, abbreviations, and the inherent ambiguity of music entities (e.g., "Queen" as a band vs. a monarch). While smaller language models (SLMs) like BERT have shown promise, their performance is heavily influenced by pre-training data. The advent of LLMs offers potential, but concerns about their reliability, particularly "hallucinations," remain. This paper aims to benchmark LLMs for music entity detection in UGC and investigate their robustness, especially concerning entity exposure during pre-training and handling of noisy inputs.
Methods
The researchers developed a novel dataset of YouTube video titles containing music entities, which they combined with an existing Reddit dataset (MusicRecoNER) to create a comprehensive benchmark. They then conducted a benchmark study comparing four LLMs (FireFunction-v2, GPT-4o-mini, Llama3.1-70B, Mixtral-8x22B) against fine-tuned SLMs (BERT, RoBERTa) using in-context learning (ICL). For the LLMs, they employed a tf-idf-based few-shot prompting strategy.
To assess robustness, they created synthesized datasets by generating "cloze" tasks (masked sentences) from their data. These datasets were designed to isolate context and control for entity exposure. They also introduced perturbations (character/word-level changes, abbreviations) to simulate noisy UGC and tested the LLMs' ability to handle these variations. A factual memorization test (FMT) was also used to evaluate how well LLMs recall information about music entities from their training data.
Datasets
- MusicUGC-NER (D-YT): A newly created dataset of annotated YouTube video titles containing music entities (WoA - Work of Art, Artist). This dataset was built upon the SHS100K dataset and further annotated by human annotators.
- MusicRecoNER: An existing dataset of Reddit posts used for conversational music recommendations.
- D-RD+YT: A combined dataset of D-YT and MusicRecoNER.
- Synthesized Datasets: Created for robustness testing, including "Post-Cutoff" (using entities released after LLM knowledge cutoffs), and datasets derived from FMT outcomes (FMT Passed, FMT Failed).
Key Insights and Ideas
- LLMs Shine with ICL: LLMs, when used with in-context learning, demonstrate superior performance in music entity detection compared to fine-tuned SLMs.
- Pre-training Exposure is Key: The amount of music entity exposure during an LLM's pre-training significantly impacts its performance on this task. This suggests that LLMs' advantage might stem more from memorization than true understanding.
- UGC is Tough: User-generated content, with its inherent noise (typos, abbreviations), poses a significant challenge for entity detection, even for powerful LLMs.
- Context Matters, But Exposure More: While context plays a role, the study suggests that the LLM's prior exposure to music entities during pre-training has a stronger influence on its performance than the specific context provided in the prompt.
- Reddit Contexts are More Helpful: For unseen entities, contexts from Reddit posts were found to be more beneficial for LLM performance than those from YouTube video titles, likely due to richer contextual cues.
Key Results
- Benchmark Performance: GPT-4o-mini achieved the highest performance, even competing in zero-shot settings and reaching peak performance with 35 few-shot examples.
- FMT Impact: A significant drop in WoA recognition recall was observed for LLMs when comparing performance on entities with passed FMT versus failed FMT, highlighting the impact of factual knowledge.
- Robustness to Perturbations: Increasing levels of perturbation (character/word changes) generally led to an increase in errors, though the effect was less pronounced than the impact of entity exposure (FMT outcomes).
- Dataset Statistics: WoA utterances were found to be generally longer than Artist utterances.
Limitations and Future Work
- Dataset Bias: The current dataset primarily focuses on Western popular music and may not fully represent artists from other regions or guarantee gender diversity.
- LLM Selection: The study used open-source LLMs and one closed-source model (GPT-4o-mini). Larger models or different configurations might yield different results.
- Quantization and Defaults: LLMs were used with default parameters and quantization, and different configurations were not tested.
- Scalability: The study did not specifically address the scalability of LLMs compared to SLMs, which might be a more attractive alternative in some resource-constrained scenarios.
Future work suggested includes incorporating music gazetteers and exploring retrieval-augmented generation methods to further enhance LLM performance in music entity extraction.
Summary updated