Zipformer: A faster and better encoder for automatic speech recognition

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yao, Zengwei, Guo, Liyong, Yang, Xiaoyu, Kang, Wei, Kuang, Fangjun, Yang, Yifan, Jin, Zengrui, Lin, Long, Povey, Daniel
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914747203452928
author Yao, Zengwei
Guo, Liyong
Yang, Xiaoyu
Kang, Wei
Kuang, Fangjun
Yang, Yifan
Jin, Zengrui
Lin, Long
Povey, Daniel
author_facet Yao, Zengwei
Guo, Liyong
Yang, Xiaoyu
Kang, Wei
Kuang, Fangjun
Yang, Yifan
Jin, Zengrui
Lin, Long
Povey, Daniel
contents The Conformer has become the most popular encoder model for automatic speech recognition (ASR). It adds convolution modules to a transformer to learn both local and global dependencies. In this work we describe a faster, more memory-efficient, and better-performing transformer, called Zipformer. Modeling changes include: 1) a U-Net-like encoder structure where middle stacks operate at lower frame rates; 2) reorganized block structure with more modules, within which we re-use attention weights for efficiency; 3) a modified form of LayerNorm called BiasNorm allows us to retain some length information; 4) new activation functions SwooshR and SwooshL work better than Swish. We also propose a new optimizer, called ScaledAdam, which scales the update by each tensor's current scale to keep the relative change about the same, and also explictly learns the parameter scale. It achieves faster convergence and better performance than Adam. Extensive experiments on LibriSpeech, Aishell-1, and WenetSpeech datasets demonstrate the effectiveness of our proposed Zipformer over other state-of-the-art ASR models. Our code is publicly available at https://github.com/k2-fsa/icefall.
format Preprint
id arxiv_https___arxiv_org_abs_2310_11230
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Zipformer: A faster and better encoder for automatic speech recognition
Yao, Zengwei
Guo, Liyong
Yang, Xiaoyu
Kang, Wei
Kuang, Fangjun
Yang, Yifan
Jin, Zengrui
Lin, Long
Povey, Daniel
Audio and Speech Processing
Machine Learning
Sound
The Conformer has become the most popular encoder model for automatic speech recognition (ASR). It adds convolution modules to a transformer to learn both local and global dependencies. In this work we describe a faster, more memory-efficient, and better-performing transformer, called Zipformer. Modeling changes include: 1) a U-Net-like encoder structure where middle stacks operate at lower frame rates; 2) reorganized block structure with more modules, within which we re-use attention weights for efficiency; 3) a modified form of LayerNorm called BiasNorm allows us to retain some length information; 4) new activation functions SwooshR and SwooshL work better than Swish. We also propose a new optimizer, called ScaledAdam, which scales the update by each tensor's current scale to keep the relative change about the same, and also explictly learns the parameter scale. It achieves faster convergence and better performance than Adam. Extensive experiments on LibriSpeech, Aishell-1, and WenetSpeech datasets demonstrate the effectiveness of our proposed Zipformer over other state-of-the-art ASR models. Our code is publicly available at https://github.com/k2-fsa/icefall.
title Zipformer: A faster and better encoder for automatic speech recognition
topic Audio and Speech Processing
Machine Learning
Sound
url https://arxiv.org/abs/2310.11230