Feature centric based deep learning approach for music mood recognition with HuBERT transformer model
Author:
Open Access
- 27 November 2025
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 15 (1)
Abstract
In this study, music mood classification is explored using advanced deep learning and transformer-based models to accurately predict the emotional content of music. Music plays a crucial role in human life, influencing emotions, behaviors, and mental states. Accurately classifying the mood of music is essential for applications such as music recommendation systems, emotional intelligence in AI, and mental health monitoring. With the growing impact of Artificial Intelligence (AI) in emotion recognition, sentiment analysis has become a vital research area, contributing to fields like social media monitoring, customer experience analysis, and personalized content delivery. We employ a state-of-the-art transformer-based model (HuBERT) in comparison with deep learning models (ConvFormer, LSTM) and pre-trained models (YAMNet) to evaluate their effectiveness in music mood classification. The study is conducted on a publicly available dataset containing five mood labels such as Aggressive, Happy, Dramatic, Sad, and Romantic with 500 audio files per category. To analyze and extract meaningful patterns from the dataset, advanced different five audio features such as Short-Time Fourier Transform (STFT), and Mel-Frequency Cepstral Coefficients (MFCC) are utilized. To ensure robust model evaluation, an 80–20 holdout split is applied. Our experimental results indicate that HuBERT achieves the highest classification accuracy of 95%, outperforming both traditional deep learning models and pre-trained architecture. This study provides a comprehensive evaluation of machine learning approaches for music mood classification, demonstrating the potential of transformer-based models in enhancing AI-driven sentiment analysis. The findings contribute to the development of intelligent music recommendation systems, emotional AI applications, and advancements in affective computing.Keywords
This publication has 55 references indexed in Scilit:
- An Adaptive Solid‐State Synapse with Bi‐Directional Relaxation for Multimodal Recognition and Spatio‐Temporal LearningAdvanced Materials, 2025
- Meta-learning in Audio and Speech Processing: An End to End Comprehensive Review2025
- Emotion processing difficulties in ADHD: a Bayesian meta-analysis studyEuropean Child & Adolescent Psychiatry, 2025
- Exploring the role of sentiment analysis with network and temporal features for finding influential users in social media platformsSocial Network Analysis and Mining, 2024
- Learning to compose diversified prompts for image emotion classificationComputational Visual Media, 2024
- Comparative analysis of audio classification with MFCC and STFT features using machine learning techniquesDiscover Internet of Things, 2024
- Deep learning’s shallow gains: a comparative evaluation of algorithms for automatic music generationMachine Learning, 2023
- A new approach to recognition of human emotions using brain signals and music stimuliApplied Acoustics, 2021
- Deep learning-based late fusion of multimodal information for emotion classification of music videoMultimedia Tools and Applications, 2020
- Multimodal Music Mood Classification by Fusion of Audio and Lyrics2015