WorksComputer Science
MADlibs: Analyzing the Distribution of Generative Music
Abstract
What music can a text-to-music model actually make? The answer to this question has consequences for individual creators, communities, and musical culture more broadly. We introduce MADlibs, a framework to measure the expressive support of state-of-the-art music generators: the subset of musical behaviors they will actually produce across the space of prompts. We first develop strategies for generating musical prompts using natural language processing methods and existing caption corpora. Then, we use a set of MIR techniques to study the corresponding output spaces in terms of interpretable and qualitatively meaningful elements like key, beat, tempo, instrumentation, and dynamics. We find that text-to-music models are not interchangeable instruments for the same prompt space. Rather, each model has learned idiosyncratic properties that constrain the regime of music reachable via prompting it, for example, defaulting to certain tempi, failing to produce silences, or oversampling canonical band arrangements. Because users interact with these systems one prompt at a time, these biases are often invisible in practice yet cumulatively shape what AI-assisted music sounds like, risking the production of a new auditory monoculture hidden behind the promise of universal describability. We thus urge the MIR community to further study and responsibly steer population-level properties of music generation models.
Figure 1. End-to-end MADlibs pipeline. Using five different prompting strategies, we generate 10, 000 prompts and use these as input to three text-to-music models. We then perform downstream MIR analysis on the output of all models.
Introduction
The premise underlying text-to-music generation is that if you can describe it, you can create it. Though this assumption has driven progress in training generation models and even deploying them [1, 2], it is a difficult one to test since it requires us to measure what precisely lies within the space of music such models can produce from prompts. This question is entangled with another important one: do these models preserve the diversity of their training data, or (inadvertently) concentrate the output probability mass on a narrower, mode-like subset of musical behaviors? If generative models strongly preferentially produce certain characteristics, they may implicitly constrain the creative space available to users, shaping musical output and ultimately culture in ways that are difficult to detect through casual use. Moreover, different model architectures and training procedures may induce different biases over this output space, leading to divergent notions of what is producible by prompting.
In this work, we introduce MADlibs, a framework for probing the output distribution of text-to-music models by sampling broadly over the prompt space and analyzing the resulting audio with music information retrieval techniques. We study three widely-used generative music models: MusicGen, ACE-Step, and DiffRhythm. Rather than evaluate models on prompt fidelity, we ask a more basic question: given a space of possible prompts, what kinds of music do these models actually produce? We define this as the expressive support of a music generation model. The name MADlibs comes from the popular word game Mad Libs, where a player fills out a story by randomly selecting words that fit a part of speech.
MADlibs is designed to evaluate the output of text-to-audio models when prompts are sampled from uniform-like distributions over the space of all reasonable prompts. To perfectly model this output distribution, one would need to be able to generate outputs for any possible prompt that could be handled by a generative music model. However, the English language has roughly a million words [Merriam-Webster], so this problem quickly becomes computationally intractable. Additionally, the underlying training data for most music generation models is not publicly available, so we cannot directly sample prompts from this distribution. We instead solve this feasibility challenge through a set of pseudo-random text sampling strategies.
Overall, this work contributes:
Methods for producing music generation prompts to probe the output distribution of large generative music models
An analysis suite that combines classical MIR approaches with contemporary MIR models to produce interpretable summaries of this distribution (which we term the expressive support of a given model)
Empirical evidence that the expressive support of music generation models is limited in predictable ways relative to human-made music, and is more model-constrained than prompt-steerable
Related Work
Recent years have seen an influx of work in developing text-prompted music synthesis models. Despite differences in transformer-based [1, 2, 4], diffusion-based [5] and diffusion-transformer [6, 7, 8, 9, 10] architectures, all text-conditioned generative music models share the same basic premise: anything you can describe well enough in text can be synthesized by the model.
However, there is growing evidence that there are systematic failure modes in modern generative models. Several works on language models and multimodal models have shown that one can adversarially craft semantically diverse input that produces the same output in a generative model [11, 12]. Studies on model collapse have shown that generative models which scrape large amounts of content available online — and invariably train on the output of predecessor models — produce an output distribution that degrades at the tails [13]. These findings are further formalized by [14], who warn of two specific dangers in language models: intra-model repetition (one model consistently generating homogeneous responses) and inter-model homogeneity (multiple models producing similar output). Furthermore, there is evidence that even though an output may be theoretically producible by a model, it may not be reachable through the conditioning mechanisms given to a user [15].
In music generation, many ad hoc, specialized control mechanisms for generative models have been proposed [Wu et al., 2024, Novack et al., 2024a,b, Hou et al., 2025, Wang and Huang, 2026]. Despite this, there is considerably less literature that explicitly studies what is producible in large music models. Recent work in interpretability and steerability for large music models has largely shown that while models like MusicGen do encode explicit musical features, it is challenging to be able to steer the models to produce those actual results [21, 22] (Zhao et al. 2026). While there exist studies that analyze whether generative models understand music in a human-realistic manner [24, 25] there is minimal literature that analyzes whether generative models produce human-realistic output. Herein enters our work, the first empirical study of what generative music models can output, and a reproducible formula for analyzing and comparing new model generations in this respect as they emerge.
Problem Statement
We begin with a pretrained model . We define a prompt generation strategy (we describe specifics below), and use it to generate prompts to be mapped to corresponding audio samples with :
where is a text generator conditioned on a prompt strategy and a corpus of base prompts supplying linguistic features such as vocabulary and syntax.
We then extract interpretable features (which can be continuous, e.g., tempo, or categorical, e.g., key) from each generated audio sample:
We produce the empirical feature distribution for model , prompt strategy , and feature :
Let denote a distance (e.g. Wasserstein) between two feature distributions. Then, we can make comparisons between such distributions. We treat the model training regime as a black box, and we only have high-level details for the training data, model architecture, and training techniques such as the number of training points or whether the model is autoregressive or diffusion-based.
This setup supports operationalizing precise questions about the distribution of generated audio. We ask:
What has a larger expected impact on the generated audio: the model or the prompt strategy? These prompt strategies were designed to elicit different behaviors from the same model. Thus, if changing the prompt strategy produces smaller changes than changing the model, then the model is the primary determinant of characteristics of its outputs. In contrast, larger between-strategy differences would instead suggest that prompt design yields more substantial control over observed characteristics of the output. To see this, let be the set of prompt strategies and the set of models. For each feature , we measure:
For continuous features we use Kolmogorov–Smirnov (KS) distance as , and we use total variation (TV) distance for categorical features.
To what degree do generated outputs reproduce the range of characteristics found in human-made music? This is related to concerns about monoculture and homogenization in generative models [14] (Raghavan 2024). For this, we examine how far generated outputs extend toward the central limits, tails, and uncommon categories observed in datasets consisting of human-made music.
For this, we require a human-generated “reference” dataset. Let be a collection of human-produced clips. Then, for feature , we have empirical reference distribution:
For continuous features, we use interval-width ratio and relative probability mass, e.g. for quantiles , we define the ratio of interval widths using the quantile function :
For region with support in the reference distribution, we use relative mass ratio (Pr is a probability measure):
If corresponds to the distribution tail (e.g. top or bottom 5%), then this is tail probability mass. For categorical features, we look at category concentration, e.g., examining largest category share or effective number of categories. Finally, we supplement such feature-based comparisons with analysis of joint feature and embedding spaces.
MADlibs
Prompting Large Music Models
Prompt Generation
Our first task is to generate prompts under a strategy , as introduced in the problem statement in § 3:
where is a source corpus of captions which supplies domain vocabulary and structural statistical properties. Each strategy thus serves as a modeling layer between this source corpus material (for which we rely on Manco et al. [ [27]) and generative models, and induces a prompt distribution ; the corresponding audio distribution for model is:
The downstream empirical feature distribution can then change because of the music model, the prompt strategy, or the interaction between these two variables. The goal of this approach is to produce enough varied conditions to estimate output distributions without restricting the analysis to a manually selected prompt set. The strategies we prototype also progressively introduce musical keywords, corpus-derived statistical properties, and additional heuristics for varying the properties of produced prompt language. Agreement across these different methods would thus help provide evidence of the generality of obtained results.
Blank/constant. Repeats the same fixed string for every sample (empty prompt by default, and in all of our experiments). This is the lowest-information control in the study, serving as a minimal conditioning baseline. Comparing it with non-empty strategies can help evaluate how much prompt text induces distribution changes altogether
Keyword mixing. This introduces coarse musical semantics. Samples one style label, one mood label, and one instrumentation label and concatenates them into a brief prompt as
<mood> <style> featuring <instrument>:
tense mood; lo-fi hip hop style; featuring acoustic guitar instrumentation
The 4 moods × 4 styles × 4 instruments produce possible prompts, which we then sample with replacement.
Mad Libs family. Introduces controlled syntactic structure by separating prompt generation into two components: a structural scaffold and lexical slot fillers. Prompts are constructed from coarse part-of-speech slots (such as noun, verb, adjective, adverb, article, and pronoun), with slot values sampled from the music-domain lexico. We have two variants:
(a) The corpus-induced template derives prompt templates induced from the caption corpus. We tokenize each caption, replace all recognized adjectives/nouns/verbs/adverbs with ordered part-of-speech fields, and keep function words, punctuation, and unmatched tokens as anchors. We then sample templates and template-specific field values per their counts in the corpus. For simplicity, we keep captions with 5–12 tokens and replaceable fields, and then keep the 500 most frequent induced templates.
(b) The (shallow) PCFG variant estimates a probabilistic grammar from observed part-of-speech sequence counts, to better match the structural statistics of the original corpus. Sampling from this strategy involves drawing from these skeletons according to their empirical frequency, and then filling parts-of-speech slots from the music-domain lexicon
For example:
slow and arpeggiated solo piano with reverb
Adj; Adj; N; N
Dependency-graph prompts. Imposes stronger grammatical structure by preserving coarse-grained positional relationships between words. It organizes prompts around a heuristic “root token” (first token recognized as either noun or verb) and then tags each token’s type and position relative to the root as a simple approximation of its role in the sentence. Roles include root_verb, root_noun, comp_verb, obj_noun, pre_adv, and post_adv, and adjectives are classified using the nearest noun. Other tokens are held fixed, and the resulting sequence is then a template, which allows us to roughly approximate sentence grammatical organization without requiring full dependency parsing (since this would introduce another learned model and complicate attribution of downstream differences). We keep the 600 most frequent templates containing 5–14 words and replaceable positions. For example:
Caption:
listen : piano drifts softly at night
root verb object noun complement verb post-root adverb second object noun
Template:
{root_verb}: {obj_noun} {comp_verb} {post_adv} at {obj_noun2}
Note that these strategies are diagnostic heuristics, i.e. they have no claim to optimality, representativeness, or exhaustive coverage, but they provide simple, transparent reference conditions.
In Figure 2, we analyze the distribution of generated prompts. Since we sample with replacement, only the PCFG strategy comprises all 10,000 unique prompts. This figure shows that different strategies clearly produce differing levels of diversity and information-richness, which should in principle correspond to differences in the output distribution.
Figure 2. Characterizing information content in generated prompts: unique share (number of unique prompts / total prompts), effective prompt count (number of unique prompts), effective rank of embedding matrix (erank() = , entropy of normalized singular values), and mean pairwise cosine embedding distance.
Generation Models
We use three models for our experiments: MusicGen [1], ACE-Step [7, 8], and DiffRhythm [9, 10]. MusicGen is an open-weight autoregressive-only model used in other work exploring the behavior of generative music models [21, 22] (Zhao et al. 2026). We then use ACE-Step and DiffRhythm as baselines for modern diffusion transformers.
We choose these models as they are all open-source, open-weight, and are some of the most widely used of the past few years. While we hoped to also include Lyria [28], API rate limits did not allow us to test it at scale.
Reference Dataset
We use the MTG Jamendo [29] dataset and the Song Describer Dataset (SDD) [27] aa reference distributions, where SDD is a subset of MTG Jamendo audio paired with captions. We need a dataset of human-made music to study , an empirical reference distribution of all features. For instance, humans may exhibit mode-seeking behavior on attributes like song key or tempo, which can only be estimated if we have human-made music audio data.
MTG Jamendo contains over 50,000 audio tracks, all with permissive licenses. We acknowledge two key limitations in using MTG Jamendo to approximate human-made music:
Music in the public domain is typically different than commercial music, and therefore may have different feature distributions. However, we postulate that commercial music has a wider distribution than MTG Jamendo with respect to the music features we extract. Therefore, if a music model has a similar distribution to MTG Jamendo, we assume that the music model has a narrower distribution than commercial music and this thus serves as a conservative reference. We make this assumption because all music models included in this study are trained on significantly larger, and partially commercial, music datasets.
MTG Jamendo only has 55,000 audio tracks in total, from which we draw . Even if the songs in MTG Jamendo were of similar quality to commercial music, our sample is modest and thus likely to yield a conservative feature distribution estimator anyway.
As such, we believe that these limitations do not greatly impair our inferences about distribution coverage and other related properties, but rather may bias them to be even more conservative than reality.
Generation Strategy
For each of the prompting strategies (blank, keyword mix, templates, dependency graphs, and PCFG), we sample prompts with replacement (since some strategies have limited vocabulary). We sample an audio file for each prompt as . For ACE-Step and DiffRhythm, we generate 90-second segments. For MusicGen, we generate the maximum length of 30 seconds. We generate only instrumental tracks for consistency across models and to avoid confounding by lyrics. We also use all three models to regenerate outputs for each of the 1,106 captions of the Song Describer Dataset used as prompts. We use the regenerated SDD output as a directly comparable first baseline, along with randomly sampled songs from MTG Jamendo [29] (prompt-free) as our large-scale real reference distribution. Since SDD is a subset of MTG Jamendo, we note that our random MTG Jamendo subset contains 208 SDD songs (29.5% of the SDD dataset).
Analysis
With the music generated, we now seek to understand it. Here, this means extracting features from the music that are human-interpretable and comparable between models . Later, we refer to these features as the musical distribution of the output. We acknowledge that there are many definitions of the word musical; we call this musical because we are looking at components that are extractable with canonical music information retrieval techniques.
Key and Note Detection: We use SKey [30] to detect the keys of generated songs. We define the overall key of the song as the mode of keys in all overlapping 30-second windows. We also capture the relative density of pitch classes with a chromagram sum.
Beat Detection: We use Beat This! [31] library to produce a list of timestamps for each beat and downbeat, which we use to approximate both tempo (here, downbeats-per-minute rather than beats-per-minute to account for subdivision-level noise we observed) and time signature (here, beats between consecutive downbeats).
Instrument Detection: We use Music Flamingo [32] to produce instrument tags for each output track. We recompute instrument tags for our MTG Jamendo subset and SDD baselines using Music Flamingo for consistency across distributions. For both reference datasets, we remove the “vocals” tag since we are comparing against instrumental generations. For each output distribution, we analyze how many and which instruments appear per track.
Dynamics Analysis: To analyze the dynamics of output audio, we extract two metrics from the root mean squared (RMS) amplitude of the windowed audio signal: (1) the longest continuous silence and (2) the standard deviation of RMS. We calculate (1) by computing RMS for 30 ms windows, with silence defined if . There is no universally agreed threshold for silence in RMS values, but we can adopt a fixed one here since our study compares audio across sources using the same metric throughout. We are interested in the longest silence to capture the presence of musical ideas like breaks or breath. We use (2) the standard deviation of RMS to consider how much the dynamics of the audio vary over time. For example, a crescendo or decrescendo would yield a higher RMS standard deviation relative to audio without that dynamic shift.
Prompt Adherence: To measure prompt-adherence, we compute cosine similarity in the CLAP embedding [33] space for prompts and their corresponding outputs.
Results
Model Output is Largely Invariant to Prompt Diversity
We find the musical output distribution varied minimally with prompt diversity, but was rather dominated by model identity using Equations (4) and (5). We have five pseudo-random prompt generation strategies with varying degrees of diversity (Figure 2), which allows us to study how this affects the outputs.
Given that the prompt set generated by PCFG has significantly greater prompt diversity, we would expect the musical output of a model prompted with it to be significantly more diverse than that of a less diverse prompt corpus. However, we empirically observe that the distribution of the musical features is largely unchanged by this, as observed in Figure 4, Figure 6 and Figure 7. For example, Figure 6 shows detected instruments and key for each model and prompt strategy, which are similar for each model irrespective of prompt strategy. Table 1 gives statistical evidence of this across features.
| Blank Included | Metric | Med. ratio | Mean- | p-BH |
| ✖ | Max | 0.78 | -0.14 | 0.016 |
| ✖ | Mean | 0.36 | -0.21 | 0.001 |
| ✖ | Median | 0.24 | -0.27 | 0.001 |
| ✔ | Max | 0.95 | -0.08 | 0.016 |
| ✔ | Mean | 0.49 | -0.19 | 0.001 |
| ✔ | Median | 0.36 | -0.24 | 0.001 |
Table 1. Paired -tests of between-prompt-strategy/between-model distance ratios. Metric is median, mean, or max pairwise KS/TV distance. tests whether prompt-strategy distances are smaller than model distances, all after Benjamini-Hochberg correction.
Figure 4. Coverage of tempo (folded, % 60), dynamic variation (RMS Std.) and chroma concentration (1 - normalized chroma entropy). Thick and thin regions of lines show IQR (25th/75th %-ile) and 90th/10th %-iles, respectively. Inner and outer gray bands show the same quantiles for the real (SDD top, Jamendo otherwise) distribution.
Figure 6. Instrument and key representations relative to the Jamendo baseline (shown as –). Both distributions show greater inequality than the reference distribution, with relative prompt strategy invariance.
Figure 7. Density/ridge plots showing probability mass of various features for all real and synthetic distributions.
We conclude from this that the purported creative affordances of “careful” or “expressive” prompting may not actually be captured by the models’ empirical expressive support. For example, the Keyword Mix strategy had only 64 unique prompts, but the number of songs that had electric guitar-generated or were in the key of G major was essentially the same for more expressive prompters. This could point toward an upper bound on the amount these models are capable of capturing musical variation through prompting. Notably, the blank prompt strategy is an extreme edge case where every prompt is the same (“”), and the output distribution is thus different than other prompt strategies for some models, most clearly with MusicGen.
Each Model Has Learned Idiosyncratic Properties
We also observe that distribution differences between models persist under prompt variation (which Table 1 also supports). For example, ACE-Step 1.5 is not likely to generate synthesizer or electric guitar timbres, but those timbres are common in generated output from DiffRhythm 1.2 and MusicGen Large (see Figure 6). Rather, each model exhibits a recognizable default musical regime, i.e. a region of tempo, instrumentation, harmonic profile, dynamic variation, and other attributes that it repeatedly returns to across prompt distributions.
Analysis of Musical Characteristics
Figure 4 covers an analysis of extracted folded tempo (estimated tempo % 60), RMS std., and chroma concentration. If the folded tempo distribution is wider, the corpus likely has more tempo variation. In this respect, models match the real distribution or are even flatter (e.g. MusicGen). We interpret RMS std. as a signal of dynamic variation, and its distribution is how much this varies across tracks (e.g. via stylistic differences). Variation could be due to macro crescendo/decrescendo dynamic shift, or a more granular variation like a heavily syncopated beat. We find that across all three models and all prompt strategies, the RMS std. was less varied than the baseline MTG-Jamendo dataset. We interpret this as implying that the dynamics of generated music are less context-dependent and more uniform. We also observe that MTG-Jamendo has some music that varies dynamically more than any generated music, other than blank prompts into MusicGen Large. Chroma concentration is inverse summed-chromagram entropy. A chroma concentration closer to zero means a flatter distribution, i.e. all pitch classes are equally present in the aggregated output. Here, DiffRhythm output is similar to Jamendo, but ACE-Step 1.5 and MusicGen Large are shifted left and narrow, meaning that they do not generally prefer certain pitches compared to MTG-Jamendo.
Figure 5 shows the tail mass for these variables, and also for instrument counts. For all three models, the lower tail is overrepresented compared to the SDD dataset by a significant margin (over 2.5× for all). Additionally, for two of the three models, the upper tail for instrument count is significantly underrepresented. All three models are much more likely to generate songs with fewer instruments than the reference, and the distribution of instrument count is narrower, as shown in Figure 7. Figure 6 also shows that piano, drums, and bass guitar comprise a larger share of generated music than Jamendo. We interpret this as generative models overrepresenting common instruments.
Figure 5. Lower- and upper-tail (5th/95th %-ile) ratios relative to Real (SDD). A value of 1 matches the reference tail mass, values above 1 overrepresent extremes, and values below 1 underrepresent them.
Figure 6 offers evidence that models tend to overrepresent common keys such as C and G major. ACE-Step even largely fails to produce songs for certain keys regardless of the prompting strategy. Our interpretation is that generative models tend to overrepresent more common keys, which may be more abundant in online training data, while collapsing (or outright excluding) the tails.
Next, we investigate the models’ capacity for producing silence. John Cage said “try as we may to make a silence, we cannot.” Can generative models? In Table 2, we find that 2/3 models (ACE-Step and DiffRhythm) are more likely to produce silence than Jamendo, whereas MusicGen produces almost none. DiffRhythm also produces longer silences on average.
| Source | AvLS (ms) | (Any Sil.) | ||
| Jamendo | 135.2 | — | 0.072 | — |
| ACE-Step | 36.9 | 0.06 | 0.091 | < .0001 |
| DiffRhythm | 309.4 | 0.002 | 0.084 | < .0001 |
| MusicGen | 0.35 | 0.01 | 0.003 | < .0001 |
Table 2. Average Longest per-track Silence (AvLS) and probability of any silence occurring in a given track.
Finally, we look at CLAP embeddings of the generated audio, which are less interpretable but may capture subtle relationships not addressable via known metrics. First, we consider prompt adherence (see Table 3). We find that ACE-Step has the highest CLAP-rated prompt adherence, then DiffRhythm, then MusicGen. Next, we look at output diversity (Figure 3) and find that all generated model sets are less diverse than SDD, for all, despite containing over the count of tracks. Indeed, ACE-Step is the newest model, has the highest (local) prompt adherence, and the lowest output diversity, a troubling trend toward more compressed distributions.
Figure 3. Diversity metrics for CLAP embeddings of audio outputs from each prompting method, model, and (dashed line) real reference SDD audio. Note: for effective rank, the metric is upper bounded by , and (number of tracks) is much smaller for SDD () and Real (SDD) than the synthetic datasets ().
| Source | EMM [95% CI] | vs. max |
| ACE-Step | 0.245 [0.243, 0.246] | — |
| DiffRhythm | 0.216 [0.215, 0.218] | < .0001 |
| MusicGen | 0.163 [0.162, 0.164] | < .0001 |
Table 3. CLAP similarity estimated marginal means (EMMs) after linear regression with cluster-robust SEs. vs. max is the Benjamini-Hochberg-adjusted contrast against the generator with the largest EMM.
| Source | Pairwise dist. [95% CI] | vs. SDD |
| SDD | 0.61 [0.60, 0.62] | — |
| ACE-Step | 0.33 [0.33, 0.33] | < .0001 |
| DiffRhythm | 0.52 [0.52, 0.53] | < .0001 |
| MusicGen | 0.42 [0.42, 0.42] | < .0001 |
Table 4. Audio embedding cosine-distance diversity aggregated across prompt methods. Values are mean cosine distance [95% CI]; vs. SDD is an approximate BH-adjusted contrast using the reported confidence intervals.
Limitations
Ideally, we would compare the generated output of these music models to a definitive distribution of all human-made music. If such a distribution existed, we would be able to make strong claims about where these text-to-music models fall short of human creative decisions. However, no such data exists (esp. under a permissive license).
For each model, we used default generation parameters, as a typical user would. Since we do not adjust parameters like temperature, top-k/top-p, diffusion sampling steps, etc., we do not analyze their impact on the output. The consistency in comparisons is also limited by the maximum 30-second length of MusicGen, and we acknowledge that this may impact the downstream analyses and comparisons across models.
Conclusion
Evaluations of music generation models arguably have a missing-the-forest-for-the-trees problem. In focusing our attention on the quality of generated outputs, we may miss important properties of their distribution, and thus fail to anticipate downstream effects on musical culture more broadly. In this work, we offer a first glance at this forest, this broader distribution, in the hope of motivating more analysis of how generative outputs might behave at the population level and how we might steer such effects to be commensurate with what we desire.
For instance, our findings demonstrate that if a human prompter wants to exert the most creative influence over their final output, the model they choose to use could affect the musical qualities of their output greatly, beyond just their
prompting. We speculate that this might create a kind of agency inversion, wherein the user appears to exercise control through natural language, but at the population level the model’s learned distribution exerts stronger control over the musical outcome than the user’s efforts. In the worst case, this runs the risk that, absent any principled interventions, generative music models slowly normalize a narrower musical world while still giving users the feeling of choice.
We therefore urge the community to build upon this analysis to discover why these behaviors occur across models and explore model design methodologies in terms of their effects on population-level pluralism and not just output-level quality.
Reproducibility
All code for MADlibs can be found at https://anonymous.4open.science/r/MADlibs-CBD8/
We provide code examples for the following components of the MADlibs pipeline below.
Prompt Generation Generating prompts with the dependency graph prompt strategy can be done as follows
python3 run_prompts.py \
prompt_strategy=dependency_graph \
run.n_prompts=10000 \
run.output_dir=output_dir \
hydra.run.dir=run_dir
Music Generation Once we have our 10,000 prompts, we can generate corresponding music using one of our given models. For this example, we choose ACE-Step:
python3 run_generation.py \
generator=acestep \
prompt_strategy=dependency_graph \
run.output_dir=output_dir \
hydra.run.dir=run_dir
MADlibs Analysis After we have generated the corresponding 10,000 music clips, we can perform MADlibs analysis. We separate this into two categories: analysis_type=mir is for any MIR analysis that only requires CPU (e.g. RMS) and analysis_type=gpu is for any MIR analysis that requires GPU (e.g. instrument tagging). An example of running the MIR analysis pipeline is shown below.
python3 run_mir.py \
analysis_type=mir \
generator=acestep \
prompt_strategy=dependency_graph \
run.output_dir=output_dir \
hydra.run.dir=run_dir
Ethics and consent
We did not perform any human studies in this work.
References
- [1]Jade Copet, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi, and Alexandre Défossez. Simple and controllable music generation. Advances in neural information processing systems (NeurIPS), 36: 47704–47720, 2023.arxiv.org/abs/2306.05284
- [2]Andrea Agostinelli, Timo I Denk, Zalán Borsos, Jesse Engel, Mauro Verzetti, Antoine Caillon, Qingqing Huang, Aren Jansen, Adam Roberts, Marco Tagliasacchi, et al. MusicLM: Generating music from text. arXiv preprint arXiv:2301.11325, 2023.arxiv.org/abs/2301.11325
- [4]Hugo F Flores Garcia, Prem Seetharaman, Rithesh Kumar, and Bryan Pardo. Vampnet: Music generation via masked acoustic token modeling. In Ismir 2023 Hybrid Conference, 2023.
- [5]Ke Chen, Yusong Wu, Haohe Liu, Marianna Nezhurina, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. Musicldm: Enhancing novelty in text-to-music generation using beat-synchronous mixup strategies. In ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1206–1210. IEEE, 2024.arxiv.org/abs/2308.01546
- [6]Zach Evans, Julian D Parker, CJ Carr, Zack Zukowski, Josiah Taylor, and Jordi Pons. Long-form music generation with latent diffusion. Proceedings of the 25th International Society for Music Information Retrieval Conference (ISMIR), 2024.
- [7]Junmin Gong, Sean Zhao, Sen Wang, Shengyuan Xu, and Joe Guo. Ace-step: A step towards music generation foundation model. arXiv preprint arXiv:2506.00045, 2025.arxiv.org/abs/2506.00045
- [8]Junmin Gong, Yulin Song, Wenxiao Zhao, Sen Wang, Shengyuan Xu, and Jing Guo. Ace-step 1.5: Pushing the boundaries of open-source music generation. arXiv preprint arXiv:2602.00744, 2026.arxiv.org/abs/2602.00744
- [9]Ziqian Ning, Huakang Chen, Yuepeng Jiang, Chunbo Hao, Guobin Ma, Shuai Wang, Jixun Yao, and Lei Xie. Diffrhythm: Blazingly fast and embarrassingly simple end-to-end full-length song generation with latent diffusion. arXiv preprint arXiv:2503.01183, 2025.arxiv.org/abs/2503.01183
- [10]Yuepeng Jiang, Huakang Chen, Ziqian Ning, Jixun Yao, Zerui Han, Di Wu, Meng Meng, Jian Luan, Zhonghua Fu, and Lei Xie. Diffrhythm 2: Efficient and high fidelity song generation via block flow matching. arXiv preprint arXiv:2510.22950, 2025.arxiv.org/abs/2510.22950
- [11]Shengbang Tong, Erik Jones, and Jacob Steinhardt. Mass-producing failures of multimodal systems with language models. Advances in neural information processing systems (NeurIPS), 36:29292–29322, 2023.arxiv.org/abs/2306.12105
- [12]Congzheng Song, Alexander M Rush, and Vitaly Shmatikov. Adversarial semantic collisions. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4198–4210, 2020.arxiv.org/abs/2011.04743
- [13]Ilia Shumailov, Zakhar Shumaylov, Yiren Zhao, Nicolas Papernot, Ross Anderson, and Yarin Gal. Ai models collapse when trained on recursively generated data. Nature, 631(8022):755–759, 2024.DOI
- [14]Liwei Jiang, Yuanjun Chai, Margaret Li, Mickel Liu, Raymond Fok, Nouha Dziri, Yulia Tsvetkov, Maarten Sap, and Yejin Choi. Artificial hivemind: The open-ended homogeneity of language models (and beyond). Advances in Neural Information Processing Systems, 38, 2026.arxiv.org/abs/2510.22954
- [15]Keyon Vafa, Sarah Bentley, Jon Kleinberg, and Sendhil Mullainathan. What’s producible may not be reachable: Measuring the steerability of generative models. Advances in neural information processing systems (NeurIPS), 2025.
- [21]Megan Wei, Michael Freeman, Chris Donahue, and Chen Sun. Do music generation models encode music theory? Proceedings of the 25th International Society for Music Information Retrieval Conference (ISMIR), 2024.arxiv.org/abs/2410.00872
- [22]Nikhil Singh, Manuel Cherep, and Pattie Maes. Discovering and steering interpretable concepts in large generative music models. The Fourteenth International Conference on Learning Representations (ICLR), 2026.arxiv.org/abs/2505.18186
- [24]Yongyi Zang, Sean O’Brien, Taylor Berg-Kirkpatrick, Julian McAuley, and Zachary Novack. Are you really listening? boosting perceptual awareness in music-qa benchmarks. arXiv preprint arXiv:2504.00369, 2025.arxiv.org/abs/2504.00369
- [25]Giovana Morais and Magdalena Fuentеs. Investigating modality contribution in audio llms for music. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 3496–3500. IEEE, 2026.DOI
- [27]Ilaria Manco, Benno Weck, Seungheon Doh, Minz Won, Yixiao Zhang, Dmitry Bogdanov, Yusong Wu, Ke Chen, Philip Tovstogan, Emmanouil Benetos, et al. The song describer dataset: a corpus of audio captions for music-and-language evaluation. In Workshop on Machine Learning for Audio, Neural Information Processing Systems (NeurIPS). Neural Information Processing Systems, 2023.arxiv.org/abs/2311.10057
- [28]Lyria Team, Antoine Caillon, Brian McWilliams, Cassie Tarakajian, Ian Simon, Ilaria Manco, Jesse Engel, Noah Constant, Yunpeng Li, Timo I Denk, et al. Live music models. arXiv preprint arXiv:2508.04651, 2025.arxiv.org/abs/2508.04651
- [29]Dmitry Bogdanov, Minz Won, Philip Tovstogan, Alastair Porter, and Xavier Serra. The mtg-jamendo dataset for automatic music tagging. In Machine learning for music discovery workshop, international conference on machine learning (ICML 2019), pages 1–3. Long Beach, CA, United States, 2019.
- [30]Yuexuan Kong, Gabriel Meseguer-Brocal, Vincent Lostanlen, Mathieu Lagrange, and Romain Hennequin. S-key: Self-supervised learning of major and minor keys from audio. In ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE, 2025.DOI
- [31]Francesco Foscarin, Jan Schlütter, and Gerhard Widmer. Beat this! accurate beat tracking without DBN postprocessing. In Proceedings of the 25th International Society for Music Information Retrieval Conference (ISMIR), San Francisco, CA, United States, November 2024.
- [32]Sreyan Ghosh, Arushi Goel, Lasha Koroshinadze, Sang-gil Lee, Zhifeng Kong, Joao Felipe Santos, Ramani Duraiswami, Dinesh Manocha, Wei Ping, Mohammad Shoeybi, et al. Music flamingo: Scaling music understanding in audio language models. In The Fourteenth International Conference on Learning Representations (ICLR), 2026.arxiv.org/abs/2511.10289
- [33]Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. Large-scale contrastive language-audio pretraining with feature fusion and keyword-to-caption augmentation. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE, 2023.






