Estimating Musical Surprisal in Audio

Mathias Rose Bjare, Giorgia Cantisani, Stefan Lattner, Gerhard Widmer
1/13/2025
cs.SDcs.AIeess.AS

No official code found. Best implementation: SonyCSLParis/audioic (34 stars, last commit 2026-04-09).

Abstract

In modeling musical surprisal expectancy with computational methods, it has been proposed to use the information content (IC) of one-step predictions from an autoregressive model as a proxy for surprisal in symbolic music. With an appropriately chosen model, the IC of musical events has been shown to correlate with human perception of surprise and complexity aspects, including tonal and rhythmic complexity. This work investigates whether an analogous methodology can be applied to music audio. We train an autoregressive Transformer model to predict compressed latent audio representations of a pretrained autoencoder network. We verify learning effects by estimating the decrease in IC with repetitions. We investigate the mean IC of musical segment types (e.g., A or B) and find that segment types appearing later in a piece have a higher IC than earlier ones on average. We investigate the IC's relation to audio and musical features and find it correlated with timbral variations and loudness and, to a lesser extent, dissonance, rhythmic complexity, and onset density related to audio and musical features. Finally, we investigate if the IC can predict EEG responses to songs and thus model humans' surprisal in music. We provide code for our method on github.com/sonycslparis/audioic.

View on arXivView PDF

Code Implementations(1)

Estimating musical surprisal/information content in Audio

340Python, Jupyter NotebookSep 10, 20246 months agoNOASSERTION

Similar Papers

Cite this paper

@article{bjare2025estimating,
  title  = {Estimating Musical Surprisal in Audio},
  author = {Mathias Rose Bjare and Giorgia Cantisani and Stefan Lattner and Gerhard Widmer},
  year   = {2025},
  eprint = {2501.07474},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.07474v1}
}

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/2501.07474.svg)](https://codeofpaper.com/paper/2501.07474)

Discussion