Abstract
The recently introduced Task-Aware Unified Source Separation (TUSS) model achieves state-of-the-art audio separation but is too computationally heavy for real-time use. This paper introduces FasTUSS, a highly optimized variant that reduces computational operations by up to 81% with minimal performance loss. The authors also design a causal version of the model that supports KVCache, paving the way for efficient, real-time edge-device deployment.
Introduction
General Audio Source Separation (GASS) aims to separate any sound—be it overlapping speech, background music, or cinematic sound effects—using a single, unified model. The recently proposed TUSS model tackles this by treating separation as a conditional task: the model is provided with a mixture of audio and a set of "prompts" (e.g., [Speech, Drums, Vocals]) to extract the requested stems.
TUSS is built on the TF-Locoformer, a Time-Frequency dual-path architecture that combines convolutions and attention layers. While it has a relatively low parameter count (11.1M), it requires a massive number of multiply-accumulate (MAC) operations. This high computational cost makes inference slow and expensive, rendering the model impractical for real-time applications like live broadcast mixing or hearing aids.
Identifying Computational Bottlenecks
To speed up the model, the authors first profiled TUSS to identify the computational bottlenecks. Contrary to the popular belief that self-attention is the most expensive part of modern transformer-based architectures, the authors found that for standard audio chunk sizes, convolutions—not attention mechanisms—were the primary consumers of compute.
For 1-second chunks, convolutions account for approximately 90% of operations. This insight shifted the optimization focus toward the convolutional components, specifically the Conv-SwiGLU blocks within the TF-Locoformer.
Optimization Methodology
The authors targeted the convolutional components with several key optimizations:
- Architectural Pruning: The original TF-Locoformer block uses two Conv-SwiGLU blocks. Experimentation revealed that removing the first block nearly halves the operations with a negligible drop in Signal-to-Noise Ratio (SNR).
- Convolutional Refinements: They tested increasing the convolutional stride, using grouped convolutions with channel shuffling, and applying depthwise separable convolutions to further reduce MACs.
- Causal Attention Masking: To support real-time streaming, the model must be causal. By manipulating attention masks in the cross-prompt module, the authors discovered an asymmetric dependency: while the audio mixture must attend to prompts, prompts do not significantly benefit from attending to the mixture. This allows prompts to be pre-processed, enabling frame-by-frame causal processing of the audio using KVCache.
Experimental Results
The models were trained on a diverse combination of datasets (including VCTK, FSD50k, and MUSDB-HQ) and benchmarked across five distinct tasks: speech enhancement, speech separation, sound event separation, music source separation, and cinematic audio separation.
- FasTUSS-11.7G: By removing the first FFN block and increasing the convolutional stride to 4, operations dropped by 73% (from 43.1G to 11.7G MACs per second). This resulted in a tiny 0.4 dB average SNR drop across benchmarks.
- FasTUSS-8.3G: Further adding grouped convolutions and channel shuffling reduced operations by 81% (down to 8.3G MACs) with a 1.2 dB SNR drop.
- Causal TUSS: The causal version, compatible with KVCache, suffered only a 1.8 dB total SNR drop, making real-time streaming feasible.
Conclusion
FasTUSS demonstrates that significant computational savings can be achieved in unified source separation models by targeting convolutional bottlenecks. While replacing Multi-Head Self-Attention (MHSA) with more efficient sequence models like bi-directional GRUs led to performance degradation, the architectural pruning and causal optimizations presented here provide a viable path for real-time deployment on edge devices. Future work will focus on device-specific optimizations to further bridge the gap between theoretical efficiency and real-world performance.
Summary updated