Emotional Regularization of the Latent Space of a Variational Autoencoder for Generating Musical Sequences

This article presents a new regularization of the latent space of a variational autoencoder that facilitates the visual selection of specific emotions of generated monophonic musical sequences. This regularization allocates the regions of a two-dimensional space according to the quadrants of an emotion model. The cosine similarity between the vectors in the latent space and the feature vectors of the training examples was used to calculate the loss, which extends the standard loss of the variational autoencoder. By mapping the emotion model to a latent space, this space becomes more interpretable when generating new examples of music. A two-dimensional Russell model was used as the emotion model, with its four quadrants corresponding to basic emotions, such as happy, angry, sad, and relaxed. Variational autoencoder models employing recurrent neural networks were constructed and trained on a dataset of monophonic music sequences labeled with emotions. The obtained latent space and generated music files with different emotions were evaluated.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3626217
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Emotional Regularization of the Latent Space of a Variational Autoencoder for Generating Musical Sequences

Jacek Grekow
IEEE Access
Music and Audio Processing
article

Emotional Regularization of the Latent Space of a Variational Autoencoder for Generating Musical Sequences

Jacek Grekow
article en

Abstract

This article presents a new regularization of the latent space of a variational autoencoder that facilitates the visual selection of specific emotions of generated monophonic musical sequences. This regularization allocates the regions of a two-dimensional space according to the quadrants of an emotion model. The cosine similarity between the vectors in the latent space and the feature vectors of the training examples was used to calculate the loss, which extends the standard loss of the variational autoencoder. By mapping the emotion model to a latent space, this space becomes more interpretable when generating new examples of music. A two-dimensional Russell model was used as the emotion model, with its four quadrants corresponding to basic emotions, such as happy, angry, sad, and relaxed. Variational autoencoder models employing recurrent neural networks were constructed and trained on a dataset of monophonic music sequences labeled with emotions. The obtained latent space and generated music files with different emotions were evaluated.

IEEE AccessVol. 13
Bialystok University of Technology (PL)
Openalex Percentile: Top 60%
Music and Audio Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Emotional Regularization of the Latent Space of a Variational Autoencoder for Generating Musical Sequences — Jacek Grekow · IEEE Access (2025) | TGRS Research Map | TGRS