arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.05232cs.SDcs.AIcs.LGeess.AS
收藏

Aligner-Encoders:自注意力Transformer可成为自转换器

Aligner-Encoders: Self-Attention Transformers Can Be Self-Transducers

Google(谷歌公司)

Adam Stooke, Rohit Prabhavalkar, Khe Chai Sim, Pedro Moreno Mengibar

AI总结:

研究发现基于Transformer的编码器可在解码前内部执行音频-文本对齐,据此提出更简单高效的Aligner-Encoder模型,其推理速度比RNN-T快2倍、比AED快16倍,性能接近最先进水平。

摘要:

包括RNN-Transducer和基于注意力的编码器-解码器(AED)在内的现代自动语音识别系统设计中,编码器无需改变音频序列信息到嵌入的时间位置;与最终文本输出的对齐在解码阶段处理。我们发现近年来采用的基于Transformer的编码器实际上能够在解码前的前向传递过程中内部执行对齐。这一新现象使更简单高效的“Aligner-Encoder”模型成为可能。训练时,我们舍弃RNN-T的动态规划,采用AED的帧级交叉熵损失,而解码器使用RNN-T更轻量的纯文本循环,无学习的交叉注意力——它仅从头按顺序扫描嵌入帧,生成每个token直到预测结束消息。实验表明其性能接近最先进水平,包括支持长文本识别的特殊推理配置;代表性比较中,模型总推理时间比RNN-T快2倍,比AED快16倍。最后,我们发现音频-文本对齐在某层自注意力权重中清晰可见,可称为执行“自转换”。

英文摘要:

Modern systems for automatic speech recognition, including the RNN-Transducer and Attention-based Encoder-Decoder (AED), are designed so that the encoder is not required to alter the time-position of information from the audio sequence into the embedding; alignment to the final text output is processed during decoding. We discover that the transformer-based encoder adopted in recent years is actually capable of performing the alignment internally during the forward pass, prior to decoding. This new phenomenon enables a simpler and more efficient model, the "Aligner-Encoder". To train it, we discard the dynamic programming of RNN-T in favor of the frame-wise cross-entropy loss of AED, while the decoder employs the lighter text-only recurrence of RNN-T without learned cross-attention -- it simply scans embedding frames in order from the beginning, producing one token each until predicting the end-of-message. We conduct experiments demonstrating performance remarkably close to the state of the art, including a special inference configuration enabling long-form recognition. In a representative comparison, we measure the total inference time for our model to be 2x faster than RNN-T and 16x faster than AED. Lastly, we find that the audio-text alignment is clearly visible in the self-attention weights of a certain layer, which could be said to perform "self-transduction".

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

↑