Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing
Recent studies have proposed the use of Text-To-Speech (TTS) systems to automatically synthesise speech test cases on a scale and uncover a large number of failures in ASR systems. However, the failures uncovered by synthetic test cases may not reflect the actual performance of an ASR system when it...
Saved in:
Main Authors: | , , , , , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2023
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/8566 https://ink.library.smu.edu.sg/context/sis_research/article/9569/viewcontent/Synthesizing_Speech_Test_Cases_with_Text_to_Speech__An_Empirical_Study_on_the_False_Alarms_in_Automated_Speech_Recognition_Testing.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-9569 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-95692024-01-25T09:01:29Z Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing LAU, Julia Kaiwen KONG, Kelvin Kai Wen YONG, Julian Hao TAN, Per Hoong YANG, Zhou YONG, Zi Qian LOW, Joshua Chern Wey CHONG, Chun Yong LIM, Mei Kuan David LO, Recent studies have proposed the use of Text-To-Speech (TTS) systems to automatically synthesise speech test cases on a scale and uncover a large number of failures in ASR systems. However, the failures uncovered by synthetic test cases may not reflect the actual performance of an ASR system when it transcribes human audio, which we refer to as false alarms. Given a failed test case synthesised from TTS systems, which consists of TTS-generated audio and the corresponding ground truth text, we feed the human audio stating the same text to an ASR system. If human audio can be correctly transcribed, an instance of a false alarm is detected. In this study, we investigate false alarm occurrences in five popular ASR systems using synthetic audio generated from four TTS systems and human audio obtained from two commonly used datasets. Our results show that the least number of false alarms is identified when testing Deepspeech, and the number of false alarms is the highest when testing Wav2vec2. On average, false alarm rates range from 21% to 34% in all five ASR systems. Among the TTS systems used, Google TTS produces the least number of false alarms (17%), and Espeak TTS produces the highest number of false alarms (32%) among the four TTS systems. Additionally, we build a false alarm estimator that flags potential false alarms, which achieves promising results: a precision of 98.3%, a recall of 96.4%, an accuracy of 98.5%, and an F1 score of 97.3%. Our study provides insight into the appropriate selection of TTS systems to generate high-quality speech to test ASR systems. Additionally, a false alarm estimator can be a way to minimise the impact of false alarms and help developers choose suitable test inputs when evaluating ASR systems. The source code used in this paper is publicly available on GitHub at https://github.com/julianyonghao/FAinASRtest. 2023-07-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8566 info:doi/10.1145/3597926.3598126 https://ink.library.smu.edu.sg/context/sis_research/article/9569/viewcontent/Synthesizing_Speech_Test_Cases_with_Text_to_Speech__An_Empirical_Study_on_the_False_Alarms_in_Automated_Speech_Recognition_Testing.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Automated speech recognition Empirical studies False alarms Number of false alarms Software testings Speech tests Synthetic tests Test case Text to speech Text-to-speech system Databases and Information Systems Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Automated speech recognition Empirical studies False alarms Number of false alarms Software testings Speech tests Synthetic tests Test case Text to speech Text-to-speech system Databases and Information Systems Software Engineering |
spellingShingle |
Automated speech recognition Empirical studies False alarms Number of false alarms Software testings Speech tests Synthetic tests Test case Text to speech Text-to-speech system Databases and Information Systems Software Engineering LAU, Julia Kaiwen KONG, Kelvin Kai Wen YONG, Julian Hao TAN, Per Hoong YANG, Zhou YONG, Zi Qian LOW, Joshua Chern Wey CHONG, Chun Yong LIM, Mei Kuan David LO, Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing |
description |
Recent studies have proposed the use of Text-To-Speech (TTS) systems to automatically synthesise speech test cases on a scale and uncover a large number of failures in ASR systems. However, the failures uncovered by synthetic test cases may not reflect the actual performance of an ASR system when it transcribes human audio, which we refer to as false alarms. Given a failed test case synthesised from TTS systems, which consists of TTS-generated audio and the corresponding ground truth text, we feed the human audio stating the same text to an ASR system. If human audio can be correctly transcribed, an instance of a false alarm is detected. In this study, we investigate false alarm occurrences in five popular ASR systems using synthetic audio generated from four TTS systems and human audio obtained from two commonly used datasets. Our results show that the least number of false alarms is identified when testing Deepspeech, and the number of false alarms is the highest when testing Wav2vec2. On average, false alarm rates range from 21% to 34% in all five ASR systems. Among the TTS systems used, Google TTS produces the least number of false alarms (17%), and Espeak TTS produces the highest number of false alarms (32%) among the four TTS systems. Additionally, we build a false alarm estimator that flags potential false alarms, which achieves promising results: a precision of 98.3%, a recall of 96.4%, an accuracy of 98.5%, and an F1 score of 97.3%. Our study provides insight into the appropriate selection of TTS systems to generate high-quality speech to test ASR systems. Additionally, a false alarm estimator can be a way to minimise the impact of false alarms and help developers choose suitable test inputs when evaluating ASR systems. The source code used in this paper is publicly available on GitHub at https://github.com/julianyonghao/FAinASRtest. |
format |
text |
author |
LAU, Julia Kaiwen KONG, Kelvin Kai Wen YONG, Julian Hao TAN, Per Hoong YANG, Zhou YONG, Zi Qian LOW, Joshua Chern Wey CHONG, Chun Yong LIM, Mei Kuan David LO, |
author_facet |
LAU, Julia Kaiwen KONG, Kelvin Kai Wen YONG, Julian Hao TAN, Per Hoong YANG, Zhou YONG, Zi Qian LOW, Joshua Chern Wey CHONG, Chun Yong LIM, Mei Kuan David LO, |
author_sort |
LAU, Julia Kaiwen |
title |
Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing |
title_short |
Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing |
title_full |
Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing |
title_fullStr |
Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing |
title_full_unstemmed |
Synthesizing speech test cases with text-to-speech? An empirical study on the false alarms in automated speech recognition testing |
title_sort |
synthesizing speech test cases with text-to-speech? an empirical study on the false alarms in automated speech recognition testing |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2023 |
url |
https://ink.library.smu.edu.sg/sis_research/8566 https://ink.library.smu.edu.sg/context/sis_research/article/9569/viewcontent/Synthesizing_Speech_Test_Cases_with_Text_to_Speech__An_Empirical_Study_on_the_False_Alarms_in_Automated_Speech_Recognition_Testing.pdf |
_version_ |
1789483277316259840 |