Introduction
Target sound extraction (TSE) represents a fundamental challenge in auditory scene analysis, often referred to as the "cocktail party problem." The goal is to isolate a specific sound source from a complex mixture of competing voices, background noise, and reverberation. While previous research has utilized class labels or text descriptions as guiding "clues," the Direction of Arrival (DoA) offers a powerful, universal spatial anchor. However, existing DoA-based methods often struggle with fine-grained spatial information, the continuous nature of 3D space, and the frequency-dependent characteristics of spatial cues.
To address these limitations, we introduce SoundCompass, a novel framework that leverages a Mamba-based backbone (DeepASA) and integrates advanced spatial modeling techniques to "steer" the extraction process with high precision.
Methodology
SoundCompass incorporates three primary architectural innovations designed to capture and utilize spatial correlations effectively:
- Spectral Pairwise INteraction (SPIN): Rather than processing raw audio directly, the SPIN module computes interactions between all pairs of microphone channels within the complex spectrogram domain. This explicitly models inter-channel phase and level differences, which are critical for spatial hearing.
- Spherical Harmonics (SH) Embedding: To avoid the limitations of discrete "one-hot" directional encodings, SoundCompass represents the target direction $(\theta, \phi)$ using continuous spherical harmonics. This mathematical representation allows the model to generalize across any arbitrary direction in 3D space.
- Band-split Fusion: Recognizing that spatial cues vary across the frequency spectrum, the framework splits audio into 31 overlapping subbands. Directional clues are fused independently within each band before being merged, ensuring that the model accounts for frequency-specific spatial characteristics.
Furthermore, SoundCompass employs an Iterative Refinement strategy (Chain-of-Inference). The system first generates an initial extraction and estimates temporal activation, which is then fed back into the model to further refine and "clean up" the target audio in a second stage.
Experimental Setup
The model was trained and evaluated using a modified version of the Auditory Scene Analysis V2 (ASA2) dataset. This dataset includes 13 audio classes with 2–5 foreground sources and background noise. Using the gpuRIR library, we simulated stationary sources in diverse room configurations to create a robust training set of 50,000 mixtures.
Results and Discussion
SoundCompass demonstrates state-of-the-art performance in complex acoustic environments. The iterative version of the model achieved a Scale-Invariant Signal-to-Noise Ratio improvement (SI-SNRi) of 17.079 dB, significantly outperforming the unguided baseline (12.976 dB) and existing DoA-based models such as DSENet (16.025 dB).
Spatial accuracy was also markedly improved. The Inter-channel Time Difference (ITD) error was reduced to 9.7 $\mu$s, a substantial drop from the 44.8 $\mu$s error observed in the baseline model. Ablation studies highlighted the importance of early fusion and the SPIN module; removing pairwise interactions caused the SNR improvement to drop from ~17.8 dB to just ~5.6 dB, confirming that inter-channel modeling is the core driver of performance.
Visualizing Spatial Representations
To understand how the model internalizes the geometry of the 3D world, we utilized t-SNE to visualize high-dimensional feature trajectories. The analysis revealed that the model learns circular manifolds for azimuth and continuous paths for elevation across different subbands, proving it successfully captures the continuous nature of the physical environment.
Conclusion
SoundCompass establishes a new benchmark for DoA-based target sound extraction by combining pairwise spectral interactions with continuous spherical embeddings. While the current framework focuses on stationary sources, future work will explore joint estimation of time-varying DoA and source activity to handle dynamic, moving sources in real-time applications such as hearing aids and smart assistants.
Summary updated