Classification of Coming‑of‑Age Song Lyrics Using Convolutional Neural Network (CNN) Architecture

Authors

  • Arjon Samuel Sitio Tjut Nyak Dhien University
  • Fricles Ariwisanto Sianturi Tjut Nyak Dhien University
  • Anita Sindar STMIK Pelita Nusantara

DOI:

https://doi.org/10.30865/ijics.v10i2.9775

Keywords:

Song Lyrics, Text Semantics, NLP, TextBlob, CNN Architecture

Abstract

The coming-of-age theme in song lyrics is rich in emotional expressions, identity transitions, and nostalgia. This study implements a 1-Dimensional (1D) Convolutional Neural Network (CNN) architecture to automatically classify coming-of-age-themed song lyrics. Raw lyrics data were collected through a custom scraping function get_song_lyrics, which then went through a structured text preprocessing stage to remove stopwords and non-semantic components. The cleaned words were represented into a vector space using a pre-trained 50-dimensional GloVe embedding (GloVe 50d) of size (max_length, 50) to capture semantic relationships between words. A 1D CNN model was applied to extract local features in the form of phrase combinations (n-grams) through filter shifting, followed by a Global Max Pooling layer to filter out the most dominant emotional information before the final classification process. As a comparison method and additional analysis, a rule-based approach using TextBlob was applied to extract polarity and subjectivity scores, while the Word Cloud technique was used to visualize the dominance of transitional lexical terms such as grow, leave, and remember. The gap between training and validation performance suggests that the model learned dataset-specific patterns rather than generalized semantic representations. Similar overfitting behavior has been reported in CNN-based lyric and sentiment classification studies when training data are limited or insufficiently diverse. The results showed that the integration of GloVe 50d semantic representation and local feature extraction by 1D CNN was able to produce high and stable accuracy in recognizing the unique characteristics of song lyrics with a maturity theme.

References

[1] G. W. Manueke, L. Lumando, and E. G. Y. Manueke, ‘Sentiment Analysis of Popular Song Lyrics Using Natural Language Processing Techniques’, vol. 4, no. 1, pp. 35–42, 2023.

[2] M. Li, “Design and implementation of piano audio automatic music transcription algorithm based on convolutional neural network,” vol. 7, 2025.

[3] L. Abdiansah, A. Eviyanti, and N. L. Azizah, ‘Implementation of Convolutional Neural Networks Algorithm for Javanese Handwriting Recognition' vol. 5, no. April, pp. 496–504, 2025.

[4] M. Nofer, V. Nimani, and O. Hinz, ‘DeepHits : A Multimodal CNN Approach to Hit Song Prediction’, 2026.

[5] O. Aytug, ‘Bidirectional convolutional recurrent neural network architecture with group-wise enhancement mechanism for text sentiment classification’, vol. 34, pp. 2098–2117, 2022, doi: 10.1016/j.jksuci.2022.02.025.

[6] C. N. Tulu, ‘Experimental Comparison of Pre-Trained Word Embedding Vectors of Word2Vec , Glove , FastText for Word Level Semantic Text Similarity Measurement in Turkish’, vol. 16, no. 4, pp. 147–156, 2022.

[7] A. Tsaptsinos, “Lyrics-based music genre classification using a hierarchical attention network,” pp. 694–701.

[8] M. Li, “Design and implementation of piano audio automatic music transcription algorithm based on convolutional neural network,” vol. 7, 2025.

[9] R., Fatichin, M. R., Hermawan, A. R., Anggiat, R., Siahaan, S., & Indraswari, R. (2024). Dilated-Convolutional Recurrent Neural Network for Music Genre Classification Dilated-Convolutional Recurrent Neural Network for Music Genre Classification. 10, 439–448.

[10] A. S. Sinaga, D. E. Sijabat, B. Saputri, and N. Aulia, ‘Comparison of Modern NLP with Classical Machine Learning Algorithms in Evaluating Food Security Programs’, vol. 6, no. 4, pp. 360–369, 2025.

Downloads

Published

2026-07-29

How to Cite

Sitio, A. S., Sianturi , F. A., & Sindar, A. (2026). Classification of Coming‑of‑Age Song Lyrics Using Convolutional Neural Network (CNN) Architecture . The IJICS (International Journal of Informatics and Computer Science), 10(2), 115–124. https://doi.org/10.30865/ijics.v10i2.9775

Issue

Section

Articles