h-detach: Modifying the LSTM Gradient Towards Better Optimization
Not on the map. Why?
Abstract (arXiv)
Recurrent neural networks are known for their notorious exploding and vanishing gradient problem (EVGP). This problem becomes more evident in tasks where the information needed to correctly solve them exist over long time scales, because EVGP prevents important gradient components from being back-propagated adequately over a large number of steps. We introduce a simple stochastic algorithm (textith-detach) that is specific to LSTM optimization and targeted towards addressing this problem. Specifically, we show that when the LSTM weights are large, the gradient components through the linear path (cell state) in the LSTM computational graph get suppressed. Based on the hypothesis that these components carry information about long term dependencies (which we show empirically), their suppression can prevent LSTMs from capturing them. Our algorithmfootnoteOur code is available at https://github.com/bhargav104/h-detach. prevents gradients flowing through this path from getting suppressed, thus allowing the LSTM to capture such dependencies better. We show significant improvements over vanilla LSTM gradient based training in terms of convergence speed, robustness to seed and learning rate, and generalization using our modification of LSTM gradient on various benchmark datasets.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 2; 2024: 0; 2025: 0; 2026: 1.
5 papers.
- 2023Deep networks for system identification: a Surveycited by 35
- 2021Working Memory Connections for LSTMcited by 10
- 2021Preventing posterior collapse in variational autoencoders for text generation via decoder regularizationcited by 2
- 2023Extending Memory for Language Modellingcited by 0
- 2026Detached Skip-Links and R-Probe: Decoupling Feature Aggregation from Gradient Propagation for MLLM OCRcited by 0
- 2026Detached Skip-Links and R-Probe: Decoupling Feature Aggregation from Gradient Propagation for MLLM OCR20 Mar 2026
- 2023Extending Memory for Language Modelling19 May 2023
- 2023Deep networks for system identification: a Survey30 Jan 2023
- 2021Preventing posterior collapse in variational autoencoders for text generation via decoder regularization28 Oct 2021
- 2021Working Memory Connections for LSTM31 Aug 2021