Skip to content

Adaptive lasso

Adaptive lasso learns coefficient-specific L1 weights from a pilot fit. Work through weighted soft thresholding, tuning leakage and conditional oracle guarantees.

Adaptive lasso is a weighted version of Lasso regression whose coefficient penalties are determined by an initial, or pilot, estimate. A quant screening candidate return predictors can penalise small pilot coefficients more heavily while shrinking large ones less. The resulting feature selection remains conditional on the model and data; it does not identify economic causes.

A pilot changes the price of each coefficient

For centred data, let yy be the response vector and XX the predictor matrix. With a nonzero pilot coefficient β~j\widetilde\beta_j, set

wj=1∣β~j∣γ,γ>0,β^=arg min⁡β{12∥y−Xβ∥22+λ∑j=1pwj∣βj∣},λ≥0.w_j=\frac{1}{\lvert\widetilde\beta_j\rvert^\gamma}, \qquad \gamma>0, \qquad \widehat\beta =\operatorname*{arg\,min}_\beta \left\{\frac12\lVert y-X\beta\rVert_2^2 +\lambda\sum_{j=1}^p w_j\lvert\beta_j\rvert\right\}, \qquad\lambda\geq0.
The weights are fixed during this second fit. Its objective is convex. A separately fitted intercept is normally unpenalised. Zou (2006), §3.1.
This page uses unaveraged half squared error. If software instead uses ∥y−Xβ∥22/(2n)+α∑jwj∣βj∣\lVert y-X\beta\rVert_2^2/(2n)+\alpha\sum_jw_j\lvert\beta_j\rvert, the equivalent parameter is α=λ/n\alpha=\lambda/n, holding weights fixed. If the loss is the full squared error without the half, double this page's penalty parameter. Comparing numerical penalties without their loss convention is misleading.

A zero pilot needs an explicit policy: the reciprocal is undefined. Treating its weight as infinite at positive λ\lambda forces that coefficient to zero permanently. A positive floor such as wj=(∣β~j∣+ε)−γw_j=(\lvert\widetilde\beta_j\rvert+\varepsilon)^{-\gamma} avoids infinity but changes the estimator. A ridge pilot can reduce instability from collinearity; no pilot choice automatically supplies the original theorem's assumptions.

Two predictors, two thresholds

Consider a synthetic, dimensionless example with centred, mutually orthogonal, unit-norm predictor columns: X⊤X=IX^\top X=I. The ordinary least squares coefficients are z=X⊤y=(3,0.5)⊤z=X^\top y=(3,0.5)^\top. Supply an illustrative nonzero pilot (2,0.5)⊤(2,0.5)^\top, obtained without test outcomes. It is an input to this example, not the OLS fit just stated.

Take γ=1\gamma=1 and λ=1\lambda=1. The weights are (0.5,2)⊤(0.5,2)^\top. Expanding the squared error and dropping its constant leaves separate scalar objectives:

12(βj−zj)2+λwj∣βj∣.\frac12(\beta_j-z_j)^2+\lambda w_j\lvert\beta_j\rvert.

For a positive solution, differentiation gives βj=zj−λwj\beta_j=z_j-\lambda w_j; the negative branch is symmetric, and zero is optimal between the two thresholds. Thus

β^j=sgn⁡(zj)max⁡(∣zj∣−λwj,0).\widehat\beta_j =\operatorname{sgn}(z_j)\max(\lvert z_j\rvert-\lambda w_j,0).
PredictorOLS coefficientPilotWeightThresholdAdaptive estimate
1320.50.52.5
20.50.5220

Ordinary lasso with unit weights and the same loss and λ\lambda gives (2,0)⊤(2,0)^\top. Here adaptation reduces shrinkage of the first coefficient. It provides no evidence that this predictor forecasts better. With correlated columns, the scalar problems no longer separate; thresholding marginal OLS coefficients is not the adaptive-lasso solution.

Synthetic orthonormal-design coefficient paths. At penalty 1, adaptive weights 0.5 and 2 give coefficients 2.5 and 0; ordinary lasso gives 2 and 0. The coefficient panels use different vertical scales.
Synthetic orthonormal-design coefficient paths. At penalty 1, adaptive weights 0.5 and 2 give coefficients 2.5 and 0; ordinary lasso gives 2 and 0. The coefficient panels use different vertical scales.
Original illustrative calculation with fixed pilot coefficients (2, 0.5). Solid lines use adaptive weights; dashed lines use unit weights. These paths show shrinkage, not forecast performance.

What must stay inside training

The pilot is a learned step. In cross-validation, refit scaling, pilot estimation, weights and the weighted regression inside each training fold, including inner folds used to tune the procedure. A full-history pilot leaks held-out outcomes even if the second fit uses only training rows. This applies the official leakage guidance to the complete two-stage estimator. For return forecasts, preserve time order and use only labels available at the fit cutoff.

Document the feature scale for both stages. Under xj′=cxjx'_j=cx_j with c>0c>0, a scale-equivariant pilot transforms to β~j′=β~j/c\widetilde\beta'_j=\widetilde\beta_j/c. The penalty contribution then changes by cγ−1c^{\gamma-1}. The special case γ=1\gamma=1 is invariant under that ideal transformation; a ridge pilot or an absolute pilot floor can break it. Standardising from training data gives a reproducible convention, but does not make columns orthogonal.

“Oracle” is an asymptotic statement

Zou's Theorem 2 establishes consistent support recovery and oracle-limit coefficient variance in a fixed-dimensional linear model with iid zero-mean, finite-variance errors, a positive-definite limiting design Gram matrix, a root-nn consistent pilot and suitable tuning rates. Under this page's half-loss convention, the rates remain λn/n→0\lambda_n/\sqrt n\to0 and λnn(γ−1)/2→∞\lambda_n n^{(\gamma-1)/2}\to\infty.
Those conditions do not promise correct finite-sample selections, causal truth, or validity for an arbitrary high-dimensional or dependent-return problem. Prediction-based tuning alone does not certify them. Nor does adaptive weighting itself produce selection-adjusted confidence intervals; that is a separate post-selection inference problem.
For the ordinary-penalty foundation and correlated-predictor intuition, see Ridge, Lasso, and Elastic Net (public preview; full lesson requires membership).

Sources

Last updated
  • adaptive lasso
  • regularisation
  • feature selection
  • pilot estimation
  • validation
← Back to the glossaryBack to top ↑