Introduction
FIGARO (FIne-grained music Generation via Attention-based, RObust control) is a Transformer-based model that brings high-level, human-interpretable control to symbolic music generation. By using a "description-to-sequence" learning objective that combines hand-crafted expert features with learned latent codes, the model allows users to steer musical output bar-by-bar while maintaining state-of-the-art sample quality.
What Problem Does This Paper Address?
While deep learning has drastically improved the quality of AI-generated music, "steering" these models remains a challenge. Most existing systems offer only global control (e.g., "generate a jazz song") or very limited fine-grained control (e.g., continuing a melody). If a user wants a specific chord progression in bar 4 or a sudden increase in note density in bar 8, most models struggle to comply without sacrificing musical coherence.
The authors identify a critical gap in "human-interpretable" conditioning. There is a need for a way to communicate with models in a language musicians understand—such as chords, instruments, and dynamics—without relying on massive amounts of scarce, manually annotated data.
Methods
The core innovation of FIGARO is description-to-sequence learning. Instead of just predicting the next note, the model is trained to reconstruct a piece of music from a "description" of its features.
- The Description Function: The authors use two complementary types of descriptions:
- Expert Description: Hand-crafted, human-readable features extracted per bar, including time signature, note density, mean pitch, mean velocity, mean duration, instruments used, and chords.
- Learned Description: A VQ-VAE (Vector Quantized Variational Autoencoder) that compresses a bar of music into discrete latent codes. This captures the "nuance" and high-fidelity details that the expert features might miss.
- REMI+ Representation: To handle complex music, the authors extended the REMI (Revamped MIDI) representation. REMI+ adds support for multiple tracks (different instruments) and multiple time signatures within a single piece, which was a significant limitation in previous symbolic music models.
- Architecture: The model uses a standard Transformer sequence-to-sequence architecture. During training, it takes the combined description (expert + learned) and learns to output the original musical sequence. At inference time, a user can manually edit the expert description to "conduct" the AI.
Datasets
The model was trained on the LakhMIDI dataset, currently the largest publicly available collection of symbolic music. For evaluation, the authors used a standard 80/10/10 split for training, validation, and testing.
Key Insights and Ideas
- The Hybrid Advantage: The breakthrough insight is that neither expert nor learned features are sufficient on their own. Expert features provide a strong, interpretable "skeleton" that makes the model robust to unusual user inputs. Learned features provide the "flesh," ensuring the music doesn't sound robotic or overly simplified.
- Robustness through Splicing: The authors tested the model by "splicing" descriptions—taking 16 bars of one song and 16 bars of a completely different one. FIGARO was able to generate smooth transitions between these disparate parts, showing it truly understands the underlying musical concepts rather than just memorizing patterns.
- Self-Supervision is Key: By automatically extracting descriptions from raw MIDI files, the authors bypassed the need for human-labeled datasets, allowing them to scale the model to the entire LakhMIDI corpus.
Key Results
- State-of-the-Art Performance: FIGARO outperformed existing models like MuseMorphose and MMM in both style transfer accuracy and overall fluency (measured by perplexity).
- Human Evaluation: In a massive listening study with 691 participants (7,569 total comparisons), FIGARO achieved a 39.3% win rate against real, human-composed music. This significantly beat the next best model (Choi et al., 2020), which stood at 33.2%.
- Fidelity: The model showed near-perfect accuracy in following user-specified time signatures and instruments, and very high fidelity to requested chord progressions and note densities.
Limitations and Future Work
- Not Fully Generative (Yet): FIGARO is technically a conditional model; it requires a description as input. To make it a "one-click" generator, a secondary "prior" model would need to be trained to generate the descriptions themselves.
- Melody Conditioning: While the model handles chords and textures beautifully, it doesn't yet have a specific mechanism for a user to input a precise melody line (e.g., "play these exact five notes").
- Expressive Timing: The REMI+ representation is beat-based, meaning it struggles to capture the "human feel" of micro-timing offsets (rubato) found in live performances.
The authors suggest that this description-to-sequence framework could eventually be applied to other domains, such as long-form story generation, where high-level structural control is just as vital as it is in music.
Summary updated