Accent Identification from Speech Recordings with ECAPA-TDNN embeddings on CommonAccent
Abstract: The recognition of accented speech still remains a dominant problem in Automatic Speech Recognition (ASR) systems. We approach the classification of accented English speech through the Emphasized Channel Attention, Propagation and Aggregation Time Delay Neural Network (ECAPA-TDNN) architecture which has been shown to perform well on a variety of speech tasks. Three models are proposed: one trained from scratch, another two models (one using data augmentation and a baseline model) fine-tuned from the checkpoints of speechbrain/spkrec-ecapa-voxceleb (VoxCeleb). Our results show that the model fine-tuned with data augmentation yield the best results. Most of the misclassifications were structured and expected due to accent similarities, such as the American and Canadian accents. We also explored the internal categorization of embeddings through t-SNE, a dimensionality reduction technique, and found that there was a level of clustering based on phonological similarity. For future work, we would like to explore the implementation of this accent classification system in our suggested framework to improve ASR performance by making it more inclusive to accented speech.
For a better experience, we encourage you to learn more about
SpeechBrain. The given model performance on the test set is:
Release (dd/mm/yyyy)
Accuracy (%)
01-08-2023 (this model)
87
01-08-2023 (this model trained without data augmentation)
85
01-08-2023 (this model trained from scratch, no paremeter transfer)
82
Pipeline description
This system is composed of an ECAPA model coupled with statistical pooling. A classifier, trained with Categorical Cross-Entropy Loss, is applied on top of that.
The system is trained with recordings sampled at 16kHz (single channel).
The code will automatically normalize your audio (i.e., resampling + mono channel selection) when calling classify_file if needed. Make sure your input tensor is compliant with the expected sampling rate if you use encode_batch and classify_batch.
Install SpeechBrain
First of all, please install SpeechBrain with the following command:
pip install speechbrain
Please notice that we encourage you to read our tutorials and learn more about
SpeechBrain.
Perform Accent Identification from Speech Recordings
You can find our training results (models, logs, etc) in this repository's Files and versions page.
Limitations
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
Cite our work: CommonAccent
If you find useful this work, please cite our work as:
@article{zuluaga2023commonaccent,
title={CommonAccent: Exploring Large Acoustic Pretrained Models for Accent Classification Based on Common Voice},
author={Zuluaga-Gomez, Juan and Ahmed, Sara and Visockas, Danielius and Subakan, Cem},
journal={Interspeech 2023},
url={https://arxiv.org/abs/2305.18283},
year={2023}
}
1 author = {Brecht Desplanques and
2 Jenthe Thienpondt and
3 Kris Demuynck},
4 editor = {Helen Meng and
5 Bo Xu and
6 Thomas Fang Zheng},
7 title = {{ECAPA-TDNN:} Emphasized Channel Attention, Propagation and Aggregation
8 in {TDNN} Based Speaker Verification},
9 booktitle = {Interspeech 2020},
10 pages = {3830--3834},
11 publisher = {{ISCA}},
12 year = {2020},
13}
Cite SpeechBrain
Please, cite SpeechBrain if you use it for your research or business.
bibtex
1@misc{speechbrain,
2 title={{SpeechBrain}: A General-Purpose Speech Toolkit},
3 author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
4 year={2021},
5 eprint={2106.04624},
6 archivePrefix={arXiv},
7 primaryClass={eess.AS},
8 note={arXiv:2106.04624}
9}