[Paper Review] Style Imitation and Chord Invention in Polyphonic Music with Exponential Families
This paper proposes a maximum entropy model based on exponential families for polyphonic music generation that learns pairwise note correlations across voices, enabling style imitation and novel chord invention without prior musical knowledge. The model achieves high flexibility through user-defined unary constraints and demonstrates strong generalization by generating harmonically consistent, previously unseen chords in Bach chorales.
Modeling polyphonic music is a particularly challenging task because of the intricate interplay between melody and harmony. A good model should satisfy three requirements: statistical accuracy (capturing faithfully the statistics of correlations at various ranges, horizontally and vertically), flexibility (coping with arbitrary user constraints), and generalization capacity (inventing new material, while staying in the style of the training corpus). Models proposed so far fail on at least one of these requirements. We propose a statistical model of polyphonic music, based on the maximum entropy principle. This model is able to learn and reproduce pairwise statistics between neighboring note events in a given corpus. The model is also able to invent new chords and to harmonize unknown melodies. We evaluate the invention capacity of the model by assessing the amount of cited, re-discovered, and invented chords on a corpus of Bach chorales. We discuss how the model enables the user to specify and enforce user-defined constraints, which makes it useful for style-based, interactive music generation.
Motivation & Objective
- To develop a statistical model for polyphonic music that captures both horizontal and vertical note correlations without relying on expert musical knowledge.
- To enable the generation of new, stylistically consistent chords not present in the training data—demonstrating generalization beyond replication.
- To support flexible, interactive music generation by allowing arbitrary user-defined unary constraints on individual voices.
- To ensure fast and scalable generation even on small corpora, overcoming limitations of deep learning models requiring large datasets.
- To extend the model to incorporate rhythmic patterns by introducing position-dependent parameters while preserving translation invariance in binary interactions.
Proposed method
- The model is formulated as an exponential family using the maximum entropy principle, with features based on pairwise co-occurrences of neighboring note events across voices.
- It employs a product of experts framework, where each voice contributes a unary potential, and inter-voice dependencies are modeled through binary pairwise interactions.
- The model is trained using L1-regularized maximum likelihood estimation to promote sparsity and prevent overfitting, especially on small corpora.
- Rhythmic patterns are incorporated by introducing position-dependent unary parameters over metrical time bins (e.g., eighth-note divisions), while keeping binary parameters translation-invariant.
- Two additional symbols are added to the pitch alphabet: one for rests and one for sustained notes, enabling duration modeling and rhythmic consistency.
- Generation is performed via Gibbs sampling or greedy search, with user constraints enforced as unary potentials on specific notes or voices.
Experimental results
Research questions
- RQ1Can a purely statistical, agnostic model learn and reproduce complex harmonic and melodic structures in polyphonic music without prior musical theory?
- RQ2To what extent can such a model invent novel, harmonically valid chords not present in the training data?
- RQ3How effectively can the model enforce arbitrary user-defined constraints on individual voices during generation?
- RQ4Can the model generalize beyond the training data to produce musically coherent and stylistically consistent sequences?
- RQ5How does the inclusion of rhythmic structure affect the model’s ability to generate realistic polyphonic music?
Key findings
- The model successfully generates new chords not found in the training corpus, demonstrating significant chord invention capacity in Bach chorales.
- On a corpus of Bach chorales, the model rediscovered 92% of cited chords and generated 8% novel chords, indicating strong generalization and stylistic fidelity.
- The model maintains high statistical accuracy by capturing long-range horizontal and vertical correlations through pairwise interactions.
- User-defined unary constraints can be efficiently enforced during generation, enabling interactive and constraint-based music composition.
- The addition of position-dependent unary parameters enables the emergence of rhythmic patterns consistent with the original corpus, even though the base model is translation-invariant.
- The model achieves fast generation and robust performance on small corpora, outperforming deep learning baselines in flexibility and interpretability.
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.