Skip to main content
QUICK REVIEW

[Paper Review] Simplified Long Short-term Memory Recurrent Neural Networks: part III

Atra Akandeh, Fathi M. Salem|arXiv (Cornell University)|Jul 14, 2017
Neural Networks and ApplicationsComputer Science6 references6 citations
TL;DR

This paper proposes two novel, computationally efficient LSTM variants—LSTM10 and LSTM11—by replacing the weight matrix in the cell-state update with a learnable vector and applying Hadamard (pointwise) multiplication to reduce parameter count. The models achieve competitive accuracy (up to 95.31% test accuracy) with significantly reduced computational load, especially under constrained resources, while maintaining stability and performance comparable to standard LSTM when using tanh or sigmoid activations.

ABSTRACT

This is part III of three-part work. In parts I and II, we have presented eight variants for simplified Long Short Term Memory (LSTM) recurrent neural networks (RNNs). It is noted that fast computation, specially in constrained computing resources, are an important factor in processing big time-sequence data. In this part III paper, we present and evaluate two new LSTM model variants which dramatically reduce the computational load while retaining comparable performance to the base (standard) LSTM RNNs. In these new variants, we impose (Hadamard) pointwise state multiplications in the cell-memory network in addition to the gating signal networks.

Motivation & Objective

  • To reduce the computational burden of standard LSTM networks for deployment in resource-constrained environments.
  • To explore parameter reduction strategies beyond gating mechanisms, focusing on the main cell-memory network.
  • To evaluate the impact of replacing weight matrices with vectors and applying Hadamard product operations in the cell-state update.
  • To maintain high performance while drastically reducing model complexity and inference time.

Proposed method

  • Replace the weight matrix $ U_c $ in the cell-state update with a learnable vector $ u_c $, enabling pointwise multiplication with the hidden state.
  • Apply Hadamard (element-wise) multiplication in the gating signals by using learnable vectors $ u_i, u_f, u_o $ instead of weight matrices for hidden state interaction.
  • Formulate LSTM10 with no bias in the gating equations, and LSTM11 by reinstating the bias terms in the gating signals.
  • Use standard activation functions (tanh, sigmoid, ReLU) and train models on MNIST using Keras with RMProp optimizer and categorical cross-entropy loss.
  • Evaluate performance across different learning rates $ \eta $, activation functions, and model variants to identify robust configurations.

Experimental results

Research questions

  • RQ1Can replacing the weight matrix $ U_c $ in the LSTM cell-state update with a learnable vector significantly reduce computational cost without degrading performance?
  • RQ2How does applying Hadamard multiplication to the hidden state in both gating and cell-state equations affect model accuracy and training stability?
  • RQ3What is the impact of different activation functions (tanh, sigmoid, ReLU) on the performance of the simplified LSTM variants, especially LSTM10?
  • RQ4Can tuning the learning rate $ \eta $ improve the performance of the simplified models, particularly LSTM10 with ReLU activation?
  • RQ5How do the proposed variants (LSTM10 and LSTM11) compare to the standard LSTM and baseline bRNN (LSTM6) in terms of accuracy, parameter count, and training time?

Key findings

  • LSTM11 achieved a test accuracy of 95.31% with tanh activation and $ \eta = 0.004 $, demonstrating strong performance comparable to standard LSTM.
  • LSTM10 with ReLU activation failed to converge effectively, achieving only 52.26% test accuracy at $ \eta = 0.001 $, and performance degraded further with higher $ \eta $.
  • The number of parameters was reduced from 52,610 in standard LSTM to 4,610 in LSTM11 and 4,310 in LSTM10, significantly lowering computational load.
  • Training time per epoch was reduced from 30 seconds (standard LSTM) to 18 seconds (LSTM10) and 19 seconds (LSTM11), indicating improved inference efficiency.
  • LSTM11 outperformed LSTM10 across all activation functions, especially with ReLU, where it achieved 95.82% test accuracy at $ \eta = 0.005 $, suggesting the importance of bias terms in gating signals.
  • The best results were obtained with $ \eta = 0.005 $ for LSTM11 using ReLU, achieving 96.35% test accuracy, indicating that learning rate tuning can recover performance in simplified models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.