Abstract
Controllable symbolic music generation often struggles with rigid input requirements, where models fail when provided with only partial conditioning. Researchers from LG AI Research present a novel approach using an autoregressive Transformer trained with a "random drop" strategy on musical metadata. By treating conditions like tempo, chords, and instrumentation as flexible rather than mandatory inputs, the system generates high-quality 4-bar multitrack MIDI motifs that respect user-provided constraints while creatively filling in missing information. Evaluation shows the model outperforms existing baselines and approaches human-level quality in subjective listening tests.
Introduction
The field of AI music generation has seen significant progress, yet providing users with intuitive, flexible control remains a challenge. Existing models often require deep technical knowledge of MIDI protocols or demand "all-or-nothing" inputs. For instance, a model trained on a fixed set of conditions (e.g., genre, tempo, and key) may produce incoherent results if a user only specifies a chord progression.
To address this, the authors propose using objective musical metadata—features like mean pitch, velocity, and chord sets—as control signals. Unlike text-to-music models that suffer from a lack of high-quality labeled datasets, metadata can be automatically extracted from massive MIDI corpora, providing a scalable "steering wheel" for generative models.
Methodology
The system utilizes a decoder-only Transformer based on the LLaMA architecture, incorporating RMSNorm, SwiGLU activations, and Rotary Embeddings. The model processes music using an extended REMI+ representation, which supports 528 event types across multiple tracks.
The Random Drop Strategy
The core innovation is the Random Drop training strategy. During training, the model is fed metadata condition tokens before the music sequence begins. Crucially, the model randomly discards a subset of these tokens. This forces the model to learn an "OR" relationship between conditions, enabling it to "fill in the blanks" during inference when a user provides only partial information.
Data and Training
The model was trained on a combined corpus of approximately 600,000 MIDI files, including the Lakh MIDI Dataset (LMD) and MetaMIDI Dataset (MMD), totaling 3 billion tokens. To improve efficiency, Byte-Pair Encoding (BPE) was applied to the music tokens, achieving a 34% reduction in sequence length.
Evaluation and Results
The researchers evaluated the model's performance using both quantitative metrics and human listening tests.
Quantitative Performance
In scenarios where only a subset of metadata was provided, the "Random Drop" model significantly outperformed standard conditional models. It achieved a lower perplexity (2.026 vs. 2.309) and demonstrated higher density and coverage, indicating more realistic and diverse musical output. Furthermore, the strategy virtually eliminated syntax errors that typically occur when standard models receive incomplete inputs.
Human Preference
Subjective evaluations involved pairwise comparisons of generated music. The proposed model was preferred over FIGARO, a leading baseline, and its quality was rated closely to Ground Truth (human-composed) music.
Discussion and Future Work
By leveraging extracted metadata and a flexible training strategy, this research transforms generative models from rigid tools into collaborative partners. The focus on 4-bar "motifs" provides creators with high-quality building blocks for larger compositions.
However, limitations remain. The current architecture is restricted to 4-bar sequences due to the computational cost of multitrack self-attention. Additionally, while the model offers excellent global control, it lacks granular "bar-level" local control. Future research will focus on extending sequence lengths and introducing more precise time-specific conditioning mechanisms.
Summary updated