HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Fast-Slow Recurrent Neural Networks

Asier Mujika; Florian Meier; Angelika Steger

Fast-Slow Recurrent Neural Networks

Abstract

Processing sequential data of variable length is a major challenge in a wide range of applications, such as speech recognition, language modeling, generative image modeling and machine translation. Here, we address this challenge by proposing a novel recurrent neural network (RNN) architecture, the Fast-Slow RNN (FS-RNN). The FS-RNN incorporates the strengths of both multiscale RNNs and deep transition RNNs as it processes sequential data on different timescales and learns complex transition functions from one time step to the next. We evaluate the FS-RNN on two character level language modeling data sets, Penn Treebank and Hutter Prize Wikipedia, where we improve state of the art results to $1.19$ and $1.25$ bits-per-character (BPC), respectively. In addition, an ensemble of two FS-RNNs achieves $1.20$ BPC on Hutter Prize Wikipedia outperforming the best known compression algorithm with respect to the BPC measure. We also present an empirical investigation of the learning and network dynamics of the FS-RNN, which explains the improved performance compared to other RNN architectures. Our approach is general as any kind of RNN cell is a possible building block for the FS-RNN architecture, and thus can be flexibly applied to different tasks.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
language-modelling-on-enwiki8Large FS-LSTM-4
Bit per Character (BPC): 1.25
Number of params: 47M
language-modelling-on-hutter-prizeLarge FS-LSTM-4
Bit per Character (BPC): 1.245
Number of params: 47M
language-modelling-on-hutter-prizeFS-LSTM-4
Bit per Character (BPC): 1.277
Number of params: 27M
language-modelling-on-penn-treebank-characterFS-LSTM-4
Bit per Character (BPC): 1.190
Number of params: 27M
language-modelling-on-penn-treebank-characterFS-LSTM-2
Bit per Character (BPC): 1.193
Number of params: 27M

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp