Skip to content

Debiased Lasso and post-selection inference

Debiased Lasso corrects shrinkage for coefficient inference. Separate its assumptions from selective inference, changing regression targets and multiple testing.

Debiased Lasso adds a correction to a Lasso estimate to support inference about individual regression coefficients under suitable conditions. Post-selection inference accounts for using the data to choose which coefficients or models to report. In a quant factor study, these address different questions: correcting shrinkage does not automatically validate a significance claim about whichever factor looked strongest.
The Lasso can produce a useful sparse forecast while shrinking nonzero coefficients. Prediction accuracy, identifying the selected variables and measuring uncertainty about a coefficient are separate objectives.

The correction, and what it needs

For centred data, write y=Xβ0+εy=X\beta^0+\varepsilon, where XX has nn rows and pp predictor columns. Use the penalty convention

β^=arg⁡min⁡b{∥y−Xb∥222n+λ∥b∥1},G=X⊤Xn.\widehat\beta =\arg\min_b\left\{\frac{\lVert y-Xb\rVert_2^2}{2n} +\lambda\lVert b\rVert_1\right\}, \qquad G=\frac{X^\top X}{n}.

A one-step estimator is

b^=β^+MX⊤(y−Xβ^)n.\widehat b =\widehat\beta +M\frac{X^\top(y-X\widehat\beta)}{n}.
The residual score measures what the penalised fit has left unexplained. The matrix MM rescales and mixes that score to offset shrinkage. Javanmard and Montanari, Algorithm 1, choose its rows by balancing approximate inversion against variance.

The exact decomposition is

n(b^−β0)=MX⊤εn+n(I−MG)(β^−β0).\sqrt n(\widehat b-\beta^0) =\frac{MX^\top\varepsilon}{\sqrt n} +\sqrt n(I-MG)(\widehat\beta-\beta^0).
The second term is the remainder. Under conditionally Gaussian, independent, zero-mean errors with common variance σ2\sigma^2, and MM determined by XX, the first term is conditionally Gaussian with covariance σ2MGM⊤\sigma^2MGM^\top. The resulting normal approximation requires the remainder to be negligible relative to the leading term’s coordinate standard deviation. This distinction is explicit in Javanmard and Montanari's Theorems 6–8.
For p>np>n, GG is singular. An approximate inverse must work in the directions required for inference; an arbitrary pseudoinverse does not establish that. Sparsity, suitable design conditions, controlled tuning and a valid noise-scale estimate matter. Debiased does not mean exactly unbiased in finite samples.
Van de Geer and coauthors, §§2.1–2.3, construct an approximate inverse through nodewise Lasso: regress each predictor on the others. Their theory controls the remainder, including assumptions on coefficient sparsity and the design's conditional relationships. In their Gaussian random-design setting, one sufficient coefficient-sparsity rate is s0log⁡p/n→0s_0\log p/\sqrt n\to0, alongside the paper's other assumptions; s0s_0 counts nonzero true coefficients. That rate alone is not a certificate of valid inference.
For a coordinate specified in advance, the corresponding asymptotic standard error has the form
se^j=σ^(MGM⊤)jjn.\widehat{\mathrm{se}}_j =\widehat\sigma\sqrt{\frac{(MGM^\top)_{jj}}{n}}.
Using a normal critical value to build a confidence interval requires the distributional and remainder conditions above. Serial dependence or heteroskedasticity in financial returns needs a theory and variance calculation that accommodate it; this common-variance formula cannot simply be reused.

A small algebraic example

Take an invertible Gram matrix and its exact inverse:

G=(2/3001/2),M=G−1=(1.5002).G=\begin{pmatrix}2/3&0\\0&1/2\end{pmatrix}, \qquad M=G^{-1}=\begin{pmatrix}1.5&0\\0&2\end{pmatrix}.

Stipulate an initial vector binit=(0.5,0)⊤b^{\mathrm{init}}=(0.5,0)^\top and residual score s=X⊤(y−Xbinit)/n=(0.1,−0.2)⊤s=X^\top(y-Xb^{\mathrm{init}})/n=(0.1,-0.2)^\top. Then

binit+Ms=(0.50)+(0.15−0.4)=(0.65−0.4).b^{\mathrm{init}}+Ms =\begin{pmatrix}0.5\\0\end{pmatrix} +\begin{pmatrix}0.15\\-0.4\end{pmatrix} =\begin{pmatrix}0.65\\-0.4\end{pmatrix}.
These are algebraic inputs, not an actual fitted unweighted Lasso optimum. Under the stated penalty convention, the positive first coefficient would require s1=λ=0.1s_1=\lambda=0.1, while the zero second coefficient requires ∣s2∣≤λ\lvert s_2\rvert\le\lambda. Here 0.2>0.10.2>0.1, so those conditions cannot both hold.
Illustrative algebraic correction: coordinate one moves from 0.50 to 0.65, adding 0.15; coordinate two moves from 0 to −0.40. The initial vector is not a fitted Lasso optimum. Arrows are coefficient changes, not confidence intervals.
Illustrative algebraic correction: coordinate one moves from 0.50 to 0.65, adding 0.15; coordinate two moves from 0 to −0.40. The initial vector is not a fitted Lasso optimum. Arrows are coefficient changes, not confidence intervals.
Original algebraic example with an invertible Gram matrix. The exact-inverse correction equals OLS; it supplies no high-dimensional coverage guarantee.

The example isolates the one-step algebra. Because M=G−1M=G^{-1},

binit+G−1X⊤(y−Xbinit)n=G−1X⊤yn=β^OLS.b^{\mathrm{init}}+G^{-1}\frac{X^\top(y-Xb^{\mathrm{init}})}n =G^{-1}\frac{X^\top y}n =\widehat\beta_{\mathrm{OLS}}.
It recovers full-rank ordinary least squares regardless of the initial vector. It demonstrates neither the difficult p>np>n case nor confidence-interval coverage. A corrected zero coordinate can become nonzero; the correction is not itself another sparse variable selector.

Which coefficient survives selection?

A fixed-coordinate debiasing result targets βj0\beta_j^0 in the specified full linear model. A selected-model coefficient can be a different quantity. If selection retains a set SS, its population projection target is

βS=(XS⊤XS)−1XS⊤μ,μ=E[y∣X],\beta^S=(X_S^\top X_S)^{-1}X_S^\top\mu, \qquad \mu=\mathbb{E}[y\mid X],

assuming XSX_S has full column rank. Changing the controls changes this target. Neither coefficient is automatically causal.

Lee, Sun, Sun and Taylor, §§1–5, derive inference conditional on Lasso selection. With fixed design in general position, fixed penalty and Gaussian errors of known variance, conditioning on the selected variables and their signs describes a polyhedral event. Conditioning also on an appropriate orthogonal component yields a truncated Gaussian contrast, from which selection-adjusted intervals follow. The target and conditioning event must be specified. Estimated variance and data-chosen penalties require additional justification; the basic exact result does not cover them automatically.
Nor does a valid marginal interval remain valid after choosing the coordinate with the smallest p-value. As a separate multiplicity illustration, four independent true-null tests, each rejecting with probability 5%, have
P(at least one rejection)=1−0.954=0.18549375≈18.55%.\mathbb{P}(\text{at least one rejection}) =1-0.95^4=0.18549375\approx18.55\%.

This is not a simulation of debiased Lasso, and correlated factor tests need not satisfy the independence calculation. Simultaneous inference and false discovery rate control answer distinct error questions; neither follows from shrinkage correction alone.

In reporting a factor result, name the coefficient target, selection rule and error guarantee. Independent selection and inference samples offer another route under suitable sampling assumptions, at the cost of less data for inference. A chronological split in dependent returns does not by itself establish independence.

For the underlying shrinkage mechanism and correlated-predictor behaviour, see Ridge, Lasso, and Elastic Net (public preview; full lesson requires membership).

Sources

Last updated
  • debiased lasso
  • post selection inference
  • high dimensional regression
  • shrinkage
  • multiple testing
← Back to the glossaryBack to top ↑