Relative Positional Encoding for Speech Recognition and Direct Translation

Ngoc-Quan Pham, Thanh-Le Ha, Tuan-Nam Nguyen, Thai-Son Nguyen, Elizabeth Salesky, Sebastian Stüker, Jan Niehues, Alex Waibel


Transformer models are powerful sequence-to-sequence architectures that are capable of directly mapping speech inputs to transcriptions or translations. However, the mechanism for modeling positions in this model was tailored for text modeling, and thus is less ideal for acoustic inputs. In this work, we adapt the relative position encoding scheme to the Speech Transformer, where the key addition is relative distance between input states in the self-attention network. As a result, the network can better adapt to the variable distributions present in speech data. Our experiments show that our resulting model achieves the best recognition result on the Switchboard benchmark in the non-augmentation condition, and the best published result in the MuST-C speech translation benchmark. We also show that this model is able to better utilize synthetic data than the Transformer, and adapts better to variable sentence segmentation quality for speech translation.


 DOI: 10.21437/Interspeech.2020-2526

Cite as: Pham, N., Ha, T., Nguyen, T., Nguyen, T., Salesky, E., Stüker, S., Niehues, J., Waibel, A. (2020) Relative Positional Encoding for Speech Recognition and Direct Translation. Proc. Interspeech 2020, 31-35, DOI: 10.21437/Interspeech.2020-2526.


@inproceedings{Pham2020,
  author={Ngoc-Quan Pham and Thanh-Le Ha and Tuan-Nam Nguyen and Thai-Son Nguyen and Elizabeth Salesky and Sebastian Stüker and Jan Niehues and Alex Waibel},
  title={{Relative Positional Encoding for Speech Recognition and Direct Translation}},
  year=2020,
  booktitle={Proc. Interspeech 2020},
  pages={31--35},
  doi={10.21437/Interspeech.2020-2526},
  url={http://dx.doi.org/10.21437/Interspeech.2020-2526}
}