Published in the early 1990s, this paper represents a foundational step in using neural networks for creative tasks. It introduces CONCERT (Connectionist Composer of Erudite Tunes), a recurrent neural network designed to compose melodies by learning the underlying stylistic "rules" of a musical genre. By extending traditional algorithmic composition techniques with psychologically-grounded pitch representations, CONCERT demonstrated how neural networks could "understand" musical relationships far better than previous statistical models.
The Problem with Traditional Approaches
In the early 90s, algorithmic music composition relied heavily on Markov transition tables, which predict the next note based on a short history of previous notes. However, these models faced two major hurdles:
- The Curse of Dimensionality: Capturing long-term musical structure requires high-order tables, but the size of these tables explodes exponentially as the context window grows.
- Lack of Generalization: Traditional symbolic representations treat notes like "C4" and "C#4" as entirely unrelated tokens. A Markov model inherently lacks the musical intuition that a melody transposed up a fifth is essentially the same musical idea.
The authors sought to build a system capable of handling variable context and generalizing across keys and octaves by mimicking human pitch perception.
Methods: The CONCERT Architecture
CONCERT utilizes an Elman-style recurrent neural network (RNN) architecture. At each time step, the network receives the current note and its own previous "context" (hidden state) to predict the next note.
The output layer is split into two distinct parts:
- A Next-Note-Distributed (NND) layer that predicts the continuous coordinates of the next note in a specialized pitch space.
- A Next-Note-Local (NNL) layer that uses a normalized exponential transform (similar to a modern Softmax) to provide a probability distribution over all possible discrete notes.
The "Secret Sauce": Psychologically-Grounded Pitch Representation
Instead of using raw frequencies or arbitrary MIDI numbers, the authors engineered a 13-unit distributed representation based on Roger Shepard’s (1982) psychological studies. This PHCCCF space maps every pitch into five dimensions:
- Pitch Height (PH): The log of the frequency, which linearizes octaves.
- Chromatic Circle (CC): Two units $(x, y)$ representing the note's position on the 12-tone circle, capturing half-step proximity.
- Circle of Fifths (CF): Two units $(x, y)$ representing the note's position on the circle of fifths, capturing harmonic proximity.
By building this 5D pitch space into the architecture, the authors gave the network "musical common sense." Because notes that sound similar to humans are close together in this space, the network generalizes naturally. If it learns a pattern in C major, it can apply it to G major because the relative distances in the Circle of Fifths remain consistent.
Experiments and Key Results
The authors evaluated CONCERT on three distinct tasks, proving that distributed representations and RNNs offer significant advantages over traditional Markov chains:
- Diatonic Scales: The network was trained on 37 scales across various keys to test basic musical structure. CONCERT achieved 98.4% accuracy on unseen scales, whereas a second-order transition table managed only 26.6%.
- Interspersed Random Walks: A synthetic dataset wove two independent melodies together ($a_1, b_1, a_2, b_2...$). This tested the network's ability to track non-contiguous context. CONCERT reached 91.7% accuracy, significantly outperforming transition tables (67.1%), which struggled to look "past" the alternating noise. The RNN's hidden state successfully learned to maintain two separate "tracks" of memory.
- Bach Melodies: A corpus of 10 simple minuets and marches by J.S. Bach (1,260 notes total) was used to test stylistic composition. After training, the network correctly predicted 95% of pitches and durations. When run in "composition mode" (feeding its own output back as input), it produced novel melodies stylistically consistent with the training data.
Limitations and Future Work
Despite its successes, the authors were transparent about CONCERT’s limitations:
- Global Coherence: While the generated melodies sounded "Bach-like" from note to note, they lacked global coherence. The network could write a convincing phrase but couldn't plan a complete piece with a beginning, middle, and end (e.g., an AABA structure).
- Key Sensitivity: The pitch representation didn't inherently account for the overarching "key" of a piece. For the Bach experiment, the authors had to manually transpose all pieces to C major or A minor to help the network learn effectively.
The authors suggested that future work should move toward multi-scale architectures operating at different temporal resolutions (notes vs. phrases) to solve the global structure problem. This insight proved highly prescient, serving as a precursor to the hierarchical RNNs and Transformers that dominate music AI today.
Summary updated