TangoFlux: Super Fast and Faithful Text to Audio Generation with Flow Matching and Clap-Ranked Preference Optimization
Chia-Yu Hung, Navonil Majumder, Zhifeng Kong, Ambuj Mehrish, Amir Ali Bagherzadeh, Chuan Li, Rafael Valle, Bryan Catanzaro, Soujanya Poria
TL;DR
TangoFlux delivers a fast, open-access text-to-audio generation framework based on rectified flow, achieving 30-second outputs in under 4 seconds on a single A40 GPU with 515M parameters. It introduces CRPO, an online, self-improving alignment loop that uses CLAP as a proxy reward to create and optimize audio preferences, outperforming static datasets. The combination of a VAE-based audio encoding, text and duration conditioning, and an efficient flow-based backbone yields state-of-the-art objective and human-evaluated performance, especially on multi-event prompts, while maintaining runtime efficiency. This work emphasizes the practicality of non-proprietary data for competitive TTA and provides open-source tooling to accelerate research in text-to-audio generation.
Abstract
We introduce TangoFlux, an efficient Text-to-Audio (TTA) generative model with 515M parameters, capable of generating up to 30 seconds of 44.1kHz audio in just 3.7 seconds on a single A40 GPU. A key challenge in aligning TTA models lies in the difficulty of creating preference pairs, as TTA lacks structured mechanisms like verifiable rewards or gold-standard answers available for Large Language Models (LLMs). To address this, we propose CLAP-Ranked Preference Optimization (CRPO), a novel framework that iteratively generates and optimizes preference data to enhance TTA alignment. We demonstrate that the audio preference dataset generated using CRPO outperforms existing alternatives. With this framework, TangoFlux achieves state-of-the-art performance across both objective and subjective benchmarks. We open source all code and models to support further research in TTA generation.
