Attention‑Enhanced Convolutional Neural Network for Music Genre Classification
Authors:
- M PushparajanMPM Pushparajan
- Kt SreekumarKSKt Sreekumar
- Ki RamachandranKRKi Ramachandran
- C Santhosh KumarCKC Santhosh Kumar
Open Access
- 4 August 2026
- journal article
- Published by Ubiquity Press, Ltd. in Transactions of the International Society for Music Information Retrieval
- Vol. 9 (1) , 423-439
Abstract
The complex interplay of harmonic, rhythmic, and timbral elements within musical signals poses a challenge for accurate music genre classification. Conventional approaches have limitations in effectively capturing both localized features and long‑range contextual relationships within the audio data. To overcome this, we introduce an attention‑enhanced convolutional neural network (AECNN) architecture that employs convolutional layers to efficiently extract localized features and an attention mechanism to capture long‑range temporal dependencies within the input audio segment. This integrated approach empowers AECNN to comprehensively learn both local features and segment‑level contextual relationships, resulting in enhanced accuracy and robustness in classifying diverse music genres. The performance of the proposed model is evaluated on two datasets, the widely used GTZAN dataset and the novel IMG‑Amrita dataset, encompassing 12 distinct Indian music genres. Experiments conducted with varying audio sample durations (30, 15, 10, 6, and 3 s) demonstrate the impact of sample length on classification accuracy. Notably, AECNN achieves peak accuracies of 96.02% on the GTZAN dataset and 98.94% on the IMG‑Amrita dataset with 3‑s samples, underscoring its ability to capture intricate musical nuances with limited audio data. These findings highlight the significant potential of the AECNN for robust and versatile performance across a wide range of music classification tasks.Keywords
This publication has 32 references indexed in Scilit:
- An Accidental Benchmark: The History, Contingent Power, and Lasting Traces of the GTZAN DatasetDigital Society, 2025
- Course genres classification of music e-learning platform based on deep learning big data intelligent processing algorithmEntertainment Computing, 2024
- Automatic identification of preferred music genres: an exploratory machine learning approach to support personalized music therapyMultimedia Tools and Applications, 2024
- Transfer learning approach for pediatric pneumonia diagnosis using channel attention deep CNN architecturesEngineering Applications of Artificial Intelligence, 2023
- An intelligent music genre analysis using feature extraction and classification using deep learning techniquesComputers and Electrical Engineering, 2022
- An evaluation of deep neural network models for music classification using spectrogramsMultimedia Tools and Applications, 2021
- Bottom-up broadcast neural network for music genre classificationMultimedia Tools and Applications, 2020
- Machine learning for music genre: multifaceted review and experimentation with audiosetJournal of Intelligent Information Systems, 2019
- Human stress classification using EEG signals in response to music tracksComputers in Biology and Medicine, 2019
- Combining visual and acoustic features for music genre classificationExpert Systems with Applications, 2016