Google Cloud Professional Machine Learning Engineer — Question 115

During batch training of a neural network, you notice that there is an oscillation in the loss. How should you adjust your model to ensure that it converges?

Answer options

Correct answer: B

Explanation

The correct approach is to decrease the learning rate hyperparameter, as a lower learning rate can help stabilize the training process and reduce oscillations in the loss. Decreasing the size of the training batch (option A) may not directly address the convergence issue, while increasing the learning rate (option C) could exacerbate the problem. Increasing the size of the training batch (option D) is unlikely to resolve the oscillation either.