Relating Human Perception of Musicality to Prediction in a Predictive Coding Model

Nikolas McNeal, Jennifer Huang, Aniekan Umoren, Shuqi Dai, Roger Dannenberg +2 more
10/29/2022
1 citation
cs.SDcs.AIeess.AS

Official code: leelabcnbc/predictive-coding-music-prediction (5 stars, Python, last commit 2022-11-01).

Abstract

We explore the use of a neural network inspired by predictive coding for modeling human music perception. This network was developed based on the computational neuroscience theory of recurrent interactions in the hierarchical visual cortex.

Show full abstract

When trained with video data using self-supervised learning, the model manifests behaviors consistent with human visual illusions. Here, we adapt this network to model the hierarchical auditory system and investigate whether it will make similar choices to humans regarding the musicality of a set of random pitch sequences. When the model is trained with a large corpus of instrumental classical music and popular melodies rendered as mel spectrograms, it exhibits greater prediction errors for random pitch sequences that are rated less musical by human subjects. We found that the prediction error depends on the amount of information regarding the subsequent note, the pitch interval, and the temporal context. Our findings suggest that predictability is correlated with human perception of musicality and that a predictive coding neural network trained on music can be used to characterize the features and motifs contributing to human perception of music.

View on arXivView PDF

Code Implementations(1)

Code implementation for the paper "Relating Human Perception of Musicality to Prediction in a Predictive Coding Model"

50PythonOct 27, 20224 years ago
audio-generationaudio-processingmachine-learningmusic-information-retrievalpredictive-coding+1 more

Similar Papers

Cite this paper

@article{mcneal2022relating,
  title  = {Relating Human Perception of Musicality to Prediction in a Predictive Coding Model},
  author = {Nikolas McNeal and Jennifer Huang and Aniekan Umoren and Shuqi Dai and Roger Dannenberg and Richard Randall and Tai Sing Lee},
  year   = {2022},
  eprint = {2210.16587},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.16587}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.16587.svg)](https://codeofpaper.com/paper/2210.16587)

Discussion