Dorien Herremans

aiMuVi

This page summarizes all research output related to the aiMuVi MOE T2 project.

The idea of music generation is as old as computing itself, with Ada Lovelace herself referencing that machines could one day create ``elaborate and scientific pieces of music of any degree of complexity and extent'' (1843). State-of-the-art music generation systems, however, are not yet part of our society, simply because they cannot address some critical challenges like long-term structure (e.g., repeated themes) and controlling emotional content in music. This proposal has directly addressed these challenges, including research questions such as how can we use AI to recognise objects from video; how can we measure perceived emotions from music and video; how can we tie all this together and generate music that matches a video?

Deep learning has recently transformed the field of image classification. In this project, we elicit a similar step-change in the fields of both digital music generation and video processing. More specifically, we have developed cutting-edge intelligent systems that can generate music using deep learning memory structures and hierarchical models; recognise features from video through an AI model; and combine these two systems to form a revolutionary system that can generate music based on user-input conditioning, and emotion to match video.

The main scientific contributions of the project can be summarized as follows:

  • Development of state-of-the-art deep learning models to integrate long-term musical structure in generated music;
  • Modelling perceived emotion/tension from music to allow music generation that matches film/games;
  • Develop a number of datasets with music emotion labels as well as music-video matching;
  • Analysis and modelling of music/video matching for recommendation and generation;
  • Development of AI music generation models that can be conditioned /controlled by the end user;
  • nnAudio: a Python toolkit for on-the-fly trainable spectrogram processing;
  • Advanced the state-of-the art audio transcription models through the use of diffusion and semi-supervised learning.
  • Creation of novel datasets for music/video/emotion prediction/matching

All of the models resulting from this project are made available as open-source projects, so as to better advance the field of audio and music processing.


Website Interactive full stack website architecture to support plug and play AI music generation models. The website allows for interactive plackback and quick drag and drop to traditional DAW systems.

Code available on Github.


Projects

large_507px-Placeholder_male_superhero_c.png
nnAudio
Citation: Cheuk, K. W., Anderson, H., Agres, K., & Herremans, D. (2020). nnaudio: An on-the-fly gpu audio to spectrogram conversion toolbox using 1d convolutional neural networks. IEEE Access, 8, 161981-162003.
Read full article - Github

In this paper, we present nnAudio, a new neural network-based audio processing framework with graphics processing unit (GPU) support that leverages 1D convolutional neural networks to perform time domain to frequency domain conversion. It allows on-the-fly spectrogram extraction due to its fast speed, without the need to store any spectrograms on the disk. Moreover, this approach also allows back-propagation on the waveforms-to-spectrograms transformation layer, and hence, the transformation process can be made trainable, further optimizing the waveform-to-spectrogram transformation for the specific task that the neural network is trained on. All spectrogram implementations scale as Big-O of linear time with respect to the input length. nnAudio, however, leverages the compute unified device architecture (CUDA) of 1D convolutional neural network from PyTorch, its short-time Fourier transform (STFT), Mel spectrogram, and constant-Q transform (CQT) implementations are an order of magnitude faster than other implementations using only the central processing unit (CPU). We tested our framework on three different machines with NVIDIA GPUs, and our framework significantly reduces the spectrogram extraction time from the order of seconds (using a popular python library librosa) to the order of milliseconds, given that the audio recordings are of the same length. When applying nnAudio to variable input audio lengths, an average of 11.5 hours are required to extract 34 spectrogram types with different parameters from the MusicNet dataset using librosa. An average of 2.8 hours is required for nnAudio, which is still four times faster than librosa. Our proposed framework also outperforms existing GPU processing libraries such as Kapre and torchaudio in terms of processing speed.


large_507px-Placeholder_male_superhero_c.png
AttendAffectNet–Emotion Prediction of Movie Viewers Using Multimodal Fusion with Self-Attention

Thao, H. T. P., Balamurali, B. T., Roig, G., & Herremans, D. (2021). AttendAffectNet–Emotion Prediction of Movie Viewers Using Multimodal Fusion with Self-Attention. Sensors, 21(24), 8356.

Read full article - Github

In this paper, we tackle the problem of predicting the affective responses of movie viewers, based on the content of the movies. Current studies on this topic focus on video representation learning and fusion techniques to combine the extracted features for predicting affect. Yet, these typically, while ignoring the correlation between multiple modality inputs, ignore the correlation between temporal inputs (i.e., sequential features). To explore these correlations, a neural network architecture—namely AttendAffectNet (AAN)—uses the self-attention mechanism for predicting the emotions of movie viewers from different input modalities. Particularly, visual, audio, and text features are considered for predicting emotions (and expressed in terms of valence and arousal). We analyze three variants of our proposed AAN: Feature AAN, Temporal AAN, and Mixed AAN. The Feature AAN applies the self-attention mechanism in an innovative way on the features extracted from the different modalities (including video, audio, and movie subtitles) of a whole movie to, thereby, capture the relationships between them. The Temporal AAN takes the time domain of the movies and the sequential dependency of affective responses into account. In the Temporal AAN, self-attention is applied on the concatenated (multimodal) feature vectors representing different subsequent movie segments. In the Mixed AAN, we combine the strong points of the Feature AAN and the Temporal AAN, by applying self-attention first on vectors of features obtained from different modalities in each movie segment and then on the feature representations of all subsequent (temporal) movie segments. We extensively trained and validated our proposed AAN on both the MediaEval 2016 dataset for the Emotional Impact of Movies Task and the extended COGNIMUSE dataset. Our experiments demonstrate that audio features play a more influential role than those extracted from video and movie subtitles when predicting the emotions of movie viewers on these datasets. The models that use all visual, audio, and text features simultaneously as their inputs performed better than those using features extracted from each modality separately. In addition, the Feature AAN outperformed other AAN variants on the above-mentioned datasets, highlighting the importance of taking different features as context to one another when fusing them. The Feature AAN also performed better than the baseline models when predicting the valence dimension.


large_507px-Placeholder_male_superhero_c.png aiSTROM–A Roadmap for Developing a Successful AI Strategy

Herremans, D. (2021). aiSTROM–A roadmap for developing a successful AI strategy. IEEE Access, 9, 155826-155838.

Read full article
A total of 34% of AI research and development projects fail or are abandoned, according to a recent survey by Rackspace Technology of 1,870 companies. In this perspective paper, a new STrategic ROadMap, aiSTROM, is presented that empowers managers to create an AI strategy. A comprehensive approach is provided that guides managers and lead developers through the various challenges in the implementation process. In the aiSTROM framework, the top n potential projects (typically 3-5) are first identified. For each of those, seven areas of focus are thoroughly analysed. These areas include creating a data strategy that takes into account unique cross-departmental machine learning data requirements, security, and legal requirements. aiSTROM then guides managers to think about how to put together an interdisciplinary artificial intelligence (AI) implementation team given the scarcity of AI talent. Once an AI team strategy has been established, it needs to be positioned within the organization, either cross-departmental or as a separate division. Other considerations include AI as a service (AIaas) and outsourcing development. Looking at new technologies, one has to consider challenges such as bias, the legality of black-box models, and keeping humans in the loop. Next, like any project, value-based key performance indicators (KPIs) need to be defined to track and validate the progress. Depending on the company’s risk strategy, a SWOT analysis (strengths, weaknesses, opportunities, and threats) can help further classify the shortlisted projects. Finally, one should make sure that the strategy includes continuous education of employees to enable a culture of adoption. This unique and comprehensive framework offers a practical tool for managers and lead developers.


Other papers resulting from the project:

Thao, H.T.P.; Roig, G.; Herremans, D. EmoMV: Affective music-video correspondence learning datasets for classification and retrieval. Information Fusion 2022. DOI: https://doi.org/10.1016/j.inffus.2022.10.002

Koh E., Cheuk K.W., Heung K.Y., Agres K., Herremans D. MERP: A Dataset of Emotion Ratings for Full-Length Musical Songs with Profile Information of Raters. Under Review by Sensors

Phoebe Ch, Dimos Makris, Dorien Herremans, Gemma Roig, Kat Agres. Predicting emotion from music videos: exploring the relative contribution of visual and auditory information to affective responses. Under Review for Expert Systems with Applications

Preprint: https://arxiv.org/abs/2202.10453

Huang J., Yew Ken Chia, Samson Yu, Kevin Yee, Dennis Küster, Eva G Krumhuber, Dorien Herremans, Gemma Roig. Single Image Video Prediction with Auto-Regressive GANs. Sensors – Special issue: Emotion Recognition Based on Sensors. In Press
Date of submission
(MM/YYYY) 03/2022
Journal Impact Factor
(In year of publication) 3.576
Top 10% Journal by Field
(Yes/No) No

Under review:
Author Names, Title of Article, Journal Name, Publisher, Year/Issue/No., Page No
(Please underline the names of the PI and Co-PIs.) [J5]
Phoebe Ch, Dimos Makris, Dorien Herremans, Gemma Roig, Kat Agres. Predicting emotion from music videos: exploring the relative contribution of visual and auditory information to affective responses. 2nd round review in IEEE Trans on Affective Computing

Preprint: https://arxiv.org/abs/2202.10453

[1]
Author Names: Kin Wah C, Balamurali BT, Roig G, Herremans D. 2020.
Title of Article/Presentation: Regression-based music emotion prediction using triplet neural networks. . Glasgow, Scotland.
Conference Name: International Joint Conference on Neural Networks (IJCNN - IEEE WCCI) (CORE A)
Organiser: IEEE Country/State: Glasgow, UK
Date of Submission: Jan 2020
Date of Presentation/Conference/Seminar: July 2020

[2]
Author Names: Kin Wah C, Agres K., Herremans D. 2020.
Title of Article/Presentation: The impact of Audio input representations on neural network- based music transcription
Conference Name: International Joint Conference on Neural Networks (IJCNN - IEEE WCCI) (CORE A)
Organiser: IEEE Country/State: Glasgow, UK
Date of Submission: Jan 2020
Date of Presentation/Conference/Seminar: July 2020

[3]
Author Names: T. Ha Thi Phuong, Herremans D., Roig G.
Title of Article/Presentation: Multimodal Deep Models for Predicting Affective Responses Evoked by Movies.
Conference Name: International Workshop on Computer Vision for Physiological Measurement as part of ICCV
Organiser: ICCV Country/State:Seoul, South Korea
Date of Submission: Aug 2019
Date of Presentation/Conference/Seminar: Oct 2019
(Best Student Paper Award)

[4]
Author Names:K.W. Cheuk, Agres K, D., Herremans D.
Title of Article/Presentation: nnAudio: A PyTorch Audio Processing Tool Using 1D Convolution neural networks.
Conference Name: The 20th International Society for Music Information Retrieval Conference (ISMIR) - Late Breaking Demo
Organiser: ISMIR (top conference on music information retrieval)
Country/State: Netherlands
Date of Submission: Sept 2019
Date of Presentation/Conference/Seminar: Nov 2019

[5]
Author Names: Makris D., Agres K., Herremans D.
Title of Article/Presentation: Generating lead sheets with affect: A novel conditional seq2seq framework.
Conference Name: International Joint Conference on Neural Networks (IJCNN - IEEE WCCI) (CORE A)
Organiser: IEEE
Country/State: Virtual Event, Online Date of Submission: Feb 2021
Date of Presentation/Conference/Seminar: July 2021

[6]
Author Names: Guo Z., Makris D., Herremans D.
Title of Article/Presentation: Hierarchical recurrent neural networks for conditional melody generation with long-term structure
Conference Name: International Joint Conference on Neural Networks (IJCNN - IEEE WCCI) (CORE A)
Organiser: IEEE
Country/State: Virtual Event, Online
Date of Submission: Feb 2021
Date of Presentation/Conference/Seminar: July 2021

[7]
Author Names: Tan H.H., Herremans D.
Title of Article/Presentation: Music FaderNets: Controllable Music Generation Based On High-Level Features via Low-Level Feature Modelling
Conference Name: The 21th International Society for Music Information Retrieval Conference (ISMIR)
Organiser: ISMIR (top conference on music information retrieval)
Country/State: Virtual Event, Online
Date of Submission: May 2020
Date of Presentation/Conference/Seminar: Nov 2020

[8]
Author Names: Cheuk K.W., Luo Y.J., Benetos E., Herremans D.
Title of Article/Presentation: Revisiting the Onsets and Frames Model with Additive Attention
Conference Name: International Joint Conference on Neural Networks (IJCNN - IEEE WCCI) (CORE A)
Organiser: IEEE
Country/State: Virtual Event, Online
Date of Submission: Feb 2021
Date of Presentation/Conference/Seminar: July 2021

[9]
Author Names: T. Phuong Ha Thi, BT B, Herremans D., Roig G.
Title of Article/Presentation: AttendAffectNet: Self-Attention based Networks for Predicting Affective Responses from Movies.
Conference Name: Proceedings of the International Conference on Pattern Recognition (ICPR) (CORE B)
Organiser: ICPR
Country/State: Virtual Event (Milano), Online
Date of Submission: July 2020
Date of Presentation/Conference/Seminar: January 2021

[10]
Author Names: Cheuk K.W., Luo Y.J., Benetos E., Herremans D.
Title of Article/Presentation: The Effect of Spectrogram Reconstructions on Automatic Music Transcription: An Alternative Approach to Improve Transcription Accuracy
Conference Name: 25th International Conference on Pattern Recognition (ICPR) (CORE B)
Organiser: IAPR (International Association of Pattern Recognition)
Country/State: Virtual Event, Online
Date of Submission: July 2020
Date of Presentation/Conference/Seminar: January 2021

[11]
Author Names: Guo R., Simpson I., Magnusson T., Kiefer C., Herremans D.
Title of Article/Presentation: A variational autoencoder for music generation controlled by tonal tension.
Conference Name: Joint Conference on AI Music Creativity (CSMC + MuMe)
Organiser: Royal Institute of Technology (KTH), Stockholm, Sweden
Country/State: Virtual Event,
Online Date of Submission: August 2020
Date of Presentation/Conference/Seminar: October 2020

[12]
Author Names: H.H. Tan, Luo Y.J., Herremans D.
Title of Article/Presentation: Generative Modelling for Controllable Audio Synthesis of Expressive Piano Performance.
Conference Name: Workshop on Machine Learning for Music Discover (ML4MD)
Organiser: International Conference of Machine Learning (ICML)
Country/State: Virtual Event , Online
Date of Submission: June 2020
Date of Presentation/Conference/Seminar: July 2020

[13]
Author Names: Luo Y.J., Cheuk K.W., Nakano T., Goto M., Herremans D.
Title of Article/Presentation: Unsupervised disentanglement of pitch and timbre for isolated musical instrument sounds.
Conference Name: The 21th International Society for Music Information Retrieval Conference (ISMIR)
Organiser: ISMIR (top conference on music information retrieval)
Country/State: Virtual Event, Online
Date of Submission: May 2020
Date of Presentation/Conference/Seminar: Nov 2020

Newly reported:

[14]
Author Names: Cheuk K.W., Su L., Herremans D..
Title of Article/Presentation: ReconVAT: A Semi-Supervised Automatic Music Transcription Framework for Low-Resource Real-World Data.
Conference Name: ACM Multimedia. CORE A*
Organiser: ACM
Country/State: virtual
Date of Submission: 2021
Date of Presentation/Conference/Seminar: Oct 2021

[15]
Author Names: Makris D., Guo Z, Kaliakatsos-Papakostas N., Herremans D.
Title of Article/Presentation: Conditional Drums Generation using Compound Word Representations.
Conference Name: EvoMUSART (EVO*) - Lecture Notes in Computer Science.
Organiser: Evo*
Country/State: Spain
Date of Submission: 11/2021
Date of Presentation/Conference/Seminar: April 2022.

[16]
Author Names: Guo R, Simpton I., Kiefer C., Magnusson T, Herremans D.
Title of Article/Presentation: MusIAC: An extensible generative framework for Music Infilling Application with multi-level Control.
Conference Name: EvoMUSART (EVO*) - Lecture Notes in Computer Science.
Organiser: Evo*
Country/State: Spain
Date of Submission: 11/2021
Date of Presentation/Conference/Seminar: April 2022.

[17]
Author Names: Kaliakatsos-Papakostas N., Bastas G., Makris D., Herremans D., Katsouros V., Maragos
Title of Article/Presentation: A Machine Learning Approach for MIDI to Guitar Tablature Conversion
Conference Name: Sound and Music Computing Conference (SMC)
Organiser: SMC
Country/State: France
Date of Submission: 2/2022
Date of Presentation/Conference/Seminar: June 2022