Skip to main content
QUICK REVIEW

[Paper Review] Automatic Spelling Correction with Transformer for CTC-based End-to-End Speech Recognition

Shiliang Zhang, Ming Lei|arXiv (Cornell University)|Mar 27, 2019
Speech Recognition and SynthesisComputer Science25 references9 citations
TL;DR

This paper proposes a Transformer-based spelling correction model that corrects errors—particularly homophone substitutions—in CTC-based end-to-end Mandarin speech recognition. By training on CTC recognition outputs and ground-truth transcriptions using an encoder-decoder architecture, the model reduces character error rate (CER) to 3.41%, achieving 22.9% relative improvement over a baseline CTC system with language modeling.

ABSTRACT

Connectionist Temporal Classification (CTC) based end-to-end speech recognition system usually need to incorporate an external language model by using WFST-based decoding in order to achieve promising results. This is more essential to Mandarin speech recognition since it owns a special phenomenon, namely homophone, which causes a lot of substitution errors. The linguistic information introduced by language model will help to distinguish these substitution errors. In this work, we propose a transformer based spelling correction model to automatically correct errors especially the substitution errors made by CTC-based Mandarin speech recognition system. Specifically, we investigate using the recognition results generated by CTC-based systems as input and the ground-truth transcriptions as output to train a transformer with encoder-decoder architecture, which is much similar to machine translation. Results in a 20,000 hours Mandarin speech recognition task show that the proposed spelling correction model can achieve a CER of 3.41%, which results in 22.9% and 53.2% relative improvement compared to the baseline CTC-based systems decoded with and without language model respectively.

Motivation & Objective

  • To address the high rate of substitution errors in CTC-based Mandarin speech recognition caused by homophones.
  • To improve recognition performance without relying solely on external language models or complex decoding.
  • To develop a post-processing spelling correction system that leverages sentence-level context for error correction.
  • To explore data augmentation via N-best list expansion and training optimization (SGDR) to enhance model generalization.

Proposed method

  • Train a Transformer encoder-decoder model using CTC-generated recognition outputs as input and ground-truth transcriptions as target.
  • Use greedy search inference on the CTC model output as input to the spelling correction model.
  • Apply N-best list decoding from WFST-based decoding to expand training data diversity, using top 1, 5, and 10 hypotheses.
  • Employ SGDR (Stochastic Gradient Descent with Warm Restarts) for multi-pass training to improve convergence and performance.
  • Combine the spelling correction model with various front-end CTC systems (e.g., DFSMN-CTC-sMBR) and decoding strategies.
  • Fine-tune the spelling correction model using data from multiple CTC model variants and optimization criteria.

Experimental results

Research questions

  • RQ1Can a Transformer-based spelling correction model effectively reduce substitution errors in CTC-based Mandarin ASR?
  • RQ2How does data augmentation using N-best lists impact the performance of the spelling correction model?
  • RQ3To what extent can SGDR-based multi-pass training improve the convergence and accuracy of the spelling correction model?
  • RQ4Does the spelling correction model achieve better relative improvements on weaker CTC baselines?
  • RQ5Can the spelling correction model outperform a strong CTC-sMBR system with WFST-based decoding and external language modeling?

Key findings

  • The spelling correction model reduces CER from 7.28% (baseline CTC with greedy search) to 4.89%.
  • Using N-best list data expansion improves CER to 4.21%, outperforming a CTC-sMBR system with WFST decoding (4.42% CER).
  • The final model achieves a CER of 3.41% when combined with DFSMN-CTC-sMBR and N-best data expansion, representing a 22.9% relative improvement over a CTC system with language modeling.
  • The model achieves a 53.2% relative improvement over a CTC system without language modeling, demonstrating strong error correction capability.
  • Error analysis confirms the model significantly reduces substitution errors, especially homophone-related errors, by leveraging sentence-level context.
  • The model performs better on baselines with higher initial error rates, indicating greater correction potential where errors are more prevalent.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.