[Paper Review] Towards End-to-end Automatic Code-Switching Speech Recognition
This paper proposes a CTC-based end-to-end speech recognition model for intra-sentential English-Mandarin code-switching by jointly training on monolingual English and Chinese datasets before fine-tuning on a mixed-language corpus. The approach achieves a 5% relative reduction in character error rate (CER) by leveraging transfer learning and improves decoding through rescoring with an n-gram language model.
Speech recognition in mixed language has difficulties to adapt end-to-end framework due to the lack of data and overlapping phone sets, for example in words such as "one" in English and "wàn" in Chinese. We propose a CTC-based end-to-end automatic speech recognition model for intra-sentential English-Mandarin code-switching. The model is trained by joint training on monolingual datasets, and fine-tuning with the mixed-language corpus. During the decoding process, we apply a beam search and combine CTC predictions and language model score. The proposed method is effective in leveraging monolingual corpus and detecting language transitions and it improves the CER by 5%.
Motivation & Objective
- Address the challenge of automatic speech recognition in code-switching speech, where language transitions are unpredictable and data is limited.
- Overcome the limitations of traditional pipeline ASR systems that treat acoustic, pronunciation, and language modeling separately.
- Develop an end-to-end framework that can jointly learn from monolingual data and adapt to code-switching patterns without relying on explicit language identification.
- Improve generalization and robustness in recognizing mixed-language utterances by leveraging transfer learning from monolingual corpora.
- Demonstrate the effectiveness of joint training and fine-tuning in reducing character error rate (CER) for code-switching recognition.
Proposed method
- Train a CTC-based end-to-end ASR model using joint training on separate monolingual English and Mandarin Chinese datasets before fine-tuning on a code-switching corpus.
- Use a CNN-BiGRU architecture with batch normalization and ReLU activation for feature extraction and sequence modeling.
- Concatenate the English and Simplified Chinese character sets into a single output vocabulary for joint prediction.
- Apply beam search decoding with a beam size of 100, combining CTC predictions and language model scores using weighted combination (α=0.2, β=1).
- Fine-tune the model on code-switching data after pre-training on monolingual data to adapt to language transitions.
- Rescore the final hypotheses using 3-gram, 4-gram, and 5-gram n-gram language models to improve grammaticality and fix errors.
Experimental results
Research questions
- RQ1Can joint training on monolingual data improve end-to-end code-switching ASR performance compared to training only on mixed-language data?
- RQ2How effectively can a CTC-based model detect and transcribe language transitions in intra-sentential code-switching without explicit language identifiers?
- RQ3To what extent does fine-tuning on a smaller code-switching corpus after joint pre-training reduce character error rate (CER)?
- RQ4How much improvement does rescoring with an external n-gram language model provide in decoding accuracy?
- RQ5Can the model generalize to recognize similar-sounding words across English and Mandarin, such as 'one' and 'wàn', in code-switching contexts?
Key findings
- Joint training on monolingual datasets followed by fine-tuning on code-switching data reduced the character error rate (CER) by 5% compared to training only on the mixed-language corpus.
- The model successfully learned to detect language transitions and transcribed both English and Chinese characters accurately, even in complex intra-sentential code-switching patterns.
- Fine-tuning with only 50% of the code-switching data achieved comparable performance to using the full dataset, indicating strong data efficiency.
- The addition of a 5-gram language model for rescoring led to an additional 1% reduction in CER, correcting spelling and grammatical errors in the baseline output.
- The model demonstrated improved generalization by correctly mapping phonetically similar words across languages, such as 'before' and 'for', in code-switching contexts.
- Despite improvements, the model still struggled with maintaining balanced representation of both languages, indicating a need to address catastrophic forgetting in future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.