Introduction
Modeling the structure of music presents a significant challenge due to the presence of long-term dependencies. A musical choice made at the start of a piece often influences the progression minutes later. Traditional statistical methods, such as Hidden Markov Models (HMMs), are inherently "short-sighted," focusing on local transitions while failing to capture the global architectural coherence of a composition.
Researchers have proposed a new approach that treats chord progressions as the "skeleton" of music. By anchoring melody and rhythm to a "non-dynamic" structure, they aim to generate musically sensible sequences. This model integrates psychoacoustic principles with a hierarchical tree structure to account for both the similarity between chords and the natural rhythm of musical meter.
Methodology
Distributed Chord Representation
A key limitation of many symbolic models is treating chords as arbitrary, discrete labels (e.g., "C Major" vs. "C# Major"). In reality, some chords are perceptually closer than others. To address this, the authors represent each chord as a vector based on its frequency content. By modeling the harmonics of each note with a geometric decay, they create a "timbre" profile. This ensures that chords sharing many harmonics are positioned closely in Euclidean space.
These Euclidean distances are used to derive a "substitution matrix," allowing the model to recognize that a "C Major 7" is a highly probable substitute for a "C Major," even if the specific chord was not seen frequently in the training data.
The Hierarchical Tree Model
The core innovation of this research is a binary tree graphical model designed to capture the metrical hierarchy of music. In a standard 4/4 meter, the relationship between the first and third beats is structurally more significant than the relationship between the first and second. The tree structure mirrors this "strong-weak" beat hierarchy.
In this model, leaf nodes represent the actual chord sequence, while internal nodes are hidden variables capturing metrical relationships. Horizontal links are also incorporated to model "voice leading," ensuring smooth transitions between successive chords. The model parameters are learned via the Expectation-Maximization (EM) algorithm, with inference performed using the Junction Tree algorithm.
Experimental Setup and Results
The model was trained on a specialized dataset of 52 jazz standards from the Real Book, provided as MIDI files. Each 16-bar excerpt was preprocessed to be relative to the song's key, focusing the learning on functional harmony.
Quantitatively, the tree-based models outperformed standard HMMs. The tree model achieved a negative log-likelihood of 32.33, compared to 33.25 for the HMM. Qualitatively, the difference was even more pronounced. Sequences sampled from the tree model exhibited global coherence, successfully generating structures like the II-V-I cadence and proper tonic endings. In contrast, HMM-generated sequences often lacked a sense of direction and failed to resolve to the "home" chord.
Conclusion and Future Work
By combining psychoacoustic representations with a hierarchical metrical scaffold, this model provides a more robust framework for understanding and generating musical structure. While currently limited by a small dataset and a rigid 4/4 structure, the approach demonstrates the power of incorporating domain-specific musical knowledge into probabilistic graphical models. Future work may involve integrating melody modeling and expanding the system to handle irregular meters and larger datasets.
Summary updated