Enhancing Music Features by Knowledge Transfer from User-item Log Data

Donmoon Lee, Jaejun Lee, Jeongsoo Park, Kyogu LeeICASSP 2019

Abstract

In this paper, we propose a novel method that exploits music listening log data for general-purpose music feature extraction. Despite the wealth of information available in the log data of user-item interactions, it has been mostly used for collaborative filtering to find similar items or users and was not fully investigated for content-based music applications. We resolve this problem by extending intra-domain knowledge distillation to cross-domain: i.e., by transferring knowledge obtained from the user-item domain to the music content domain. The proposed system first trains the model that estimates log information from the audio contents; then it uses the model to improve other task-specific models. The experiments on various music classification and regression tasks show that the proposed method successfully improves the performances of the task-specific models.

Introduction

In Music Information Retrieval (MIR), deep learning models are typically constrained by the availability of high-quality labeled data. Labeling music for genre, mood, or style is a subjective and resource-intensive process, resulting in standard benchmarks like GTZAN or FMA being relatively small.

In contrast, music streaming services generate massive volumes of "user-item logs"—implicit feedback data showing which users listen to which songs. While this data is the backbone of recommendation systems via Collaborative Filtering (CF), its potential for enhancing audio-based feature extraction has remained largely untapped. This study explores whether the collective wisdom found in listening patterns can be leveraged to create more robust, general-purpose music features through cross-domain knowledge transfer.

Methodology

The core of the proposed approach is a cross-domain knowledge distillation framework that bridges the gap between user behavior and audio content. The process involves two distinct phases:

  1. Training the Teacher (CF Estimator): The researchers first apply Matrix Factorization (specifically the ALS algorithm) to raw user logs to derive 40-dimensional Collaborative Filtering (CF) embeddings. These embeddings represent songs based on their "neighborhood" of listeners. A deep convolutional neural network is then trained as a "Teacher" to predict these 40-D embeddings directly from Mel spectrograms. This step forces the model to learn audio features that align with human-centric listening contexts.
  2. Transferring to the Student (Task-Specific Models): For specific tasks like genre classification, a "Student" model is trained using both the target labels and the Teacher's predictions. The training utilizes a dual loss function: a standard task loss and a distillation loss (combining MSE and Cosine Proximity). This encourages the student model to develop internal representations that mirror the high-level musical context captured by the Teacher.
Overview of the cross-domain knowledge distillation framework.

The underlying architecture employs "double_conv" blocks and Squeeze-and-Excitation (SE) blocks, which allow the model to adaptively recalibrate channel-wise feature responses, focusing on the most relevant audio components.

Experimental Setup

The Teacher model was trained using the Melon Dataset, which includes 2.5 million songs and 5 million users from a Korean streaming service. To test the generalizability of the learned features, the authors evaluated the system across several MIR benchmarks:

  • Genre Classification: GTZAN, ExtendedBallroom, FMA (small and medium), and EmoMusic-Genre.
  • Emotion Regression: EmoMusic (predicting valence and arousal).
  • Acoustic Scene Classification: DCASE2016, to evaluate performance on non-musical audio.

Results and Discussion

The experimental results confirm that the distillation method (kd) consistently outperforms training from scratch (base). Across 24 classification experiments, the kd approach yielded a statistically significant average improvement of 2.62 percentage points.

Performance comparison of different transfer learning strategies across eight MIR benchmarks.

Several key insights emerged from the analysis:

  • Logs vs. Tags: A pilot study demonstrated that user logs capture cultural and behavioral contexts that traditional descriptive tags often miss. This makes them a unique and valuable source of information for audio models.
  • Stability and Scalability: The distillation approach proved more stable than simple weight initialization (init), maintaining performance gains across various model capacities (number of channels).
  • High-Level Context: For small datasets like EmoMusic, the predicted CF embeddings often provided more robust supervision than the manual labels themselves, highlighting the power of high-level musical representations.
  • Domain Limits: The method's effectiveness was notably lower for the DCASE dataset, suggesting that the features learned from user logs are specifically tuned to musical structures rather than general environmental sounds.

Conclusion

This research demonstrates that user-listening logs—often considered "free" data—can significantly enhance the performance of music AI models. By distilling knowledge from the user-item domain into the audio domain, the proposed framework creates features that better reflect human musical perception. While future work may address cultural biases in specific streaming datasets and the computational overhead of large-scale training, this study establishes a clear path for integrating behavioral data into content-based music analysis.

Summary updated

BibTeX
@inproceedings{lee2019enhancing,
  author = {Donmoon Lee and Jaejun Lee and Jeongsoo Park and Kyogu Lee},
  title = {{Enhancing Music Features by Knowledge Transfer from User-item Log Data}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2019},
  url = {https://openreview.net/forum?id=Cb3nA3dtpy},
}
Figure