Abstract
State of the art audio source separation models rely on supervised data-driven approaches, which can be expensive in terms of labeling resources. On the other hand, approaches for training these models without any direct supervision are typically high-demanding in terms of memory and time requirements, and remain impractical to be used at inference time. We aim to tackle these limitations by proposing a simple yet effective unsupervised separation algorithm, which operates directly on a latent representation of time-domain signals. Our algorithm relies on deep Bayesian priors in the form of pre-trained autoregressive networks to model the probability distributions of each source. We leverage the low cardinality of the discrete latent space, trained with a novel loss term imposing a precise arithmetic structure on it, to perform exact Bayesian inference without relying on an approximation strategy. We validate our approach on the Slakh dataset, demonstrating results in line with state of the art supervised approaches while requiring fewer resources with respect to other unsupervised methods.
Introduction
Audio source separation, often referred to as the "cocktail party problem," involves isolating individual sound sources from a single mixture. While supervised deep learning models have achieved impressive results, they require vast amounts of labeled data—perfectly isolated tracks—which are difficult and expensive to obtain. Existing unsupervised methods often struggle with a trade-off: they are either computationally prohibitive, requiring hours of optimization for seconds of audio, or too simplistic to capture the nuances of complex musical signals.
This work introduces an unsupervised framework that performs exact Bayesian inference within a structured, discrete latent domain. By operating in a compressed space, the method achieves high-quality separation with significantly lower computational overhead compared to previous generative approaches.
Methods
The proposed framework relies on three core components: a structured latent space, autoregressive priors, and exact Bayesian inference.
Linearly Quantized Variational Autoencoder (LQ-VAE)
Standard Vector Quantized Variational Autoencoders (VQ-VAEs) map audio into discrete tokens. However, these tokens typically lack an inherent mathematical relationship. To address this, the authors introduce a linearization loss ($L_{lin}$). This loss forces the latent space to behave algebraically, such that the sum of latent codes for individual sources (e.g., drums and bass) approximates the latent code of their mixture.
Autoregressive Priors and Inference
The system utilizes Transformer-based models to learn the "language" of specific instruments. These Transformers act as deep Bayesian priors, modeling the probability distributions of sources in the latent domain. Because the latent space is discrete and has low cardinality (e.g., a dictionary of 2048 codes), the model can perform exact Bayesian inference. Unlike methods that rely on slow approximations like Langevin dynamics, this approach evaluates the probability of code combinations at each time step directly. Finally, rejection sampling is used to select the most mathematically likely separation candidates.
Experimental Results
The model was evaluated on the Slakh2100 dataset, focusing on drums, bass, and guitar categories.
Performance and Efficiency
As shown in the results table, the proposed method (Ours) achieves Signal-to-Distortion Ratio (SDR) scores comparable to state-of-the-art supervised models such as Demucs and TasNet.
Crucially, the method is highly efficient. Separating a 3-second track takes approximately 3 minutes on a consumer GPU (Nvidia RTX 3080), whereas previous leading unsupervised generative methods required over 100 minutes for the same task. The model also demonstrated robust cross-dataset generalization, outperforming GAN-based unsupervised methods even on instrument combinations it was not specifically tuned for.
Conclusion
This research presents a viable path for high-quality unsupervised audio source separation. By enforcing a linear structure on a discrete latent space, the authors enable exact Bayesian inference that is both effective and computationally efficient. Future work may explore multi-level VQ-VAE architectures to capture finer audio details and more sophisticated learning-based samplers to replace the current rejection sampling bottleneck.
Summary updated