Modelos Acústicos Baseados em Transformers Streaming com Atenção Autônoma e Memória 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.
Resumo
O modelamento acústico baseado em Transformers alcançou grandes sucessos tanto para reconhecimento de fala híbrido quanto sequencial. No entanto, requer acesso à sequência completa e o custo computacional cresce quadraticamente em relação ao comprimento da sequência de entrada. Esses fatores limitam sua adoção em aplicações de streaming. Neste trabalho, propomos uma nova atenção de memória auto-aumentada, que atende a um segmento curto da sequência de entrada e a um banco de memórias. O banco de memórias armazena as informações de embedding para todos os segmentos processados. No benchmark Librispeech, nosso método proposto supera todas as existentes métodos transformadores streamáveis por uma margem significativa e alcançou uma redução de erro relativa superior a 15%, em comparação com a linha de base LC-BLSTM amplamente utilizada. Nossas conclusões também foram confirmadas em alguns grandes conjuntos de dados internos.
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.