Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

Large Language Models for Intent-aware Music Recommendation

  • Petra Jósár

Publikation: AbschlussarbeitenMaster-/Diplomarbeit

Abstract

Intent-aware music recommender systems are relatively new and advanced approaches in personalized music recommendation. By the integration of the user’s current intent - their main aim for the consumption of the content - these recommender systems can provide more meaningful suggestions that improve user satisfaction. At the same time, Large Language Models (LLMs) appear in many applications nowadays, so it is no surprise that they can have a significant potential and can unlock new opportunities for recommender systems too. Thus, combining these two fields - namely LLMs and intent-aware music recommendation – offers opportunities to improve personalized music recommendations. This thesis investigates the potential of LLMs for intent-aware music recommendation by studying how listening intents can be included in LLM prompts to improve the relevance and intent-alignment of recommendations. 2 main research questions guide this work: (i) How does the inclusion of listening intent and user preferences in LLM prompts affect the relevance and intent-alignment of music recommendations? and (ii) What is the impact of different track–intent assignment strategies on recommendation quality of intent-aware music recommenders using LLMs? To address these questions, an LLM-based intent-aware music recommender framework is developed that combines the 2020 subset of the LFM-2b dataset, which includes user–track interactions, with the Spotify Million Playlist Dataset enriched with listening intent annotations for each playlist, based on which 5 distinct track-intent matching approaches are implemented to define listening intents on the track level too. 2 LLMs (Google’s Gemini 1.5 Flash and Mistral 7B Instruct v0.3) are evaluated against a Factorization Machine baseline capable of integrating contextual features such as the listening intent of the user. Recommendations are offline evaluated using fuzzy string matching between recommended songs and ground-truth user history tracks in 3 ways: (i) content relevance, where the recommended track has to match one of the tracks the user previously listened to, regardless of the listening intent, (ii) intent-aware relevance, where the listening intent also needs to match, and (iii) intent calibration, which measures distributional alignment between listening intents in the user’s history data and in the recommended songs. Standard accuracy-based and beyond-accuracy metrics such as precision, recall, F1 score, NDCG, MRR, coverage, artist diversity, and hit rate at 10 are also utilized to assess the recommended songs. The results show that including listening intents into LLM prompts improves recommendation quality and intent alignment relative to intent-agnostic prompting strategies, while the Factorization Machine model still provides a competitive baseline. However, several limitations emerge due to the restricted offline evaluation setting, the reliance on fuzzy string matching, and due to the vulnerability of track-intent matching approaches to the robustness of playlist-intent mappings. Additionally, the LLM-based intent-aware music recommender framework faces some scalability challenges, as the need to query an LLM for every user–intent pair introduces computational bottlenecks that can limit feasibility for large-scale deployment.Overall, this thesis provides insights into the integration of LLMs to the field of intentaware music recommendation, and highlights both their potential and their current limitations for large-scale, real-world deployment.
OriginalspracheEnglisch
Betreuung / Begutachtung
  • Schedl, Markus, Betreuer*in
PublikationsstatusVeröffentlicht - 2025

Wissenschaftszweige

  • 102001 Artificial Intelligence
  • 102003 Bildverarbeitung
  • 202002 Audiovisuelle Medien
  • 102015 Informationssysteme
  • 102 Informatik
  • 101019 Stochastik
  • 103029 Statistische Physik
  • 101018 Statistik
  • 101017 Spieltheorie
  • 202017 Embedded Systems
  • 101016 Optimierung
  • 101015 Operations Research
  • 101014 Numerische Mathematik
  • 101029 Mathematische Statistik
  • 101028 Mathematische Modellierung
  • 101026 Zeitreihenanalyse
  • 101024 Wahrscheinlichkeitstheorie
  • 102032 Computational Intelligence
  • 102004 Bioinformatik
  • 102013 Human-Computer Interaction
  • 101027 Dynamische Systeme
  • 305907 Medizinische Statistik
  • 101004 Biomathematik
  • 305905 Medizinische Informatik
  • 101031 Approximationstheorie
  • 102033 Data Mining
  • 305901 Computerunterstützte Diagnose und Therapie
  • 102019 Machine Learning
  • 106007 Biostatistik
  • 102018 Künstliche Neuronale Netze
  • 106005 Bioinformatik
  • 202037 Signalverarbeitung
  • 202036 Sensorik
  • 202035 Robotik

JKU-Schwerpunkte

  • Digital Transformation

Dieses zitieren