TL;DR
SemanticVocoder completely removes Variational Autoencoders (VAEs) from the text-to-audio generation pipeline, replacing acoustic latents with high-dimensional semantic latents from a pre-trained understanding model. By combining these semantic latents with a flow-matching generative vocoder, the framework achieves state-of-the-art text-to-audio synthesis while unifying audio generation and understanding within a single shared latent space.
What Problem Does This Paper Address?
Most modern text-to-audio (TTA) generation systems rely on a two-stage Latent Diffusion Model (LDM) framework. First, a VAE compresses audio into a low-dimensional "acoustic latent space." Second, a diffusion model learns to map text descriptions to these latents.
However, VAEs are optimized purely for reconstruction and compression. This forces their latent space to pack dense, low-level acoustic details (like background noise or phase information) while entangling high-level semantic concepts. For the second-stage model, mapping abstract text (e.g., "a dog barking") to these noisy, hyper-detailed acoustic variations is incredibly difficult. The authors set out to fix this optimization mismatch by shifting the generation target from acoustic details to high-level semantic structures.
Methods
The authors introduce SemanticVocoder, which completely bypasses VAEs:
- Semantic Latent Extraction: Instead of a VAE encoder, they use a frozen, pre-trained Masked Autoencoder (MAE) audio encoder (
dasheng_base). This encoder is optimized to capture global structural patterns and semantic content, yielding high-dimensional semantic latents. - Flow-Matching Generative Vocoder: Because semantic latents discard fine-grained acoustic details, traditional deterministic reconstruction networks produce heavily distorted audio. SemanticVocoder solves this by treating waveform synthesis as a generative task using flow matching (adapted from Flow2GAN). It directly predicts Short-Time Fourier Transform (STFT) coefficients from the semantic latents across parallel ConvNeXt branches.
- Text-to-Latent Generation: For the downstream TTA task, a Diffusion Transformer (DiT) is trained to predict these semantic latents from text embeddings generated by a Flan-T5 text encoder.
Crucially, because the semantic latents act as a fixed, stable anchor, the text-to-latent model and the SemanticVocoder can be trained simultaneously and independently, enabling a plug-and-play architecture.
Datasets
- AudioSet: Used to train the SemanticVocoder backbone (270 epochs).
- WavCaps & AudioCaps: Combined to pre-train the text-to-latent Diffusion Transformer (DiT), with AudioCaps used for final fine-tuning and primary TTA evaluation.
- HEAR Benchmark (DCASE2016, ESC50, FSD50k): Used to evaluate the semantic discriminability and structure of the latent spaces.
- Clotho: Used as an out-of-domain test set to evaluate cross-domain generalization capability.
Key Insights and Ideas
- Balancing the Optimization Burden: Traditional pipelines make the text-to-latent step extremely hard (text $\rightarrow$ low-level acoustic noise) and the latent-to-waveform step easy. SemanticVocoder rebalances this: mapping text to semantic latents is much easier because they share a high-level conceptual space, while the generative flow-matching vocoder handles the heavy lifting of synthesizing acoustic details from abstract concepts.
- Generative vs. Reconstructive Decoding: You cannot decode semantic latents using standard VAE decoders. Since semantic latents prioritize meaning over raw signal details, a generative framework (like flow matching) is required to "hallucinate" plausible acoustic details that match the semantics.
- Unification of Generation and Understanding: By using an understanding-oriented MAE encoder as the core representation, the same latent space can seamlessly perform both audio understanding (classification) and generation (synthesis).
Key Results
- State-of-the-Art TTA: On the AudioCaps test set, SemanticVocoder achieved a Fréchet Audio Distance ($FAD_{VGG}$) of 1.709 and a Fréchet Distance ($FD_{PANNs}$) of 12.823, significantly outperforming top-tier baselines like EzAudio, TangoFlux, and AudioLDM2.
- Superior Semantic Discriminability: When evaluated on the HEAR benchmark using simple linear classifiers on fixed latents, the semantic latents drastically outperformed VAE latents. For example, on ESC50, SemanticVocoder's latents achieved an accuracy of 83.400% compared to StableAudio's 42.450%.
- Strong Cross-Domain Generalization: On the Clotho dataset (without fine-tuning), it maintained top-tier performance with an FAD of 1.833 and FD of 18.690.
Limitations and Future Work
- Encoder Dependency: The quality of the generated audio is strictly bounded by the representation capacity of the pre-trained semantic encoder.
- Audio Length Constraints: The current model is limited to generating short audio clips (e.g., 10 seconds) and cannot natively produce long-form audio.
- Evaluation Gaps: Standard objective metrics like FAD and FD do not capture all nuances of human perception, highlighting the need for comprehensive subjective listening tests in future iterations.
Summary updated