Learning not to Discriminate: Task Agnostic Learning for Improving Monolingual and Code-switched Speech Recognition

Gurunath Reddy Madhumani, Sanket Shah, Basil Abraham, Vikas Joshi, Sunayana SitaramarXiv 2020

Abstract

Automatic Speech Recognition (ASR) systems often struggle to maintain high accuracy on standard monolingual speech after being trained on code-switched (mixed-language) data. This paper introduces a domain-adversarial learning approach that forces the shared layers of a neural network to learn "task-agnostic" features, preventing the model from heavily biasing toward either monolingual or code-switched speech. The resulting multi-task adversarial model achieves consistent Word Error Rate (WER) improvements across both speech types in three different Indian language-English pairs.

Introduction

In multilingual societies, speakers frequently switch between languages in a single conversation—a phenomenon known as code-switching. Training ASR systems to handle this is challenging due to a lack of labeled code-switched data. Furthermore, when researchers fine-tune existing monolingual ASR models on code-switched data, the model's performance on standard monolingual speech degrades.

Even when training a joint model from scratch on a pooled dataset (containing both monolingual and code-switched audio), the shared layers of the neural network tend to learn task-specific features. This causes the model to "drift," favoring one type of speech over the other. The authors aim to build a single, unified ASR system that excels at recognizing both monolingual and code-switched speech without compromising the performance of either.

Proposed Methodology

The authors build upon a standard end-to-end ASR architecture comprising Convolutional Neural Networks (CNNs) followed by Bidirectional LSTMs (BLSTMs), trained with Connectionist Temporal Classification (CTC) loss. To prevent the model from drifting toward a specific task, they introduce domain-adversarial training.

Proposed ASR architectures: (a) baseline, (b) pooled adversarial, and (c) multi-task adversarial model.

The core components of the proposed architecture include:

  • The Adversarial Discriminator: An adversarial classifier branch is attached to the shared layers. Its role is to predict whether an input audio utterance is monolingual or code-switched.
  • Gradient Reversal Layer (GRL): Placed before the discriminator, the GRL multiplies gradients by -1 during backpropagation. This forces the shared layers to evolve in a way that "confuses" the discriminator, leading to the learning of generalized, task-agnostic audio features.
  • Multi-Task Architecture: Above the shared layers, the network branches into separate, task-specific fully connected layers for monolingual and code-switched predictions. This allows final layers to specialize while the foundation remains robust.

Experimental Setup

The models were evaluated on three Indian languages mixed with English: Tamil (TA-EN), Telugu (TE-EN), and Gujarati (GU-EN). The training data included both conversational and phrasal speech, while testing focused on phrasal data. Separate monolingual (MONO) and code-switched (CS) test sets were used for each language pair to ensure rigorous evaluation.

Results and Discussion

The proposed multi-task adversarial model (Exp6) outperformed all baseline models across all test sets. Adversarial training effectively prevents feature drift by forcing shared layers to be task-agnostic, ensuring the model does not "forget" monolingual features while learning code-switched ones.

Word Error Rate (WER) comparison across different experimental setups (Exp3 to Exp6).

As shown in the results table, the multi-task adversarial model (Exp6) achieved the lowest WER across all categories compared to the pooled baseline (Exp3):

  • Tamil Monolingual: WER dropped from 48.47% to 46.34%.
  • Tamil Code-Switched: WER dropped from 55.93% to 53.15%.
  • Telugu Code-Switched: WER dropped from 40.75% to 39.19%.
  • Gujarati Monolingual: WER dropped from 40.96% to 38.20%.

The authors verified task-agnosticism by tracking the discriminator's validation accuracy, which remained near 50%, indicating the shared layers successfully masked the speech type.

Conclusion

The adversarial approach proved superior to simple data pooling or fine-tuning. However, a current limitation is the requirement for a priori knowledge of the utterance type to route it to the correct task-specific layer. Future work will explore integrating Language Identification (LID) systems or output averaging techniques to automate this process for real-world deployment.

Summary updated

BibTeX
@misc{madhumani2020learning,
  author = {Gurunath Reddy Madhumani and Sanket Shah and Basil Abraham and Vikas Joshi and Sunayana Sitaram},
  title = {{Learning not to Discriminate: Task Agnostic Learning for Improving Monolingual and Code-switched Speech Recognition}},
  year = {2020},
  eprint = {2006.05257},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.05257},
}
Figure