Improving Low Resource Code-Switched ASR Using Augmented Code-Switched TTS

Yash Sharma, Basil Abraham, Karan Taneja, Preethi Jyothi

Abstract

Building Automatic Speech Recognition (ASR) systems for code-switched speech has recently gained renewed attention due to the widespread use of speech technologies in multilingual communities worldwide. End-to-end ASR systems are a natural modeling choice due to their ease of use and superior performance in monolingual settings. However, it is well-known that end-to-end systems require large amounts of labeled speech. In this work, we investigate improving code-switched ASR in low resource settings via data augmentation using code-switched text-to-speech (TTS) synthesis. We propose two targeted techniques to effectively leverage TTS speech samples: 1) Mixup, an existing technique to create new training samples via linear interpolation of existing samples, applied to TTS and real speech samples, and 2) a new loss function, used in conjunction with TTS samples, to encourage code-switched predictions. We report significant improvements in ASR performance achieving absolute word error rate (WER) reductions of up to 5%, and measurable improvement in code switching using our proposed techniques on a Hindi-English code-switched ASR task.

Introduction

End-to-end Automatic Speech Recognition (ASR) systems are notoriously data-hungry, often requiring thousands of hours of labeled audio to achieve high performance. While monolingual data for languages like Hindi or English is relatively accessible, code-switched (CS) data—natural conversational speech where speakers alternate between languages—is incredibly scarce.

This research addresses two primary hurdles in low-resource CS-ASR:

  1. Distributional Mismatch: Synthetic speech from TTS engines often contains "robotic" artifacts that differ from real human speech, leading to overfitting.
  2. Language Dominance: In Hindi-English code-switching, models often develop a bias toward the dominant "matrix" language (Hindi), hesitating to switch to English even when acoustic evidence is present.

Methodology

We propose a hybrid CTC-attention ASR architecture enhanced by two targeted techniques to bridge the gap between synthetic and real data.

Mixup Augmentation

Originally a computer vision technique, Mixup creates new training samples by taking a linear interpolation of two existing samples. In this context, we mix a synthetic TTS sample ($X_{TTS}$) with a randomly chosen real speech sample ($X_{real}$). This forces the model to learn features that are robust to the differences between synthetic and natural audio, acting as a powerful regularizer.

CS-bias Loss Function

To combat the model's hesitation to switch languages, we modified the standard multi-task learning (MTL) loss by adding a reward term ($R$). This term gives the model a "bonus" for assigning higher probabilities to English characters during training, explicitly encouraging it to overcome its bias toward the dominant language.

TTS Generation

We utilized a Tacotron-2 model trained on six Indian languages to generate 100 hours of synthetic code-switched speech from text transcripts, providing the volume of data necessary for the ASR to learn switching patterns.

Experimental Results

Impact of Synthetic Data and Mixup

Our results indicate that TTS-generated data can serve as a functional "cold start" for CS-ASR systems. As shown in the comparison below, the inclusion of synthetic data and the application of Mixup significantly reduces the Word Error Rate (WER) compared to monolingual baselines.

Table 3: WER results comparing no-mixup and add-mixup strategies across varying amounts of synthetic TTS data.

Using 100 hours of TTS data with Mixup reduced the WER from 72.1% (baseline) to 70.0%. When the CS-bias loss was added, the WER further improved to 69.0% when training from scratch.

Switch-Point Accuracy

A critical measure of success in code-switched ASR is the error rate specifically at the points where languages switch (CS-WER). Our proposed techniques significantly improved the model's ability to catch these transitions.

Table 5: CS-WER results demonstrating the impact of the proposed CS-bias loss and encoder freezing on switch-point accuracy.

As seen in the table, the CS-WER improved from 83.3% to 76.1% using the combination of Mixup, CS-bias loss, and encoder freezing (FE). Furthermore, when the system was fine-tuned on a small 12-hour set of real code-switched data, the overall WER plummeted to 53.6%, demonstrating that synthetic data provides an excellent initialization for low-resource scenarios.

Conclusion

This study proves that targeted data augmentation using TTS, combined with Mixup and a specialized CS-bias loss, can effectively mitigate the data scarcity problem in code-switched ASR. These techniques help the model ignore synthetic artifacts and overcome linguistic biases, leading to measurable improvements in both overall accuracy and switch-point detection.

Summary updated

BibTeX
@inproceedings{sharma2020improving,
  author = {Yash Sharma and Basil Abraham and Karan Taneja and Preethi Jyothi},
  title = {{Improving Low Resource Code-Switched ASR Using Augmented Code-Switched TTS}},
  booktitle = {Interspeech},
  year = {2020},
  url = {https://openreview.net/forum?id=lRySJGLvci},
}
Figure