Validation loss rises while training loss keeps falling. What should you do?
- Exam domain
- Performance Optimization10% of the exam
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why the exam asks this
Performance Optimization (10% of the exam)
Objective in the exam guide: Assist in model training and training optimization under the supervision of a senior team member.
Associates help optimize training under supervision.
Why B is the answer
Stop early or add regularization such as dropout or augmentation
Falling training loss with rising validation loss means overfitting. Early stopping, regularization and data augmentation help.
Remember: Overfitting: early stop and regularize.
How it works
Training optimization includes watching curves, early stopping, regularization and augmentation.
In detail
- Diverging curves mean overfitting.
- Use early stopping and regularization.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Train for many more epochsWrongMost tempting
More epochs overfit further.
Why it tempts: More training usually helps, until it does not.
B. Stop early or add regularization such as dropout or augmentationRight
Overfitting: early stop and regularize.
C. Remove the validation setWrong
Removing validation hides the problem.
D. Increase the learning rate a lot so the model moves past the rising validation loss quicklyWrong
A higher rate does not cure overfitting.
Use case
An illustrative scenario, not a real incident.
Illustrative: early stopping keeps the checkpoint from epoch 12, before validation loss began to climb.
See it in different ways
stateDiagram-v2 state "Both falling" as s0 state "Validation rising" as s1 state "Stopped at best checkpoint" as s2 [*] --> s0 s0 --> s1: model memorizes s1 --> s2: early stopping s2 --> [*]
How to read this chart
- It starts at "Both falling".
- From "Both falling", "model memorizes" moves it to "Validation rising".
- From "Validation rising", "early stopping" moves it to "Stopped at best checkpoint".
- It ends at "Stopped at best checkpoint".
mindmap
root(("Overfitting"))
n1["Stop"]
n2["Early stopping"]
n3["Constrain"]
n4["Dropout"]
n5["Weight decay"]
n6["Data"]
n7["Augmentation"]
n8["More data"]How to read this chart
- The centre is "Overfitting".
- "Stop" covers "Early stopping".
- "Constrain" covers "Dropout", "Weight decay".
- "Data" covers "Augmentation", "More data".