arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.00680eess.AScs.SDstat.ML
收藏

Conformer编码器可能反转时间维度

The Conformer Encoder May Reverse the Time Dimension

RWTH Aachen University(亚琛工业大学);AppTek GmbH(AppTek公司)

Robin Schmitt, Albert Zeyer, Mohammad Zeineldeen, Ralf Schlüter, Hermann Ney

AI总结:

该研究发现基于Conformer的全局注意力AED模型中存在时间维度反转现象,分析了反转的成因,并提出避免反转的方案,同时提出了一种利用梯度获取标签-帧位置对齐的新方法。

摘要:

我们在基于Conformer的全局注意力编解码器(AED)模型中,有时会观察到交叉注意力权重单调递减的现象。进一步研究表明,Conformer编码器会在时间维度上反转序列。我们分析了解码器交叉注意力机制的初始行为,发现它会促使Conformer编码器的自注意力在初始帧与所有其他信息帧之间建立连接。此外我们还发现,在训练的某个阶段,Conformer的自注意力模块对输出的主导作用会超过前馈模块,此时前馈模块仅允许反转后的信息通过。我们提出了避免这种反转的方法与思路,并研究了一种利用标签对数概率相对于编码器输入帧的梯度来获取标签-帧位置对齐的新方法。

英文摘要:

We sometimes observe monotonically decreasing cross-attention weights in our Conformer-based global attention-based encoder-decoder (AED) models, Further investigation shows that the Conformer encoder reverses the sequence in the time dimension. We analyze the initial behavior of the decoder cross-attention mechanism and find that it encourages the Conformer encoder self-attention to build a connection between the initial frames and all other informative frames. Furthermore, we show that, at some point in training, the self-attention module of the Conformer starts dominating the output over the preceding feed-forward module, which then only allows the reversed information to pass through. We propose methods and ideas of how this flipping can be avoided and investigate a novel method to obtain label-frame-position alignments by using the gradients of the label log probabilities w.r.t. the encoder input frames.

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

↑