Quiz: solving with ℓ1

Short questions to test your understanding. Try each on paper first, then open the answer. The problem is always \min \tfrac12\|A\mathbf x - \mathbf y\|^2 + λ\|\mathbf x\|_1.


Q1. Describe one ISTA iteration in words. Which part handles the data, which the penalty?

Two half-steps.

First a gradient (Landweber) step on the data misfit: predict the data with A\mathbf x, compare with \mathbf y, push the error back with A^\top and add τ times it. Then a soft threshold at τλ of every coefficient: the penalty’s own “denoising step” (its proximal step). Data: the gradient step; penalty: the threshold.


Q2. Why can’t plain gradient descent on the objective produce exact zeros, while ISTA can?

What is the slope of |x| at 0?

|x| has a kink at 0: no gradient there, and gradient steps would keep jumping across 0 without settling. ISTA solves the penalty part exactly with the soft threshold, which maps a whole interval [−τλ, τλ] to exactly 0.


Q3. A blur keeps the mean of the image, so its largest gain is 1. What step size τ is safe for ISTA? What happens with τ = 3?

τ ≤ 1/L with L the largest gain of AᵀA.

L = 1, so τ ≤ 1 is safe (the objective never increases). τ = 3 > 2/L: the iteration diverges, the error grows at the frequencies where the gain is large (the low ones).


Q4. ISTA and FISTA cost the same per iteration. What does FISTA do differently, and what does it gain?

Momentum.

It takes the next ISTA step from an extrapolated point, a bit beyond the current iterate in the direction of the last move (momentum). The error falls like 1/k² instead of 1/k: on the blurred spike example 121 instead of 993 iterations to reach 10⁻⁶. The objective is no longer guaranteed to decrease at every step.


Q5. In the two-unknown example, ISTA converges to (1.6, 0) and OMP gives (2, 0); the truth is (2, 0). Why the difference?

What does each method do to the coefficients it keeps?

Both find the support {1}. ℓ1 pays λ per unit of size, so the kept coefficient is shrunk (shrinkage bias). OMP refits the chosen atom by least squares, without any penalty, so it reaches the exact value when the data are noise-free.


Q6. When does OMP fail where ℓ1 may succeed?

Two blurred spikes close together.

When atoms are similar (high coherence), e.g. two close spikes under a blur: the atom halfway between them is more correlated with the data than either true atom, OMP picks it first and never removes it. ℓ1 optimises all coefficients jointly and can still find the pair (though it too fails if they are too close).


Q7. In inpainting, why does least squares leave the missing pixels unchanged from where you started?

What does A do to a change in a missing pixel?

The mask A ignores the missing pixels: changing them does not change A\mathbf x, so the misfit’s gradient there is 0. They form the null space of A; the data say nothing about them. Only a prior (here sparsity) can fill them.


Q8. Why can a wavelet ℓ1 prior fill thin scratches well but not a 16 × 16 hole?

Each wavelet atom is local.

Around a thin scratch, every atom overlapping it also covers many known pixels, which determine its coefficient; the sparse code then predicts the scratch. Inside a large hole, the fine-scale atoms see no known pixel at all: the sparsest choice is to set them to 0, leaving a smooth blur from the coarse atoms.


Q9. (math) Show that the soft threshold is the proximal operator of τλ|x|, i.e. it minimises \tfrac12(x - v)^2 + τλ|x|.

Treat x > 0, x < 0 and x = 0 separately.

For x > 0: derivative x - v + τλ = 0, x = v - τλ, valid if v > τλ. For x < 0: x = v + τλ, valid if v < -τλ. At x = 0: 0 is optimal iff 0 \in -v + τλ[-1, 1], i.e. |v| \le τλ. Together: x = \mathrm{sign}(v)\max(|v| - τλ, 0), the soft threshold at τλ.