Abstract
Source separation is a fundamental challenge in signal processing, traditionally addressed through supervised learning or iterative generative modeling. However, existing generative approaches often suffer from high computational costs and poor scalability. We present Latent Autoregressive Source Separation (LASS), a "plug-and-play" generative framework that operates within the quantized latent space of a Vector Quantized Variational Autoencoder (VQ-VAE). By utilizing pre-trained autoregressive Transformers and a novel non-parametric discrete likelihood function, LASS enables efficient source separation without the need for model fine-tuning or gradient-based optimization during inference. Our results demonstrate that LASS is significantly faster than previous generative methods and is the first to successfully scale to high-resolution 256x256 image separation.
Introduction
Source separation—the process of de-mixing a combined signal into its constituent components—is a classic problem with applications ranging from audio engineering (e.g., separating vocals from instruments) to computer vision (e.g., reflection removal). While supervised deep learning models have achieved impressive results, they require massive, task-specific labeled datasets. Generative modeling offers a more flexible alternative by using the learned prior of a data distribution to guide the separation process.
Despite their promise, current generative methods like BASIS or PnF are hindered by their reliance on expensive iterative optimization techniques, such as Langevin dynamics, or specific noise schedules. These requirements make them computationally prohibitive for high-resolution data. LASS addresses these limitations by shifting the separation task into a discrete latent domain, leveraging the efficiency of autoregressive sampling.
Methodology
The Latent Framework
LASS operates entirely within the discrete latent space provided by a VQ-VAE. The input mixture $m$ and the target sources $s_1, s_2$ are mapped to sequences of discrete tokens $z_m, z_1, z_2$ via the VQ-VAE encoder. The separation problem is then framed as finding the most probable sequences $z_1$ and $z_2$ given the mixture tokens $z_m$.
Prior and Likelihood
- The Prior: LASS utilizes a pre-trained autoregressive model (such as a Transformer) that has already learned the joint distribution of tokens in the latent space. This model provides the probability of the next token in a sequence based on previous tokens.
- The Discrete Likelihood: The core innovation of LASS is a non-parametric likelihood function. The authors construct a 3D "counting" tensor $P$ by observing the frequency with which pairs of source tokens $(z_1, z_2)$ combine to form a specific mixture token $m$ across a training dataset. This tensor acts as a lookup table, providing a probabilistic mapping from the mixture domain back to the source domain.
Inference and Refinement
Separation is performed via Bayesian inference. At each step of the sequence generation, the model combines the Transformer's prior with the likelihood from the lookup table to sample the most probable next tokens for both sources. This can be executed using standard sampling strategies like ancestral sampling or beam search.
To ensure the decoded sources sum perfectly to the original mixture in the data domain, an optional post-inference refinement step can be applied. This involves fine-tuning the latent embeddings via gradient descent to minimize the reconstruction error of the mixture.
Experimental Results
Efficiency and Speed
LASS demonstrates a dramatic improvement in inference speed compared to existing generative baselines. On the MNIST dataset, LASS is approximately 12 times faster than BASIS (4.5s vs. 53s). In the audio domain (Slakh2100), the efficiency gain is even more pronounced: LASS completes the separation in 1.3 minutes, whereas the PnF method requires 42 minutes.
Scalability and Quality
LASS is the first generative source separation method to scale effectively to 256x256 resolution images, including complex datasets like ImageNet and CelebA-HQ. Previous score-based or flow-based models typically failed or became computationally intractable at these resolutions. On the CelebA dataset, LASS achieved a competitive FID score of 8.96, matching the quality of optimization-heavy generative models while maintaining superior efficiency.
In audio separation tasks, LASS significantly outperformed unsupervised blind source separation baselines (such as ICA) and achieved performance levels comparable to supervised models like Demucs, despite not being explicitly trained for the separation task.
Discussion and Limitations
Locality and Sparsity
The success of LASS relies on the "locality" of VQ-VAE tokens, where each token represents a specific spatial or temporal region. Because mixing (addition) is point-wise in the data domain, it can be approximated as point-wise in the latent domain. Furthermore, while the 3D likelihood tensor $P$ has a theoretical size of $K^3$ (where $K$ is the codebook size), the authors found it to be extremely sparse (e.g., 0.0039% density for ImageNet), making it highly memory-efficient.
Constraints
Currently, LASS is optimized for two-source separation. Expanding the method to $N$ sources would lead to an exponential increase in the dimensions of the likelihood tensor, necessitating more complex modeling strategies. Additionally, the final output quality is fundamentally limited by the reconstruction fidelity of the underlying VQ-VAE; any artifacts introduced during the initial quantization will persist in the separated sources.
Conclusion
LASS represents a significant step forward for generative source separation. By moving the problem into a quantized latent space and replacing iterative optimization with a discrete likelihood lookup, it provides a modular, fast, and scalable solution that can be applied to any domain where VQ-VAEs and autoregressive models are available.
Summary updated