Question: how lstm solve vanishing gradient?
Answer: LSTM is a recurrent neural network model that is very efficient at remembering long term dependencies and that is not vulnerable to the vanishing gradient problem. ...  LSTM : Long Short-Term Memory. ( ...  Gradients in LSTMs do vanish, just slower than in vanilla RNNs, enabling them to catch more distant dependencies.