Quaternion Recurrent Neural Networks

Titouan Parcollet, Mirco Ravanelli, Mohamed Morchid, Georges Linarès, Chiheb Trabelsi +2 more
6/12/2018
stat.MLcs.LG

Official code: mravanelli/pytorch-kaldi (2,410 stars, PyTorch, last commit 2022-03-14). 1 more implementation below.

Abstract

Recurrent neural networks (RNNs) are powerful architectures to model sequential data, due to their capability to learn short and long-term dependencies between the basic elements of a sequence. Nonetheless, popular tasks such as speech or images recognition, involve multi-dimensional input features that are characterized by strong internal dependencies between the dimensions of the input vector. We propose a novel quaternion recurrent neural network (QRNN), alongside with a quaternion long-short term memory neural network (QLSTM), that take into account both the external relations and these internal structural dependencies with the quaternion algebra. Similarly to capsules, quaternions allow the QRNN to code internal dependencies by composing and processing multidimensional features as single entities, while the recurrent operation reveals correlations between the elements composing the sequence. We show that both QRNN and QLSTM achieve better performances than RNN and LSTM in a realistic application of automatic speech recognition. Finally, we show that QRNN and QLSTM reduce by a maximum factor of 3.3x the number of free parameters needed, compared to real-valued RNNs and LSTMs to reach better results, leading to a more compact representation of the relevant information.

View on arXivView PDF

Code Implementations(2)

PyTorch

pytorch-kaldi is a project for developing state-of-the-art DNN/RNN hybrid speech recognition systems. The DNN part is managed by pytorch, while feature extraction, label computation, and decoding are performed with the kaldi toolkit.

2,410442Perl, ShellFeb 27, 20184 years ago
asrdeep-learningdeep-neural-networksdnndnn-hmm+12 more
GPL-3.0

This is the code for the paper 'Quaternion Recurrent Neural Networks'.

6114PythonMar 27, 20187 years agoGPL-3.0

Similar Papers

Cite this paper

@article{parcollet2018quaternion,
  title  = {Quaternion Recurrent Neural Networks},
  author = {Titouan Parcollet and Mirco Ravanelli and Mohamed Morchid and Georges Linarès and Chiheb Trabelsi and Renato De Mori and Yoshua Bengio},
  year   = {2018},
  eprint = {1806.04418},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1806.04418}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1806.04418.svg)](https://codeofpaper.com/paper/1806.04418)

Discussion