A team trained a ResNet-50 model with the configuration shown. The high training accuracy and lower validation accuracy suggest overfitting. Which change to the training configuration is MOST likely to reduce overfitting?
Dropout randomly deactivates neurons during training, forcing the network to learn redundant, generalisable features rather than memorising training samples. This directly counteracts the overfitting indicated by the high training accuracy and lower validation accuracy in the stem.
Why this answer
Adding dropout layers after convolutional layers is a regularization technique that randomly drops a fraction of neurons during training, which forces the network to learn more robust features and reduces overfitting. This directly addresses the symptom of high training accuracy with lower validation accuracy by preventing the model from relying too heavily on specific neurons.
Exam trap
CompTIA often tests the misconception that increasing batch size or reducing epochs directly fixes overfitting, when in fact these changes can harm convergence or underfit, while regularization techniques like dropout are the correct solution.
How to eliminate wrong answers
Option A is wrong because reducing the number of epochs to 5 would likely lead to underfitting, as the model would not have enough training iterations to converge, and it does not address the root cause of overfitting. Option B is wrong because increasing batch size to 64 can actually reduce the stochasticity of gradient updates, potentially leading to sharper minima and worse generalization, which may exacerbate overfitting. Option C is wrong because increasing the learning rate to 0.01 can cause the optimizer to overshoot minima and destabilize training, and it does not provide regularization to combat overfitting.