Modelos Acústicos Basados en Transformers de Flujo con Atención Autoincremental y Memoria Aumentada
Streaming Transformer-based Acoustic Models Using Self-attention with Augmented Memory
Streaming Transformer-based Acoustic Models Using Self-attention with Augmented Memory
@misc{wu2020streaming,
title = {Streaming Transformer-based Acoustic Models Using Self-attention with Augmented Memory},
author = {Chunyang Wu and Yongqiang Wang and Yangyang Shi and Ching-Feng Yeh and Frank Zhang},
year = {2020},
eprint = {2005.08042},
archivePrefix = {arXiv},
primaryClass = {eess.AS},
url = {https://arxiv.org/abs/2005.08042}
}
Wu, C., Wang, Y., Shi, Y., Yeh, C.-F., & Zhang, F. (2020). Streaming Transformer-based Acoustic Models Using Self-attention with Augmented Memory [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2005.08042
WU C, WANG Y, SHI Y, et al. Streaming Transformer-based Acoustic Models Using Self-attention with Augmented Memory[EB/OL]. (2020-05-16)[2026-11-29]. https://arxiv.org/abs/2005.08042.
Resumen
El modelado acústico basado en Transformers ha logrado un gran éxito tanto en la reconocimiento de habla híbrido como en el de secuencia a secuencia. Sin embargo, requiere acceso a la secuencia completa y su costo computacional crece cuadráticamente con respecto a la longitud de la secuencia de entrada. Estos factores limitan su adopción en aplicaciones de streaming. En este trabajo, proponemos una atención de memoria auto-aumentada novedosa, que atiende a un segmento corto de la secuencia de entrada y a un banco de memorias. El banco de memorias almacena la información de las representaciones para todos los segmentos procesados. En el benchmark Librispeech, nuestro método propuesto supera a todos los métodos transformadores existentes que son compatibles con streaming por un margen considerable y logra una reducción del error relativo superior al 15% en comparación con la línea base ampliamente utilizada LC-BLSTM. Nuestros hallazgos también se confirman en algunos conjuntos de datos internos grandes.
Transformer-based acoustic modeling has achieved great suc-cess for both hybrid and sequence-to-sequence speech recogni-tion. However, it requires access to the full sequence, and thecomputational cost grows quadratically with respect to the in-put sequence length. These factors limit its adoption for stream-ing applications. In this work, we proposed a novel augmentedmemory self-attention, which attends on a short segment of theinput sequence and a bank of memories. The memory bankstores the embedding information for all the processed seg-ments. On the librispeech benchmark, our proposed methodoutperforms all the existing streamable transformer methods bya large margin and achieved over 15% relative error reduction,compared with the widely used LC-BLSTM baseline. Our find-ings are also confirmed on some large internal datasets.