What is the difference between approximation error and estimation error?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
What is the difference between approximation error and estimation error?
Both terms come from statistical learning theory, where the gap between a trained model's risk and the best achievable risk is split into parts.
```hint Three predictors
Compare the risks of three predictors: the best one possible, the best one your model class can express, and the one training actually returned.
```
```hint What moves each gap
Ask what happens to each gap when you collect more data, and what happens when you switch to a richer model class.
```
### What a Strong Answer Covers
- The excess-risk decomposition, with the Bayes risk, the best-in-class risk and the learned model's risk defined
- What each term depends on (the hypothesis class, the data distribution, the sample size)
- How each term moves as the class or the sample grows, and the trade-off this creates for model selection
- The rough link to bias and variance, and where that analogy breaks
- Optimization error as an extra term when training does not reach the empirical risk minimizer
### Follow-up Questions
- From training and validation learning curves, how would you tell whether a model is limited by approximation error or by estimation error?
- How do regularization and structural risk minimization change the hypothesis class, and which of the two errors do they target?
- Why can a neural network with far more parameters than training examples still have a small estimation error?
- When does optimization error become the largest term, and how does a fixed compute budget change the trade-off?
Overview: Asks for the difference between approximation error and estimation error in statistical learning theory. It tests whether you can split a learned model's excess risk against the Bayes risk, tell which part shrinks with more data and which with a richer model class, and connect both to bias, variance and model selection.