Unified Synthesis of Compositional Speech and Sound from Free-Form Text Prompts

Yuyue Wang, Xihua Wang, Xin Cheng, Yijing Chen, Ruihua Song

TL;DR

PlanAudio is a monolithic, LLM-based framework that synthesizes unified audio containing both speech and sound effects directly from free-form text prompts. By introducing an implicit "Semantic Latent Chain-of-Thought," it eliminates the need for complex text-rewriting pipelines or separate text encoders, achieving superior temporal alignment and realism in complex audio scenes.

What Problem Does This Paper Address?

Generating audio that naturally blends human speech with environmental sounds (e.g., "Upbeat music starts playing, Trevor Noah says 'This is great!', followed by loud applause") is incredibly difficult.

Current systems typically handle this in one of two suboptimal ways:

  1. Disjoint Pipelines: They stitch together separate Text-to-Speech (TTS) and Text-to-Sound (T2S) models. This often results in poor timing and mismatched acoustics (e.g., the applause overlapping the speech incorrectly).
  2. Structured Inputs: They rely on external LLMs to rewrite free-form prompts into rigid, multi-input templates. This increases system complexity and introduces cascading errors.

The authors address this by defining a new task—Free-Form-Text-Prompt-to-Unified-Audio generation—and proposing a single, end-to-end model that handles comprehension and synthesis simultaneously.

Figure 1: Paradigms for Free-Form-Text-to-Unified-Audio Generation. (a) Pipeline Approach: Separates Text-to-Speech and Text-to-Sound models. (b) Previous Unified Approach: Relies on text rewriting and multi-encoder. (c) PlanAudio (Ours): Direct free-form text processing.

Methods

PlanAudio replaces multi-module pipelines with a streamlined, autoregressive LLM framework initialized from Qwen2.5-1.5B.

Instead of using traditional text encoders, text tokens are fed directly into the LLM to leverage its intrinsic reasoning capabilities. The core innovation is a two-phase generation process mediated by a Semantic Latent Chain-of-Thought (Latent CoT) mechanism:

  1. Semantic Latent CoT (Planning Phase): The model translates the text prompt into a sequence of continuous features in a semantic latent space. This acts as an implicit "blueprint" or layout, dictating the temporal orchestration of sound events and speech prosody before any audio is generated. This phase is supervised using embeddings from a pre-trained Audio Flamingo 3 Encoder.
  2. Acoustic Generation (Synthesis Phase): Conditioned on both the text prompt and the latent plan, the model autoregressively predicts hierarchical discrete audio tokens via an AudioCraft tokenizer, which are then decoded into the final waveform.
Figure 2: PlanAudio framework. Given a free-form text prompt input, the model first performs Semantic Latent Chain-of-Thought (Latent CoT) planning in a continuous space, followed by the autoregressive audio generation process to generate the final unified audio.

Datasets

To train and evaluate PlanAudio across diverse scenarios, the authors compiled a 1.27M audio training pool consisting of three categories:

  • Composite Audio (371k): Real-world clips from AudioSet. Because joint speech-sound annotations are scarce, the authors used a decoupled strategy leveraging Whisper for transcriptions and Gemini-2.5 Pro for non-linguistic descriptions.
  • Sound Audio (451k): Sourced from AudioCaps and WavCaps.
  • Speech Audio (354k): Sourced from LibriTTS.

Additionally, they introduced PlanAudio-Bench, a specialized evaluation benchmark containing 4,500 high-quality instances with strong speech-sound interactions.

Key Insights and Ideas

  • The Expressive Bottleneck of Language: While explicit CoT (generating natural language reasoning chains) works well for text tasks, it struggles with dense, overlapping audio. Continuous latent features are far more effective at capturing complex, simultaneous acoustic interactions than text descriptions.
  • Reconstruction vs. Planning: The authors experimented with using discrete acoustic tokens (from the audio codec) as the CoT supervision. This performed poorly because features optimized purely for audio reconstruction lack the high-level semantic depth required for structural planning.
  • Curriculum Balancing Prevents Forgetting: When training on multiple audio domains, sequential training (moving from single-scenario to composite audio) causes severe catastrophic forgetting. A uniform data curriculum ("Constant Balancing") where samples from all scenarios are drawn equally throughout training is vital for robust generalization.

Key Results

PlanAudio significantly outperforms both pipeline approaches and unified baselines like VoiceLDM on composite audio generation.

  • Objective Metrics: On PlanAudio-Bench, PlanAudio achieved a Fréchet Audio Distance ($\text{FD}_{\text{PANNs}}$) of 8.52, drastically outperforming VoiceLDM-m (22.9) and the AudioLDM2 pipeline (14.3), indicating much higher audio fidelity and closer alignment to the ground truth.
  • Qualitative Alignment: Mel-spectrogram analysis demonstrates that PlanAudio precisely follows complex temporal instructions (e.g., placing a violin melody strictly before and after a spoken sentence), whereas baseline models often erroneously bleed background sounds across the entire track.
Figure 3: Qualitative comparison of audio mel-spectrograms from different models. Textual keywords and corresponding audio segments are indicated by the same colors. In case (a) and (b), PlanAudio demonstrates precise temporal scheduling by accurately aligning audio events with the prompts, whereas baselines often fail. Case (c) highlights PlanAudio’s authenticity of generation, where speech and music are naturally intertwined, avoiding the artificial artifacts visible in VoiceLDM.

Limitations and Future Work

While PlanAudio excels at complex, multi-layered audio environments, it slightly trails specialized, single-domain speech models in completely quiet settings. This is primarily due to the reconstruction ceiling of the underlying audio codec used.

The authors note that future work will target integration with stronger audio codecs and explore better semantic-acoustic trade-offs. They also explicitly acknowledge the potential dual-use risk of the technology for generating deceptive audio/deepfakes.

Summary updated

BibTeX
@inproceedings{wang2026unified,
  author = {Yuyue Wang and Xihua Wang and Xin Cheng and Yijing Chen and Ruihua Song},
  title = {{Unified Synthesis of Compositional Speech and Sound from Free-Form Text Prompts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Am7V8MfDiN},
}
Figure