Outlier Reduction with Gated Attention for Improved Post-training Quantization in Large Sequence-to-sequence Speech Foundation Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wagner, Dominik, Baumann, Ilja, Riedhammer, Korbinian, Bocklet, Tobias
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909225216638976
author Wagner, Dominik
Baumann, Ilja
Riedhammer, Korbinian
Bocklet, Tobias
author_facet Wagner, Dominik
Baumann, Ilja
Riedhammer, Korbinian
Bocklet, Tobias
contents This paper explores the improvement of post-training quantization (PTQ) after knowledge distillation in the Whisper speech foundation model family. We address the challenge of outliers in weights and activation tensors, known to impede quantization quality in transformer-based language and vision models. Extending this observation to Whisper, we demonstrate that these outliers are also present when transformer-based models are trained to perform automatic speech recognition, necessitating mitigation strategies for PTQ. We show that outliers can be reduced by a recently proposed gating mechanism in the attention blocks of the student model, enabling effective 8-bit quantization, and lower word error rates compared to student models without the gating mechanism in place.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11022
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Outlier Reduction with Gated Attention for Improved Post-training Quantization in Large Sequence-to-sequence Speech Foundation Models
Wagner, Dominik
Baumann, Ilja
Riedhammer, Korbinian
Bocklet, Tobias
Sound
Audio and Speech Processing
This paper explores the improvement of post-training quantization (PTQ) after knowledge distillation in the Whisper speech foundation model family. We address the challenge of outliers in weights and activation tensors, known to impede quantization quality in transformer-based language and vision models. Extending this observation to Whisper, we demonstrate that these outliers are also present when transformer-based models are trained to perform automatic speech recognition, necessitating mitigation strategies for PTQ. We show that outliers can be reduced by a recently proposed gating mechanism in the attention blocks of the student model, enabling effective 8-bit quantization, and lower word error rates compared to student models without the gating mechanism in place.
title Outlier Reduction with Gated Attention for Improved Post-training Quantization in Large Sequence-to-sequence Speech Foundation Models
topic Sound
Audio and Speech Processing
url https://arxiv.org/abs/2406.11022