Introduction
Traditional Audio-Language Models (ALMs) have achieved significant success in identifying sound events, yet they remain largely "spatial-blind." While a model like CLAP can identify a "barking dog," it typically lacks the capacity to determine the sound's origin in a 3D environment. Conversely, Sound Event Localization and Detection (SELD) models excel at pinpointing locations but are often limited to narrow, pre-defined categories.
SALM (Spatial Audio Language Model) bridges this gap by introducing a framework that simultaneously understands "what" a sound is and "where" it is located. By utilizing a dual-branch encoder and structured embeddings, SALM enables complex tasks such as zero-shot direction classification and text-based spatial audio editing.
Architecture and Methodology
The fundamental innovation of SALM lies in its dual-branch audio encoder and the use of structured embeddings to decouple semantic and spatial information.
Dual-Branch Audio Encoder
The encoder is split into two specialized components:
- Semantic Branch: Processes the omnidirectional (monophonic) component of the audio to identify the nature of the sound.
- Spatial Branch: Processes all channels of First-Order Ambisonics (FOA) audio to capture directional cues. To maintain coordination between these branches, the model employs a "soft-parameter sharing" strategy.
Structured Embeddings and Multi-Modal Learning
Instead of a single monolithic vector, SALM produces distinct embeddings for semantics ($E_{ASe}$) and space ($E_{ASp}$). These are fused into a Joint Audio Embedding ($E_{JA}$) via a learnable weighted sum. The model is trained using a tripartite loss function:
- Semantic Contrastive Loss: Aligns the audio with standard captions.
- Spatial Contrastive Loss: Aligns the joint representation with "spatial captions" (e.g., "sound coming from the northeast").
- Direction of Arrival (DOA) Loss: Ensures high-precision physical localization.
This structured approach allows for text-guided editing. By mathematically swapping the spatial component of an audio embedding with a vector derived from a text prompt, the perceived location of a sound can be manipulated within the latent space.
Spatially Augmented Datasets
To train and evaluate SALM, the authors developed spatially augmented versions of existing datasets, as no large-scale spatial audio-language datasets were previously available.
- sClotho and sAudioCaps: These datasets were created by applying simulated and measured Spatial Room Impulse Responses (SRIRs) to monophonic samples from Clotho and AudioCaps, effectively "placing" sounds in 3D space.
- Spatial Captions: The researchers utilized LLaMA 3.2-3B to transform original captions into spatially enriched descriptions. For instance, a simple caption like "A saw is cutting" was rewritten as "A loud sawing noise is coming from directly northeast."
Experimental Results
SALM demonstrates state-of-the-art performance across localization, retrieval, and zero-shot tasks.
Localization and Retrieval
As shown in the results table, SALM achieved a localization error as low as 1.2° on the sAudioCaps dataset. In retrieval tasks, the inclusion of spatial information led to massive gains; for example, Text-to-Audio R@1 on sAudioCaps jumped from 4.4% (LAION-CLAP) to 22.8%.
Zero-Shot Directionality
Because SALM aligns audio with linguistic directional concepts, it can perform zero-shot direction classification. The model achieved nearly 100% accuracy in 8-class direction classification, proving it can map acoustic cues to concepts like "north" or "southwest" without explicit category-based training.
Conclusion and Future Work
SALM proves that semantic and spatial information can be effectively decoupled and reintegrated, allowing natural language to act as a "spatial knob" for audio. While the current model relies on synthetic training data and operates primarily in the latent space, it establishes a clear path toward intuitive, text-based spatial audio engineering. Future research will focus on moving from latent editing to raw waveform generation and handling more complex, polyphonic acoustic scenes.
Summary updated