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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Huadai, Wang, Jialei, Huang, Rongjie, Liu, Yang, Lu, Heng, Zhao, Zhou, Xue, Wei
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912409945374720
author Liu, Huadai
Wang, Jialei
Huang, Rongjie
Liu, Yang
Lu, Heng
Zhao, Zhou
Xue, Wei
author_facet Liu, Huadai
Wang, Jialei
Huang, Rongjie
Liu, Yang
Lu, Heng
Zhao, Zhou
Xue, Wei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_12266
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FlashAudio: Rectified Flows for Fast and High-Fidelity Text-to-Audio Generation
Liu, Huadai
Wang, Jialei
Huang, Rongjie
Liu, Yang
Lu, Heng
Zhao, Zhou
Xue, Wei
Audio and Speech Processing
Sound
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.
title FlashAudio: Rectified Flows for Fast and High-Fidelity Text-to-Audio Generation
topic Audio and Speech Processing
Sound
url https://arxiv.org/abs/2410.12266