Skip to main content
QUICK REVIEW

[论文解读] Moonshine v2: Ergodic Streaming Encoder ASR for Latency-Critical Speech Applications

Manjunath Kudlur, Evan King|arXiv (Cornell University)|Feb 12, 2026
Speech Recognition and SynthesisComputer Science被引用 0
一句话总结

Moonshine v2 提出了一种遍历性流式编码器,结合滑动窗口自注意力,以实现端设备低延迟的语音识别,在模型体积和延迟明显低于全注意力对手的情况下,达到最先进的准确率。

ABSTRACT

Latency-critical speech applications (e.g., live transcription, voice commands, and real-time translation) demand low time-to-first-token (TTFT) and high transcription accuracy, particularly on resource-constrained edge devices. Full-attention Transformer encoders remain a strong accuracy baseline for automatic speech recognition (ASR) because every frame can directly attend to every other frame, which resolves otherwise locally ambiguous acoustics using distant lexical context. However, this global dependency incurs quadratic complexity in sequence length, inducing an inherent "encode-the-whole-utterance" latency profile. For streaming use cases, this causes TTFT to grow linearly with utterance length as the encoder must process the entire prefix before any decoder token can be emitted. To better meet the needs of on-device, streaming ASR use cases we introduce Moonshine v2, an ergodic streaming-encoder ASR model that employs sliding-window self-attention to achieve bounded, low-latency inference while preserving strong local context. Our models achieve state of the art word error rates across standard benchmarks, attaining accuracy on-par with models 6x their size while running significantly faster. These results demonstrate that carefully designed local attention is competitive with the accuracy of full attention at a fraction of the size and latency cost, opening new possibilities for interactive speech interfaces on edge devices.

研究动机与目标

  • 为边缘端语音识别中对低延迟、流式友好编码器的需求提供动机,其中 TTFT 与准确率需要权衡。
  • 提出一个滑动窗口、遍历性的编码器,以在保留局部上下文的同时限制延迟。
  • 描述 Moonshine v2 架构(音频预处理、流式编码器、适配器、解码器)和训练设置。
  • 证明 Moonshine v2 在标准基准上以显著降低的延迟和模型规模实现具有竞争力的准确率。

提出的方法

  • 在一个位置无关(遍历性)编码器中使用滑动窗口自注意力,以实现序列长度的线性成本。
  • 将编码器层配置为具有有边界的左/右上下文,包括用于轻微前瞻的有限右上下文。
  • 通过一个添加位置嵌入的适配器连接编码器和解码器,同时保持编码器的遍历性。
  • 在约 30 万小时数据上使用 Schedule-Free 优化,在 8× NVIDIA H100 GPU 上训练三种模型尺寸(tiny、small、medium)。
  • 使用 Open ASR 基准上的 WER 进行评估,并在边缘硬件(Apple M3)上比较延迟/计算成本,与 Whisper 和 Moonshine v1 进行对比。

实验结果

研究问题

  • RQ1滑动窗口的遍历性编码器在流式语音识别中对 TTFT 和延迟相对于全注意力编码器有何影响?
  • RQ2本地注意力编码器是否可以在边缘设备上以显著更小的模型和更低的延迟实现有竞争力的 WER?
  • RQ3Moonshine v2 相对于 Whisper,在标准基准上的端到端延迟与计算成本的权衡如何?

主要发现

  • Moonshine v2 在相同硬件上实现了比 Whisper 模型更低的延迟,Moonshine v2 Tiny 约 50 ms,v2 Small 约 148 ms,v2 Medium 约 258 ms。
  • Moonshine v2 的准确率可与体积更大的模型相当,在 Open ASR 基准上占据类似或更小的计算前沿。
  • Moonshine v2 展示了有利的准确率–参数权衡,使得预算在 0.1–1 TOPS 的边缘设备可以高效运行。
  • 滑动窗口遍历性编码器产生的 TTFT 与说话时长无关的有界性,而全注意力编码器的 TTFT 会随音频时长增加。
  • 解码器仍然自回归,因此端到端延迟包括在可获取编码器特征后逐 token 生成的时间。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。