Interview Guides

You are training a deep learning model for a supervised learning task and comparing several architectures and training settings. You want to understand why some models fail to generalize while others never learn enough signal from the data.
What are the primary causes of overfitting and underfitting, and how do you diagnose and mitigate them in deep learning models?