Collaborative Training of Acoustic Encoders for Speech Recognition

Varun Nagaraja, Yangyang Shi, Ganesh Venkatesh, Ozlem Kalinli, Michael L. Seltzer, Vikas Chandra

Introduction

Modern Automatic Speech Recognition (ASR) systems must operate across a diverse range of hardware, from high-performance smartphones to resource-constrained smart speakers. Traditionally, this requires training a family of models—small, medium, and large—independently. This approach is inefficient due to redundant data processing and sub-optimal because smaller models cannot leverage the representations learned by larger ones.

This paper proposes a collaborative training framework that trains multiple acoustic encoders of varying sizes simultaneously. By sharing low-level layers and employing a single-step "co-distillation" process, the authors achieve a 3–11% relative improvement in Word Error Rate (WER) while streamlining the training pipeline.

Methodology

The proposed system utilizes a Sequence Transducer architecture (specifically Emformer) with several novel collaborative elements designed for efficiency and performance.

Branching Architecture and Shared Components

The core of the framework is a configurable acoustic encoder. All model sizes share the same Predictor and Joiner modules, forcing the encoders to produce representations compatible with a single universal decoding head. Furthermore, the encoders share a set of initial "trunk" layers. As shown in the architecture diagram, the model "branches off" into specialized layers depending on the target size (e.g., 7 layers for "Small" vs. 20 layers for "Large").

Architecture of the collaborative training framework showing shared layers and branching encoders.

Co-Distillation and Auxiliary Tasks

Unlike traditional Knowledge Distillation (KD) which requires a pre-trained teacher, this framework uses "co-distillation." All models learn together in a single pass, with the largest encoder acting as a dynamic teacher. To stabilize training, an auxiliary task (Chenone prediction) is added to each branch. The total loss function combines the standard Transducer loss ($L_{RNNT}$), Cross-Entropy loss for the auxiliary task, and a KL Divergence loss that encourages smaller branches to mimic the probability distributions of the largest branch.

Experimental Setup

The models were evaluated on the LibriSpeech corpus (960 hours of English speech) using the standard "clean" and "other" test sets. This benchmark allows for a clear comparison of how collaborative training affects performance across different acoustic conditions.

Results and Analysis

The collaborative approach yields several key benefits over independent training:

  1. Accuracy Gains: Models trained collaboratively showed a 3–11% relative reduction in WER compared to baseline models of the same size.
  2. Model Compression: A 14-layer collaboratively trained model achieved accuracy comparable to a 20-layer baseline, representing a 25% reduction in parameters for equivalent performance.
  3. Mutual Regularization: Interestingly, the largest model also improved, suggesting that joint optimization with smaller branches provides a beneficial regularizing effect.

The table below details the ablation studies, highlighting how sharing components and adding auxiliary losses contributes to the final performance across different branch configurations.

Word Error Rate (WER) results for various configurations, demonstrating the impact of shared components and auxiliary tasks.

Conclusion and Future Work

Collaborative training offers a more efficient and effective way to develop a suite of ASR models. By training "on-the-fly," the researchers eliminated the need for complex multi-stage distillation while improving accuracy across all model sizes.

Future research could investigate more dynamic branching strategies beyond fixed layer sharing and provide extensive benchmarks on specific edge hardware to quantify real-world latency and power savings. Additionally, optimizing the hyperparameter $\lambda$ for the encoder loss remains an area for further refinement.

Summary updated

BibTeX
@inproceedings{nagaraja2021collaborative,
  author = {Varun Nagaraja and Yangyang Shi and Ganesh Venkatesh and Ozlem Kalinli and Michael L. Seltzer and Vikas Chandra},
  title = {{Collaborative Training of Acoustic Encoders for Speech Recognition}},
  booktitle = {Interspeech},
  year = {2021},
  doi = {10.21437/interspeech.2021-354},
}
Figure