Salvato in:
Dettagli Bibliografici
Autori principali: Wright, George August, Cappellazzo, Umberto, Zaiem, Salah, Raj, Desh, Yang, Lucas Ondel, Falavigna, Daniele, Ali, Mohamed Nabih, Brutti, Alessio
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:https://arxiv.org/abs/2309.09546
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914688866975744
author Wright, George August
Cappellazzo, Umberto
Zaiem, Salah
Raj, Desh
Yang, Lucas Ondel
Falavigna, Daniele
Ali, Mohamed Nabih
Brutti, Alessio
author_facet Wright, George August
Cappellazzo, Umberto
Zaiem, Salah
Raj, Desh
Yang, Lucas Ondel
Falavigna, Daniele
Ali, Mohamed Nabih
Brutti, Alessio
contents The ability to dynamically adjust the computational load of neural models during inference is crucial for on-device processing scenarios characterised by limited and time-varying computational resources. A promising solution is presented by early-exit architectures, in which additional exit branches are appended to intermediate layers of the encoder. In self-attention models for automatic speech recognition (ASR), early-exit architectures enable the development of dynamic models capable of adapting their size and architecture to varying levels of computational resources and ASR performance demands. Previous research on early-exiting ASR models has relied on pre-trained self-supervised models, fine-tuned with an early-exit loss. In this paper, we undertake an experimental comparison between fine-tuning pre-trained backbones and training models from scratch with the early-exiting objective. Experiments conducted on public datasets reveal that early-exit models trained from scratch not only preserve performance when using fewer encoder layers but also exhibit enhanced task accuracy compared to single-exit or pre-trained models. Furthermore, we explore an exit selection strategy grounded in posterior probabilities as an alternative to the conventional frame-based entropy approach. Results provide insights into the training dynamics of early-exit architectures for ASR models, particularly the efficacy of training strategies and exit selection methods.
format Preprint
id arxiv_https___arxiv_org_abs_2309_09546
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Training dynamic models using early exits for automatic speech recognition on resource-constrained devices
Wright, George August
Cappellazzo, Umberto
Zaiem, Salah
Raj, Desh
Yang, Lucas Ondel
Falavigna, Daniele
Ali, Mohamed Nabih
Brutti, Alessio
Audio and Speech Processing
Computation and Language
Sound
The ability to dynamically adjust the computational load of neural models during inference is crucial for on-device processing scenarios characterised by limited and time-varying computational resources. A promising solution is presented by early-exit architectures, in which additional exit branches are appended to intermediate layers of the encoder. In self-attention models for automatic speech recognition (ASR), early-exit architectures enable the development of dynamic models capable of adapting their size and architecture to varying levels of computational resources and ASR performance demands. Previous research on early-exiting ASR models has relied on pre-trained self-supervised models, fine-tuned with an early-exit loss. In this paper, we undertake an experimental comparison between fine-tuning pre-trained backbones and training models from scratch with the early-exiting objective. Experiments conducted on public datasets reveal that early-exit models trained from scratch not only preserve performance when using fewer encoder layers but also exhibit enhanced task accuracy compared to single-exit or pre-trained models. Furthermore, we explore an exit selection strategy grounded in posterior probabilities as an alternative to the conventional frame-based entropy approach. Results provide insights into the training dynamics of early-exit architectures for ASR models, particularly the efficacy of training strategies and exit selection methods.
title Training dynamic models using early exits for automatic speech recognition on resource-constrained devices
topic Audio and Speech Processing
Computation and Language
Sound
url https://arxiv.org/abs/2309.09546