HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Sliced Recurrent Neural Networks

Zeping Yu; Gongshen Liu

Sliced Recurrent Neural Networks

Abstract

Recurrent neural networks have achieved great success in many NLP tasks. However, they have difficulty in parallelization because of the recurrent structure, so it takes much time to train RNNs. In this paper, we introduce sliced recurrent neural networks (SRNNs), which could be parallelized by slicing the sequences into many subsequences. SRNNs have the ability to obtain high-level information through multiple layers with few extra parameters. We prove that the standard RNN is a special case of the SRNN when we use linear activation functions. Without changing the recurrent units, SRNNs are 136 times as fast as standard RNNs and could be even faster when we train longer sequences. Experiments on six largescale sentiment analysis datasets show that SRNNs achieve better performance than standard RNNs.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-amazon-review-fullSRNN
Accuracy: 61.65
sentiment-analysis-on-amazon-review-polaritySRNN
Accuracy: 95.26
sentiment-analysis-on-yelp-binarySRNN
Error: 3.96

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
Sliced Recurrent Neural Networks | Papers | HyperAI