[Paper Review] LakhNES: Improving multi-instrumental music generation with cross-domain pre-training
LakhNES adapts Transformer-XL to multi-instrumental symbolic music generation and improves performance by pre-training on the heterogeneous Lakh MIDI dataset mapped to NES-like four-voice ensemble, then fine-tuning on NES-MDB.
We are interested in the task of generating multi-instrumental music scores. The Transformer architecture has recently shown great promise for the task of piano score generation; here we adapt it to the multi-instrumental setting. Transformers are complex, high-dimensional language models which are capable of capturing long-term structure in sequence data, but require large amounts of data to fit. Their success on piano score generation is partially explained by the large volumes of symbolic data readily available for that domain. We leverage the recently-introduced NES-MDB dataset of four-instrument scores from an early video game sound synthesis chip (the NES), which we find to be well-suited to training with the Transformer architecture. To further improve the performance of our model, we propose a pre-training technique to leverage the information in a large collection of heterogeneous music, namely the Lakh MIDI dataset. Despite differences between the two corpora, we find that this transfer learning procedure improves both quantitative and qualitative performance for our primary task.
Motivation & Objective
- Extend transformer-based symbolic music generation to a fixed four-instrument NES-like ensemble with polyphony across voices.
- Introduce an event-based representation for NES-MDB that captures musically salient changes across instruments.
- Explore cross-domain pre-training by mapping Lakh MIDI to NES-style ensembles and fine-tuning on NES-MDB to boost generation quality.
- Evaluate both quantitatively (perplexity) and qualitatively (human studies) the benefits of pre-training and data augmentation.
Proposed method
- Adopt Transformer-XL as the backbone to model long-range dependencies in an event-based NES-MDB sequence.
- Use an event-based representation with 631 event types including time-shift and instrument-specific note events.
- Map Lakh MIDI to NES ensemble to create a large cross-domain pre-training corpus and then fine-tune on NES-MDB.
- Apply data augmentation (transposition, tempo variation, instrument dropout/shuffling) to improve generalization.
- Evaluate using perplexity on a test set and conduct Turing-like and preference user studies to assess human-lriendliness.
Experimental results
Research questions
- RQ1Can Transformer-XL effectively model long-range structure in multi-instrument symbolic music for NES-like ensembles?
- RQ2Does pre-training on a large heterogeneous MIDI corpus mapped to NES improve generation quality on NES-MDB?
- RQ3What is the impact of data augmentation on model performance and human perception of generated music?
- RQ4How does LakhNES compare to n-gram baselines and LSTM baselines in objective and human judgments?
- RQ5Is the event-based representation suitable for cross-domain transfer learning in symbolic music?
Key findings
- Transformer-XL achieves substantially lower test perplexity (PPL 3.50) than 5-gram (37.25) and LSTM (14.11) baselines.
- Data augmentation improves LSTM and Transformer-XL performance by approximately 10% and 22%, respectively.
- Pre-training on Lakh MIDI mapped to NES and fine-tuning on NES-MDB (LakhNES) yields about 10% better perplexity than augmentation alone (PPL 2.46 after fine-tuning).
- Increasing Lakh MIDI pre-training epochs before fine-tuning reduces perplexity with diminishing returns (1, 2, or 4 epochs explored).
- User studies show LakhNES is sometimes identified as human-like more often than baselines and outperforms non-pre-trained Transformer-XL in Turing tests, though the real data remains superior.
- LakhNES achieves higher preference than competing methods in a controlled comparison, though human judges still favor real data.
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.