Voleon · Behavioral
Reason About Train and Test Loss Under Regularization and More Data
TrueInterview
September 26, 2026 · 1 min read
Clarify the bias–variance tradeoff with training and test loss. Cover the following scenarios:
- The training error is far below the test error.
- Both training and test loss are high, even for ordinary least squares.
- The dataset stays constant while the regularization strength varies.
- The model class remains unchanged as the volume of training data shifts.
Constraints & Assumptions
Differentiate anticipated learning-curve patterns from what is guaranteed for a single finite dataset. Treat loss definitions and data distributions as equivalent except when identifying a discrepancy. While talking about regularization, keep prediction loss distinct from the penalized objective used in optimization.
Clarifying Questions
What is the magnitude of the losses compared with a baseline and with measurement noise? Do the training and test sets come from an identical distribution? Has the optimization process reached convergence? When we say “fixed model,” do we mean a fixed model class that gets retrained, or actually fixed fitted parameters?
What a Strong Answer Covers
It includes overfitting and underfitting as hypotheses, other possible explanations, the regularization tradeoff, and a careful reading of training-size experiments.
Follow-up Questions
Why can't a train/test gap alone confirm overfitting? Can additional data fix a poor feature representation? Does every added sample necessarily lower test loss? Overview: Think through train/test discrepancies, large losses, regularization strength, and learning curves, keeping statistical tendencies apart from finite-sample guarantees.
Loading comments…