mlsanityData to 7 Oct 2026

Fundamentals of Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) Network

arXiv 1808.03314 ↗First posted 9 Aug 2018cs.LG stat.MLcited by 415

Not on the map. Why?

Abstract (arXiv)

Because of their effectiveness in broad practical applications, LSTM networks have received a wealth of coverage in scientific journals, technical blogs, and implementation guides. However, in most articles, the inference formulas for the LSTM network and its parent, RNN, are stated axiomatically, while the training formulas are omitted altogether. In addition, the technique of "unrolling" an RNN is routinely presented without justification throughout the literature. The goal of this paper is to explain the essential RNN and LSTM fundamentals in a single document. Drawing from concepts in signal processing, we formally derive the canonical RNN formulation from differential equations. We then propose and prove a precise statement, which yields the RNN unrolling technique. We also review the difficulties with training the standard RNN and address them by transforming the RNN into the "Vanilla LSTM" network through a series of logical arguments. We provide all equations pertaining to the LSTM system together with detailed descriptions of its constituent entities. Albeit unconventional, our choice of notation and the method for presenting the LSTM system emphasizes ease of understanding. As part of the analysis, we identify new opportunities to enrich the LSTM system and incorporate these extensions into the Vanilla LSTM network, producing the most general LSTM variant to date. The target reader has already been exposed to RNNs and LSTM networks through numerous available resources and is open to an alternative pedagogical approach. A Machine Learning practitioner seeking guidance for implementing our new augmented LSTM model in software for experimentation and research will find the insights and derivations in this tutorial valuable as well.

Key facts. Cited by 415 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Aug 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 43; 2022: 59; 2023: 68; 2024: 107; 2025: 95; 2026: 43.

415 papers.

Sort:

By area:

  1. 2022Liquid Structural State-Space Modelscited by 134
  2. 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
  3. 2023Generative Time Series Forecasting with Diffusion, Denoise, and Disentanglementcited by 89
  4. 2024Normalizing Flows are Capable Generative Modelscited by 89
  5. 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 72
  6. 2023GenRec: Large Language Model for Generative Recommendationcited by 62
  7. 2021A Dynamical System Perspective for Lipschitz Neural Networkscited by 59
  8. 2022Transformers in Time-series Analysis: A Tutorialcited by 45
  9. 2022Machine Learning in Aerodynamic Shape Optimizationcited by 39
  10. 2021A Framework for Machine Learning of Model Error in Dynamical Systemscited by 37
  11. 2021Deep Learning for Reduced Order Modelling and Efficient Temporal Evolution of Fluid Simulationscited by 36
  12. 2021Multimodal Co-learning: Challenges, Applications with Datasets, Recent Advances and Future Directionscited by 35
38 more
  1. 2024A review on data-driven constitutive laws for solidscited by 35
  2. 2025A Survey of Large Language Model Empowered Agents for Recommendation and Search: Towards Next-Generation Information Retrievalcited by 31
  3. 2024Exploring Autonomous Agents through the Lens of Large Language Models: A Reviewcited by 30
  4. 2024Can Small Language Models be Good Reasoners for Sequential Recommendation?cited by 25
  5. 2022Physics-Guided, Physics-Informed, and Physics-Encoded Neural Networks in Scientific Computingcited by 24
  6. 2023Neurosymbolic AI for Reasoning over Knowledge Graphs: A Surveycited by 21
  7. 2024SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Modelscited by 19
  8. 2024Continuous Field Reconstruction from Sparse Observations with Implicit Neural Networkscited by 18
  9. 2025Trajectory Mamba: Efficient Attention-Mamba Forecasting Model Based on Selective SSMcited by 17
  10. 2023DeTiME: Diffusion-Enhanced Topic Modeling using Encoder-decoder based LLMcited by 16
  11. 2025Graph Generative Pre-trained Transformercited by 16
  12. 2025Deep Learning Advancements in Anomaly Detection: A Comprehensive Surveycited by 15
  13. 2023FRANC: A Lightweight Framework for High-Quality Code Generationcited by 14
  14. 2024Unified Speech Recognition: A Single Model for Auditory, Visual, and Audiovisual Inputscited by 14
  15. 2024Do Language Models Understand Time?cited by 14
  16. 2022Universal Spam Detection using Transfer Learning of BERT Modelcited by 13
  17. 2022Rapid training of quantum recurrent neural networkscited by 13
  18. 2023Efficient Generator of Mathematical Expressions for Symbolic Regressioncited by 13
  19. 2023The Evolution of Distributed Systems for Graph Neural Networks and their Origin in Graph Processing and Deep Learning: A Surveycited by 13
  20. 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
  21. 2023Object Recognition as Next Token Predictioncited by 12
  22. 2024ODE Discovery for Longitudinal Heterogeneous Treatment Effects Inferencecited by 12
  23. 2024BrainODE: Dynamic Brain Signal Analysis via Graph-Aided Neural Ordinary Differential Equationscited by 12
  24. 2025Machine learning for modelling unstructured grid data in computational physics: a reviewcited by 12
  25. 2025A Survey on Imitation Learning for Contact-Rich Tasks in Roboticscited by 12
  26. 2024Exploration of Attention Mechanism-Enhanced Deep Learning Models in the Mining of Medical Textual Datacited by 11
  27. 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptationcited by 11
  28. 2024Investigating Large Language Models for Code Vulnerability Detection: An Experimental Studycited by 11
  29. 2021Using Transformers to Provide Teachers with Personalized Feedback on their Classroom Discourse: The TalkMoves Applicationcited by 10
  30. 2023Forecasting steam mass flow in power plants using the parallel hybrid networkcited by 10
  31. 2023A Systematic Review for Transformer-based Long-term Series Forecastingcited by 10
  32. 2024CT-AGRG: Automated Abnormality-Guided Report Generation from 3D Chest CT Volumescited by 10
  33. 2025A Wireless Foundation Model for Multi-Task Predictioncited by 10
  34. 2021JUSTICE: A Benchmark Dataset for Supreme Court's Judgment Predictioncited by 9
  35. 2022Goal-Guided Neural Cellular Automata: Learning to Control Self-Organising Systemscited by 9
  36. 2023Shared and Private Information Learning in Multimodal Sentiment Analysis with Deep Modal Alignment and Self-supervised Multi-Task Learningcited by 9
  37. 2023A Survey of AI Music Generation Tools and Modelscited by 9
  38. 2023Transformation vs Tradition: Artificial General Intelligence (AGI) for Arts and Humanitiescited by 9

50 most cited of 415 All 415 (JSON)