Organization developing the model: The Reality Labs XRTech Core AI team.
Model date: MelodyFlow was trained between September and October 2024.
Model version: This is the version 1 of the model.
Model type: MelodyFlow consists in a quantizer-free EnCodec model, a Flow Matching Diffusion Transformer and a regularized latent inversion algorithm. The model comes in sizes 300M and 1B. MelodyFlow supports both text-guided music generation and text-guided music editing (from a source audio sample).
Paper or resources for more information: More information can be found in the paper High Fidelity Text-Guided Music Editing via Single-Stage Flow Matching.
Citation details: See our paper
License: Code is released under MIT, model weights are released under CC-BY-NC 4.0.
Where to send questions or comments about the model: Questions and comments about MelodyFlow can be sent via the GitHub repository of the project, or by opening an issue.
Primary intended use: The primary use of MelodyFlow is research on AI-based music generation and editing, including:
Primary intended users: The primary intended users of the model are researchers in audio, machine learning and artificial intelligence, as well as amateur seeking to better understand those models.
Out-of-scope use cases: The model should not be used on downstream applications without further risk evaluation and mitigation. The model should not be used to intentionally create or disseminate music pieces that create hostile or alienating environments for people. This includes generating music that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.
Models performance measures: We used the following objective measure to evaluate the model on a standard music benchmark:
Additionally, we run qualitative studies with human participants, evaluating the performance of the model with the following axes:
More details on performance measures and human studies can be found in the paper.
Decision thresholds: Not applicable.
The model was evaluated on the MusicCaps benchmark and on an in-domain held-out evaluation set, with no artist overlap with the training set.
The model was trained on licensed data using the following sources: the Meta Music Initiative Sound Collection, Shutterstock music collection and the Pond5 music collection. See the paper for more details about the training set and corresponding preprocessing.
Below are the objective metrics obtained on MusicCaps with the released model. Note that for the publicly released models, we used the state-of-the-art music source separation method, namely the open source Hybrid Transformer for Music Source Separation (HT-Demucs), in order to keep only instrumental tracks. This explains the difference in objective metrics with the models used in the paper.
| Model | Frechet Audio Distance | KLD | Text Consistency |
|---|---|---|---|
| facebook/melodyflow-t24-30secs | 4.79 | 1.28 | 0.29 |
More information can be found in the paper High Fidelity Text-Guided Music Editing via Single-Stage Flow Matching, in the Results section.
Data: The data sources used to train the model are created by music professionals and covered by legal agreements with the right holders. The model is trained on 16K hours of data, we believe that scaling the model on larger datasets can further improve the performance of the model.
Mitigations: Tracks that include vocals have been removed from the data source using corresponding tags, and using a state-of-the-art music source separation method, namely using the open source Hybrid Transformer for Music Source Separation (HT-Demucs).
Limitations:
Biases: The source of data is potentially lacking diversity and all music cultures are not equally represented in the dataset. The model may not perform equally well on the wide variety of music genres that exists. The generated samples from the model will reflect the biases from the training data. Further work on this model should include methods for balanced and just representations of cultures, for example, by scaling the training data to be both diverse and inclusive.
Risks and harms: Biases and limitations of the model may lead to generation of samples that may be considered as biased, inappropriate or offensive. We believe that providing the code to reproduce the research and train new models will allow to broaden the application to new and more representative data.
Use cases: Users must be aware of the biases, limitations and risks of the model. MelodyFlow is a model developed for artificial intelligence research on controllable music generation. As such, it should not be used for downstream applications without further investigation and mitigation of risks.
Organization developing the model: The Reality Labs XRTech Core AI team.
Model date: MelodyFlow was trained between September and October 2024.
Model version: This is the version 1 of the model.
Model type: MelodyFlow consists in a quantizer-free EnCodec model, a Flow Matching Diffusion Transformer and a regularized latent inversion algorithm. The model comes in sizes 300M and 1B. MelodyFlow supports both text-guided music generation and text-guided music editing (from a source audio sample).
Paper or resources for more information: More information can be found in the paper High Fidelity Text-Guided Music Editing via Single-Stage Flow Matching.
Citation details: See our paper
License: Code is released under MIT, model weights are released under CC-BY-NC 4.0.
Where to send questions or comments about the model: Questions and comments about MelodyFlow can be sent via the GitHub repository of the project, or by opening an issue.
Primary intended use: The primary use of MelodyFlow is research on AI-based music generation and editing, including:
Primary intended users: The primary intended users of the model are researchers in audio, machine learning and artificial intelligence, as well as amateur seeking to better understand those models.
Out-of-scope use cases: The model should not be used on downstream applications without further risk evaluation and mitigation. The model should not be used to intentionally create or disseminate music pieces that create hostile or alienating environments for people. This includes generating music that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.
Models performance measures: We used the following objective measure to evaluate the model on a standard music benchmark:
Additionally, we run qualitative studies with human participants, evaluating the performance of the model with the following axes:
More details on performance measures and human studies can be found in the paper.
Decision thresholds: Not applicable.
The model was evaluated on the MusicCaps benchmark and on an in-domain held-out evaluation set, with no artist overlap with the training set.
The model was trained on licensed data using the following sources: the Meta Music Initiative Sound Collection, Shutterstock music collection and the Pond5 music collection. See the paper for more details about the training set and corresponding preprocessing.
Below are the objective metrics obtained on MusicCaps with the released model. Note that for the publicly released models, we used the state-of-the-art music source separation method, namely the open source Hybrid Transformer for Music Source Separation (HT-Demucs), in order to keep only instrumental tracks. This explains the difference in objective metrics with the models used in the paper.
| Model | Frechet Audio Distance | KLD | Text Consistency |
|---|---|---|---|
| facebook/melodyflow-t24-30secs | 4.79 | 1.28 | 0.29 |
More information can be found in the paper High Fidelity Text-Guided Music Editing via Single-Stage Flow Matching, in the Results section.
Data: The data sources used to train the model are created by music professionals and covered by legal agreements with the right holders. The model is trained on 16K hours of data, we believe that scaling the model on larger datasets can further improve the performance of the model.
Mitigations: Tracks that include vocals have been removed from the data source using corresponding tags, and using a state-of-the-art music source separation method, namely using the open source Hybrid Transformer for Music Source Separation (HT-Demucs).
Limitations:
Biases: The source of data is potentially lacking diversity and all music cultures are not equally represented in the dataset. The model may not perform equally well on the wide variety of music genres that exists. The generated samples from the model will reflect the biases from the training data. Further work on this model should include methods for balanced and just representations of cultures, for example, by scaling the training data to be both diverse and inclusive.
Risks and harms: Biases and limitations of the model may lead to generation of samples that may be considered as biased, inappropriate or offensive. We believe that providing the code to reproduce the research and train new models will allow to broaden the application to new and more representative data.
Use cases: Users must be aware of the biases, limitations and risks of the model. MelodyFlow is a model developed for artificial intelligence research on controllable music generation. As such, it should not be used for downstream applications without further investigation and mitigation of risks.