English

RRA: Recurrent Residual Attention for Sequence Learning

Machine Learning 2017-09-19 v1 Artificial Intelligence

Abstract

In this paper, we propose a recurrent neural network (RNN) with residual attention (RRA) to learn long-range dependencies from sequential data. We propose to add residual connections across timesteps to RNN, which explicitly enhances the interaction between current state and hidden states that are several timesteps apart. This also allows training errors to be directly back-propagated through residual connections and effectively alleviates gradient vanishing problem. We further reformulate an attention mechanism over residual connections. An attention gate is defined to summarize the individual contribution from multiple previous hidden states in computing the current state. We evaluate RRA on three tasks: the adding problem, pixel-by-pixel MNIST classification and sentiment analysis on the IMDB dataset. Our experiments demonstrate that RRA yields better performance, faster convergence and more stable training compared to a standard LSTM network. Furthermore, RRA shows highly competitive performance to the state-of-the-art methods.

Keywords

Cite

@article{arxiv.1709.03714,
  title  = {RRA: Recurrent Residual Attention for Sequence Learning},
  author = {Cheng Wang},
  journal= {arXiv preprint arXiv:1709.03714},
  year   = {2017}
}

Comments

9 pages, 7 figures

R2 v1 2026-06-22T21:39:58.889Z