TL;DR
This paper introduces a more modular approach to symbolic music generation, allowing for three distinct guiding inputs: melody, structural descriptions, and texture. This aims to empower composers with finer control and the ability to experiment with various combinations of these elements, building upon the existing FIGARO framework.
What Problem Does This Paper Address?
Creating compelling symbolic music with AI often involves a trade-off between global control (e.g., overall style) and fine-grained control over specific musical elements. Existing models, including the prior FIGARO framework, offer some level of control, but the authors identify a need for a more explicit and modular way to guide music generation using elements that are intuitive to human composers. Specifically, they want to enable co-creation where a human can provide a melody, a structural blueprint (like chord progressions or time signatures), and a desired "texture" or feel, and have the AI generate music that adheres to these inputs. This allows for more flexible experimentation and a deeper integration of human creativity into the generation process.
Methods
The core of this work is an extension of the transformer-based FIGARO framework. The key innovation lies in the modularization of the input into three distinct modalities:
- Melody: The primary melodic line of the piece.
- Expert Description: A bar-wise structural description derived from domain knowledge. This includes features like time signature, note density, instruments, chords, and average pitch/velocity/duration. This description can be hand-crafted or generated from MIDI.
- Accompaniment (Texture): This represents the "feel" of the music and is learned from the non-melodic parts of the input music.
The process involves:
- Melody and Accompaniment Separation: Using the MELODIA algorithm and pitch contour segmentation to extract the melody from polyphonic MIDI data, with the remaining parts forming the accompaniment.
- Tokenization: Converting MIDI data into a REMI+ format, which is suitable for transformer models. This involves representing notes with their position, pitch, velocity, and duration.
- Embedding: The melody and expert description are combined into a single input representation. The accompaniment is embedded separately using a VQ-VAE. These embeddings are then concatenated for training and generation.
- Generation: A transformer model generates the music token by token, conditioned on the combined embeddings.
The paper explores two ways of representing melody notes within the expert description: as a single token (tuple notes) and as multiple tokens (REMI+ notes), each encoding pitch, velocity, and duration.
Datasets
The authors used a subset of the LakhMIDI set, specifically the "Clean MIDI" portion, which contains 15,887 files. This subset was chosen due to potential issues with invalid or corrupt files in the full LakhMIDI set.
Key Insights and Ideas
- Modular Input for Composer Control: Explicitly separating melody, structure, and texture provides a more intuitive and flexible interface for human composers to guide AI music generation.
- Extending Expert Descriptions: Incorporating melody directly into the "expert description" modality, alongside structural information, creates a richer input for the model.
- Two-Fold Embedding Strategy: Using a VQ-VAE for the learned accompaniment (texture) and a separate embedding for the structured expert description allows the model to learn different aspects of the music effectively.
- Representation Matters: The way melody notes are tokenized (as single tuples vs. multiple tokens) significantly impacts performance, highlighting the importance of input representation in symbolic music generation.
Key Results
The paper presents preliminary experimental results comparing two input representation strategies for melody: "Tuple Notes" (single token per note) and "REMI+ Notes" (multiple tokens per note).
- In a controlled experiment where models were conditioned on their own dataset's descriptions, the "REMI+ Notes" approach generally outperformed "Tuple Notes" across most metrics, including F1 scores for instruments and chords, time signature accuracy, note density, and pitch/velocity/duration MOA. However, the "Original" FIGARO model still performed best overall.
- When tested on arbitrarily assigned melodies and accompaniments (data they weren't trained on), the "REMI+ Notes" approach again showed stronger performance than "Tuple Notes," though still below the original FIGARO.
Limitations and Future Work
- Preliminary Results: The authors acknowledge that these are preliminary experiments and that the "REMI+ Notes" approach, while promising, still scores below the original FIGARO model in some metrics.
- Melody Extraction: The current melody extraction method (MELODIA) has limitations, and the authors plan to explore alternative methods.
- Integration with Raw Audio: A long-term goal is to integrate this symbolic generation framework into raw audio generation pipelines.
- Further Representation Exploration: The paper suggests exploring other representations for melody and testing different combinations of input modalities.
Summary updated