Skip to main navigation Skip to search Skip to main content

Gates Are Not What You Need in RNNs

  • Ronalds Zakovskis*
  • , Andis Draguns
  • , Eliza Gaile
  • , Emils Ozolins
  • , Karlis Freivalds
  • *Corresponding author for this work
  • University of Latvia
  • Institute of Electronics and Computer Science

Research output: Chapter in Book/Report/Conference proceedingConference paperResearchpeer-review

2 Citations (Scopus)

Abstract

Recurrent neural networks have flourished in many areas. Consequently, we can see new RNN cells being developed continuously, usually by creating or using gates in a new, original way. But what if we told you that gates in RNNs are redundant? In this paper, we propose a new recurrent cell called Residual Recurrent Unit (RRU) which beats traditional cells and does not employ a single gate. It is based on the residual shortcut connection, linear transformations, ReLU, and normalization. To evaluate our cell’s effectiveness, we compare its performance against the widely-used GRU and LSTM cells and the recently proposed Mogrifier LSTM on several tasks including, polyphonic music modeling, language modeling, and sentiment analysis. Our experiments show that RRU outperforms the traditional gated units on most of these tasks. Also, it has better robustness to parameter selection, allowing immediate application in new tasks without much tuning. We have implemented the RRU in TensorFlow, and the code is made available at https://github.com/LUMII-Syslab/RRU.

Original languageEnglish
Title of host publicationArtificial Intelligence and Soft Computing - 22nd International Conference, ICAISC 2023, Proceedings
EditorsLeszek Rutkowski, Rafał Scherer, Marcin Korytkowski, Witold Pedrycz, Ryszard Tadeusiewicz, Jacek M. Zurada
PublisherSpringer Science and Business Media Deutschland GmbH
Pages304-324
Number of pages21
ISBN (Print)9783031425042
DOIs
Publication statusPublished - 2023
Externally publishedYes
Event22nd International Conference on Artificial Intelligence and Soft Computing, ICAISC 2023 - Zakopane, Poland
Duration: 18 Jun 202322 Jun 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14125 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference22nd International Conference on Artificial Intelligence and Soft Computing, ICAISC 2023
Country/TerritoryPoland
CityZakopane
Period18/06/2322/06/23

Keywords

  • Deep learning
  • Gates
  • Recurrent neural networks
  • Residual neural networks
  • Robustness

Fingerprint

Dive into the research topics of 'Gates Are Not What You Need in RNNs'. Together they form a unique fingerprint.

Cite this