증강 메모리를 활용한 자기주의 기반 스트리밍 트랜스포머 음향 모델
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.
초록
트랜스포머 기반 음향 모델링은 하이브리드 및 시퀀스-투-시퀀스 음성 인식 모두에서 큰 성공을 거두었으나, 전체 시퀀스에 대한 접근이 필요하며 계산 비용이 입력 시퀀스 길이에 따라 2 차적으로 증가한다. 이러한 요인들은 스트리밍 애플리케이션에서의 채택을 제한한다. 본 논문에서는 입력 시퀀스의 짧은 구간과 메모리 은행에 주목하는 새로운 증강 메모리 자기주의 (augmented memory self-attention) 를 제안한다. 메모리 은행은 처리된 모든 구간의 임베딩 정보를 저장한다. Librispeech 벤치마크에서 제안된 방법은 기존 스트리밍 트랜스포머 방법들보다 큰 마진으로 우위를 점하며, 널리 사용되는 LC-BLSTM 베이스라인과 비교하여 15% 이상의 상대적 오류 감소를 달성했다. 본 연구 결과는 일부 대규모 내부 데이터셋에서도 확인되었다.
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.