Introduction
In the field of Music Information Retrieval (MIR), audio features are traditionally categorized into spectral features, which describe timbre and tone over short durations, and temporal features, which capture rhythm and long-term dynamics. While Deep Neural Networks (DNNs) have successfully automated the extraction of spectral features, temporal features have largely remained hand-crafted. This paper proposes a framework for Temporal Feature Learning (TFL) using DNNs to bridge this gap, demonstrating that learned temporal representations significantly enhance music genre classification.
Methodology: Spectral vs. Temporal Feature Learning
The core contribution of this work is a novel pipeline for learning temporal features that complements standard spectral feature learning.
Spectral Feature Learning (SFL)
In the standard SFL approach, a DNN processes a spectrogram (frequency × frame). Features are learned for each time frame and subsequently aggregated over time to produce a fixed-length feature vector.
Temporal Feature Learning (TFL)
The proposed TFL pipeline uses the Normalized Cepstral Modulation Spectrum (NCMS) as input. The NCMS is derived by applying a second Fourier Transform over the time axis of a cepstrogram, effectively capturing how timbral components modulate over several seconds. Unlike SFL, the TFL DNN processes narrow spectral bands (que frency bins), and the resulting features are aggregated over the spectral dimension (que frency).
Feature Fusion
The system parallelizes these two pipelines. The learned spectral and temporal feature vectors are concatenated and fed into a Random Forest classifier for final genre prediction. This hybrid approach ensures the model captures both the "sound" and the "rhythm" of the music.
Experimental Evaluation
The researchers evaluated their framework using the GTZAN dataset, which contains 1,000 audio clips across 10 genres. To ensure robust results, two partitioning strategies were employed:
- Random Partitioning: A standard split for benchmarking.
- Fault-Filtered Partitioning: A rigorous split ensuring that songs from the same artist do not appear in both training and testing sets, thereby preventing "artist leakage."
Key Results and Discussion
The experiments revealed that spectral and temporal features provide highly complementary information. In random partitioning, the combined model achieved an accuracy of 85.0%, outperforming standalone spectral (78.2%) and temporal (72.6%) models.
A critical finding emerged from the fault-filtered experiments. While spectral feature performance dropped significantly (to 48.3%) when artist leakage was prevented, temporal features proved much more resilient (65.9%). This suggests that spectral features tend to overfit to specific artist production styles, whereas temporal features capture the underlying rhythmic structure characteristic of a genre, which remains consistent across different artists.
Conclusion
This study demonstrates that DNNs can effectively learn temporal music features from low-level representations like the NCMS. These learned features are not only complementary to spectral features but also exhibit greater robustness against artist-specific biases. Future work will explore more sophisticated aggregation methods and the development of fully end-to-end architectures that learn both feature types simultaneously.
Summary updated