arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.12241cs.CLcs.LGcs.SD
收藏

月光v2:用于延迟敏感语音应用的ergodic流式编码器ASR

Moonshine v2: Ergodic Streaming Encoder ASR for Latency-Critical Speech Applications

Manjunath Kudlur, Evan King, James Wang, Pete Warden

AI总结:

Moonshine v2通过滑动窗口自注意机制实现低延迟流式ASR,达到与更大模型相当的准确性。

摘要:

延迟敏感的语音应用(例如实时转录、语音指令和实时翻译)要求低的时间到第一个标记(TTFT)和高转录准确性,特别是在资源受限的边缘设备上。全注意Transformer编码器仍然是自动语音识别(ASR)的强准确性基线,因为每个帧可以直接与其他帧进行注意,利用远处的词汇上下文来解决原本局部模糊的声学信息。然而,这种全局依赖性导致序列长度的二次复杂性,导致固有的“编码整个句子”延迟特征。对于流式使用场景,这会导致TTFT随着句子长度线性增长,因为编码器必须处理整个前缀才能发出任何解码器标记。为了更好地满足设备上的流式ASR使用场景需求,我们引入了Moonshine v2,一种采用滑动窗口自注意机制的ergodic流式编码器ASR模型,以实现有界、低延迟的推理,同时保持强局部上下文。我们的模型在标准基准上实现了最先进的词错误率,达到与6倍大小模型相当的准确性,同时运行速度显著更快。这些结果表明,精心设计的局部注意在准确性和大小和延迟成本上都具有竞争力,为边缘设备上的交互式语音接口开辟了新可能。

英文摘要:

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.

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

↑