High-Dimensional Regression
Fitting $d$ coefficients from $n$ samples with $d$ near or above $n$ only works with structure. Sparsity plus $L_1$ penalties restores rates that look like $\sqrt{s \log d / n}$.
Why Does This Exist?
Ordinary least squares needs : with features and samples the design is singular and infinitely many coefficient vectors fit training perfectly. Classical standard errors assume the opposite regime and go vacuous. Yet genomics, text and sensor problems live exactly here with a saving grace: only of the coefficients matter.
High-dimensional regression is the theory of exploiting that sparsity. The Lasso minimises squared error plus (least squares with an price on coefficient size), which selects variables and fits them at once. Its error scales with , the effective dimension, not . Without this shift, every regression would be hopeless; with it, samples can tame features when are active.
Prerequisite in one paragraph. You need the linear model with design , coefficients and noise , plus the norm as a sparsity price. Least squares minimises training error with no price. Background is in linear systems and least squares and maximum likelihood estimation.
Think of It Like This
Ten loud voices in a crowded hall
A hall holds 1,000 people but only 10 speak. One microphone per person would need 1,000 recordings. Instead you take 200 mixed recordings from random seat clusters and ask who spoke. Least squares blames everyone a little, producing 1,000 murmurs. Lasso charges per accused speaker, so it names about 10 and fits their volumes.
The charge is the entrance fee per suspect. Set it right and the 10 true speakers pay it gladly from the evidence while 990 silent attendees stay out. Set it to zero and everyone crowds in.
Where the analogy stops: voices overlap linearly and cleanly here, while real designs correlate. Correlated features split blame and the Lasso picks one representative, which the hall picture hides.
How It Actually Works
Observe with having nonzeros, an design with normalised columns and sub-Gaussian noise of scale . The Lasso solves , where is the penalty trading fit against sparsity. With (proportional to noise times that square root) and a restricted eigenvalue condition on (sparse directions keep energy, the regression cousin of RIP), the error obeys .
Worked example
Take , , and . Then , , and its square root is . With constants near the bound lands near . So samples pin active coefficients among within Euclidean error.
Least squares cannot even start at : its variance term scales like even where defined via pseudoinverse, an order above the Lasso error and with no selection. The price of replaces the price of , a -fold saving in effective dimension.
Watch Out For
Running Lasso with unnormalised columns
If one feature spans to and another spans to , the same punishes their coefficients unequally: the wide feature looks cheap per unit effect. Selection then favours scale, not signal, and the rate collapses.
Fix: standardise every column to unit or unit variance before fitting. Undo the scaling only when reporting.
Reading selected variables as the true support
Lasso selection is consistent only under an irrepresentability condition limiting correlations between active and inactive features. With strong correlations it swaps members, keeps proxies and drops truth while predicting well. Treating the selected set as discovered biology or causal drivers overclaims.
Fix: separate prediction from selection. For support claims use stability selection or debiased intervals, not the raw Lasso active set.
The Quick Version
- With , structure is mandatory and sparsity plus is the standard structure.
- Lasso error scales as , so 10 in 1000 need about 1500 samples for error 0.15.
- Penalty near with normalised columns; the design needs a restricted eigenvalue.
- Least squares scales as and is undefined below samples.
- Selection needs stronger correlation conditions than prediction, so do not read support as truth.