The Conformer Encoder May Reverse the Time Dimension
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 24 of its 32 references that are in the map. First posted on arXiv 1 Oct 2024.
Builds on
24 of 32 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 3,972
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2018ESPnet: End-to-End Speech Processing Toolkitcited by 554
- 2015Listen, Attend and Spellcited by 542
- 2015Attention-Based Models for Speech Recognitioncited by 400
- 2019Is Attention Interpretable?cited by 387
12 more
- 2020Recent Developments on ESPnet Toolkit Boosted by Conformercited by 132
- 2022E-Branchformer: Branchformer with Enhanced merging for speech recognitioncited by 90
- 2017Towards better understanding of gradient-based attribution methods for Deep Neural Networkscited by 51
- 2017Advances in Joint CTC-Attention based End-to-End Speech Recognition with a Deep CNN Encoder and RNN-LMcited by 43
- 2018Improved training of end-to-end attention models for speech recognitioncited by 35
- 2021Why does CTC result in peaky behavior?cited by 32
- 2018RETURNN as a Generic Flexible Neural Toolkit with Application to Translation and Speech Recognitioncited by 30
- 2016Interpretation of Prediction Models Using the Input Gradientcited by 24
- 2021On lattice-free boosted MMI training of HMM and CTC-based full-context ASR modelscited by 7
- 2023Chunked Attention-based Encoder-Decoder Model for Streaming Speech Recognitioncited by 7
- 2022HMM vs. CTC for Automatic Speech Recognition: Comparison Based on Full-Sum Training from Scratchcited by 4
- 2024Investigating the Effect of Label Topology and Training Criterion on ASR Performance and Alignment Qualitycited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.