Continual Learning for On-Device Speech Recognition using Disentangled Conformers

Anuj Diwan, Ching-Feng Yeh, Wei-Ning Hsu, Paden Tomasello, Eunsol Choi, David Harwath, Abdelrahman Mohamed · DOI

TL;DR

This paper tackles the challenge of speech recognition models adapting to individual users on devices without forgetting previous knowledge or requiring excessive computational resources. They introduce a novel Disentangled Conformer architecture and a DisentangledCL algorithm that efficiently fine-tune only a small portion of the model for speaker-specific adaptation, achieving state-of-the-art results on a new benchmark, LibriContinual.

What Problem Does This Paper Address?

Modern speech recognition systems are increasingly deployed on personal devices. These devices, however, present a dynamic environment where user-specific speech patterns and acoustic conditions create "distributional shifts." To maintain high performance, these models need to continually learn and adapt to individual users. This poses a significant challenge: how can a model adapt to a new user without forgetting what it learned about previous users (catastrophic forgetting) and without requiring substantial computational power, which is a constraint on edge devices? Existing approaches often require retraining the entire model or are not optimized for efficiency, making them unsuitable for on-device deployment.

Methods

The authors propose two main innovations:

  • Disentangled Conformer (DisConformer): This is a novel variant of the Conformer architecture. Instead of having a single set of parameters for each module (Feedforward, Self-Attention, Convolution), the DisConformer disentangles these parameters into a "core" network and several "augment" networks. The core network handles general-purpose speech recognition, while the augment networks are designed for speaker-specific adaptation. This allows for selective fine-tuning.
  • DisentangledCL Algorithm: This is a compute-efficient continual learning algorithm. It leverages the DisConformer's architecture by only fine-tuning a small subset of the "augment" networks for speaker adaptation, while keeping the "core" network frozen. This significantly reduces the number of trainable parameters, making it suitable for on-device scenarios. They also adapt a general-purpose training algorithm called NetAug to train these DisConformer models.

Datasets

  • LibriSpeech: Used for pre-training the general-purpose ASR models.
  • LibriContinual: A newly introduced benchmark specifically designed for speaker-specific continual learning in ASR. It's derived from LibriVox audiobooks and includes data from 118 speakers, with multiple training splits of varying sizes (10 min to 10 hr) per speaker, along with validation and test sets. This dataset allows for evaluating both speaker-specific adaptation and general-purpose performance preservation.

Key Insights and Ideas

  • Disentanglement is Key for Efficient Adaptation: The core idea is that by separating general speech knowledge (core) from speaker-specific nuances (augment), we can achieve efficient adaptation without compromising general performance.
  • Augment Networks are Crucial for Speaker Adaptation: The experiments show that fine-tuning only the augment networks, particularly in the attention and convolution modules, can lead to performance comparable to fully finetuned models, but with a fraction of the trainable parameters.
  • LibriContinual is a Necessary Benchmark: The authors highlight the inadequacy of static datasets for evaluating on-device continual learning and introduce LibriContinual to address this gap, enabling more realistic evaluations.
  • Trade-offs Exist: While DisConformer-FF models show strong general ASR performance, they don't match fully finetuned baselines as closely on speaker-specific tasks compared to DisConformer-Att and -Conv. This suggests a potential trade-off between general and speaker-specific performance depending on which module is disentangled.

Key Results

  • General ASR Performance: DisConformer models, when using only their core network, consistently outperform standard Conformer baselines on LibriSpeech and LibriContinual test sets, demonstrating the effectiveness of NetAug training for general ASR.
  • Continual Learning Performance:
    • On LibriContinual, DisentangledCL with DisConformers significantly outperforms parameter-matched baselines, achieving relative WER gains of over 20% on test sets.
  • In some settings (DisConformer-Att and -Conv), they match fully finetuned baselines while only finetuning less than 13% of the parameters.
  • Crucially, DisentangledCL with DisConformers shows no degradation in performance on the original LibriSpeech dataset, indicating no catastrophic forgetting.

Limitations and Future Work

  • Limitations: The paper notes that the DisConformer-FF model's speaker-specific performance is not as strong as its Att and Conv counterparts, suggesting a potential trade-off. The transcriptions for LibriContinual are synthetically generated, which might influence the interpretation of results.
  • Future Work: The authors plan to extend the LibriContinual benchmark to weakly supervised settings and explore its application to other speech tasks. They also aim to use NetAug to create speaker-specialized experts and investigate the impact of different disentanglement strategies.

Summary updated

BibTeX
@inproceedings{diwan2022continual,
  author = {Anuj Diwan and Ching-Feng Yeh and Wei-Ning Hsu and Paden Tomasello and Eunsol Choi and David Harwath and Abdelrahman Mohamed},
  title = {{Continual Learning for On-Device Speech Recognition using Disentangled Conformers}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp49357.2023.10095484},
}
Figure