The Bias-Variance Tradeoff

Volume I, Chapter 3 — Part VI. Rigorous derivation of the bias-variance decomposition, analysis for linear and k-NN estimators, model complexity, regularization, double descent in overparameterized models, and implications for deep learning generalization.

Intermediate

Table of Contents

  1. Learning Objectives
  2. Prerequisites
  3. Notation
  4. Core Intuition
  5. Problem Setup and Expected Prediction Error
  6. The Bias-Variance Decomposition Theorem
  7. Bias, Variance, and Irreducible Error
  8. Examples: Linear Regression and Ridge
  9. k-Nearest Neighbors and Model Complexity
  10. The Classical U-Curve and Model Selection
  11. Regularization as Bias-Variance Control
  12. Double Descent in Overparameterized Models
  13. Beyond Squared Loss: Classification and Other Losses
  14. Connection to Machine Learning Practice
  15. Common Pitfalls and Misconceptions
  16. Research Perspective
  17. Summary of Takeaways
  18. Exercises

Learning Objectives

After reading this chapter, you should be able to:

  1. Define expected prediction error (EPE) and decompose it into irreducible noise, bias squared, and variance.
  2. Prove the bias-variance decomposition for squared loss with no gaps in the cross-term arguments.
  3. Compute bias and variance for linear regression (OLS and Ridge) and interpret their dependence on model complexity.
  4. Explain how kk in k-NN controls the bias-variance tradeoff.
  5. Describe the classical U-curve of test error vs model complexity and how regularization navigates it.
  6. State the double descent phenomenon and explain implicit regularization in overparameterized models.
  7. Connect the decomposition to Maximum Likelihood Estimation, overfitting, and generalization in deep learning.

Prerequisites


Notation

  • f(x)f(\mathbf{x}) — True regression function
  • f^(x;D)\hat{f}(\mathbf{x}; \mathcal{D}) — Estimator trained on dataset D\mathcal{D}
  • ED[]\mathbb{E}_{\mathcal{D}}[\cdot] — Expectation over training data
  • Bias,Var\mathrm{Bias}, \mathrm{Var} — Bias and variance of an estimator
  • σ2\sigma^2 — Irreducible noise variance

Core Intuition

Why does a model that fits the training data perfectly often fail on new data? Why does a linear model underfit nonlinear patterns? The bias-variance tradeoff provides a precise answer: every prediction error has three sources, and simpler vs more complex models allocate error differently between them.

  • Bias captures systematic error — the model family cannot represent the truth.
  • Variance captures sensitivity to the particular training sample — the model overfits noise.
  • Irreducible noise is inherent randomness no model can eliminate.

The classical story: as model complexity increases, bias decreases but variance increases. Test error follows a U-shape, minimized at intermediate complexity. Modern deep learning complicates this picture: massively overparameterized networks can generalize well despite interpolating training data — the double descent phenomenon.

This chapter derives the decomposition rigorously and applies it to linear models, k-NN, regularization, and contemporary overparameterized regimes.

Series context. This is Part VI of Chapter 3 (Probability & Statistical Learning) in Volume I. It synthesizes MLE, Bayes' Theorem, and prepares for regularization and generalization theory in Volume II.

Bias-Variance Tradeoff

Balanced
00.250.50.751xf(x)
Train MSE = 0.0251
Bias² ≈ 0.0068
Degree
3
Noise σ
0.30
N points
15
True f(x)Polynomial fitData
Explore: Low degree → high bias (underfitting). High degree → high variance (overfitting). Find the sweet spot where the blue curve tracks the dashed true function.

Problem Setup and Expected Prediction Error

Data generating process. Observations (xi,yi)(x_i, y_i) are drawn i.i.d. from a joint distribution. We model:

Y=f(X)+ϵ,ϵ(0,σ2),ϵX,(1)Y = f(X) + \epsilon, \quad \epsilon \sim (0, \sigma^2), \quad \epsilon \perp X, \tag{1}

where f(x)=E[YX=x]f(x) = \mathbb{E}[Y \mid X = x] is the regression function (conditional mean). Noise ϵ\epsilon has mean zero and variance σ2\sigma^2.

Learning. Given training set D={(xi,yi)}i=1n\mathcal{D} = \{(x_i, y_i)\}_{i=1}^n, we learn a predictor f^D(x)\hat{f}_\mathcal{D}(x) — a function of both the data and the query point xx.

Goal. Minimize expected prediction error (EPE) at a new test point (X0,Y0)(X_0, Y_0):

EPE(x0)=ED,Y0X0=x0[(Y0f^D(x0))2],(2)\text{EPE}(x_0) = \mathbb{E}_{\mathcal{D}, Y_0 \mid X_0=x_0}\left[(Y_0 - \hat{f}_\mathcal{D}(x_0))^2\right], \tag{2}

where expectation is over: (i) random training set D\mathcal{D}, (ii) test noise Y0f(x0)Y_0 - f(x_0) given X0=x0X_0 = x_0.

Definition 1 (Average EPE). The average expected prediction error is:

EPE=EX0[EPE(X0)].(3)\text{EPE} = \mathbb{E}_{X_0}[\text{EPE}(X_0)]. \tag{3}

We derive the decomposition at fixed x0x_0; averaging over X0X_0 gives the global version.


The Bias-Variance Decomposition Theorem

Definition 2 (Average Predictor). The average predictor at x0x_0 is:

fˉ(x0)=ED[f^D(x0)],(4)\bar{f}(x_0) = \mathbb{E}_\mathcal{D}[\hat{f}_\mathcal{D}(x_0)], \tag{4}

the mean prediction over all possible training sets of size nn.

Definition 3 (Bias). The bias of f^\hat{f} at x0x_0 is:

Bias(f^(x0))=fˉ(x0)f(x0).(5)\text{Bias}(\hat{f}(x_0)) = \bar{f}(x_0) - f(x_0). \tag{5}

Definition 4 (Variance). The variance of f^\hat{f} at x0x_0 is:

Var(f^(x0))=ED[(f^D(x0)fˉ(x0))2].(6)\text{Var}(\hat{f}(x_0)) = \mathbb{E}_\mathcal{D}[(\hat{f}_\mathcal{D}(x_0) - \bar{f}(x_0))^2]. \tag{6}

Theorem 1 (Bias-Variance Decomposition). Under the model (1), for fixed x0x_0:

EPE(x0)=σ2irreducible noise+[Bias(f^(x0))]2bias2+Var(f^(x0))variance.(7)\text{EPE}(x_0) = \underbrace{\sigma^2}_{\text{irreducible noise}} + \underbrace{[\text{Bias}(\hat{f}(x_0))]^2}_{\text{bias}^2} + \underbrace{\text{Var}(\hat{f}(x_0))}_{\text{variance}}. \tag{7}

Proof. Write Y0=f(x0)+ϵY_0 = f(x_0) + \epsilon where E[ϵ]=0\mathbb{E}[\epsilon] = 0, Var(ϵ)=σ2\text{Var}(\epsilon) = \sigma^2, and ϵ\epsilon is independent of D\mathcal{D} and f^D\hat{f}_\mathcal{D}.

Step 1 — Add and subtract terms. Insert fˉ(x0)\bar{f}(x_0) and f(x0)f(x_0):

Y0f^D(x0)=(Y0f(x0))ϵ+(f(x0)fˉ(x0))Bias+(fˉ(x0)f^D(x0))deviation from mean.(8)Y_0 - \hat{f}_\mathcal{D}(x_0) = \underbrace{(Y_0 - f(x_0))}_{\epsilon} + \underbrace{(f(x_0) - \bar{f}(x_0))}_{-\text{Bias}} + \underbrace{(\bar{f}(x_0) - \hat{f}_\mathcal{D}(x_0))}_{\text{deviation from mean}}. \tag{8}

Step 2 — Square and take expectation.

EPE(x0)=E[(ϵBias+(fˉf^))2],(9)\text{EPE}(x_0) = \mathbb{E}[(\epsilon - \text{Bias} + (\bar{f} - \hat{f}))^2], \tag{9}

where Bias=f(x0)fˉ(x0)\text{Bias} = f(x_0) - \bar{f}(x_0) is a constant (not random w.r.t. D\mathcal{D}).

Step 3 — Expand the square.

=E[ϵ2]+Bias2+E[(fˉf^)2]+2E[ϵ(Bias)]+2E[ϵ(fˉf^)]+2E[(Bias)(fˉf^)].(10)= \mathbb{E}[\epsilon^2] + \text{Bias}^2 + \mathbb{E}[(\bar{f} - \hat{f})^2] + 2\mathbb{E}[\epsilon \cdot (-\text{Bias})] + 2\mathbb{E}[\epsilon(\bar{f}-\hat{f})] + 2\mathbb{E}[(-\text{Bias})(\bar{f}-\hat{f})]. \tag{10}

Step 4 — Show cross-terms vanish.

(Cross-term 1.) E[ϵ(Bias)]=BiasE[ϵ]=0\mathbb{E}[\epsilon \cdot (-\text{Bias})] = -\text{Bias} \cdot \mathbb{E}[\epsilon] = 0 since ϵ\epsilon is independent of everything and mean zero.

(Cross-term 2.) E[ϵ(fˉf^)]=E[ϵ]E[fˉf^]=0\mathbb{E}[\epsilon(\bar{f}-\hat{f})] = \mathbb{E}[\epsilon] \cdot \mathbb{E}[\bar{f}-\hat{f}] = 0 by independence of test noise from training data.

(Cross-term 3.) E[(Bias)(fˉf^)]=BiasE[fˉf^]=0\mathbb{E}[(-\text{Bias})(\bar{f}-\hat{f})] = -\text{Bias} \cdot \mathbb{E}[\bar{f}-\hat{f}] = 0 since ED[f^]=fˉ\mathbb{E}_\mathcal{D}[\hat{f}] = \bar{f} implies E[fˉf^]=0\mathbb{E}[\bar{f}-\hat{f}] = 0.

Step 5 — Identify remaining terms.

E[ϵ2]=σ2,E[(fˉf^)2]=Var(f^(x0)).(11)\mathbb{E}[\epsilon^2] = \sigma^2, \quad \mathbb{E}[(\bar{f}-\hat{f})^2] = \text{Var}(\hat{f}(x_0)). \tag{11}

Therefore (7) holds. \blacksquare

Remark. The decomposition is exact for squared loss and the additive noise model (1). It does not require linearity of f^\hat{f} or ff.


Bias, Variance, and Irreducible Error

Irreducible noise σ2\sigma^2. The variance of Y0Y_0 given X0=x0X_0 = x_0 that cannot be reduced by any predictor. This is the Bayes error for squared loss — the error of the optimal predictor f(x0)=E[YX=x0]f(x_0) = \mathbb{E}[Y \mid X = x_0].

Bias². Measures systematic mis-specification. If the model family {f^}\{\hat{f}\} cannot represent ff, then fˉf\bar{f} \neq f even with infinite data. Example: fitting a line to quadratic data.

Variance. Measures instability across training sets. High variance: small changes in D\mathcal{D} produce large changes in f^(x0)\hat{f}(x_0). Example: k=1k=1 nearest neighbor (memorization).

The tradeoff (classical view). Increasing model complexity:

  • Decreases bias — richer function class approximates ff better.
  • Increases variance — more parameters fit noise in D\mathcal{D}.

Total error σ2+Bias2+Var\sigma^2 + \text{Bias}^2 + \text{Var} may be minimized at intermediate complexity.

Proposition 1. For squared loss, the oracle predictor minimizing EPE at x0x_0 is f(x0)f(x_0), with error exactly σ2\sigma^2.


Examples: Linear Regression and Ridge

Ordinary Least Squares (Fixed Design)

Model: f^(x)=xTβ^D\hat{f}(x) = \mathbf{x}^T \hat{\boldsymbol\beta}_\mathcal{D} with β^=(XTX)1XTy\hat{\boldsymbol\beta} = (\mathbf{X}^T\mathbf{X})^{-1}\mathbf{X}^T\mathbf{y}.

Assume the true relationship is linear: Y=xTβ+ϵY = \mathbf{x}^T \boldsymbol\beta^* + \epsilon.

Bias. E[β^]=β\mathbb{E}[\hat{\boldsymbol\beta}] = \boldsymbol\beta^*, so Bias(x0)=x0Tβf(x0)=0\text{Bias}(x_0) = \mathbf{x}_0^T \boldsymbol\beta^* - f(x_0) = 0 when f(x)=xTβf(x) = \mathbf{x}^T \boldsymbol\beta^*.

If the true ff is nonlinear, OLS has nonzero bias — the best linear approximation.

Variance. With Var(ϵ)=σ2\text{Var}(\epsilon) = \sigma^2:

Var(f^(x0))=σ2x0T(XTX)1x0.(12)\text{Var}(\hat{f}(x_0)) = \sigma^2 \mathbf{x}_0^T (\mathbf{X}^T\mathbf{X})^{-1} \mathbf{x}_0. \tag{12}

Proof sketch. f^(x0)=x0T(XTX)1XTy\hat{f}(x_0) = \mathbf{x}_0^T (\mathbf{X}^T\mathbf{X})^{-1}\mathbf{X}^T\mathbf{y}. Since y=Xβ+ϵ\mathbf{y} = \mathbf{X}\boldsymbol\beta^* + \boldsymbol\epsilon:

f^(x0)=x0Tβ+x0T(XTX)1XTϵ.(13)\hat{f}(x_0) = \mathbf{x}_0^T \boldsymbol\beta^* + \mathbf{x}_0^T(\mathbf{X}^T\mathbf{X})^{-1}\mathbf{X}^T\boldsymbol\epsilon. \tag{13}

The second term has mean zero and variance σ2x0T(XTX)1x0\sigma^2 \mathbf{x}_0^T(\mathbf{X}^T\mathbf{X})^{-1}\mathbf{x}_0. \blacksquare

Interpretation. Variance is large when x0x_0 lies in directions where XTX\mathbf{X}^T\mathbf{X} has small eigenvalues — extrapolation beyond the training hull.

Ridge Regression

β^λ=(XTX+λI)1XTy\hat{\boldsymbol\beta}_\lambda = (\mathbf{X}^T\mathbf{X} + \lambda\mathbf{I})^{-1}\mathbf{X}^T\mathbf{y}.

Bias increases: E[β^λ]=(XTX+λI)1XTXββ\mathbb{E}[\hat{\boldsymbol\beta}_\lambda] = (\mathbf{X}^T\mathbf{X} + \lambda\mathbf{I})^{-1}\mathbf{X}^T\mathbf{X}\boldsymbol\beta^* \neq \boldsymbol\beta^* — shrinkage toward zero.

Variance decreases: Eigenvalues of (XTX+λI)1(\mathbf{X}^T\mathbf{X} + \lambda\mathbf{I})^{-1} are smaller than those of (XTX)1(\mathbf{X}^T\mathbf{X})^{-1}.

Theorem 2 (Ridge Bias-Variance Tradeoff). There exists λ0\lambda^* \geq 0 that minimizes EPE\text{EPE} (averaged over x0x_0) when λ=0\lambda = 0 (OLS) has excessive variance.

See Positive Definite Matrices for the geometry of Ridge as perturbing the Gram matrix.


k-Nearest Neighbors and Model Complexity

Predictor. f^(x)=1kxiNk(x)yi\hat{f}(x) = \frac{1}{k}\sum_{x_i \in N_k(x)} y_i — average of kk nearest neighbors.

Complexity parameter. kk controls model flexibility:

  • k=1k = 1 — Low (zero on training) — High — Interpolation, memorization
  • k=nk = n — High (predicts yˉ\bar{y}) — Zero — Constant prediction
  • Intermediate — Moderate — Moderate — Smoothing

Proposition 2. As k1k \to 1: Var(f^(x))Var(YXx)\text{Var}(\hat{f}(x)) \to \text{Var}(Y \mid X \approx x) and Bias(f^(x))0\text{Bias}(\hat{f}(x)) \to 0 (under smoothness).

As knk \to n: Var0\text{Var} \to 0 and Bias(f^(x))f(x)E[Y]\text{Bias}(\hat{f}(x)) \to f(x) - \mathbb{E}[Y].

Optimal kk. Typically k=O(n4/(4+d))k^* = O(n^{4/(4+d)}) for dd-dimensional features — curse of dimensionality increases optimal kk.


The Classical U-Curve and Model Selection

Model complexity can be measured by: number of parameters, VC dimension, kk in k-NN, degree of polynomial, tree depth, etc.

Classical U-curve. Plot test EPE vs complexity:

  1. Underfitting region (low complexity): High bias, low variance, high total error.
  2. Sweet spot: Bias and variance balanced, minimum test error.
  3. Overfitting region (high complexity): Low bias, high variance, high total error.

Model selection. Choose complexity (or regularization strength λ\lambda) to minimize estimated test error — cross-validation, AIC, BIC. AIC/BIC connect to Maximum Likelihood Estimation via penalized log-likelihood.

Proposition 3. Training error decreases monotonically with complexity (for nested models), but test error is U-shaped (classically).


Regularization as Bias-Variance Control

Principle. Regularization increases bias (shrinks toward simpler models) to decrease variance, reducing total error when variance dominates.

Examples.

  • Ridge (L2L_2) — Penalty λβ22\lambda \lVert\boldsymbol\beta\rVert_2^2 — Shrinks coefficients, reduces variance
  • Lasso (L1L_1) — Penalty λβ1\lambda \lVert\boldsymbol\beta\rVert_1 — Sparsity, reduces effective complexity
  • Early stopping — Stop gradient descent before convergence — Limits effective model capacity
  • Dropout — Random neuron masking — Ensemble-like variance reduction
  • Weight decayL2L_2 on neural network weights — Ridge analog in deep learning

Theorem 3 (Explicit Bias-Variance for Ridge — Sketch). For linear model with λ>0\lambda > 0:

EPE=σ2+Biasλ2+Varλ,(14)\text{EPE} = \sigma^2 + \text{Bias}_\lambda^2 + \text{Var}_\lambda, \tag{14}

where VarλVarOLS\text{Var}_\lambda \leq \text{Var}_{\text{OLS}} and Biasλ2\text{Bias}_\lambda^2 increases with λ\lambda.

Connection to MAP. Ridge regression is MAP under Gaussian prior βN(0,τ2I)\boldsymbol\beta \sim \mathcal{N}(\mathbf{0}, \tau^2\mathbf{I}) — see Bayes' Theorem. The prior introduces bias intentionally.


Double Descent in Overparameterized Models

Classical U-curve breaks down when model complexity exceeds sample size nn (interpolation threshold).

Three regimes.

  1. Underparameterized (p<np < n): Classical U-curve — optimal complexity in the middle.
  2. Interpolation threshold (pnp \approx n): Test error spikes — model can interpolate noise.
  3. Overparameterized (pnp \gg n): Test error decreases again — "double descent."

Explanation (minimum-norm interpolation). Among all β\boldsymbol\beta satisfying Xβ=y\mathbf{X}\boldsymbol\beta = \mathbf{y} (exact fit), gradient descent converges to the minimum 2\ell_2 norm solution:

β^min-norm=argminβ:Xβ=yβ2.(15)\hat{\boldsymbol\beta}_{\text{min-norm}} = \underset{\boldsymbol\beta : \mathbf{X}\boldsymbol\beta = \mathbf{y}}{\text{argmin}} \|\boldsymbol\beta\|_2. \tag{15}

This implicit regularization reduces variance despite zero training error.

Neural networks. Massive overparameterization (pnp \gg n) with SGD, weight decay, and architectural biases (convolutions, skip connections) yields low test error — effective complexity is controlled by implicit rather than explicit parameter count.

Proposition 4. Double descent is not a violation of the bias-variance decomposition — it reflects that the decomposition still holds but variance can decrease in the overparameterized regime due to implicit regularization.

Remark. The bias-variance tradeoff remains valid at each fixed training procedure; what changes is how complexity maps to (Bias,Var)(\text{Bias}, \text{Var}) in modern architectures.


Beyond Squared Loss: Classification and Other Losses

Classification. For 0-1 loss, a similar decomposition exists but with different structure. For squared loss on probability estimates (Brier score), the decomposition applies to calibrated probabilities.

Connection to cross-entropy. From KL Divergence, minimizing cross-entropy relates to bias in probability estimates. Overconfident wrong predictions indicate high bias in the softmax outputs; instability across training runs indicates variance.

Bayes error for classification. Irreducible error is 1maxcP(Y=cX)1 - \max_c P(Y = c \mid X) — the error of the Bayes classifier.


Connection to Machine Learning Practice

Diagnosing Underfitting and Overfitting

  • High training error: High bias (underfitting) — increase capacity, reduce regularization.
  • Low training error, high validation error: High variance (overfitting) — regularize, more data, reduce capacity.
  • Both low: Good generalization (modulo σ2\sigma^2).

Ensembling and Variance Reduction

Bagging averages predictors trained on bootstrap samples — reduces variance without increasing bias much. Random forests extend this. Bias-variance analysis: Var(fˉ)=Var(f)/B+Cov terms\text{Var}(\bar{f}) = \text{Var}(f)/B + \text{Cov terms}; averaging independent models divides variance by BB.

Data Size and the Tradeoff

As nn \to \infty: variance 0\to 0 for consistent estimators; bias remains (model mis-specification). More data helps variance-dominated problems most.

Deep Learning

Modern networks operate in the overparameterized, double-descent regime. Generalization depends on:

  • Implicit bias of Gradient Descent (SGD noise, early stopping)
  • Architecture (inductive bias reducing effective complexity)
  • Regularization (weight decay, dropout, data augmentation)

The classical U-curve is insufficient alone — but bias, variance, and σ2\sigma^2 still decompose the error.


Common Pitfalls and Misconceptions

Pitfall 1: Applying the decomposition to training error. The theorem concerns expected test error, not training error. Training error has a different (optimistic) bias.

Pitfall 2: Assuming bias and variance always trade off monotonically in complexity. Double descent shows variance can decrease after the interpolation threshold.

Pitfall 3: Confusing high variance with high noise. σ2\sigma^2 is irreducible noise in YY; variance of f^\hat{f} is reducible with more data or regularization.

Pitfall 4: Ignoring model mis-specification. Zero variance with wrong model class still yields high bias — ensembling wrong models does not fix systematic error.

Pitfall 5: Treating the decomposition as only for squared loss. Extensions exist for other losses; the squared-loss version is the cleanest and most used.

Pitfall 6: Equating parameter count with effective complexity. Overparameterized networks have many parameters but low effective complexity due to implicit regularization.


Research Perspective

The bias-variance decomposition for squared loss was formalized by Geman, Bienenstock, and Doursat (1992) in the neural network context, though components appeared earlier in statistics (Hoerl & Kennard, 1970 for Ridge). The classical U-curve guided model selection for decades.

Double descent was documented systematically by Belkin et al. (2019) and Spigler et al. (2019), reviving interest in interpolation and benign overfitting. Neural tangent kernel theory and implicit regularization of SGD aim to explain why deep networks generalize despite massive capacity.

Open questions: tight bias-variance estimates for deep networks, role of data augmentation, and whether scaling laws (Kaplan et al., 2020) reflect fundamental bias-variance tradeoffs or new phenomena.


Summary of Takeaways

  • Irreducible noise σ2\sigma^2Var(YX)\text{Var}(Y \mid X) — Inherent randomness

  • Bias²(E[f^]f)2(\mathbb{E}[\hat{f}] - f)^2 — Model mis-specification

  • VarianceVar(f^)\text{Var}(\hat{f}) — Sensitivity to training data

  • EPEσ2+Bias2+Var\sigma^2 + \text{Bias}^2 + \text{Var} — Total expected test error

  • Complexity ↑ — Bias ↓, Var ↑ (classically) — U-curve

  • Regularization — Bias ↑, Var ↓ — Navigate U-curve

  • Double descent — Var ↓ again when pnp \gg n — Implicit regularization

  • Underfitting — High — Low — High

  • Classical optimum — Medium — Medium — Lowest

  • Overfitting (interpolating) — Low — High — High

  • Overparameterized (modern) — Low — Moderate* — Good

*With SGD, weight decay, architecture.

Next in Volume II: Linear Regression — applying these principles to the foundational supervised learning algorithm.


Exercises

Exercise 1 (Proof). Verify all three cross-terms in the proof of Theorem 1 vanish, stating independence assumptions explicitly.

Exercise 2 (OLS variance). Derive (12) completely for fixed design matrix X\mathbf{X}.

Exercise 3 (Ridge). Express E[β^λ]\mathbb{E}[\hat{\boldsymbol\beta}_\lambda] and Cov(β^λ)\text{Cov}(\hat{\boldsymbol\beta}_\lambda) in terms of (XTX+λI)1(\mathbf{X}^T\mathbf{X} + \lambda\mathbf{I})^{-1}.

Exercise 4 (k-NN). For k=1k=1 and deterministic ff, show f^(xi)=yi\hat{f}(x_i) = y_i on training data and characterize variance at a training point.

Exercise 5 (Bias). Fit Y=β0+β1X+ϵY = \beta_0 + \beta_1 X + \epsilon when true f(x)=x2f(x) = x^2. Compute asymptotic bias of OLS at x0=1x_0 = 1.

Exercise 6 (Double descent). Explain why β^min-norm\hat{\boldsymbol\beta}_{\text{min-norm}} has lower norm than a generic interpolating solution and why this reduces variance.

Exercise 7 (Conceptual). Why does bagging reduce variance but not bias?

Exercise 8 (Extension). State how the irreducible error term changes for classification with 0-1 loss.