[Paper Review] From Bach to the Beatles: The simulation of human tonal expectation using ecologically-trained predictive models
This paper demonstrates that recurrent neural networks (RNNs) trained on raw audio from real-world music recordings—such as Bach's Well-Tempered Clavier and The Beatles—develop tonal expectations that closely mirror human probe-tone ratings, indicating implicit learning of tonal structure. The key finding is that while tonal structure is necessary for accurate musical expectation, it is not sufficient, as temporal cues like rhythm and voice leading also play critical roles.
Tonal structure is in part conveyed by statistical regularities between musical events, and research has shown that computational models reflect tonal structure in music by capturing these regularities in schematic constructs like pitch histograms. Of the few studies that model the acquisition of perceptual learning from musical data, most have employed self-organizing models that learn a topology of static descriptions of musical contexts. Also, the stimuli used to train these models are often symbolic rather than acoustically faithful representations of musical material. In this work we investigate whether sequential predictive models of musical memory (specifically, recurrent neural networks), trained on audio from commercial CD recordings, induce tonal knowledge in a similar manner to listeners (as shown in behavioral studies in music perception). Our experiments indicate that various types of recurrent neural networks produce musical expectations that clearly convey tonal structure. Furthermore, the results imply that although implicit knowledge of tonal structure is a necessary condition for accurate musical expectation, the most accurate predictive models also use other cues beyond the tonal structure of the musical context.
Motivation & Objective
- To investigate whether ecologically trained predictive models can simulate human tonal expectation as observed in behavioral studies.
- To determine if recurrent neural networks (RNNs) trained on raw audio, rather than symbolic representations, can implicitly learn tonal structure through exposure.
- To assess whether tonal structure is a necessary condition for accurate musical expectation in computational models.
- To explore the role of non-tonal cues—such as rhythm, voice leading, and cadential structure—beyond tonality in shaping musical predictions.
Proposed method
- Training various types of recurrent neural networks (RNNs) on raw audio spectrograms (CQT) from commercial CD recordings of Bach’s Well-Tempered Clavier and The Beatles.
- Using predictive coding principles: models are trained to minimize prediction error for future musical events based on the current context.
- Evaluating model expectations via correlation with human probe-tone ratings (Krumhansl & Kessler, 1982), using Pearson correlation as a metric.
- Comparing model performance on original vs. temporally shuffled audio data to isolate the role of sequential structure.
- Measuring predictive accuracy using mean cross-entropy loss and tonal structure using average correlation with human probe-tone profiles.
- Analyzing model behavior across different musical genres and structural complexities (e.g., monophonic piano vs. multi-instrumental pop).
Experimental results
Research questions
- RQ1Can RNNs trained on real-world audio recordings learn tonal structure in a manner analogous to human listeners?
- RQ2Is tonal structure a necessary condition for accurate musical expectation in predictive models?
- RQ3To what extent do non-tonal cues such as rhythm, voice leading, and cadential structure contribute to musical prediction beyond tonal structure?
- RQ4How does training on temporally shuffled audio affect model performance and tonal expectation, and what does this reveal about the role of sequential order?
Key findings
- RNNs trained on raw audio from The Beatles and Bach’s WTC produce musical expectations that strongly correlate with human probe-tone ratings, indicating successful simulation of human tonal hierarchy.
- Models trained on shuffled audio data show significantly reduced predictive accuracy and weaker tonal structure representation, especially for Bach’s WTC, demonstrating the importance of temporal order in learning.
- Tonal structure is a necessary condition for accurate musical expectation, as models with low predictive error consistently show high correlation with human ratings.
- However, tonal structure alone is not sufficient for accurate prediction, as models with high tonal correlation can still have high prediction error, indicating the influence of additional cues like rhythm and voice leading.
- The negative impact of data shuffling is more pronounced in Bach’s WTC than in The Beatles’ recordings, likely due to the greater harmonic and melodic complexity and key modulations in Bach’s works.
- Even in musically simpler, multi-instrumental recordings like The Beatles’, RNNs still learn tonal structure effectively, suggesting that ecologically valid training data can support robust perceptual learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.