Some web pages mentioned that LSTM causes the vanishing or exploding gradients if the sequence is too long.
These are one of the pages mention the problem:
- https://machinelearningmastery.com/handle-long-sequences-long-short-term-memory-recurrent-neural-networks/
- https://stackoverflow.com/questions/44478272/how-to-handle-extremely-long-lstm-sequence-length
However, I couldn't find any paper or formulation for it.
Could you please tell me the references for this problem?