Papers › AudioLDM 2: Learning Holistic Audio Generation with Self-supervised Pretraining

AudioLDM 2: Learning Holistic Audio Generation with Self-supervised Pretraining

10 Aug 2023arXiv:2308.05734archive 2025-07-28

Haohe Liu, Yi Yuan, Xubo Liu, Xinhao Mei, Qiuqiang Kong, Qiao Tian, Yuping Wang, Wenwu Wang, Yuxuan Wang, Mark D. Plumbley

Although audio generation shares commonalities across different types of audio, such as speech, music, and sound effects, designing models for each type requires careful consideration of specific objectives and biases that can significantly differ from those of other types. To bring us closer to a unified perspective of audio generation, this paper proposes a framework that utilizes the same learning method for speech, music, and sound effect generation. Our framework introduces a general representation of audio, called "language of audio" (LOA). Any audio can be translated into LOA based on AudioMAE, a self-supervised pre-trained representation learning model. In the generation process, we translate any modalities into LOA by using a GPT-2 model, and we perform self-supervised audio generation learning with a latent diffusion model conditioned on LOA. The proposed framework naturally brings advantages such as in-context learning abilities and reusable self-supervised pretrained AudioMAE and latent diffusion models. Experiments on the major benchmarks of text-to-audio, text-to-music, and text-to-speech demonstrate state-of-the-art or competitive performance against previous approaches. Our code, pretrained model, and demo are available at https://audioldm.github.io/audioldm2.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.05734")

Code

Syntology Ran 12 of 27 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · violated contract; 7 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 8 ran; community (archive-listed): 14 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

haoheliu/AudioLDM2 officialmentioned on GitHubpytorchNOASSERTION report
haoheliu/audioldm-training-finetuning mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested; 12 ran; 2 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · violated contract
7ran
15unverified

Licence: 13 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_bit_depth haoheliu/AudioLDM2/audioldm2/utils.py official repository ran no licence file found · pointer only · 33e4f7a8bf80ee3a · report
get_duration haoheliu/AudioLDM2/audioldm2/utils.py official repository ran no licence file found · pointer only · 159fc130dc64d332 · report
get_map haoheliu/AudioLDM2/audioldm2/clap/open_clip/loss.py official repository ran fingerprinted no licence file found · pointer only · 8f1fbba0d901fc52 · report
get_padding haoheliu/AudioLDM2/audioldm2/hifigan/models.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · a26f85d7c72ef39a · report
get_param_num haoheliu/AudioLDM2/audioldm2/utilities/model.py official repository ran · honoured contract no licence file found · pointer only · f1cba67eb6d6e4ad · report
read_list haoheliu/AudioLDM2/audioldm2/utils.py official repository ran licence not identified · pointer only · b18f6b953126d4e6 · report
set_cond_text haoheliu/AudioLDM2/audioldm2/pipeline.py official repository ran licence not identified · pointer only · 360696965b9c6f2a · report
torch_version_orig_mod_remove haoheliu/AudioLDM2/audioldm2/utilities/model.py official repository ran no licence file found · pointer only · 4dab43e0c6c8c170 · report
build_model_from_openai_state_dict haoheliu/AudioLDM2/audioldm2/clap/open_clip/model.py official repository unverified licence not identified · pointer only · fde7529206b8c46f · report
gather_features haoheliu/AudioLDM2/audioldm2/clap/open_clip/loss.py official repository unverified no licence file found · pointer only · 9b31c784540df0d7 · report
get_available_checkpoint_keys haoheliu/AudioLDM2/audioldm2/utilities/model.py official repository unverified no licence file found · pointer only · 89bb9be7815a9834 · report
lp_gather_features haoheliu/AudioLDM2/audioldm2/clap/open_clip/loss.py official repository unverified no licence file found · pointer only · 473061649d09d30c · report
trace_model haoheliu/AudioLDM2/audioldm2/clap/open_clip/model.py official repository unverified no licence file found · pointer only · 6c018f9e8c31090c · report
calculate_relative_bandwidth haoheliu/audioldm-training-finetuning/audioldm_train/dataset_plugin.py community (archive-listed) ran MIT (permissive) · 22310b73059fa8cb · report
is_global_master haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/distributed.py community (archive-listed) ran · violated contract MIT (permissive) · 7c29b374198bddcd · report
is_local_master haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/distributed.py community (archive-listed) ran · violated contract MIT (permissive) · 0377e309e95cfc3e · report
is_master haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/distributed.py community (archive-listed) ran · violated contract MIT (permissive) · b092791002b40e8a · report
accuracy haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/zero_shot.py community (archive-listed) unverified MIT (permissive) · aafcff3ad1ccef6e · report
cosine_lr haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/scheduler.py community (archive-listed) unverified MIT (permissive) · 932d44bbf8bd0e3f · report
get_default_params haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/params.py community (archive-listed) unverified MIT (permissive) · 575ba28efe232215 · report
get_vits_phoneme_ids haoheliu/audioldm-training-finetuning/audioldm_train/dataset_plugin.py community (archive-listed) unverified MIT (permissive) · 0186ae56bb268a36 · report
get_vits_phoneme_ids_no_padding haoheliu/audioldm-training-finetuning/audioldm_train/dataset_plugin.py community (archive-listed) unverified MIT (permissive) · ad984e4532566626 · report
int16_to_float32 haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/data.py community (archive-listed) unverified MIT (permissive) · 47bbdd629908bce3 · report
is_pretrained_params haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/lp_main.py community (archive-listed) unverified MIT (permissive) · c7e729e9f89167e4 · report
run haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/zero_shot.py community (archive-listed) unverified MIT (permissive) · 7ffcc636c121640f · report
unwrap_model haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/lp_train.py community (archive-listed) unverified MIT (permissive) · 2bf62c0287050bdd · report
update_top_k_performance haoheliu/audioldm-training-finetuning/audioldm_train/modules/clap/training/lp_main.py community (archive-listed) unverified MIT (permissive) · 4ccd5f0108a2c3f2 · report

Tasks

Audio GenerationIn-Context LearningRepresentation LearningText to SpeechText-to-Music Generationtext-to-speech

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Audio Generation AudioCaps AudioLDM2-large CLAP_LAION 0.53 #8 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM2-large CLAP_MS 0.37 #8 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM2-large FAD 2.02 #8 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM2-large FD 26.18 #8 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM2-large FD_openl3 158.04 #8 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM2-large IS 8.55 #8 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM2-large KL_passt 1.68 #8 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM 2-AC-Large CLAP_LAION 0.243 #13 of 23 Archive leaderboard report
Audio Generation AudioCaps AudioLDM 2-AC-Large FAD 1.42 #13 of 23 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-large CLAP_LAION 0.48 #8 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-large CLAP_MS 0.47 #8 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-large FAD 2.93 #8 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-large FD 16.34 #8 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-large FD_openl3 190.16 #8 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-large IS 2.59 #8 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-large KL_passt 1.00 #8 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM 2-Full FAD 3.13 #9 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM 2-Full KL_passt 1.20 #9 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-music FD_openl3 354.05 #21 of 21 Archive leaderboard report
Text-to-Music Generation MusicCaps AudioLDM2-music KL_passt 1.53 #21 of 21 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDiffusionDiscriminative Fine-TuningDropoutGPT-2Latent Diffusion ModelLayer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionResidual ConnectionSoftmaxWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections