Introduction
Music streaming platforms face a significant challenge in generating representative song previews at scale. While human experts can identify the "hook" or highlight of a track, manual selection is unfeasible for millions of songs. Automated methods often rely on low-level signal features like loudness, which frequently fail to capture the high-level thematic elements—the "soul"—of a track. This paper introduces the Convolutional Recurrent Attention Network (CRAN), a model designed to extract highlights by learning genre-specific acoustic features.
The CRAN Architecture
The CRAN model utilizes a three-stage architecture to process audio data and identify significant segments.
- Feature Extraction (1D-CNN): The model processes mel-spectrograms using 1D-convolutional layers to capture local acoustic patterns efficiently. Using 1D-CNNs instead of 2D-CNNs helps reduce training time without sacrificing accuracy.
- Sequential Learning (Bi-LSTM): A bidirectional Long Short-Term Memory layer models the temporal dependencies and long-term flow of the music, preventing the model from simply memorizing noise.
- Attention Mechanism: The core component is an attention layer that learns to weight specific time slots based on their importance for genre classification.
Methodology: Genre as a Proxy
A key innovation of CRAN is its "unsupervised" approach to highlight extraction. Rather than training on a labeled dataset of highlights, the model is trained to classify songs into ten genres (e.g., K-pop, Rock, Jazz). The hypothesis is that the sections most characteristic of a genre—such as a chorus in a ballad or a specific drop in electronic music—are the most likely candidates for highlights. Final highlight extraction combines these learned attention scores with the raw energy of the audio signal.
Experimental Results
The model was evaluated using 32,083 tracks from NAVER Music, with 300 tracks manually labeled by experts to serve as a ground truth.
CRAN significantly outperformed standard baselines, including the "first 1 minute" (F1M) approach and simple energy-based methods. Quantitatively, CRAN achieved a 21.63s overlap with human-selected highlights and a recall score of 0.860. Qualitatively, human experts rated the CRAN-extracted highlights at 4.268 on a 5-point Likert scale, indicating high satisfaction.
The attention patterns revealed genre-specific behaviors. While genres like Ballad and Rock showed concentrated "hook" patterns, Hiphop and Classical music exhibited more distributed attention signatures, reflecting their unique structural characteristics. The researchers noted that all models struggled somewhat with Hiphop and Indie genres due to their less standard melodic structures.
Conclusion
The CRAN model demonstrates that high-level genre information serves as an effective proxy for identifying musical highlights. By integrating convolutional, recurrent, and attention-based layers, the system captures both local features and long-term dependencies. While the model faces challenges with non-linear structures in Hiphop and Indie music, its superior performance over traditional methods makes it a robust solution for automated music summarization in large-scale streaming services.
Summary updated