Papers › FlashAudio: Rectified Flows for Fast and High-Fidelity Text-to-Audio Generation

FlashAudio: Rectified Flows for Fast and High-Fidelity Text-to-Audio Generation

16 Oct 2024arXiv:2410.12266archive 2025-07-28

Huadai Liu, Jialei Wang, Rongjie Huang, Yang Liu, Heng Lu, Zhou Zhao, Wei Xue

Recent advancements in latent diffusion models (LDMs) have markedly enhanced text-to-audio generation, yet their iterative sampling processes impose substantial computational demands, limiting practical deployment. While recent methods utilizing consistency-based distillation aim to achieve few-step or single-step inference, their one-step performance is constrained by curved trajectories, preventing them from surpassing traditional diffusion models. In this work, we introduce FlashAudio with rectified flows to learn straight flow for fast simulation. To alleviate the inefficient timesteps allocation and suboptimal distribution of noise, FlashAudio optimizes the time distribution of rectified flow with Bifocal Samplers and proposes immiscible flow to minimize the total distance of data-noise pairs in a batch vias assignment. Furthermore, to address the amplified accumulation error caused by the classifier-free guidance (CFG), we propose Anchored Optimization, which refines the guidance scale by anchoring it to a reference trajectory. Experimental results on text-to-audio generation demonstrate that FlashAudio's one-step generation performance surpasses the diffusion-based models with hundreds of sampling steps on audio quality and enables a sampling speed of 400x faster than real-time on a single NVIDIA 4090Ti GPU. Code will be available at https://github.com/liuhuadai/FlashAudio.

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="2410.12266")

Code

Syntology Ran 8 of 10 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · violated contract; 4 ran · our draft was wrong; 2 ran with no contract checked.

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

Text-to-Audio/AudioLCM mentioned on GitHubpytorch 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

10 samples harvested; 8 ran; 0 honoured the contract we drafted; 2 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 · violated contract
4ran · our draft was wrong
2ran
2unverified

Licence: 10 of the 10 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 Text-to-Audio/AudioLCM. “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.

Normalize Text-to-Audio/AudioLCM/ldm/models/autoencoder1d.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 9fcdaa6e423e8aa7 · report
always Text-to-Audio/AudioLCM/ldm/modules/x_transformer.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · fe5dd5258046898c · report
cal_score_by_csv Text-to-Audio/AudioLCM/wav_evaluation/cal_clap_score.py community (archive-listed) ran no licence file found · pointer only · f11b59ba32ad8d75 · report
default Text-to-Audio/AudioLCM/ldm/modules/attention.py community (archive-listed) ran · violated contract no licence file found · pointer only · 424012cb37b31172 · report
exists Text-to-Audio/AudioLCM/ldm/modules/attention.py community (archive-listed) ran · violated contract no licence file found · pointer only · aa5486a3650902d8 · report
ismap Text-to-Audio/AudioLCM/ldm/util.py community (archive-listed) ran no licence file found · pointer only · d72762b700feee6f · report
nonlinearity Text-to-Audio/AudioLCM/ldm/models/autoencoder1d.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 3137073275f8c21a · report
uniq Text-to-Audio/AudioLCM/ldm/modules/attention.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 9a299fe5ae09e407 · report
log_txt_as_img Text-to-Audio/AudioLCM/ldm/util.py community (archive-listed) unverified no licence file found · pointer only · f9bd2e83191afad1 · report
md5_hash Text-to-Audio/AudioLCM/ldm/util.py community (archive-listed) unverified no licence file found · pointer only · c8d9d38b144e401f · report

Tasks

Audio Generation

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DiffusionSPEED

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