arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.11230eess.AScs.LGcs.SD
收藏

Zipformer:一种用于自动语音识别的更快、更优编码器

Zipformer: A faster and better encoder for automatic speech recognition

Xiaomi Corp.(小米公司)

Zengwei Yao, Liyong Guo, Xiaoyu Yang, Wei Kang, Fangjun Kuang, Yifan Yang, Zengrui Jin, Long Lin, Daniel Povey

AI总结:

本文提出 Zipformer ASR 编码器,通过 U-Net 式低帧率结构、注意力权重复用、BiasNorm 与 Swoosh 激活函数,并结合 ScaledNam 优化器,在多个语音数据集上实现更快、更省内存且更优的识别性能。

摘要:

Conformer 已成为自动语音识别(ASR)中最流行的编码器模型。它在 transformer 中加入卷积模块,以同时学习局部和全局依赖关系。在本工作中,我们描述了一种更快、更节省内存且性能更好的 transformer,称为 Zipformer。建模方面的改变包括:1)采用类似 U-Net 的编码器结构,其中中间堆叠以较低帧率运行;2)重组的块结构包含更多模块,并在其中复用注意力权重以提高效率;3)一种称为 BiasNorm 的改进形式 LayerNorm,使我们能够保留部分长度信息;4)新的激活函数 SwooshR 和 SwooshL 比 Swish 效果更好。我们还提出了一种名为 ScaledAdam 的新优化器,它根据每个张量当前的尺度缩放更新,以保持相对变化大致相同,并显式学习参数尺度。与 Adam 相比,它实现了更快的收敛和更好的性能。在 LibriSpeech、Aishell-1 和 WenetSpeech 数据集上的大量实验证明了我们提出的 Zipformer 相比其他最先进 ASR 模型的有效性。我们的代码已公开发布于 https://github.com/k2-fsa/icefall。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑