HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

EleAtt-RNN: Adding Attentiveness to Neurons in Recurrent Neural Networks

Pengfei Zhang; Jianru Xue; Cuiling Lan; Wenjun Zeng; Zhanning Gao; Nanning Zheng

EleAtt-RNN: Adding Attentiveness to Neurons in Recurrent Neural Networks

Abstract

Recurrent neural networks (RNNs) are capable of modeling temporal dependencies of complex sequential data. In general, current available structures of RNNs tend to concentrate on controlling the contributions of current and previous information. However, the exploration of different importance levels of different elements within an input vector is always ignored. We propose a simple yet effective Element-wise-Attention Gate (EleAttG), which can be easily added to an RNN block (e.g. all RNN neurons in an RNN layer), to empower the RNN neurons to have attentiveness capability. For an RNN block, an EleAttG is used for adaptively modulating the input by assigning different levels of importance, i.e., attention, to each element/dimension of the input. We refer to an RNN block equipped with an EleAttG as an EleAtt-RNN block. Instead of modulating the input as a whole, the EleAttG modulates the input at fine granularity, i.e., element-wise, and the modulation is content adaptive. The proposed EleAttG, as an additional fundamental unit, is general and can be applied to any RNN structures, e.g., standard RNN, Long Short-Term Memory (LSTM), or Gated Recurrent Unit (GRU). We demonstrate the effectiveness of the proposed EleAtt-RNN by applying it to different tasks including the action recognition, from both skeleton-based data and RGB videos, gesture recognition, and sequential MNIST classification. Experiments show that adding attentiveness through EleAttGs to RNN blocks significantly improves the power of RNNs.

Benchmarks

BenchmarkMethodologyMetrics
skeleton-based-action-recognition-on-n-uclaEleAtt-GRU (aug.)
Accuracy: 90.7%
skeleton-based-action-recognition-on-ntu-rgbdEleAtt-GRU (aug.)
Accuracy (CS): 80.7
Accuracy (CV): 88.4
skeleton-based-action-recognition-on-sysu-3dEleAtt-GRU (aug.)
Accuracy: 85.7%

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
EleAtt-RNN: Adding Attentiveness to Neurons in Recurrent Neural Networks | Papers | HyperAI