Abstract
While "two-tower" multimodal models like CLAP have revolutionized zero-shot audio classification, they exhibit a surprising lack of musical nuance. This study reveals that while these systems possess excellent "ears" (audio encoders), their "brains" (text encoders and joint projections) struggle to understand musical context. They often perform better with generic prompts than with detailed, musically informed descriptions, suggesting a significant gap in their semantic understanding of music.
Introduction: The Challenge of Zero-Shot Instrument Recognition
In Music Information Retrieval (MIR), a key goal is developing systems capable of recognizing instruments or genres they weren't explicitly trained on—a capability known as Zero-Shot Learning (ZSL). The current state-of-the-art approach utilizes "two-tower" models: one "tower" processes audio, another processes text, and both are projected into a shared mathematical space. Ideally, a "violin" sound should reside near the word "violin" in this joint embedding space.
However, the internal behavior of these models in the joint space remains poorly understood. This research investigates whether these models truly grasp musical concepts, such as the relationship between a cello and a violin, or if they are merely sensitive to specific "trigger" words.
Methodology
The authors evaluated three specific models: Music/Speech CLAP, Music CLAP, and a retrained version of MusCALL. To probe their inner workings, they designed five experiments:
- Prompt Sensitivity: Testing 6 different text prompts (ranging from simple labels to GPT-generated definitions) to see if context improves performance.
- Cosine Similarity Analysis: Comparing the separation between "positive" pairs (correct label + audio) and "negative" pairs.
- Confidence Quantization: Measuring the gap between the top-2 predicted classes to assess model certainty.
- Semantic Meaningfulness: Using the Henry Doktorski Instrument Ontology (HDIO) to create triplets (e.g., Anchor: Violin, Positive: Cello, Negative: Trumpet) to see if the text space reflects real-world instrument relationships.
- Pre-joint vs. Joint Space: Comparing embeddings before and after projection into the shared space to identify where information might be lost.
Key Insights and Results
The evaluation, conducted on the TinySOL dataset (2,913 audio clips of 14 instruments), yielded several surprising findings:
Context as a Hindrance
Surprisingly, adding musically descriptive context (e.g., "Solo musical instrument sound of a...") often decreased performance compared to generic prompts. The models appear to fixate on the label word and become confused by additional descriptive text, indicating they are not effectively leveraging linguistic context.
The "Audio-Only" Performance Gap
The researchers calculated an "optimal" label by averaging the audio embeddings of all clips for a specific instrument. This "audio-only" benchmark reached approximately 90% accuracy, nearly doubling the performance of text-based prompts, which hovered around 60-70% for CLAP models. This demonstrates that while the audio encoders are highly effective, the text encoders fail to map words to these high-quality audio features.
Semantic Blindness
In triplet tests designed to measure musical intelligence, the models correctly identified the more similar instrument pair only 49-59% of the time. Given that 50% represents random guessing, this suggests the text encoders do not actually "understand" instrument taxonomies or real-world relationships between sounds.
Conclusion and Future Directions
The study concludes that the primary bottleneck in current two-tower models for MIR is the text encoder. These models are often trained on broad internet text rather than specialized musical literature, leading to a lack of semantic "literacy."
Future research should focus on: * Fine-tuning text encoders specifically on musical data and ontologies to improve their semantic depth. * Text Augmentation strategies to reduce sensitivity to specific phrasing and improve robustness. * Optimizing the Text Tower: Since audio encoders are already high-performing, efforts should be directed at training the text "tower" to better align with the existing, high-quality audio space.
Summary updated