Recently, convolution-augmented transformer (Conformer) has achieved promising performance in automatic speech recognition (ASR) and time-domain speech enhancement (SE), as it can capture both local and global dependencies in the speech signal. In this paper, we propose a conformer-based metric generative adversarial network (CMGAN) for SE in the time-frequency (TF) domain. In the generator, we utilize two-stage conformer blocks to aggregate all magnitude and complex spectrogram information by modeling both time and frequency dependencies. The estimation of magnitude and complex spectrogram is decoupled in the decoder stage and then jointly incorporated to reconstruct the enhanced speech. In addition, a metric discriminator is employed to further improve the quality of the enhanced estimated speech by optimizing the generator with respect to a corresponding evaluation score. Quantitative analysis on Voice Bank+DEMAND dataset indicates the capability of CMGAN in outperforming various previous models with a margin, i.e., PESQ of 3.41 and SSNR of 11.10 dB.
A longer detailed version is now available on IEEE/ACM Transactions on Audio, Speech, and Language Processing, arXiv Version.
The short manuscript is published in INTERSPEECH2022.
Source code is released!
In src:
pip install -r requirements.txt
Download VCTK-DEMAND dataset with 16 kHz, change the dataset dir:
-VCTK-DEMAND/
-train/
-noisy/
-clean/
-test/
-noisy/
-clean/
If you want to train the model, run train.py
python3 train.py --data_dir <dir to VCTK-DEMAND dataset>
Evaluation with the best ckpt:
python3 evaluation.py --test_dir <dir to VCTK-DEMAND/test> --model_path <path to the best ckpt>
The detailed architecture of CMGAN with both generator and discriminator.
Performance comparison on the Voice Bank+DEMAND dataset. “-” denotes the result is not provided in the
original paper. Model size represents the number of trainable parameters in million.
@misc{abdulatif2022cmgan,
title={CMGAN: Conformer-Based Metric-GAN for Monaural Speech Enhancement},
author={Abdulatif, Sherif and Cao, Ruizhe and Yang, Bin},
year={2022},
eprint={2209.11112},
archivePrefix={arXiv}
}
@inproceedings{cao22_interspeech,
author={Cao, Ruizhe and Abdulatif, Sherif and Yang, Bin},
title={{CMGAN: Conformer-based Metric GAN for Speech Enhancement}},
year=2022,
booktitle={Proc. Interspeech 2022},
pages={936--940},
doi={10.21437/Interspeech.2022-517}
}