CorrectSpeech: A Fully Automated System for Speech Correction and Accent Reduction

Daxin Tan, Liqun Deng, Nianzu Zheng, Yu Ting Yeung, Xin Jiang, Xiao Chen, Tan Lee · DOI

Abstract

CorrectSpeech is a fully automated pipeline designed to identify and rectify mispronunciations and non-native accents in recorded audio. By leveraging sequence alignment algorithms and localized speech synthesis, the system eliminates the need for manual intervention in speech editing. This paper details the architecture of CorrectSpeech, which compares recordings against intended scripts to perform surgical edits—insertions, deletions, or replacements—ensuring the final output maintains the original speaker's identity and natural prosody.

1. Introduction

Speech editing is an essential tool for digital media production, enabling podcasters, educators, and public speakers to correct "slips of the tongue" or disfluencies without the need for costly re-recording sessions. However, current state-of-the-art tools typically require manual labor to identify error boundaries and specify edit operations. This process is time-consuming and requires significant acoustic expertise.

Furthermore, traditional accent reduction techniques often treat the problem as a global voice conversion task, which frequently results in a loss of the speaker's unique vocal characteristics or produces robotic artifacts. CorrectSpeech addresses these challenges by automating the detection of errors and applying localized, surgical edits that preserve the surrounding context and speaker identity.

2. System Architecture

The CorrectSpeech pipeline consists of three primary modules designed to move from raw audio to a corrected waveform seamlessly.

2.1 Speech-to-Text Recognition and Alignment (S2T)

The S2T module transcribes the audio and generates precise temporal alignments for every phone or word. The authors evaluated two distinct approaches:

  • F-Align: A pipeline utilizing a Conformer-CTC ASR model followed by a forced aligner (such as Montreal Forced Aligner).
  • CTC-Align: An end-to-end phone-based model designed for direct alignment.

2.2 Text-to-Text Alignment and Location (T2T)

The T2T module serves as the diagnostic engine of the system. It employs the Needleman-Wunsch algorithm—traditionally used in bioinformatics for DNA sequencing—to compare the recognized transcript against the intended target text. By calculating the optimal global alignment, the system identifies specific deviations and labels the necessary edit operations: unchange, insert, replace, or delete.

2.3 Speech Editing and Correction (SE)

Based on the EditSpeech framework, this module generates new mel-spectrograms only for the segments identified as erroneous. It utilizes a duration predictor to ensure the new audio fits the original timing constraints and a HiFi-GAN vocoder to synthesize high-quality waveforms. The system supports three levels of granularity:

  • Phone-Phone: Sound-level editing.
  • Word-Word: Entire word replacement.
  • Word-Phone: A hybrid approach that modifies a word if any constituent phone is identified as a mispronunciation.

3. Experimental Evaluation

The system was rigorously tested on two datasets to measure its efficacy in error correction and accent reduction:

  • Perturbed VCTK: A multi-speaker dataset where errors (insertions, deletions, replacements) were manually introduced with a 5% probability to simulate natural speech mistakes.
  • L2-ARCTIC: A dataset featuring non-native English speech, used to evaluate the system's ability to "correct" heavy accents toward native-like pronunciation.

4. Results and Discussion

4.1 Alignment Precision

One of the key findings was the superiority of the pipeline approach. F-Align significantly outperformed the end-to-end CTC model. This is attributed to the higher frame rate of forced aligners (10ms vs. 40ms), which provides the temporal resolution necessary for seamless audio stitching without audible artifacts.

4.2 Objective and Subjective Quality

In objective tests using Mel-Cepstral Distortion (MCD), the F-Align + Word-Word configuration achieved a score of 4.80, approaching the "Oracle" system score of 4.58 (which uses human-annotated locations). Subjectively, Mean Opinion Score (MOS) tests placed F-Align at 3.80, compared to 3.32 for CTC-Align, confirming that the pipeline approach produces more natural-sounding results.

4.3 Accent Reduction Performance

For accent reduction, the Word-Phone method emerged as the most effective. In ABX preference tests on the L2-ARCTIC dataset, listeners preferred the CorrectSpeech-modified audio over the original accented speech in 55.6% of cases. This suggests that by identifying specific phonetic errors but replacing the entire word, the system maintains natural co-articulation while effectively reducing the perceived accent.

5. Conclusion

CorrectSpeech demonstrates that the integration of sequence alignment algorithms with localized speech synthesis can effectively automate the speech editing process. While the system's performance is currently dependent on the accuracy of the underlying ASR model, it represents a significant step forward in making high-quality speech correction accessible. Future work will focus on improving end-to-end alignment resolution and extending the system's capabilities to multi-lingual environments and more complex prosodic matching.

Summary updated

BibTeX
@inproceedings{tan2022correctspeech,
  author = {Daxin Tan and Liqun Deng and Nianzu Zheng and Yu Ting Yeung and Xin Jiang and Xiao Chen and Tan Lee},
  title = {{CorrectSpeech: A Fully Automated System for Speech Correction and Accent Reduction}},
  booktitle = {ISCSLP},
  year = {2022},
  doi = {10.1109/iscslp57327.2022.10038107},
}
Figure