[Paper Review] Dual-path Self-Attention RNN for Real-Time Speech Enhancement
This paper proposes Dual-path Self-Attention RNN (DP-SARNN), a time-domain speech enhancement model that replaces RNNs in dual-path RNN (DP-RNN) with a self-attention RNN (SARNN) to improve long-sequence modeling. By using a four-times larger frame shift and causal attention, DP-SARNN achieves real-time processing with 7.9 ms per 32 ms chunk, outperforming prior methods in both offline and real-time settings.
We propose a dual-path self-attention recurrent neural network (DP-SARNN) for time-domain speech enhancement. We improve dual-path RNN (DP-RNN) by augmenting inter-chunk and intra-chunk RNN with a recently proposed efficient attention mechanism. The combination of inter-chunk and intra-chunk attention improves the attention mechanism for long sequences of speech frames. DP-SARNN outperforms a baseline DP-RNN by using a frame shift four times larger than in DP-RNN, which leads to a substantially reduced computation time per utterance. As a result, we develop a real-time DP-SARNN by using long short-term memory (LSTM) RNN and causal attention in inter-chunk SARNN. DP-SARNN significantly outperforms existing approaches to speech enhancement, and on average takes 7.9 ms CPU time to process a signal chunk of 32 ms.
Motivation & Objective
- Address the need for low-latency, real-time speech enhancement in noisy environments.
- Improve long-sequence modeling in time-domain speech enhancement by integrating attention into dual-path RNN.
- Reduce computational cost and processing latency while maintaining or improving enhancement quality.
- Develop a causal, real-time inference-capable model that outperforms existing time-domain approaches.
- Enable cross-corpus generalization through future exploration of the proposed architecture.
Proposed method
- Augment the dual-path RNN (DP-RNN) with a recently proposed self-attention RNN (SARNN) to enhance inter-chunk and intra-chunk modeling.
- Use SARNN blocks that combine RNNs with a parameter-efficient attention mechanism via learnable query, key, and value vectors.
- Apply residual connections and layer normalization to stabilize training and improve gradient flow.
- Implement causal attention in the inter-chunk SARNN to ensure real-time inference capability.
- Use frame shift four times larger than baseline DP-RNN (8 ms vs. 2 ms) to reduce processing load and latency.
- Train with phase-constrained magnitude (PCM) loss and mixed-precision training for faster convergence.
Experimental results
Research questions
- RQ1Can self-attention mechanisms improve long-sequence modeling in dual-path RNNs for time-domain speech enhancement?
- RQ2Does replacing RNNs with SARNN in DP-RNN reduce computational cost while maintaining or improving performance?
- RQ3Can a causal SARNN-based architecture achieve real-time processing with low latency?
- RQ4How does the proposed DP-SARNN compare to state-of-the-art time-domain models in terms of STOI and PESQ scores?
- RQ5What is the impact of increasing frame shift on model performance and latency in real-time speech enhancement?
Key findings
- DP-SARNN achieves a 7.9 ms average CPU processing time per 32 ms signal chunk, making it suitable for real-time applications.
- DP-SARNN outperforms DCN (11.0 ms) and DP-RNN (17.4 ms) in processing speed, despite having higher model complexity.
- On average, DP-SALSTM improves STOI by 1.7% and PESQ by 0.15 over DCN, with the largest gains at -5 dB SNR.
- The non-causal DP-SABLSTM variant achieves the highest performance among all models, with STOI and PESQ scores surpassing DP-BLSTM and other baselines.
- DP-SALSTM maintains superior performance while reducing latency, demonstrating that larger frame shifts with attention can preserve quality.
- The model's performance is robust across diverse noise types and SNR levels, with strong generalization on test sets using babble and cafeteria noise.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.