基于CTC编码器的自推测解码用于基于LLM的语音识别
Self-Speculative Decoding for LLM-based ASR with CTC Encoder Drafts
AI总结:
基于CTC编码器的自推测解码方法通过加速自回归推理和提高ASR准确性,实现了在语音识别任务中的高效解码与高精度识别。
摘要:
我们提出了一种自推测解码方法,用于语音感知的LLM,通过使用CTC编码器作为草稿模型来加速自回归(AR)推理并提高语音识别(ASR)的准确性。我们的三步流程如下:(1)如果CTC输出分布的帧熵低于阈值,则接受贪婪的CTC假设作为最终结果;(2)否则,通过一次LLM前向传递使用基于令牌似然的放松接受标准来验证CTC假设;(3)如果验证失败,AR解码将从已接受的CTC前缀重新开始。在九个语料库和五种语言上的实验表明,这种方法可以同时加速解码并减少WER。在HuggingFace Open ASR基准测试中,使用10亿参数的LLM和4.4亿参数的CTC编码器,我们实现了记录的5.58% WER,并通过将逆实时因子提高4.4倍,仅以12%的相对WER增加作为代价。代码和模型权重在许可下公开可用。
英文摘要:
We propose self-speculative decoding for speech-aware LLMs by using the CTC encoder as a draft model to accelerate auto-regressive (AR) inference and improve ASR accuracy. Our three-step procedure works as follows: (1) if the frame entropies of the CTC output distributions are below a threshold, the greedy CTC hypothesis is accepted as final; (2) otherwise, the CTC hypothesis is verified in a single LLM forward pass using a relaxed acceptance criterion based on token likelihoods; (3) if verification fails, AR decoding resumes from the accepted CTC prefix. Experiments on nine corpora and five languages show that this approach can simultaneously accelerate decoding and reduce WER. On the HuggingFace Open ASR benchmark with a 1B parameter LLM and 440M parameter CTC encoder, we achieve a record 5.58% WER and improve the inverse real time factor by a factor of 4.4 with only a 12% relative WER increase over AR search. Code and model weights are publicly available under a permissive license.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。