自己注意と拡張メモリを用いたストリーミングトランスフォーマー型音響モデル
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.
要旨
トランスフォーマーベースの音声モデルは、混合およびシーケンス対シーケンス音声認識において大きな成功を収めている。しかし、全シーケンスへのアクセスを必要とし、計算コストは入力シーケンス長の二乗に比例して増加するため、ストリーミングアプリケーションへの採用が制限されている。本稿では、入力シーケンスの短セグメントとメモリバンクに注意を向ける新しい拡張されたメモリ自己注意機構を提案する。メモリバンクは、処理されたすべてのセグメントの埋め込み情報を格納する。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.