[Paper Review] The Sample Complexity of Learning Linear Predictors with the Squared Loss
This paper establishes a tight sample complexity lower bound for learning linear predictors with squared loss in an agnostic, distribution-free setting. It shows that the expected excess risk is at least proportional to $\min\{Y^2, \frac{B^2 + dY^2}{m}, \frac{BY}{\sqrt{m}}\}$, highlighting that the norm bound $B$ and target bound $Y$ affect generalization independently, contrary to common assumptions in prior work.
In this short note, we provide a sample complexity lower bound for learning linear predictors with respect to the squared loss. Our focus is on an agnostic setting, where no assumptions are made on the data distribution. This contrasts with standard results in the literature, which either make distributional assumptions, refer to specific parameter settings, or use other performance measures.
Motivation & Objective
- To close a gap in the literature by providing a self-contained, distribution-free analysis of sample complexity for linear regression with squared loss.
- To demonstrate that existing results relying on distributional assumptions (e.g., well-specified models, bounded predictors) do not capture the true sample complexity in agnostic settings.
- To show that excess risk bounds based on parameter estimation error ($\mathbb{E}[\|\mathbf{w}-\mathbf{w}^*\|^2]$) or prediction error under unbounded predictors do not imply bounds on excess risk when the hypothesis class is norm-bounded.
- To clarify the distinct roles of the target value bound $Y$ and predictor norm bound $B$ in determining generalization performance, especially when $B \geq 2Y$.
- To establish a tight lower bound that holds uniformly over all data distributions, without assuming bounded functions or specific moment conditions.
Proposed method
- Constructs a hard distribution family over input-output pairs $(\mathbf{x}, y)$ with $\|\mathbf{x}\| \leq 1$, $|y| \leq Y$, and $\|\mathbf{w}\| \leq B$.
- Uses a mixture distribution over $d'$ standard basis vectors $\mathbf{e}_i$, where each $\mathbf{e}_i$ is selected with probability $1/d'$, and $y$ is a Bernoulli random variable depending on a parameter $\sigma_i$.
- Applies the method of conditional distributions and Kullback-Leibler divergence to compare the likelihoods of the training set under two different parameter settings ($\sigma_i > 0$ vs. $\sigma_i < 0$).
- Employs joint convexity of KL divergence and bounds the divergence using $\chi^2$ divergence to derive an upper bound on the divergence between conditional distributions.
- Derives a lower bound on the expected excess risk by relating it to the squared difference in predictions and using the mutual information between the hypothesis and the data.
- Optimizes over the free parameter $d'$ (the number of active dimensions) to derive the tightest possible lower bound across two regimes: $d > \sqrt{6m}B/Y$ and $d \leq \sqrt{6m}B/Y$.
Experimental results
Research questions
- RQ1What is the optimal sample complexity for learning linear predictors with squared loss in a fully agnostic, distribution-free setting?
- RQ2How do the bounds on the target values ($Y$) and predictor norms ($B$) jointly affect the generalization error when no distributional assumptions are made?
- RQ3Why do standard excess risk bounds based on parameter estimation or unbounded predictors fail to capture the true complexity in norm-bounded hypothesis classes?
- RQ4Can a tight lower bound be established that separates the contributions of $Y$, $B$, $d$, and $m$ in the generalization error?
- RQ5What is the fundamental trade-off between the dimension $d$, the sample size $m$, and the norm constraints $B$ and $Y$ in linear regression under squared loss?
Key findings
- The paper establishes a universal lower bound of $c \cdot \min\left\{Y^2, \frac{B^2 + dY^2}{m}, \frac{BY}{\sqrt{m}}\right\}$ on the expected excess risk for any learning algorithm returning a norm-bounded linear predictor.
- The lower bound reveals that the excess risk scales with $\frac{B^2 + dY^2}{m}$ when $m$ is small, indicating that both the predictor norm and the data dimension contribute to sample complexity.
- When $B \geq 2Y$, the lower bound includes a term $\frac{BY}{\sqrt{m}}$, showing that the product of the norm bound and the target bound affects generalization independently of the dimension.
- The bound is tight in the sense that it matches known upper bounds up to constant factors, and it cannot be improved without additional assumptions.
- The analysis shows that previous results relying on $\mathbb{E}[\|\mathbf{w}-\mathbf{w}^*\|^2]$ or unbounded $B$ do not imply bounds on excess risk in the norm-bounded case, due to a potential multiplicative gap of up to $\frac{1}{1/2 - w}$.
- The result holds uniformly over all data distributions, including those where the true predictor is not in the hypothesis class, and it remains non-vacuous even when $B$ is large relative to $Y$.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.