A machine learning model is deployed to predict the next word in a sentence. The model uses a recurrent neural network (RNN). During training, the gradients become very small, and the model fails to learn long-term dependencies. What is the most likely problem?

Answer

Vanishing gradients

Explanation

Vanishing gradients occur in deep RNNs when gradients become exponentially small as they are backpropagated through time, preventing the model from learning long-range dependencies.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

QuestionBack to list