Simple Algorithm
Machine Learning · Convergence · 30 min

Sparse Recovery Guarantees

When the lasso finds the truth: restricted eigenvalues and compressed sensing.

With 1,000 unknowns and only about 100 random measurements you can recover a vector exactly, provided it has just 10 nonzero entries, and the recovery is a linear program that never searches over supports. This lesson proves when the lasso and basis pursuit find the truth: restricted eigenvalues for accurate estimation, irrepresentability for selecting the right variables, the null space and restricted isometry properties for exact recovery, and the sharp phase transitions that random designs obey.

What you’ll learn

  • State the sparse regression problem with p≫np\gg n, explain why ℓ0\ell_0 search is out of reach, and identify the minimax rate σ2slog⁡(p/s)/n\sigma^2s\log(p/s)/n.
  • Prove that under a restricted eigenvalue condition the lasso's squared error is of order σ2slog⁡p/(κ2n)\sigma^2s\log p/(\kappa^2n), including the high-probability choice of λ\lambda.
  • Explain why selecting the right variables needs more than estimation: the irrepresentable condition, a minimum signal size, the primal–dual witness, and the 2slog⁡(p−s)2s\log(p-s) threshold.
  • Prove that the null space property characterizes exact recovery by basis pursuit, and sketch why random matrices satisfy the restricted isometry property with n≳slog⁡(p/s)n\gtrsim s\log(p/s).
  • Describe the phase transitions of ℓ1\ell_1 recovery and the main open problems: deterministic designs, computational barriers and inference.

Sparsity and the price of not knowing the support

Take y=Xw⋆+ε\mathbf y=X\mathbf w^\star+\boldsymbol\varepsilon with X∈Rn×pX\in\R^{n\times p}, p≫np\gg n, noise variance σ2\sigma^2, and an ss-sparse truth: w⋆\mathbf w^\star has support SS with ∣S∣=s≪n\abs S=s\ll n. Gene expression with 20,000 genes and 100 patients, or an image that is sparse in a wavelet basis, look like this.

An oracle who knew SS would run least squares on those ss columns and, for a well-conditioned design with XS⊤XS≈nIX_S^\top X_S\approx nI, get error E∥w^−w⋆∥2=σ2tr⁡(XS⊤XS)−1≈σ2s/n\E\norm{\hat{\mathbf w}-\mathbf w^\star}^2=\sigma^2\operatorname{tr}(X_S^\top X_S)^{-1}\approx\sigma^2s/n. Without the oracle, the direct approach, minimizing the error over all supports of size ss, is the ℓ0\ell_0 problem, NP-hard in general (Natarajan, 1995). Information theory sets the target: over all ss-sparse vectors the minimax rate of the squared error is of order σ2slog⁡(p/s)/n\sigma^2s\log(p/s)/n (Raskutti, Wainwright & Yu, 2011). The unknown support costs a factor log⁡(p/s)\log(p/s), roughly the number of nats per relevant feature needed to write down which ss of the pp features matter: log⁡(ps)≈slog⁡(p/s)\log\binom ps\approx s\log(p/s).

The remarkable fact is that the convex lasso, min⁡w12n∥y−Xw∥2+λ∥w∥1\min_{\mathbf w}\frac1{2n}\norm{\mathbf y-X\mathbf w}^2+\lambda\norm{\mathbf w}_1, nearly achieves this, up to replacing log⁡(p/s)\log(p/s) by log⁡p\log p, under conditions on XX. (This is the per-example scale of The Lasso & Sparsity and of the regpath widget; the sum-of-squares λ\lambda of Regularization: Ridge & Lasso is nn times larger.) Three different goals need three different conditions:

GoalGuaranteeCondition on XXTypical nn for Gaussian designs
Estimation∥w^−w⋆∥22≲σ2slog⁡p/n\norm{\hat{\mathbf w}-\mathbf w^\star}_2^2\lesssim\sigma^2s\log p/nrestricted eigenvaluen≳slog⁡pn\gtrsim s\log p
Selectionsign⁡(w^)=sign⁡(w⋆)\sign(\hat{\mathbf w})=\sign(\mathbf w^\star)irrepresentability plus a minimum signal sizen>2slog⁡(p−s)n>2s\log(p-s) (identity covariance)
Exact recovery (no noise)w^=w⋆\hat{\mathbf w}=\mathbf w^\star by basis pursuitnull space property, implied by RIPabout 2slog⁡(p/s)2s\log(p/s)
The three regimes of this lesson. Selecting the right variables needs a much stronger condition than estimating the coefficients well.

Estimation under restricted eigenvalues

With p>np>n the matrix X⊤X/nX^\top X/n is singular: the loss is flat along a subspace of dimension at least p−np-n, so there is no strong convexity at all. The key observation is that the lasso's error vector cannot point in most of those flat directions. It is confined to a cone around the true support, and curvature is only needed there.

DerivationProof
  1. 12n∥Xv∥2≤1nε⊤Xv+λ(∥w⋆∥1−∥w⋆+v∥1)\frac1{2n}\norm{X\mathbf v}^2\le\frac1n\boldsymbol\varepsilon^\top X\mathbf v+\lambda\big(\norm{\mathbf w^\star}_1-\norm{\mathbf w^\star+\mathbf v}_1\big)

    Let v=w^−w⋆\mathbf v=\hat{\mathbf w}-\mathbf w^\star, so y−Xw^=ε−Xv\mathbf y-X\hat{\mathbf w}=\boldsymbol\varepsilon-X\mathbf v. Since w^\hat{\mathbf w} minimizes the objective, its value is no larger than at w⋆\mathbf w^\star; expanding the square and cancelling 12n∥ε∥2\frac1{2n}\norm{\boldsymbol\varepsilon}^2 leaves the basic inequality:

  2. 12n∥Xv∥2≤λ2(∥vS∥1+∥vSc∥1)+λ(∥vS∥1−∥vSc∥1)=λ2(3∥vS∥1−∥vSc∥1)\frac1{2n}\norm{X\mathbf v}^2\le\frac\lambda2\big(\norm{\mathbf v_S}_1+\norm{\mathbf v_{S^c}}_1\big)+\lambda\big(\norm{\mathbf v_S}_1-\norm{\mathbf v_{S^c}}_1\big)=\frac\lambda2\big(3\norm{\mathbf v_S}_1-\norm{\mathbf v_{S^c}}_1\big)

    Control the noise term with Hölder's inequality and the choice of λ\lambda: 1nε⊤Xv≤∥X⊤ε/n∥∞∥v∥1≤λ2∥v∥1\frac1n\boldsymbol\varepsilon^\top X\mathbf v\le\norm{X^\top\boldsymbol\varepsilon/n}_\infty\norm{\mathbf v}_1\le\frac\lambda2\norm{\mathbf v}_1. For the penalty, w⋆\mathbf w^\star vanishes off SS, so ∥w⋆+v∥1≥∥w⋆∥1−∥vS∥1+∥vSc∥1\norm{\mathbf w^\star+\mathbf v}_1\ge\norm{\mathbf w^\star}_1-\norm{\mathbf v_S}_1+\norm{\mathbf v_{S^c}}_1. Together:

  3. 12n∥Xv∥2≤3λ2s ∥v∥2≤3λs2κ⋅∥Xv∥n\frac1{2n}\norm{X\mathbf v}^2\le\frac{3\lambda}2\sqrt s\,\norm{\mathbf v}_2\le\frac{3\lambda\sqrt s}{2\sqrt\kappa}\cdot\frac{\norm{X\mathbf v}}{\sqrt n}

    The left side is nonnegative, so ∥vSc∥1≤3∥vS∥1\norm{\mathbf v_{S^c}}_1\le3\norm{\mathbf v_S}_1: the error lies in the cone C(S)\mathcal C(S), where the restricted eigenvalue condition applies. Dropping the negative term and using ∥vS∥1≤s∥v∥2\norm{\mathbf v_S}_1\le\sqrt s\norm{\mathbf v}_2 and then ∥v∥2≤∥Xv∥/nκ\norm{\mathbf v}_2\le\norm{X\mathbf v}/\sqrt{n\kappa}:

  4. 1n∥Xv∥2≤9sλ2κ,∥v∥2≤∥Xv∥nκ≤3s λκ\frac1n\norm{X\mathbf v}^2\le\frac{9s\lambda^2}\kappa,\qquad\norm{\mathbf v}_2\le\frac{\norm{X\mathbf v}}{\sqrt{n\kappa}}\le\frac{3\sqrt s\,\lambda}{\kappa}

    Divide by ∥Xv∥/n\norm{X\mathbf v}/\sqrt n to get 1n∥Xv∥≤3λs/κ\frac1{\sqrt n}\norm{X\mathbf v}\le3\lambda\sqrt{s/\kappa}, which is the prediction bound; one more use of the restricted eigenvalue condition gives the estimation bound:

Choosing λ\lambda. With Gaussian noise and columns scaled to ∥xj∥2=n\norm{\mathbf x_j}^2=n, each 1nxj⊤ε\frac1n\mathbf x_j^\top\boldsymbol\varepsilon is N(0,σ2/n)\mathcal N(0,\sigma^2/n), and a union bound over the pp columns gives Pr⁡[∥X⊤ε/n∥∞>t]≤2p e−nt2/(2σ2)\Pr\big[\norm{X^\top\boldsymbol\varepsilon/n}_\infty>t\big]\le2p\,e^{-nt^2/(2\sigma^2)}. So λ=2σ2log⁡(2p/δ)/n\lambda=2\sigma\sqrt{2\log(2p/\delta)/n} satisfies the theorem's condition with probability at least 1−δ1-\delta, and then

∥w^−w⋆∥22≤72κ2⋅σ2slog⁡(2p/δ)n.\norm{\hat{\mathbf w}-\mathbf w^\star}_2^2\le\frac{72}{\kappa^2}\cdot\frac{\sigma^2s\log(2p/\delta)}n.

This is the oracle rate σ2s/n\sigma^2s/n times log⁡p\log p: up to the constant, the minimax rate with log⁡(p/s)\log(p/s) replaced by log⁡p\log p, reached with no search over supports.

When does RE hold? Certifying conditions of this kind for a given matrix is hard in general (for the restricted isometry and null space properties of step 4 it is provably NP-hard), but random designs satisfy RE with high probability: Gaussian rows with covariance Σ\Sigma satisfy RE with κ\kappa of the order of the smallest eigenvalue of Σ\Sigma once nn is a constant multiple of slog⁡ps\log p, even when the features are strongly correlated (Raskutti, Wainwright & Yu, 2010). Notice what the theorem does not need: any limit on how well irrelevant features correlate with relevant ones. Estimation tolerates such correlations; selection, next, does not.

Selection: irrepresentability

Accurate coefficients do not guarantee the right variables: a tiny nonzero on an irrelevant feature costs almost nothing in ℓ2\ell_2 error but is a false discovery. Sign recovery, sign⁡(w^)=sign⁡(w⋆)\sign(\hat{\mathbf w})=\sign(\mathbf w^\star), needs a condition on how irrelevant columns relate to relevant ones. Write XSX_S and XScX_{S^c} for the two groups of columns.

Think first Population example: y=x1+x2y=x_1+x_2 exactly, with x1,x2x_1,x_2 uncorrelated, and an irrelevant feature x3x_3 that has correlation 0.60.6 with each of them (all variances 1). Which feature enters the lasso first, and does the lasso ever select exactly {x1,x2}\{x_1,x_2\}?

Cov⁡(x3,y)=1.2\Cov(x_3,y)=1.2 and Var⁡(y)=2\Var(y)=2, so x3x_3 has correlation 1.2/2≈0.851.2/\sqrt2\approx0.85 with yy, more than x1x_1 and x2x_2 (1/2≈0.711/\sqrt2\approx0.71): the irrelevant feature enters first. The irrepresentable quantity is (0.6,0.6) I−1(1,1)⊤=1.2>1(0.6,0.6)\,I^{-1}(1,1)^\top=1.2>1, and indeed for every λ>0\lambda>0 the population lasso keeps x3x_3 active (its coefficient shrinks toward 0 only as λ→0\lambda\to0). No choice of λ\lambda selects the right model, although the estimates converge to the truth as λ→0\lambda\to0: estimation succeeds while selection fails.

DerivationThe primal–dual witness (Wainwright, 2009)
  1. λ z^Sc=1nXSc⊤(y−XSw^S)\lambda\,\hat{\mathbf z}_{S^c}=\tfrac1nX_{S^c}^\top\big(\mathbf y-X_S\hat{\mathbf w}_S\big)

    Solve the lasso restricted to SS, with w^Sc=0\hat{\mathbf w}_{S^c}=\mathbf 0, and let z^S\hat{\mathbf z}_S be its subgradient on SS. Define the would-be subgradient on ScS^c from the remaining KKT equations:

  2. z^Sc=XSc⊤XS(XS⊤XS)−1z^S⏟at most 1−γ by incoherence+XSc⊤(I−PS)εnλ⏟small if λ≳(σ/γ)log⁡p/n\hat{\mathbf z}_{S^c}=\underbrace{X_{S^c}^\top X_S(X_S^\top X_S)^{-1}\hat{\mathbf z}_S}_{\text{at most }1-\gamma\text{ by incoherence}}+\underbrace{\frac{X_{S^c}^\top(I-P_S)\boldsymbol\varepsilon}{n\lambda}}_{\text{small if }\lambda\gtrsim(\sigma/\gamma)\sqrt{\log p/n}}

    Substitute y=XSwS⋆+ε\mathbf y=X_S\mathbf w^\star_S+\boldsymbol\varepsilon and the restricted solution w^S−wS⋆=(XS⊤XS)−1(XS⊤ε−nλz^S)\hat{\mathbf w}_S-\mathbf w^\star_S=(X_S^\top X_S)^{-1}(X_S^\top\boldsymbol\varepsilon-n\lambda\hat{\mathbf z}_S), with PSP_S the projection onto the span of XSX_S:

  3. min⁡j∈S∣wj⋆∣≳λ⟹sign⁡(w^)=sign⁡(w⋆)\min_{j\in S}\abs{w^\star_j}\gtrsim\lambda\quad\Longrightarrow\quad\sign(\hat{\mathbf w})=\sign(\mathbf w^\star)

    If ∥z^Sc∥∞<1\norm{\hat{\mathbf z}_{S^c}}_\infty<1 (strict dual feasibility) and XS⊤XSX_S^\top X_S is invertible, the constructed pair satisfies all the KKT conditions, so it is the lasso solution, and it is unique: no false positives. If in addition every ∣wj⋆∣\abs{w^\star_j}, j∈Sj\in S, exceeds the restricted estimate's error (of order λ\lambda for a well-conditioned XSX_S), no true variable is lost and the signs are right:

Wainwright (2009) made this sharp for random designs. For XX with i.i.d. N(0,1)\mathcal N(0,1) entries, a suitable λ\lambda and nonzero coefficients that are not too small, the lasso recovers the signed support with probability tending to one when n>2(1+δ) slog⁡(p−s)n>2(1+\delta)\,s\log(p-s) and fails with probability tending to one when n<2(1−δ) slog⁡(p−s)n<2(1-\delta)\,s\log(p-s), for any fixed δ>0\delta>0. Selection is genuinely harder than estimation, and the λ\lambda that predicts best is typically too small for it.

Check your understanding

Which of these does the lasso need for consistent variable selection but not for the ℓ2\ell_2 error bound ∥w^−w⋆∥22≲σ2slog⁡p/(κ2n)\norm{\hat{\mathbf w}-\mathbf w^\star}_2^2\lesssim\sigma^2s\log p/(\kappa^2n)?

  1. A restricted eigenvalue condition
  2. Columns of comparable scale
  3. λ\lambda at least of order σlog⁡p/n\sigma\sqrt{\log p/n}
  4. Irrepresentability and a lower bound on the smallest nonzero ∣wj⋆∣\abs{w^\star_j}
Show the answer

D. Irrepresentability and a lower bound on the smallest nonzero ∣wj⋆∣\abs{w^\star_j}

The estimation bound needs only curvature on the cone (RE), standardized columns and a large enough λ\lambda. Selection additionally needs that irrelevant features are not too well explained by relevant ones (irrepresentability), and that true signals stand out from the estimation error (the minimum signal, or beta-min, condition).

Exact recovery: null space and restricted isometry

Compressed sensing removes the noise and asks for exact recovery: given y=Xw⋆\mathbf y=X\mathbf w^\star with n<pn<p and w⋆\mathbf w^\star ss-sparse, solve basis pursuit, min⁡∥w∥1\min\norm{\mathbf w}_1 subject to Xw=yX\mathbf w=\mathbf y, a linear program. Candès, Romberg & Tao (2006) and Donoho (2006) showed that this recovers sparse signals from far fewer measurements than unknowns, for instance a sparse signal from a small random subset of its Fourier coefficients.

DerivationProof
  1. ∥w⋆+v∥1=∥wT⋆+vT∥1+∥vTc∥1≥∥w⋆∥1−∥vT∥1+∥vTc∥1>∥w⋆∥1\norm{\mathbf w^\star+\mathbf v}_1=\norm{\mathbf w^\star_T+\mathbf v_T}_1+\norm{\mathbf v_{T^c}}_1\ge\norm{\mathbf w^\star}_1-\norm{\mathbf v_T}_1+\norm{\mathbf v_{T^c}}_1>\norm{\mathbf w^\star}_1

    Sufficiency. Every other feasible point is w⋆+v\mathbf w^\star+\mathbf v with v∈ker⁡X∖{0}\mathbf v\in\ker X\setminus\{\mathbf 0\}. With T=supp⁡(w⋆)T=\supp(\mathbf w^\star), the triangle inequality on TT and the null space property give

  2. Xw′=−XvTc=XvT=Xw⋆,∥w′∥1=∥vTc∥1≤∥vT∥1=∥w⋆∥1X\mathbf w'=-X\mathbf v_{T^c}=X\mathbf v_T=X\mathbf w^\star,\qquad\norm{\mathbf w'}_1=\norm{\mathbf v_{T^c}}_1\le\norm{\mathbf v_T}_1=\norm{\mathbf w^\star}_1

    Necessity. If the property fails for some nonzero v∈ker⁡X\mathbf v\in\ker X and some TT with ∣T∣≤s\abs T\le s, then w⋆=vT\mathbf w^\star=\mathbf v_T is ss-sparse, w′=−vTc\mathbf w'=-\mathbf v_{T^c} is feasible because Xv=0X\mathbf v=\mathbf 0, and w′\mathbf w' has ℓ1\ell_1 norm no larger. So w⋆\mathbf w^\star is not the unique solution:

The null space property is hard to check directly, so the theory works with a stronger, more quantitative condition. With columns scaled so that E∥Xv∥2=∥v∥2\E\norm{X\mathbf v}^2=\norm{\mathbf v}^2 (for example entries N(0,1/n)\mathcal N(0,1/n)), the restricted isometry constant δs\delta_s is the smallest δ\delta with

(1−δ)∥v∥2≤∥Xv∥2≤(1+δ)∥v∥2for every s-sparse v(1-\delta)\norm{\mathbf v}^2\le\norm{X\mathbf v}^2\le(1+\delta)\norm{\mathbf v}^2\quad\text{for every }s\text{-sparse }\mathbf v

(Candès & Tao, 2005): every set of ss columns is nearly orthonormal. If δ2s<2−1\delta_{2s}<\sqrt2-1, basis pursuit recovers every ss-sparse vector exactly, and with noise or approximate sparsity its ℓ2\ell_2 error is at most a constant times the noise level plus a constant times s−1/2s^{-1/2} times the ℓ1\ell_1 error of the best ss-term approximation (Candès, 2008).

Random matrices satisfy RIP. For a fixed unit vector v\mathbf v, ∥Xv∥2\norm{X\mathbf v}^2 is an average of nn independent squared Gaussians and concentrates: Pr⁡[∣∥Xv∥2−1∣>t]≤2e−cnt2\Pr\big[\abs{\norm{X\mathbf v}^2-1}>t\big]\le2e^{-cnt^2} for small tt. An ε\varepsilon-net of the unit sphere of one ss-dimensional coordinate subspace has at most (1+2/ε)s(1+2/\varepsilon)^s points, and there are (ps)≤(ep/s)s\binom ps\le(ep/s)^s such subspaces. A union bound over all net points, followed by the standard extension from a net to the whole sphere, gives δs≤δ\delta_s\le\delta with probability at least 1−2e−c′δ2n1-2e^{-c'\delta^2n} as soon as

n ≥ C δ−2 slog⁡(ep/s),n\ \ge\ C\,\delta^{-2}\,s\log(ep/s),

the argument of Baraniuk, Davenport, DeVore & Wakin (2008), which links RIP to the Johnson–Lindenstrauss lemma. No method can do better than order slog⁡(p/s)s\log(p/s) measurements for stable recovery, so random matrices are near optimal.

Phase transitions

For Gaussian measurement matrices the bounds above are not just upper bounds with loose constants: success and failure are separated by a sharp curve. Let n,p,s→∞n,p,s\to\infty with δ=n/p\delta=n/p and ρ=s/n\rho=s/n fixed. Donoho & Tanner (2009) showed, by counting the faces of randomly projected cross-polytopes, that basis pursuit succeeds for most ss-sparse vectors with probability tending to one when ρ<ρW(δ)\rho<\rho_W(\delta) and fails when ρ>ρW(δ)\rho>\rho_W(\delta), where for strong undersampling

ρW(δ)∼12log⁡(1/δ)(δ→0),that isn≈2slog⁡(p/n).\rho_W(\delta)\sim\frac1{2\log(1/\delta)}\quad(\delta\to0),\qquad\text{that is}\qquad n\approx2s\log(p/n).

They also observed that the same curve appears for many non-Gaussian random matrices.

Amelunxen, Lotz, McCoy & Tropp (2014) explained such transitions for every convex regularizer: with nn Gaussian measurements, recovery fails with high probability when nn is below the statistical dimension of the regularizer's descent cone at w⋆\mathbf w^\star by more than order p\sqrt p, and succeeds when nn is above it by that much. For the ℓ1\ell_1 norm at an ss-sparse vector, Chandrasekaran, Recht, Parrilo & Willsky (2012) bounded the relevant Gaussian width so that 2slog⁡(p/s)+54s+12s\log(p/s)+\tfrac54s+1 measurements suffice.

Predict before you look

A signal of length p=1000p=1000 has s=10s=10 nonzero entries. How many Gaussian measurements does the bound 2sln⁡(p/s)+54s+12s\ln(p/s)+\tfrac54s+1 call for?

Show the answer

106 measurements

2⋅10⋅ln⁡100=92.12\cdot10\cdot\ln100=92.1, plus 12.5+112.5+1: about 106, roughly a tenth of the signal length, ten times the number of nonzeros, and far fewer than the 1,000 unknowns. For comparison, the noisy support-recovery threshold 2sln⁡(p−s)2s\ln(p-s) of the selection step is about 138, and the oracle that knew the support would need only s=10s=10.

Key takeaways

  • With ss-sparse truth and p≫np\gg n, the oracle rate is σ2s/n\sigma^2s/n, the minimax rate σ2slog⁡(p/s)/n\sigma^2s\log(p/s)/n, and the ℓ0\ell_0 search is NP-hard in general; the lasso comes within a logarithm by convex optimization.
  • Restricted eigenvalue condition plus λ≥2∥X⊤ε∥∞/n\lambda\ge2\norm{X^\top\boldsymbol\varepsilon}_\infty/n: the error lies in a cone and ∥w^−w⋆∥2≤3sλ/κ\norm{\hat{\mathbf w}-\mathbf w^\star}_2\le3\sqrt s\lambda/\kappa, which is of order σslog⁡p/n/κ\sigma\sqrt{s\log p/n}/\kappa with high probability.
  • Selection needs more: irrepresentability (irrelevant features not explained by relevant ones) and a minimum signal size; for designs with i.i.d. standard Gaussian entries the threshold is n≈2slog⁡(p−s)n\approx2s\log(p-s). Correlated irrelevant features can enter first and never leave.
  • Basis pursuit recovers every ss-sparse vector iff the null space property holds; RIP with δ2s<2−1\delta_{2s}<\sqrt2-1 implies it, and Gaussian matrices have RIP once n≳slog⁡(p/s)n\gtrsim s\log(p/s).
  • Recovery shows sharp phase transitions at the statistical dimension of the descent cone, about 2slog⁡(p/s)2s\log(p/s) for very sparse vectors; constructing or certifying good designs deterministically remains open.

Check yourself

In the interactive lesson these are scored with your confidence, and what you miss comes back for review.

Question 1

Why does the lasso's error analysis need curvature only on the cone {∥vSc∥1≤3∥vS∥1}\{\norm{\mathbf v_{S^c}}_1\le3\norm{\mathbf v_S}_1\} rather than on all of Rp\R^p?

  1. Because X⊤X/nX^\top X/n is positive definite when p>np>n
  2. Because with λ≥2∥X⊤ε∥∞/n\lambda\ge2\norm{X^\top\boldsymbol\varepsilon}_\infty/n the basic inequality forces the error vector into that cone
  3. Because the lasso solution always has exactly ss nonzeros
  4. Because the noise is Gaussian
Show the answer

B. Because with λ≥2∥X⊤ε∥∞/n\lambda\ge2\norm{X^\top\boldsymbol\varepsilon}_\infty/n the basic inequality forces the error vector into that cone

The basic inequality gives 0≤12n∥Xv∥2≤λ2(3∥vS∥1−∥vSc∥1)0\le\frac1{2n}\norm{X\mathbf v}^2\le\frac\lambda2(3\norm{\mathbf v_S}_1-\norm{\mathbf v_{S^c}}_1), so the error cannot put more than three times its on-support ℓ1\ell_1 mass off the support. Curvature in the flat directions far from the support is never needed.

Question 2

Under a restricted eigenvalue condition with λ≍σlog⁡p/n\lambda\asymp\sigma\sqrt{\log p/n}, how does the lasso's squared ℓ2\ell_2 error scale?

  1. σ2p/n\sigma^2p/n
  2. σ2s/n\sigma^2s/n
  3. σ2slog⁡p/(κ2n)\sigma^2s\log p/(\kappa^2n)
  4. σ2s/n\sigma^2\sqrt{s/n}
Show the answer

C. σ2slog⁡p/(κ2n)\sigma^2s\log p/(\kappa^2n)

∥w^−w⋆∥2≤9sλ2/κ2\norm{\hat{\mathbf w}-\mathbf w^\star}^2\le9s\lambda^2/\kappa^2 with λ2≍σ2log⁡p/n\lambda^2\asymp\sigma^2\log p/n. That is the oracle rate σ2s/n\sigma^2s/n times a log⁡p\log p for not knowing the support, and it does not grow with pp beyond the logarithm.

Question 3

What does the null space property of order ss guarantee?

  1. That every ss-sparse vector is the unique solution of basis pursuit from its own measurements
  2. That the lasso selects the right support in the presence of noise
  3. That X⊤XX^\top X is invertible
  4. That XX has orthonormal columns
Show the answer

A. That every ss-sparse vector is the unique solution of basis pursuit from its own measurements

It is equivalent to exact recovery of all ss-sparse vectors by ℓ1\ell_1 minimization in the noiseless setting. It says nothing directly about noisy selection, and it is compatible with n<pn<p, where X⊤XX^\top X is always singular.

Further reading

  • P. J. Bickel, Y. Ritov & A. B. Tsybakov, "Simultaneous analysis of Lasso and Dantzig selector," Annals of Statistics 37(4), 1705–1732 (2009).
  • P. Zhao & B. Yu, "On model selection consistency of Lasso," Journal of Machine Learning Research 7, 2541–2563 (2006).
  • M. J. Wainwright, "Sharp thresholds for high-dimensional and noisy sparsity recovery using ℓ1-constrained quadratic programming (Lasso)," IEEE Transactions on Information Theory 55(5), 2183–2202 (2009).
  • D. L. Donoho, "Compressed sensing," IEEE Transactions on Information Theory 52(4), 1289–1306 (2006).
  • M. J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint (Cambridge University Press, 2019), chapter 7.