Summary
A new simplified encoder-decoder model is presented without the attention. The decoder is generating the labels auto-regressively as usual until end-of-sentence (EOS). In contrast to attention-based encoder-decoder (AED) models, the attention is replaced by simply taking the same frame in the encoder - i.e. in decoder step u, it will take frame u also from the encoder. Thus the output sequence can never be longer than the input sequence. The idea is that the encoder with self-attention can already realign the information as necessary to output it label by label. The remaining encoder output frames after EOS are ignored, but of course all intermediate encoder frames are used due to self-attention.
It's an interesting test to see whether the self-attention is enough to already learn this. And the answer is yes, it can learn this.
Experiments are performed on three speech recognition tasks:
* Librispeech with 960h train data
* Voice Search with 500kh train data
* YouTube videos with 670kh train data
In all cases, a Conformer encoder is used. Word pieces are used as output labels.
The self-attention weights are analyzed and it is observed that the realignment happens in layer 14. This is also verified in another way, by freezing the first N layers of the encoder, randomly resetting the other encoder parameters, and adding a RNNT on top of it and training that, and then generating the RNNT soft alignment. With N>14, the alignment looks like the identity mapping.
Strengths
Interesting idea and model.
The work shows that this simple idea seems to work, even though its performance stays behind the other existing models (CTC/RNNT/AED).
Interesting analysis on the attention weights and retraining the encoder partly and looking at the RNNT soft alignment.
Weaknesses
No source code to reproduce the results?
No references are given to Voice Search and YouTube data, so it's impossible to reproduce and verify the results.
Questions
How is the convergence rate in comparison to CTC, RNNT, AED? How is the alignment behavior early in training?
Table 3, what is dev, is that dev-clean, dev-other, or both combined?
Table 3, it seems a bit weird to me that the RNN-T is so much better than the AED model. I would actually expect the opposite. For example:
* A Comparison of Sequence-to-Sequence Models for Speech Recognition,
https://www.isca-archive.org/interspeech_2017/prabhavalkar17_interspeech.html
* On the Comparison of Popular End-to-End Models for Large Scale Speech
Recognition, https://www.microsoft.com/en-us/research/uploads/prod/2020/11/template-5fa34dc776e7f.pdf
Both show that AED is better than RNN-T. And this is what I have seen on many other occasions as well. Was this expected to you? Why? Or if not, how do you explain it?
What happens when f_pred is just a feed-forward network without the recurrence (dependence on g_{i-1}), i.e. you would get a model with only the last label as context? For RNN-T, it has been shown that this performs equally well as using the whole history. It would be interesting to see how it behaves for this model. (For an AED model, this is not really possible because the cross attention mechanism needs it.)