E2E-Based Multi-Task Learning Approach to Joint Speech and Accent Recognition

Jicheng Zhang, Yizhou Peng, Van Tung Pham, Haihua Xu, Hao Huang, Eng Siong Chng

Abstract

This paper explores a Transformer-based multi-task learning (MTL) framework for simultaneous Automatic Speech Recognition (ASR) and Accent Recognition (AR). By sharing a common encoder and optimizing a joint loss function, the proposed Multi-Task Joint Recognition (MTJR) model achieves high accuracy in both tasks. Key findings highlight the importance of ASR pretraining for accent identification and the optimal configuration of shared layers to balance task-specific features.

Introduction

In human communication, the brain simultaneously decodes linguistic content ("what" is said) and paralinguistic information like accents ("how" it is said). Most current AI systems, however, treat ASR and AR as separate problems. While accent information has been used to improve ASR, few architectures attempt to optimize both tasks equally. The primary challenge is "task interference": ASR requires mapping diverse sounds to invariant text, while AR requires focusing on the very acoustic variations ASR tries to ignore. This research presents an End-to-End (E2E) framework that balances these competing objectives.

Proposed Methodology

The researchers developed a Transformer-based E2E framework consisting of three primary components:

  1. Shared Encoder: A 12-layer Transformer encoder processing 80-dimensional filter banks plus pitch.
  2. ASR Branch: A hybrid CTC (Connectionist Temporal Classification) and Attention-based decoder.
  3. Accent Recognition (AR) Branch: A streamlined branch using a pooling layer (calculating mean and standard deviation) followed by a linear layer and softmax to predict accent IDs.
The proposed MTJR architecture featuring a shared encoder and specialized branches for ASR and AR.

The model is optimized using a joint loss function: $$L_{loss} = L_{asr} + \lambda L_{accent}$$ The authors found that scaling the accent loss weight ($\lambda$) between 0.1 and 0.3 is critical to prevent the AR task from degrading ASR performance.

Experimental Setup and Insights

The study utilized the DataTang dataset (8 accents, ~20 hours each) for in-domain training and LibriSpeech (960 hours) for out-domain ASR pretraining.

The Impact of Pretraining

A key insight is that ASR pretraining serves as a "secret sauce" for accent recognition. Even when pretrained on unlabelled data (LibriSpeech), the model learns fundamental phonetic structures that significantly improve its ability to categorize accents during fine-tuning.

ASR and AR loss curves over training epochs, comparing models with and without pretraining.

Partial Layer Sharing

The researchers discovered a "sweet spot" for feature sharing. Sharing only the first 9 out of 12 layers of the encoder yielded the best AR results. This suggests that lower layers capture general acoustic features useful for both tasks, while higher layers become too specialized for the primary ASR objective.

Key Results

  • Accent Recognition: The MTJR method achieved 75.2% accuracy, a 7.7% relative improvement over standalone models.
  • ASR Performance: The joint model maintained competitive performance with a Word Error Rate (WER) of 7.1% on the test set, compared to 6.7% for a dedicated ASR model.
  • Efficiency: The shared architecture is significantly more computationally efficient than maintaining two separate specialized models.

Conclusion

The proposed MTJR framework demonstrates that ASR and AR can be effectively learned in a single model. While there is a minor "performance tax" on ASR accuracy when introducing accent recognition, the gains in system simplicity and AR performance are substantial. Future work will explore adversarial training to further decouple task-specific features and scale the system to a broader range of regional dialects.

Summary updated

BibTeX
@inproceedings{zhang2021e,
  author = {Jicheng Zhang and Yizhou Peng and Van Tung Pham and Haihua Xu and Hao Huang and Eng Siong Chng},
  title = {{E2E-Based Multi-Task Learning Approach to Joint Speech and Accent Recognition}},
  booktitle = {Interspeech},
  year = {2021},
  doi = {10.21437/interspeech.2021-1495},
}
Figure