MURMUR:一种高效的长时间语音识别推理系统
Murmur: Efficient Long-Context ASR Inference with Hierarchical Chunking
AI总结:
提出MURMUR推理系统,通过块间和块内两级优化,在保持高精度的同时显著降低长时间语音识别的延迟。
摘要:
长时间自动语音识别(ASR)需要高精度和低延迟,但现有系统迫使两者之间进行权衡。基于块的流水线在并行窗口中处理音频以实现低延迟,但丢失了跨块上下文,并且需要脆弱的启发式方法来对齐边界处的说话人和时间戳。长上下文ASR模型通过单次传递解决所有问题以获得更好的准确性,但速度慢一个数量级。我们提出MURMUR,一个通过两级操作克服这种权衡的推理系统。在块间级别,我们重新审视基于块的流水线以适应现代长上下文ASR,将块大小视为可调超参数,并表明中间块大小在准确性和延迟之间取得了良好的平衡。在块内级别,我们通过应用于输出和语音令牌的滑动窗口KV缓存驱逐策略来利用注意力稀疏性。在AMI-IHM上,MURMUR匹配单次传递准确性,同时将延迟降低4.2倍,通过令牌驱逐进一步获得收益,相对tcpWER退化小于1%。MURMUR的代码可在https://github.com/uw-syfi/Murmur获取。
英文摘要:
Long-form automatic speech recognition (ASR) requires both high accuracy and low inference latency, but existing systems fall short of handling the trade-off between the two. Chunk-based approaches process audio in parallel windows for low latency, but lose cross-chunk context and need brittle heuristics to align speakers and timestamps at boundaries. Long-context ASR models transcribe everything in a single pass for better accuracy, but run several times slower, and a single repetition loop can corrupt the entire output. In this paper, we first analyze how context length affects the accuracy of long-context ASR models and find that an intermediate chunk size of about five minutes matches single-pass accuracy while avoiding repetition loops. Building on this, we propose Murmur, an inference system for long-form ASR based on hierarchical chunking. The long-context model decodes intermediate target chunks in parallel, and a fast short-window ASR on 30 s draft windows accelerates each chunk with lossless, structure-aware speculative decoding. The short-window ASR drafts the transcript, simple format rules draft the timestamps and speaker tags, and the long-context model verifies every token. On two long-context ASR models and four meeting datasets in English and Mandarin, Murmur cuts end-to-end latency per recording by 2.5x on average (1.9-2.9x) relative to single-pass decoding, including diarization, while lowering tcpWER by 1.9 points on average. Our code is available at https://github.com/uw-syfi/Murmur.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。