The Conformer Encoder May Reverse the Time Dimension
IEEE International Conference on Acoustics Speech and Signal Processing, pp. 1–5
Abstract
We sometimes observe monotonically decreasing cross-attention weights in our Conformer-based global attention-based encoder-decoder (AED) models, negatively affecting performance compared to monotonically increasing attention weights. 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.
Authors 5
-
Affiliation as printed
RWTH Aachen University,Human Language Technology and Pattern Recognition,Computer Science Department,Aachen,Germany
-
Affiliation as printed
RWTH Aachen University,Human Language Technology and Pattern Recognition,Computer Science Department,Aachen,Germany
-
Affiliation as printed
RWTH Aachen University,Human Language Technology and Pattern Recognition,Computer Science Department,Aachen,Germany
-
Affiliation as printed
RWTH Aachen University,Human Language Technology and Pattern Recognition,Computer Science Department,Aachen,Germany
-
Affiliation as printed
RWTH Aachen University,Human Language Technology and Pattern Recognition,Computer Science Department,Aachen,Germany
Cited by 1 stored of 1
1 result
No patents citing this paper on Lens.org (checked 2026-10-06).
References 32
-
W2962784628details pending0citations
-
W6623517193details pending0citations
-
W6796656850details pending0citations
-
W6766978945details pending0citations
-
W6680748266details pending0citations
-
W6746052068details pending0citations
-
W6847363464details pending0citations
-
W2950768109details pending0citations
-
W6729746882details pending0citations
-
W6746084291details pending0citations
-
W6779421134details pending0citations
-
W6784531339details pending0citations