Monoaural Speech Enhancement Using a Nested U-Net with Two-Level Skip Connections
This is a repo of the paper “Monoaural Speech Enhancement Using a Nested U-Net with Two-Level Skip Connections”, which is accepted to INTERSPEECH2022.
Abstract:Capturing the contextual information in multi-scale is known to be beneficial for improving the performance of DNN-based speech enhancement (SE) models. This paper proposes a new SE model, called NUNet-TLS, having two-level skip connections between the residual U-Blocks nested in each layer of a large U-Net structure. The proposed model also has a causal time-frequency attention (CTFA) at the output of the residual U-Block to boost dynamic representation of the speech context in multi-scale. Even having the two-level skip connections, the proposed model slightly increases the network parameters, but the performance improvement is significant. Experimental results show that the proposed NUNet-TLS has superior performance in various objective evaluation metrics to other state-of-the-art models.
Requirements
This repo is tested on Ubuntu 20.04.
# for train
python == 3.7.9
pytorch == 1.9.0_cu111
scipy == 1.6.0
soundfile == 0.10.3
# for evaluation
tensorboard == 2.7.0
pesq == 0.0.2
pystoi == 0.3.3
matplotlib == 3.3.3
Getting started
- Install the necessary libraries.
- Set directory paths for your dataset. (config.py)
# dataset path
noisy_dirs_for_train = '../Dataset/train/noisy/'
clean_dirs_for_train = '../Dataset/train/clean/'
noisy_dirs_for_valid = '../Dataset/valid/noisy/'
clean_dirs_for_valid = '../Dataset/valid/clean/'
- You need to modify the
find_pair function in tools.py according to the data file name you have.
- And if you need to adjust any parameter settings, you can simply change them.
- Run train_interface.py
Results


Demo
We randomly select one sample for demonstration at 10 dB SNR.
https://user-images.githubusercontent.com/55497506/161464582-2e9e4b9b-f69c-4eb7-adc1-e8d04df5269a.mov
https://user-images.githubusercontent.com/55497506/161464601-679dc863-d88f-4d82-8b43-1088c9162ddf.mov
https://user-images.githubusercontent.com/55497506/161700183-9edfabd7-0260-4c9c-a331-abfacfe571f6.mov
https://user-images.githubusercontent.com/55497506/161700224-b7edf0cc-48a7-4522-a4ba-5f1c53cd60db.mov
https://user-images.githubusercontent.com/55497506/161700265-eb05f017-10dc-4e4a-b048-ce76ba025f28.mov
https://user-images.githubusercontent.com/55497506/161464628-3b168022-5398-414b-a47c-7dcc4290bc11.mov
References
U2-Net: Going deeper with nested u-structure for salient object detection
X. Qin, Z. Zhang, C. Huang, M. Dehghan, O. R. Zaiane, and M. Jagersand
[paper] [code]
A nested u-net with self-attention and dense connectivity for monaural speech enhancement
X. Xiang, X. Zhang, and H. Chen
[paper]
Time-frequency attention for monaural speech enhancement
Q. Zhang, Q. Song, Z. Ni, A. Nicolson, and H. Li
[paper]
评论