Abstract
Recent advancements in multi-modal learning have extended contrastive techniques from the image-text domain to audio-text retrieval. However, current state-of-the-art (SOTA) models often fail to capture the complex linguistic structures of natural language, such as temporal ordering and event simultaneity. This paper investigates whether these models are truly learning language or merely acting as sophisticated keyword matchers. By comparing standard Multi-Layer Perceptron (MLP) architectures with Transformer-based models and introducing synthetic datasets, we demonstrate that while current models rely heavily on keyword shortcuts, Transformer architectures can learn temporal relationships when provided with sufficiently diverse data.
Introduction
Multi-modal models like CLIP have transformed how we bridge the gap between different data types. In the audio domain, Language-Based Audio Retrieval (LBAR) aims to retrieve specific sounds based on complex natural language queries. Despite high scores on standard benchmarks, there is growing concern regarding a "Clever Hans" effect: models may be achieving high performance by identifying keywords (e.g., "car," "bark") while ignoring the grammatical context that defines the relationship between those sounds (e.g., "A car honks then a dog barks").
The Keyword Shortcut
To test the hypothesis that models ignore linguistic structure, researchers conducted a "Noun-Verb" experiment. They stripped all words except nouns and verbs from the training data—transforming a descriptive sentence like "A cat is meowing in the forest" into the fragmented "cat meowing forest."
Strikingly, models trained on this "broken" English performed identically to, or even better than, models trained on full natural language sentences across standard benchmarks. This suggests that current SOTA models are essentially keyword matchers, relying on the presence of specific terms rather than the syntax of the query.
Architectural Limitations: MLP vs. Transformer
The study compared two primary architectures to understand why models fail to capture temporal logic:
- The MLP Baseline: This standard setup uses a pre-trained audio encoder (PANNs) and a text encoder (RoBERTa-Large). It employs "mean pooling" to aggregate features over time. Mathematically, mean pooling averages features across the entire clip, effectively erasing the sequence of events. Consequently, the model cannot distinguish between "A then B" and "B then A."
- The Transformer-based Model: Researchers replaced the pooling and MLP layers with a 2-layer Transformer. Unlike the MLP, the Transformer is designed to attend to the sequence of tokens and audio chunks, theoretically allowing it to model how sounds evolve over time.
Both models were trained using Contrastive Learning (InfoNCE loss) to align audio and text embeddings in a shared space.
Data and Evaluation
The models were trained on a massive collection of ~123k audio-text pairs (AudioCaps, Clotho, MACS, and FSD50K). To specifically measure the understanding of temporal relationships, the researchers introduced new datasets:
- AudioCaps-BeforeAfter (ACBA): A synthetic dataset of 50k pairs created by cross-fading random audio clips and generating captions like "Sentence A before Sentence B."
- Probing Sets: The Preposition Test set (PTe) and the Before After Test (BAT) were designed to measure if models could distinguish between original descriptions and "swapped" (reversed) event sequences.
Key Results
The experiments revealed a significant gap between keyword matching and linguistic understanding:
- Temporal Blindness: On the Before After Test (BAT), the baseline MLP model scored 50.9%, which is equivalent to random guessing. This confirms that standard architectures are incapable of understanding event order.
- The Transformer Advantage: When trained with the synthetic ACBA data, the Transformer-based model improved its BAT score to 68.5%. This demonstrates that the architecture can learn temporal logic, provided the training data is sufficiently complex.
- The Benchmark Paradox: On standard benchmarks like AudioCaps, the RoBERTa-Large MLP baseline achieved an R@10 of 0.798, while the Transformer model scored lower at 0.730. This suggests that standard benchmarks are "too easy"—they do not reward linguistic sophistication, and the added complexity of a Transformer may even hinder performance on tasks where simple keyword matching suffices.
Conclusion
Current audio-text models do not yet leverage the full richness of natural language. The reliance on mean pooling in standard architectures creates a mathematical ceiling that prevents the understanding of temporal sequences. While Transformer-based models offer a path forward, they require more diverse and linguistically complex datasets to outperform simpler models. Future research must focus on scaling these architectures and developing benchmarks that penalize keyword-based shortcuts in favor of true linguistic comprehension.
Summary updated