Abstract
Despite significant advancements in Text-to-Audio (TTA) generation models achieving high-fidelity audio with fine-grained context understanding, they struggle to model the relations between audio events described in the input text. However, previous TTA methods have not systematically explored audio event relation modeling, nor have they proposed frameworks to enhance this capability. In this work, we systematically study audio event relation modeling in TTA generation models. We first establish a benchmark for this task by:
- proposing a comprehensive relation corpus covering all potential relations in real-world scenarios;
- introducing a new audio event corpus encompassing commonly heard audios; and 3. proposing new evaluation metrics to assess audio event relation modeling from various perspectives. Furthermore, we propose a finetuning framework to enhance existing TTA models' ability to model audio events relation.
Introduction
Current state-of-the-art Text-to-Audio (TTA) models, such as AudioLDM and Tango, have achieved impressive results in generating high-fidelity sounds from natural language descriptions. However, these models often treat text prompts as a "bag-of-words," failing to capture the complex "connective tissue" of language—the prepositions and logical operators that define how events relate in time and space. For instance, a prompt requesting a "dog barking followed by a cat meowing" might result in the sounds playing simultaneously or only one sound being generated at all.
This paper identifies three major gaps in the field: a lack of systematic study on audio event relations, a dataset bias toward isolated (unary) events in existing corpora like AudioSet, and the inadequacy of standard metrics like Fréchet Audio Distance (FAD) to measure relational correctness. To address these, we introduce RiTTA, a comprehensive framework for modeling relations in TTA.
The RiTTA Framework
The RiTTA Corpus and Data Generation
We define four primary relation categories to cover real-world acoustic scenarios: Temporal Order (e.g., before, after), Spatial Distance (e.g., near, far), Count (e.g., number of events), and Compositionality (logical AND, OR, NOT).
To overcome the scarcity of relational data, we developed an automated pipeline. We utilized GPT-4 to generate diverse text prompts based on our relation corpus. For the corresponding audio, we employed a linear blending technique. By taking "seed" sounds from sources like Freesound.org and VCTK and layering them according to the relational logic (e.g., adjusting gain for spatial distance or shifting start times for temporal order), we created ground-truth audio that perfectly matches the complex prompts.
Evaluation and Finetuning
We propose the MSR-RiTTA (Multi-stage Relation) metric, which evaluates generation across three stages: Presence (are the requested sounds there?), Relation Correctness (is the relationship accurate?), and Audio Parsimony (are there unrequested sounds?).
To improve performance, we finetuned the Latent Diffusion Model (LDM) component of the Tango model using the RiTTA dataset. During this process, the text encoder (Flan-T5) and VAE were kept frozen to focus the model's learning on the structural arrangement of acoustic events.
Key Results and Insights
Our benchmarking of seven top-tier models revealed that most existing systems fail significantly on complex relational prompts, often achieving a relation correctness score (mARel) near zero.
Finetuning with RiTTA led to a dramatic improvement. The mAMSR (Mean Average Multi-stage Relation) score for the Tango model jumped from 3.10 to 48.67. Interestingly, this structural training also improved general audio fidelity, with the FAD score dropping from 10.79 to 4.60. This suggests that learning the logical structure of a scene helps the model generate cleaner, more coherent audio overall.
Our analysis also highlighted specific challenges, such as logical negation. While performance improved, models still struggle with "NOT" prompts (e.g., "a sound that is NOT a dog barking"), sometimes hallucinating the forbidden sound. Additionally, we demonstrated that spatial distance can be effectively modeled in mono audio through relative loudness, providing a proxy for physical distance.
Conclusion
RiTTA provides the first systematic benchmark and framework for audio event relation modeling in TTA. While we have made significant strides in temporal and spatial modeling, future work will focus on scaling to more complex, multi-event soundscapes and extending spatial modeling to binaural or multi-channel audio formats.
Summary updated