arXiv:2607.06831cs.CLcs.AI2026-07

一种通用梯度法可为任意语音识别模型生成高精度词时序对齐。

Gradient-Based Speech-to-Text Alignment for Any ASR Model: From CTC to Speech LLMs

论文配图:Gradient-Based Speech-to-Text Alignment for Any ASR Model: From CTC to Speech LLMs
图 1 · 摘自论文原文
  • 通过计算每个词的输入梯度,生成帧级显著性图实现对齐。
  • 在16个模型上验证,对齐效果优于或接近原生对齐,尤其适合流式模型。
  • 无需训练、修改模型或额外模块,适用于从CTC到语音大模型的所有架构。

语音到文本的对齐是指确定音频中每个词的时间边界。部分模型(如CTC和转换器)天然具备对齐能力,而基于注意力的编码器-解码器(AED)和语音大语言模型(LLMs)则无直接对齐,通常依赖注意力权重推断词时序。这些信号均位于编码器帧网格上,限制了时间精度。本文提出一种通用的基于梯度的对齐方法,适用于任意可微分的语音识别模型。通过计算每个教师强制词的对数概率关于输入的梯度,并将其归约为每帧显著性,再通过一次动态规划解码得到词边界。该方法无需训练、不修改模型、无需对齐头,且对齐粒度在输入原始网格而非粗略的编码器网格上。我们在四个模型家族的16个模型上进行评估,涵盖读诵(TIMIT)与口语(Buckeye)语音,对比各模型自身的原生或基于注意力的对齐结果。结果表明,该梯度方法对所有模型均能生成可用对齐,通常略逊于强原生对齐,但在原生对齐表现差的场景(如流式模型)中更优,主要缺点是每个词需执行一次反向传播开销。

原文摘要 · Abstract (English)

Speech-to-text alignment means finding the temporal boundaries of each word in the audio. Some models provide such an alignment directly and others do not. Connectionist temporal classification (CTC) and transducer models have an alignment by construction, whereas attention-based encoder-decoders (AED) and speech large language models (LLMs) do not, and their word timings are usually read off the attention weights instead. All of these signals live on the encoder frame grid, which bounds their temporal precision. We study a generic gradient-based alignment that applies to any differentiable ASR model. We take the gradient of each teacher-forced token log probability with respect to the input, reduce it to a per-frame saliency, and decode the resulting matrix into word boundaries with a single dynamic-programming pass. The method needs no training, no model modification and no alignment heads, works across all model families including the speech LLMs, and aligns on the input grid rather than on the coarser encoder grid. We evaluate it on sixteen models from four families, on read (TIMIT) and spontaneous (Buckeye) speech, each against the model's own native or attention-based alignment. We find that the gradient yields a usable alignment for every model, that it is usually somewhat behind a strong native aligner but better where the native alignment is weak, as for the streaming models, and that its main disadvantage is the cost of one backward pass per token.

语音对齐梯度分析语音大模型无监督对齐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。