Machine Learning and Music Theory: Models for Hierarchical Music Generation and Analysis

dc.contributor.advisor

Rudin, Cynthia

dc.contributor.advisor

Mak, Simon

dc.contributor.author

Ni-Hahn, Stephen Ernst

dc.date.accessioned

2025-07-02T19:04:12Z

dc.date.available

2025-07-02T19:04:12Z

dc.date.issued

2025

dc.department

Electrical and Computer Engineering

dc.description.abstract

Recent advancements in deep learning have significantly improved automatic music generation, yet many models remain uninterpretable and struggle to capture fundamental musical features such as hierarchical rhythmic and harmonic-melodic structure. A lack of transparency in these models limits their practical usability and prevents meaningful human interaction with the generated music. Interpretability is crucial not only for understanding and refining generative processes but also for ensuring that models adhere to established musical principles.

To address these challenges, this dissertation introduces novel generative frameworks that prioritize interpretability while maintaining musical coherence. We propose a probabilistic approach that models music composition using human-informed hierarchical structures based on Schenkerian analysis (SchA), ensuring that generated melodies and harmonizations align with particular compositional styles. Additionally, we introduce a graph-based representation for SchA, providing a structured and scalable method for encoding hierarchical musical relationships. Finally, we develop deep learning models that formulate hierarchical music analysis as graph pooling and link prediction problems, leveraging graph neural networks.

Our results demonstrate that incorporating domain knowledge and hierarchical representations leads to more transparent and controllable generative models. These methods produce music that is structurally coherent, aesthetically compelling, and more interpretable than existing deep learning approaches. By bridging the gap between computational models and human music analysis, this research paves the way for future advancements in AI-assisted composition, interactive music generation, and computational musicology.

dc.identifier.uri

https://hdl.handle.net/10161/32828

dc.rights.uri

https://creativecommons.org/licenses/by-nc-nd/4.0/

dc.subject

Computer science

dc.subject

Music

dc.subject

Graph Neural Networks

dc.subject

Interpretability

dc.subject

Machine Learning

dc.subject

Music

dc.subject

Schenkerian Analysis

dc.subject

Sentiment Analysis

dc.title

Machine Learning and Music Theory: Models for Hierarchical Music Generation and Analysis

dc.type

Dissertation

duke.embargo.months

23

duke.embargo.release

2027-05-19

Files

Collections