STAGE: Stemmed Accompaniment Generation through Prefix-Based Conditioning
Giorgio Strano, Chiara Ballanti, Donato Crisostomi, Michele Mancusi, Luca Cosmo, Emanuele Rodolà
TL;DR
STAGE tackles iterative music composition by enabling single-stem accompaniment conditioned on an existing mix or a metronome, addressing the mismatch between scratch generation and real-world workflows. It fine-tunes MusicGen using a prefix-based context token to learn a token-to-token mapping between context and accompaniment, achieving coherent, rhythmically aligned outputs without extra encoders. The approach demonstrates strong beat-following and coherence (via COCOLA, FAD, and KAD metrics) and introduces tempo-conditioned generation through audio inputs, including metronome conditioning, while remaining parameter-efficient. This yields a practical tool for musicians that integrates seamlessly into production workflows and scales across instruments with lightweight fine-tuning and open-source resources.
Abstract
Recent advances in generative models have made it possible to create high-quality, coherent music, with some systems delivering production-level output. Yet, most existing models focus solely on generating music from scratch, limiting their usefulness for musicians who want to integrate such models into a human, iterative composition workflow. In this paper we introduce STAGE, our STemmed Accompaniment GEneration model, fine-tuned from the state-of-the-art MusicGen to generate single-stem instrumental accompaniments conditioned on a given mixture. Inspired by instruction-tuning methods for language models, we extend the transformer's embedding matrix with a context token, enabling the model to attend to a musical context through prefix-based conditioning. Compared to the baselines, STAGE yields accompaniments that exhibit stronger coherence with the input mixture, higher audio quality, and closer alignment with textual prompts. Moreover, by conditioning on a metronome-like track, our framework naturally supports tempo-constrained generation, achieving state-of-the-art alignment with the target rhythmic structure--all without requiring any additional tempo-specific module. As a result, STAGE offers a practical, versatile tool for interactive music creation that can be readily adopted by musicians in real-world workflows.
