Learning Audio Concepts from Counterfactual Natural Language
Ali Vosoughi, Luca Bondi, Ho-Hsiang Wu, Chenliang Xu
TL;DR
The paper addresses learning audio representations beyond fixed class labels by introducing counterfactual natural language to guide audio-text pretraining. It prompts an LLM to identify acoustic sources and generate counterfactual captions, integrating this into a CLAP-like framework with a dual loss that enforces factual consistency while distinguishing counterfactuals. Pretraining on AudioCaps, Clotho, and MACS with frozen encoders yields significant gains in open-ended text-based audio retrieval (notably a top-1 increase of about 43%), with mixed results in zero-shot benchmarks across ESC-50 and US8K. The work demonstrates the feasibility and impact of counterfactual reasoning in audio and points to future work on deeper causal levels and broader datasets.
Abstract
Conventional audio classification relied on predefined classes, lacking the ability to learn from free-form text. Recent methods unlock learning joint audio-text embeddings from raw audio-text pairs describing audio in natural language. Despite recent advancements, there is little exploration of systematic methods to train models for recognizing sound events and sources in alternative scenarios, such as distinguishing fireworks from gunshots at outdoor events in similar situations. This study introduces causal reasoning and counterfactual analysis in the audio domain. We use counterfactual instances and include them in our model across different aspects. Our model considers acoustic characteristics and sound source information from human-annotated reference texts. To validate the effectiveness of our model, we conducted pre-training utilizing multiple audio captioning datasets. We then evaluate with several common downstream tasks, demonstrating the merits of the proposed method as one of the first works leveraging counterfactual information in audio domain. Specifically, the top-1 accuracy in open-ended language-based audio retrieval task increased by more than 43%.
