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
Related questions
A data scientist is building a model to predict whether a patient has a disease based on medical images. They have a small dataset of labeled images. Which technique is most appropriate to improve model performance?
View question →
A company wants to deploy a model that predicts the probability of a user clicking on an ad. They have a large dataset with many features. Which algorithm is most suitable for this task?
View question →
A data scientist is building a model to predict customer churn. The dataset has 10,000 records with 50 features. After training a logistic regression model, they notice that the model performs well on the training set but poorly on the test set. Which technique is most appropriate to address this issue?
View question →
A machine learning engineer is working with a dataset containing missing values in several numerical columns. They want to impute these missing values while preserving the distribution of the data. Which method is most suitable?
View question →
A company wants to deploy a machine learning model that predicts whether a transaction is fraudulent. The model must provide interpretable results to comply with regulations. Which algorithm is most appropriate?
View question →
A data scientist is using k-means clustering on a dataset with features of varying scales. They notice that the clusters are dominated by features with larger ranges. What should they do to improve the clustering?
View question →