Elamur Research

NESTA: A Fast and Accurate First-Order Method for Sparse Recovery

Paper · 2011 · Stephen Becker, Jérôme Bobin and Emmanuel J. Candès

Summary

A reconstruction can recover the strongest parts of a signal and still miss the part someone took the measurements to find. This is a problem when a weak component sits near the noise floor and much larger components dominate the same observations. Becker, Bobin, and Candès introduce NESTA, a first-order optimization method for recovering signals from incomplete or noisy linear measurements. Its main formulation looks for the smallest sum of absolute coefficients among signals that fit the measurements within a specified tolerance. The tolerance can be chosen using an estimate of the measurement noise.

The sum of absolute values has a sharp corner at zero, so ordinary smooth optimization cannot be applied to it directly. NESTA replaces it with a smooth approximation and uses an accelerated method developed by Nesterov. Each iteration combines a feasible step based on the latest gradient with a feasible step informed by the gradients accumulated so far. When the measurements are selected coefficients of a fast orthogonal transform, such as a discrete cosine transform, a change of coordinates makes the feasibility steps inexpensive. A further technique called continuation solves a sequence of problems, starting with a heavily smoothed objective and using each result to initialize the next, more accurate problem.

The experiments distinguish accuracy in the objective from accuracy in individual coefficients. In a sparse reconstruction with a known optimum and about 100 dB of dynamic range, NESTA had a largest absolute coefficient error of 0.08 after 513 calls to the measurement operator or its adjoint. FISTA, run as an accuracy reference, had a largest error of 0.31 after 40,000 calls and a smaller relative error in the objective. In a separate test on approximately sparse signals made from permuted image wavelet coefficients, NESTA with continuation averaged 2667 operator calls under the first stopping rule. The same method without continuation averaged 18,912. SPGL1 and Bregman-BB reached that rule in fewer calls than either NESTA variant with the exception of each other, and SPGL1 had a larger reported mean relative objective error.

The same framework also handles penalties on transformed coefficients and on image variation. In a simulated mixture of strong and weak signals, a penalty applied to time-frequency analysis coefficients recovered weak frequency components more visibly than a synthesis formulation using the same family of waveforms. In image tests from partial Fourier measurements, NESTA with continuation remained effective as the contrast between squares increased. The paper demonstrates these advantages on structured measurement operators and illustrates why continuation matters most when the signal contains widely separated amplitudes or when the requested optimization accuracy calls for very little smoothing.

Deep dive: NESTA: A Fast and Accurate First-Order Method for Sparse Recovery

NESTA uses smoothing, accelerated gradients, and continuation to recover weak signal components from incomplete, noisy measurements. · about 38 minutes to read

The problem and its context

Recovering a signal with information missing

In the setting studied by the paper, each measurement is a known linear combination of the entries of an unknown signal. The measurement operator maps the full signal to a shorter vector. Noise then perturbs that vector. Because there are fewer measurements than unknowns, many candidate signals can agree equally well with the observations. The reconstruction needs a rule for choosing among them.

Compressed sensing supplies such a rule by exploiting sparsity. A sparse signal has relatively few non-zero entries in a useful representation. For an approximately sparse, or compressible, signal, a comparatively small set of large coefficients carries much of the information, while many smaller coefficients remain. A measurement system can exploit this structure during reconstruction even when it collects a fixed set of measurements without adapting to the signal. The paper places this approach in the line of work represented by Robust uncertainty principles: exact signal reconstruction from highly incomplete frequency information and Near-Optimal Signal Recovery From Random Projections: Universal Encoding Strategies?.

The reconstruction rule depends on the representation. If the unknown vector itself is expected to be sparse, the paper penalizes the sum of the magnitudes of its entries, called the ℓ₁ norm. If an image is expected to consist largely of regions with almost constant intensity, total variation provides another choice. It adds up the sizes of local changes, so an image can have a great many non-zero pixels and still have a relatively small penalty. A separate choice applies when a signal is expected to have a simple description in waveforms such as wavelets or localized sinusoids. The regularizer can act on the coefficients obtained by analyzing the signal with those waveforms.

The authors treat the discrepancy between predicted and recorded measurements as a constraint. Its upper bound expresses how much mismatch can be attributed to noise. This lets the person specifying the reconstruction work in the units of the observations. A familiar alternative adds a squared measurement error to the sparsity penalty and chooses a weight that balances them. A further alternative puts an upper limit on the sparsity penalty and minimizes the measurement error. Corresponding parameter choices can make the formulations yield the same solution. The paper emphasizes that finding those parameter choices is generally a separate problem.

Why a small coefficient is a demanding target

The authors motivate high accuracy with a measurement device that must identify a faint component in the presence of strong interference. They consider amplitudes of order 1 alongside components about 100 dB below them, with magnitudes about 10⁻⁵. In that example, the useful part of the reconstruction is at a scale where the authors say at least five digits of precision are needed. An estimate that captures the overall shape of the signal can still conceal those components in its errors.

There are two tasks here. Recovering the physical signal requires the data and the regularizer to identify it accurately enough. Solving the optimization problem requires the algorithm to get close to the best feasible point under that regularizer. Better optimization addresses the second task. It can prevent computational error from obscuring a weak component that the data and the chosen penalty could otherwise recover. Measurement noise and the choice of representation still affect what the optimizer can recover from the observations.

Approximate sparsity creates another difficulty. With exact sparsity, a procedure may identify a set of non-zero entries and then concentrate its calculations there. With a compressible signal, the distinction between a small meaningful coefficient and a coefficient that can be discarded becomes less sharp. The paper regards this as an important case because realistic signals can contain many such entries. High dynamic range and approximate sparsity therefore motivate different tests. One varies the contrast among genuine nonzeros, while the other asks how the solver handles a long distribution of small coefficients.

The computational choices available at the time

The paper describes interior-point methods as a route to accurate solutions on problems where the linear algebra is affordable. Their Newton steps involve solving systems of equations. When the unknown is as large as a digital image, the cost of these systems can outweigh the benefit of taking fewer, more complex steps. Even methods that accelerate the system solves with preconditioned conjugate gradients still have to perform the solves.

First-order methods offer cheaper iterations. Earlier work described in the paper includes iterative thresholding, projection, and fixed-point methods. They repeatedly use operations such as multiplying by the measurement operator, applying its adjoint, or shrinking coefficients towards zero. This makes them attractive when the operator is available as a fast transform. A cheap iteration can nonetheless lead to an expensive solution when high precision requires many repetitions.

Nesterov's work supplied the two ingredients behind NESTA. His smooth optimization method used a weighted history of gradients in addition to the current gradient. His smoothing technique provided a way to apply this acceleration when the objective had corners but could be written as a structured maximization. Other work had already adapted related ideas to particular signal and image problems, including ℓ₁-penalized least squares. NESTA applies the framework directly to recovery with an explicit measurement tolerance. The implementation takes particular advantage of an operator whose rows are orthonormal, a structure that arises when the measurements select part of an orthogonal transform.

The method, step by step

From observations to a feasible set

The inputs are the observations, the operator that produced them, a discrepancy tolerance, and a reconstruction penalty. In the main experiments the authors generate observations from synthetic signals or from signals built using image coefficients. The optimization procedure itself receives the observations and the operator. The known signal, where available, serves to construct or interpret the experiment.

b = A x₀ + z

Here b is the vector of observations, A is the measurement operator, x₀ is the underlying signal, and z is additive noise. A maps an n-entry signal to m measurements, where n is the number of unknowns and m is the number of observations. The paper also uses a subscript zero for certain algorithmic starting points. Below, c denotes the center used to initialize a solve, so it stays distinct from the unknown x₀.

The reconstruction searches over every signal whose predicted observations lie within the allowed distance of b. For ordinary sparse recovery, the objective on that set is the sum of absolute signal coefficients.

minimize ‖x‖₁ subject to ‖b − Ax‖₂ ≤ ϵ

Here x is a candidate signal, A and b are the measurement operator and vector, and ϵ is the tolerance. The notation ‖x‖₁ means the sum of the absolute values of the entries of x. The notation ‖b − Ax‖₂ means the Euclidean length of the residual, the vector of differences between observed and predicted measurements. The paper interprets ϵ² as an estimated upper bound on noise power.

Qₚ = {x : ‖b − Ax‖₂ ≤ ϵ}

Here Qₚ is the primal feasible set, meaning the set of acceptable candidates x. The symbols b, A, and ϵ have their measurement meanings, and ‖·‖₂ denotes Euclidean length. The colon inside the braces means that membership requires the inequality to hold. The feasible set is convex. In particular, averaging two feasible candidates gives another feasible candidate, a property the algorithm uses when it combines its updates.

The paper compares this problem with a penalized least-squares formulation.

minimize λ‖x‖₁ + (1/2)‖b − Ax‖₂²

Here x is the variable, λ is the weight on the ℓ₁ norm, and b − Ax is the measurement residual. The factor 1/2 multiplies the squared Euclidean residual. This formulation is called basis pursuit denoising in the paper. Its objective allows a larger residual if the savings in the sparsity penalty are sufficient.

The constrained least-squares formulation, called the lasso in the paper, puts the budget on the other quantity.

minimize ‖b − Ax‖₂ subject to ‖x‖₁ ≤ τ

Here x, b, and A have their previous meanings, and τ is an upper bound on the sum of the absolute coefficients. The bounds τ and ϵ and the weight λ describe different inputs. Their correspondence depends on the problem instance. That dependence matters in the experiments because some of the compared programs accept λ directly, while NESTA accepts ϵ.

Smoothing the objective

An absolute value has a constant slope on either side of zero and a change of slope at zero. NESTA builds a smooth approximation by expressing the penalty as a maximization over another vector. To see the meaning of that maximization, imagine choosing one multiplier for each coefficient. If every multiplier is allowed to range from −1 to 1, the largest product comes from choosing the sign that makes the product non-negative and giving the multiplier unit magnitude. Summing these products recovers the ℓ₁ norm.

The paper uses a more general expression so the same argument can cover penalties applied to transformed coefficients or image differences.

f(x) = maxᵤ∈Q𝒹 ⟨u, Wx⟩

Here f is the original penalty, x is the candidate signal, W is a linear operator, and Wx is the vector to which the penalty applies. The vector u is the auxiliary, or dual, variable. Q𝒹 is the convex set of admissible dual variables, and ⟨·,·⟩ denotes an inner product. For the ℓ₁ norm of x itself, W is the identity and Q𝒹 consists of vectors with maximum absolute entry at most 1. Maximizing over u evaluates the penalty. The reconstruction still minimizes over x in Qₚ.

Smoothing adds a cost for large dual variables. With a strictly curved cost, the maximization selects a unique dual vector even where the original penalty has a corner. Consequently, small changes in the candidate signal give a more gradual change in the gradient used to update it.

fᵤₘ(x) = maxᵤ∈Q𝒹 [⟨u, Wx⟩ − μ p𝒹(u)]

Here fᵤₘ denotes the approximation at smoothing level μ. The vector x is the candidate, W is the penalty operator, and u ranges over Q𝒹 as before. The function p𝒹 is the dual prox function, a continuous, strongly convex penalty with minimum value zero on the dual set. Strong convexity means it has a uniform amount of curvature, measured by a constant σ𝒹. The positive number μ controls how much this penalty influences the maximizing u.

The gradient of the smoothed function follows from the maximizing dual vector.

∇fᵤₘ(x) = W* uᵤₘ(x)

Here ∇ denotes the gradient with respect to x, W* is the adjoint of W, and uᵤₘ(x) is the maximizer in the smoothed dual problem at x. The adjoint transfers the dual vector back to the coordinates of the original signal. For a real matrix the adjoint is its transpose. Once the maximizing vector is known, the formula gives the direction and magnitude of change in the smooth objective.

The gradient has a bound on how abruptly it can change.

Lᵤₘ = ‖W‖²/(μσ𝒹)

Here Lᵤₘ is the Lipschitz constant used for the gradient, ‖W‖ is the operator norm of W, μ is the smoothing level, and σ𝒹 is the strong convexity constant of p𝒹. The Lipschitz bound says that the Euclidean distance between two gradients is at most Lᵤₘ times the distance between the corresponding input vectors. A larger Lᵤₘ calls for a more conservative gradient step. For constant W and p𝒹, reducing μ increases Lᵤₘ even as it improves the approximation to the original objective.

For the ordinary ℓ₁ norm, the authors choose a dual prox function equal to half the squared Euclidean length of u. Its strong convexity constant is 1. The auxiliary maximization can then be solved independently in each coordinate, yielding the gradient of a Huber function.

∇fᵤₘ(x)[i] = x[i]/μ if |x[i]| < μ, and sgn(x[i]) otherwise

Here i is a coordinate index, x[i] is the corresponding coefficient, and ∇fᵤₘ(x)[i] is that coordinate of the gradient. The bars denote absolute value, μ is the smoothing level, and sgn returns the sign of its argument. Inside the threshold the gradient rises linearly. At and beyond the threshold it has the slope of the original absolute value. Hence the approximation treats coefficients near zero differently from large coefficients, with μ determining the width of the region where the slopes change gradually.

Moving with the latest gradient and its history

The smooth objective now permits a gradient step, but the point produced by that step may violate the discrepancy bound. NESTA projects the point onto the feasible set, meaning that it finds the feasible point at the smallest Euclidean distance. The method also constructs a second projected point from a weighted sum of all the gradients computed during the current solve. It blends the two projected points to obtain the next gradient evaluation point.

One NESTA solve and its continuation stages

The steps in order.

One NESTA solve and its continuation stagesStep 1: Initialize the signal estimate and smoothing level1. Initialize the signal estimate and smoothing levelStep 2: Evaluate the gradient of the smoothed penalty2. Evaluate the gradient of the smoothed penaltyStep 3: Project a step using the latest gradient3. Project a step using the latest gradientStep 4: Project a step using accumulated gradients4. Project a step using accumulated gradientsStep 5: Blend the projected points for the next iterate5. Blend the projected points for the next iterateStep 6: Repeat until the stage stopping test passes6. Repeat until the stage stopping test passesStep 7: Recenter and reduce smoothing for the next stage7. Recenter and reduce smoothing for the next stageStep 8: Return the estimate at the target smoothing level8. Return the estimate at the target smoothing level

The first projected point minimizes a simple quadratic approximation built at the current iterate. The linear part comes from the gradient. The quadratic part grows with distance from the current iterate, at a rate set by Lᵤₘ. Completing the square gives the projected-step interpretation.

yₖ = P_Qₚ(xₖ − ∇fᵤₘ(xₖ)/Lᵤₘ)

Here k is the iteration index, xₖ is the current point, and yₖ is the resulting estimate. P_Qₚ maps a point to its Euclidean projection onto Qₚ. The gradient ∇fᵤₘ(xₖ) gives the local direction of increase, so the unprojected move subtracts it after division by the Lipschitz constant Lᵤₘ. Projection then restores feasibility if the move has left Qₚ.

The other projected point starts from c, the reference point at the center of the primal prox function. The paper uses half the squared Euclidean distance to c as this function. Its curvature is 1, and its minimum is zero at c. That geometry gives the second update the same projection as the first, with a different input.

zₖ = P_Qₚ(c − (1/Lᵤₘ) Σᵢ₌₀ᵏ αᵢ ∇fᵤₘ(xᵢ))

Here zₖ is the point computed using the gradient history, c is the primal prox center, and P_Qₚ is the same feasible-set projection. The sum Σ runs from iteration i = 0 to the current iteration k. The symbol αᵢ is the weight given to the gradient at xᵢ and Lᵤₘ is the Lipschitz constant for the current solve. Each gradient can be added to a single running vector when it is computed. The construction does not require a separate copy of every earlier gradient.

The authors use the weights from Nesterov's method.

αₖ = (k + 1)/2

Here αₖ is the weight assigned to the gradient calculated at iteration k, with the iteration index starting at 0.

τₖ = 2/(k + 3)

Here τₖ is the mixing weight used after the projected points at iteration k have been computed. As k increases, the contribution of zₖ to the next gradient evaluation point decreases. The weights inside the cumulative gradient and the weights in the blend perform distinct jobs.

xₖ₊₁ = τₖ zₖ + (1 − τₖ)yₖ

Here xₖ₊₁ is the next gradient evaluation point, yₖ uses the latest gradient, and zₖ uses the cumulative gradient. The weights τₖ and 1 − τₖ are non-negative and sum to 1. Because the feasible set is convex, the next evaluation point is feasible whenever the two points being blended are feasible.

The paper gives a bound at a continuation stage that makes the roles of smoothing and initialization explicit.

fᵤₘ(yₖ) − fᵤₘ(xᵤₘ*) ≤ 2Lᵤₘ‖xᵤₘ* − c‖₂²/k²

Here fᵤₘ is the objective at the stage's fixed smoothing level, xᵤₘ* is an optimum of that smoothed problem, and yₖ is the current estimate. The symbols Lᵤₘ and c denote the gradient Lipschitz constant and the stage's prox center. The squared Euclidean distance measures how far the center lies from the optimum, and k is the iteration count in this bound. The paper contrasts the inverse-square decline with the inverse-iteration behavior of the ordinary gradient update it discusses. For the smoothed approach to the original nonsmooth problem, it gives an iteration scale of O(1/ε) when smoothing is chosen on the scale of the target objective error ε, compared with O(1/ε²) for the subgradient method. Those orders describe optimization effort as the accuracy target changes.

Why partial orthogonal measurements make projection cheap

The method needs to project two points onto Qₚ each iteration. A generic projection onto the residual constraint can involve a linear system. The principal case in the paper is simpler because the rows of A are orthonormal. In that case A* A is itself an orthogonal projector. It isolates the part of a signal that the measurements observe. The remaining part can be changed without affecting the data.

A useful way to read the projection formulas is to consider the residual of the point being projected. If the residual already fits within the tolerance, the point is feasible and the projection keeps it. If the residual is too large, the measured component moves toward agreement with the data until the residual has the allowed length. The unmeasured component is preserved. For a positive tolerance, the algebra can be written as follows.

P_Qₚ(q) = q + max(0, 1 − ϵ/‖b − Aq‖₂) A*(b − Aq)

Here q is the point to project, b − Aq is its measurement residual, and A* is the adjoint that maps that residual into signal coordinates. The number ϵ is the permitted residual length, and the maximum with 0 clips the correction to zero for feasible points. When the residual is zero the projection is simply q, without evaluating the quotient. This form restates the orthonormal-row projection in terms of its effect on the residual. It applies to either unprojected step.

The authors count the cost of these updates in applications of A and A*. If C_A is the cost of applying either operator, their direct implementation has a per-iteration cost of 6 C_A + O(n). Here n is the signal dimension and O(n) accounts for vector operations. The adjoint applied to b can be computed once and reused. This plan avoids a matrix inverse, but there is a further saving when A selects rows of a unitary transform.

A = RU

Here U is the full unitary transform, R is the operator that keeps the sampled coordinates, and A is the resulting partial transform. A discrete cosine transform is the choice in the principal sparse-vector tests. The paper also discusses Fourier, Hadamard, and noiselet transforms as examples of structured orthogonal measurements.

In transform coordinates the constraint depends on R alone. Projection therefore requires reading or updating the sampled entries, with the identity of those entries given by the sampling pattern. The full transform appears in the gradient evaluation because the original penalty still refers to the original signal coordinates.

∇f̂ᵤₘ(v) = U ∇fᵤₘ(U*v)

Here v is the candidate in transform coordinates and f̂ᵤₘ denotes the original smoothed objective evaluated at Uv. The adjoint U maps v back to the signal domain, ∇fᵤₘ evaluates the gradient there, and U expresses that gradient in the working coordinates. If C_U is the cost of applying the full transform or its adjoint, the paper gives the new per-iteration cost as 2 C_U + O(n). In the partial Fourier example, the dominant work is essentially two fast Fourier transforms.

Choosing when to stop and how much to smooth

The stopping rule compares the current value of the smooth objective with an average from recent iterations. Averaging provides a reference across several points on an accelerated trajectory. The rule uses up to 10 preceding values, with a shorter average at the beginning.

f̄ᵤₘ(xₖ) = [1/min{10, k}] Σₗ₌₁^min{10,k} fᵤₘ(xₖ₋ₗ)

Here f̄ᵤₘ(xₖ) is the running reference value at iteration k, fᵤₘ is the current smoothed objective, and l indexes the preceding iterates. The minimum with 10 gives the number included in the average. The formula is used once preceding objective values are available.

Δfᵤₘ = |fᵤₘ(xₖ) − f̄ᵤₘ(xₖ)|/f̄ᵤₘ(xₖ)

Here Δfᵤₘ is the relative discrepancy between the latest smoothed objective value and its recent average. The bars take the absolute difference, and the denominator expresses it relative to the size of that average. The algorithm stops a stage when this quantity is below the selected tolerance δ. This tolerance controls how long to work on the current approximation. The measurement tolerance ϵ controls which signals are feasible, and μ controls how closely the objective represents the original penalty.

Continuation lets the algorithm use different values of μ over the course of a reconstruction. A large initial μ permits relatively large steps. The solution at that stage serves as a coarse estimate and becomes the prox center for the next stage. Smaller μ values progressively sharpen the objective, and the last solve uses the target μ. This warm start changes the starting point as well as the distance term in the convergence bound.

μₜ = γᵗ μ₀

Here t indexes the continuation stage, μ₀ is the initial smoothing value, and γ is the reduction factor, chosen below 1. The authors choose it to reach the desired final smoothing after T stages, where T is the number of stages. For the main sparse-vector comparisons, the starting estimate is Ab and μ₀ is its largest absolute coefficient. With orthonormal rows, Ab gives a feasible starting point because applying A to it reproduces b. The early solves can stop at looser tolerances, since they supply estimates for the next stage.

The paper also analyzes the geometry behind the potential gain. The cost bounds for the individual stages depend on distances between successive stage optima, weighted according to their position in the schedule. The corresponding direct-solve bound depends on the distance from the starting point to the final optimum. In the case where the intermediate solutions progress in order along the segment joining the start and the final solution, the intermediate distances add up to the direct distance, and their weights favor continuation. A path that makes substantial detours can use up the savings. In practice the centers are computed stage outputs, so the schedule obtains its value from the quality of the estimates at the cost it takes to produce them.

Changing the penalty

For transformed sparsity, the paper distinguishes analysis from synthesis. In this part the notation W refers to the synthesis operator whose columns are the chosen waveforms. An analysis coefficient vector is W*x. With a redundant dictionary, a synthesized signal can have multiple possible coefficient descriptions. That distinction gives the two optimization problems different objectives.

minimize ‖α‖₁ subject to ‖b − AWα‖₂ ≤ ϵ

Here α is a vector of synthesis coefficients, Wα is the reconstructed signal, A maps that signal to the observation domain, and b and ϵ are the observations and residual tolerance. The norm ‖α‖₁ penalizes the coefficients that the solver chooses to build the signal.

minimize ‖W*x‖₁ subject to ‖b − Ax‖₂ ≤ ϵ

Here x is the signal itself, W* computes its analysis coefficients, and A, b, and ϵ retain their measurement meanings. The argument of the ℓ₁ penalty is determined by x. With an orthonormal W, the problems are equivalent under the change of variables between x and α. The paper explains that for a general W their solutions can differ.

In the analysis problem, the dual smoothing calculation uses the entries of W*x in the same coordinatewise rule used for the ordinary ℓ₁ norm. Applying W to the resulting dual vector then gives the gradient. The two projections still concern x and the original measurement operator. If C_W is the cost of applying W or its adjoint, the resulting extra work is 2 C_W per iteration. The authors point to fast transforms as a practical way of keeping this cost small. The synthesis problem has AW in its measurement constraint, so the same partial-orthogonal projection shortcut is generally unavailable.

For total variation, the penalty uses local pixel differences. Each pixel contributes the Euclidean length of a pair of differences along the image grid.

‖x‖TV = Σᵢ,ⱼ ‖(Dx)[i,j]‖₂

Here x is the image, i and j index pixel locations, and D returns the vector of horizontal and vertical differences at each location. The norm inside the sum measures the size of that pair, and ‖x‖TV is the total variation. Flat regions contribute little to the sum, while boundaries introduce changes in their immediate neighborhoods.

The dual set for this penalty permits a vector of length at most 1 at each pixel. Smoothing with the same squared dual penalty has a simple effect. At a location where the pair of differences has length below μ, the dual vector is the difference pair divided by μ. For a pair with length at least μ, the dual vector is the pair divided by its own length. Applying the adjoint D* combines these local dual vectors into the gradient on image pixels. The measurement projections keep the same form. The calculation therefore changes the gradient step while retaining the rest of the constrained optimization scheme. The paper announces a MATLAB implementation of NESTA.

Experiments and results

Comparing solvers at a common target

The experiments separate the quality of an estimate from the amount of work it takes to obtain that estimate. One accuracy measure is the difference in ℓ₁ objectives relative to the reference objective. Another is the maximum absolute difference between corresponding coefficients. The first can be small because the largest entries already account for much of the total. The second shows how large an error remains in the worst coordinate. The reference in some tests is a known optimizer, and in others it is a high-accuracy FISTA solution.

relative objective error = (‖x‖₁ − ‖x*‖₁)/‖x*‖₁

Here x is the output being evaluated, x* is the optimum or the designated reference estimate, and ‖·‖₁ is the sum of absolute coefficients. The numerator is the difference between the two objective values. Dividing by the reference objective expresses the difference on a scale shared by the compared runs.

maximum coefficient error = ‖x − x*‖∞

Here x and x* are the same output and reference, and ‖·‖∞ takes the largest absolute entry of their difference. This measure is in the units of the signal coefficients. It records the magnitude of the worst discrepancy even when the overall ℓ₁ objective is close.

For speed, the principal tables count applications of A and A*, expressed as N_A in the paper. A solver with several operator calls per iteration is charged for each call. The main comparisons put the cap at 20,000 calls. Methods that failed to meet the chosen stopping rule within the budget are recorded as failing to converge for that test. In the fast-transform implementation, NESTA's limit of 10,000 iterations corresponds to that operator budget.

The comparative study includes several forms of iterative shrinkage and projected gradients. GPSR and SpaRSA solve the penalized least-squares problem, and the authors test a continuation version of GPSR as well. FPC also solves the penalized problem, and the study includes a Barzilai-Borwein variant, FPC-BB. FPC Active Set adds steps that solve on a selected group of coefficients, with alternatives for the solver inside that step. Bregman iteration solves a succession of penalized problems with updated observation vectors. Its Bregman-BB variant uses FPC-BB for those inner solves. FISTA uses accelerated soft thresholding on the penalized objective. SPGL1 finds a solution for the explicit residual tolerance by solving a sequence of constrained least-squares problems with different ℓ₁ budgets. The paper also examines the interior-point solver l1 ls, for which the reported examples sit outside the main comparison tables.

The authors take care to align the constrained and penalized formulations. They begin with a discrepancy tolerance estimated from the noise, solve the constrained problem with SPGL1, and use the dual information to estimate a corresponding λ. They then run FISTA at that λ with a relative objective variation tolerance of 10⁻¹⁴. The residual of this high-accuracy FISTA output supplies the revised tolerance for the constrained solvers. The procedure works in this direction because the residual is easy to evaluate once the penalized solution is available. Recovering an accurate λ from an approximate constrained solution was less stable in their experience.

A second alignment concerns when the clock stops. The paper uses NESTA with continuation to set comparison targets. Under the first stopping rule, a candidate must have an ℓ₁ norm at most that of NESTA's output and a residual at most 1.05 times NESTA's residual. Under the second, its penalized objective at the common λ must be at most that of NESTA's output. The first rule reads the two quantities in the constrained problem separately. The second combines them in the same way as the penalized solvers do. The paper reports broadly similar results with the two criteria. A separate high-accuracy FISTA run supplies the reference for measuring solution quality.

Accuracy when the answer is known

The first accuracy experiment gives the authors an optimizer they can verify independently. They generate an exactly sparse signal with n = 262,144, m = n/8, and s = m/100, where s is the number of non-zero entries. With non-zero magnitudes ranging between 1 and 10⁵, the dynamic range is roughly 100 dB. The measurements are randomly selected discrete cosine coefficients with Gaussian white noise of standard deviation σ = 0.01.

The method for obtaining a verified optimizer uses the support of the simulated signal, meaning the indices at which its coefficients are non-zero. If an optimizer of the penalized problem shares this support and the same signs, the authors can solve a linear equation on those columns of A. They then check the Karush–Kuhn–Tucker conditions, which describe whether a candidate satisfies the optimality requirements both on and off the chosen support. This check makes the result an optimization reference for the instance. The residual of that result sets ϵ for the NESTA run. The NESTA settings include μ = 0.02, a stopping tolerance δ = 10⁻⁷, and 5 continuation stages.

Maximum coefficient error on the known-optimum partial cosine reconstruction

NESTA has the smaller worst-coordinate discrepancy in the reported runs.

Maximum coefficient error on the known-optimum partial cosine reconstructionFISTA: 0.31FISTA0.31NESTA (this paper): 0.08NESTA (this paper)0.08
The numbers
System or settingMaximum absolute coefficient error
FISTA0.31
NESTA (this paper)0.08

The known optimum has an ℓ₁ norm of 3.33601e+6. NESTA obtains 3.33647e+6, a relative objective error of 1.4e-4, using 513 operator calls. The FISTA comparison runs for 20,000 iterations and uses 40,000 operator calls. Its ℓ₁ norm is 3.33610e+6, and its relative objective error is 2.7e-5. Thus the objective measure favors FISTA in these runs, and the coefficient measure favors NESTA. The paper's plot of estimated versus optimal magnitudes helps interpret the latter measure. It focuses on the optimal support and shows agreement across a wide amplitude range, including coefficients whose magnitudes are small compared with the strongest entries.

Accuracy when the answer must be estimated

The next accuracy test keeps n = 262,144 and m = n/8, increases the number of nonzeros to s = m/5, and uses additive Gaussian white noise with σ = 0.1. In these conditions the authors lack the analytic optimum available in the previous example. They instead run FISTA for 20,000 iterations with λ = 0.0685. They check the stationarity conditions on the support of its result and the bound on the residual correlations away from that support. Both checks are close to the required conditions, giving the authors a basis for using the output as the reference.

NESTA uses 5 continuation stages for each setting. For μ = 0.2 and δ = 10⁻⁶, the relative ℓ₁ objective error against FISTA is 1.3e-4, the maximum coefficient error is 3.8, and the work count is 659 calls. With μ = 0.02 and δ = 10⁻⁷, those values are 1.4e-5, 0.96, and 1055 calls, respectively. With μ = 0.002 and δ = 10⁻⁸, the objective error is 1.6e-6, the coefficient error is 0.64, and the call count reaches 1537. The reported settings improve both accuracy measures as they reduce smoothing and tighten the stopping criterion. They also require more work, even with continuation.

The authors use μ = 0.02 and δ = 10⁻⁷ as defaults in the extensive sparse-vector comparisons. That middle setting gave a relative objective error in the range they wanted and a maximum coefficient discrepancy below 1 in the reference test. For the main comparisons they use 4 continuation stages, a geometric smoothing schedule, and a stopping tolerance that becomes tighter at each stage. This is a fixed experimental choice across problems of different difficulty.

Exactly sparse signals over a range of amplitudes

The main exactly sparse tests use n = 262,144, m = n/8, and s = m/5. To generate each non-zero entry the authors independently choose a sign and choose a magnitude on a logarithmic scale. More precisely, they raise 10 to an exponent drawn uniformly between 0 and a bound set by the desired dynamic range, then apply the sign. The measurement operator selects discrete cosine coefficients at random, with a new measurement selection for each trial. The Gaussian noise has σ = 0.1. Tests cover 20, 40, 60, 80, and 100 dB, and each reported mean comes from 10 trials.

At 20 dB, the first stopping rule gives means of 54 calls for SPGL1 and 56 for GPSR. FISTA averages 68 calls. NESTA without continuation averages 446, and the variant with continuation averages 479. The advantage of cheap intermediate solves is small here. Methods that have trouble in the higher-range cases can be very effective on this low-range test.

At 100 dB the distribution of work is different. Under the same stopping rule, the work for NESTA with continuation has increased to 685 calls, and the version started directly at the final smoothing level requires 14,647. The same two means appear under the second stopping rule. Some of the strong competitors finish in fewer calls than NESTA with continuation. In particular, the active-set method makes effective use of the structure of exactly sparse signals in this test.

Mean operator calls on 100 dB exactly sparse signals under the first stopping rule

Continuation makes NESTA competitive with the quicker solvers at high dynamic range.

Mean operator calls on 100 dB exactly sparse signals under the first stopping ruleFPC Active Set: 325FPC Active Set325SPGL1: 465SPGL1465FPC-BB: 520FPC-BB520Bregman-BB: 572Bregman-BB572NESTA with continuation (this paper): 685NESTA with continuation (this paper)685SpaRSA: 708SpaRSA708GPSR with continuation: 9101GPSR with continuation9101FISTA: 13,164FISTA13,164NESTA without continuation: 14,647NESTA without continuation14,647
The numbers
System or settingCalls to the measurement operator or its adjoint
FPC Active Set325
SPGL1465
FPC-BB520
Bregman-BB572
NESTA with continuation (this paper)685
SpaRSA708
GPSR with continuation9101
FISTA13,164
NESTA without continuation14,647

GPSR without continuation did not meet the stopping targets at 80 or 100 dB within the allowed work. Its continuation variant did finish, at substantially higher cost than the leading solvers at 100 dB. SpaRSA also uses continuation and holds up better across this range. FISTA, as tested for speed, lacks continuation and requires many more calls in the high-range runs. For the interior-point comparison, the paper gives an illustrative case with s = m/100. It reports roughly 1500 operator calls for a 20 dB signal and a run taking 5 hours at 100 dB on the machine used. These cases use a different sparsity level from the main chart.

Approximately sparse signals from an image

For the approximately sparse test, the starting point is a 512 × 512 natural image’s Haar wavelet coefficients. The authors permute those coefficients to make the test vector. This retains the distribution of coefficient sizes, including its many mid-level and small values, while changing their placement. The measurements are 32,768 randomly selected cosine coefficients, with Gaussian white noise of standard deviation σ = 0.1. The study has 5 trials, each with a different permutation and a fresh noise realization.

Mean operator calls on permuted image wavelet coefficients under the first stopping rule

NESTA with continuation finishes near the leading solvers on the compressible signal.

Mean operator calls on permuted image wavelet coefficients under the first stopping ruleSPGL1: 1776SPGL11776Bregman-BB: 2045Bregman-BB2045NESTA with continuation (this paper): 2667NESTA with continuation (this paper)2667SpaRSA: 10,019SpaRSA10,019FISTA: 10,765FISTA10,765NESTA without continuation: 18,912NESTA without continuation18,912
The numbers
System or settingCalls to the measurement operator or its adjoint
SPGL11776
Bregman-BB2045
NESTA with continuation (this paper)2667
SpaRSA10,019
FISTA10,765
NESTA without continuation18,912

Several methods failed to reach the comparison target within 20,000 calls. This included GPSR with and without continuation, as well as the FPC variants, including the active-set versions. The FPC Active Set runs used an adjusted estimate of the number of nonzeros, after the authors found that the default was a poor fit for these signals. SpaRSA and FISTA reached the target, with mean work counts much higher than those of the leading methods. Under the second stopping rule the main ranking was similar, with SpaRSA averaging 10,021 calls and FISTA averaging 10,724.

The spread across trials differed among the quicker methods. Under the first rule, SPGL1 ranges from 1073 to 2464 calls. NESTA with continuation ranges from 2603 to 2713, and Bregman-BB reports 2045 in every trial. SPGL1 has the lowest mean work count. Its mean relative ℓ₁ error against the high-accuracy FISTA reference is 1.1·10⁻³. The other solvers that met the comparison targets have mean relative errors below 2 · 10⁻⁴ according to the paper. That comparison gives additional context for the work counts, since the shared stopping tests allow some differences in the attained objective and residual.

Analysis and synthesis on the same simulated signal

The transform-based experiment combines a strong sinusoid, a pulsed Doppler-like signal, and a much weaker pulse whose carrier frequency changes across occurrences. Their maximum amplitudes are 1000, 10, and 1, respectively. The authors use the two stronger components to make weak-component recovery difficult. They simulate an ideal finely sampled input, form measurements with a Hadamard transform with randomly permuted columns, retain m = .3n rows at random, and add white noise for an overall signal-to-noise ratio of 60 dB. The simulated signal has n = 2²⁰ samples. The weak component has a much lower effective signal-to-noise ratio than the overall mixture.

The two reconstructions use a tight Gabor frame, a collection of time-localized frequency waveforms, that is roughly 5.5× overcomplete. Redundancy gives the reconstruction several related ways to represent a feature. It also creates room for the analysis and synthesis penalties to favor different solutions. The authors adjust the values of μ slightly between formulations to account for the redundancy and keep the other algorithm parameters the same.

The paper compares the reconstructed spectra with the exact spectrum. The analysis result shows the frequencies of the weak pulses more clearly. The synthesis result has a cleaner appearance and better recreates the larger pulse and pure tone. These different outcomes are visible because the experiment asks separately about the weak components and the dominant ones. A spectrum with fewer visible background components can also make some genuine components harder to see if the reconstruction removes their contributions.

There is a computational difference as well. Analysis requires 231 Hadamard transform calls and another 231 calls to the analysis or synthesis operator. Synthesis takes 1378 calls in each of those operator categories. The analysis penalty leaves the Hadamard measurement constraint on the original signal, so the cheap transform-coordinate projection still applies. In synthesis the dictionary becomes part of the measurement operator on the unknown coefficients. The authors relate the extra work in that implementation to the use of the dictionary operators in the projection steps.

Total variation from partial Fourier measurements

For the image experiment, the authors generate 1024 × 1024 images consisting of random squares. A piecewise constant image gives the total-variation penalty a clear role, since most pixel differences inside each square vanish. They take partial Fourier measurements with m = n/10 and add white Gaussian noise with σ = 0.1. Their lower-range square contrasts run from 20 to 40 dB, and the paper also reports comparisons at 60 and 80 dB.

NESTA starts from A*b and uses final smoothing μ = 0.2, stopping tolerance δ = 10⁻⁵, and 5 continuation stages. The initial smoothing level is 0.9 times the largest magnitude of a pixel difference pair in the starting estimate. The comparator is RecPF, a method designed for total-variation recovery from partial Fourier measurements. Its inner relative tolerance is set to 10⁻⁵. RecPF is stopped when both its total variation and its residual are at most 1.05 times the respective values from NESTA.

The comparison counts applications of A or A*, with averages over 5 random trials and the minimum and maximum shown in the paper's plot. At low dynamic range, the two methods have similar computational cost. At higher range, continuation keeps NESTA's work relatively low. The paper reports 300-400 operator calls for NESTA with continuation in its discussion of these results. At 60 and 80 dB, RecPF fails to reach the comparison target within the allowed run. The authors also show a reconstructed image from each solver for an example with about 40 dB of dynamic range, connecting the numerical work comparison to the kind of image being recovered.

What the ablations show

Continuation helps when the final step size is too small for the early work

The most direct controlled comparison turns continuation on and off while keeping NESTA's final objective fixed. In the smaller study devoted to this question, the signal dimension is n = 4096, the measurements are m = n/8 randomly selected discrete cosine coefficients, and the sparsity is s = m/40. The authors use σ = 0.1 for the Gaussian noise and choose the final smoothing as μₓ = 2σ, where μₓ denotes the terminal smoothing level in this test. They stop at a relative objective variation of δ = 10⁻⁵. The trials vary the dynamic range and the number T of continuation stages.

The paper plots both trajectories against the objective evaluated with the final smoothing value. That common scale is important because the continuation run is actually optimizing a different surrogate during each early stage. For the displayed 100 dB instance with T = 4, the authors report a speed gain by a factor of 10. In the study that varies T and reports results across 10 trials, they describe an improvement by a factor of 8 at 100 dB. These figures describe distinct comparisons. The trajectory illustrates how the early stages change progress on an individual instance, and the stage-count study shows how the choice affects aggregate iteration work.

A direct run starts with a gradient step size set by the small final smoothing value. When some coefficients are large, many such steps can be spent moving toward a region that the coarser objective identifies quickly. Continuation uses the inexpensive early estimates to bring the stage center closer to the eventual solution. The loss from initial smoothing is acceptable because those estimates serve as starting points. The final stage still uses the target smoothing.

The low-range runs show where this explanation predicts little benefit. When the initial and final smoothing values are relatively close, or the accuracy requirement is modest, a direct solve can make adequate progress from the beginning. Solving intermediate problems then adds work. The 20 dB results in the large exactly sparse comparison exhibit this pattern, while the 100 dB results show a substantial saving. The authors report that choosing T from {4, 5, 6} gave reasonable results in their continuation study, with the preferred value depending on the signal.

Smaller smoothing trades work for more precise solutions

The three μ settings in the accuracy study show that a more faithful objective is valuable when the target is a precise estimate of the original ℓ₁ solution. For that instance, the authors report a gain of approximately one digit in objective accuracy when μ is cut to one-tenth of its value. Maximum coefficient error also improves, though the paper measures it separately and its changes follow a different pattern. This matters because a new digit in the sum of absolute values gives no direct estimate of how much the worst coefficient has improved.

The comparison tightens δ at the same time as it reduces μ. The observed cost and accuracy therefore reflect the combined setting. The mathematics offers a reason for both adjustments. Smaller μ reduces the approximation near zero and increases the Lipschitz constant, while smaller δ requires more stability before a stage finishes. The experiment establishes the work and accuracy of the reported pairs of settings. It gives less information about the effect of changing either parameter in isolation.

Exact support favors a different set of solver strategies

The roughly similar stopping-rule results help explain which changes in performance track the data rather than the particular comparison target. The active-set approaches do well on the exactly sparse signals, where there is a distinct set of non-zero coefficients. Solving within a candidate support can concentrate work on a much smaller part of the problem. Performance on the permuted wavelet coefficients is considerably worse. There the many small entries make the active set difficult to define, even after the authors change the parameter estimating the number of nonzeros.

The paper also repeats the approximately sparse test with a higher noise level, σ = 1. All the solvers finish faster in that condition. Moving from σ = 1 to σ = 0.1, SPGL1 requires 90% more iterations, Bregman requires 20% more, and NESTA with continuation requires 5% more. In these experiments the noise level informs the discrepancy target, so the comparison shows how the runs respond when the measurements allow the authors to demand a closer fit. It supports the paper's narrower claim that continuation makes NESTA relatively insensitive to this change on the tested compressible signal.

Another implementation comparison concerns the inner solver in Bregman iteration. The authors report that regular FPC gives substantially worse performance than FPC-BB as the inner solver. They also observed better results with the default inner limit of 1,000 iterations than when allowing up to 10,000. The outer algorithm repeatedly changes the observation vector of its subproblem. In this setting, the effort spent on an intermediate solve can have a large effect on total work. The reported comparisons chiefly characterize the Bregman configuration used in the tests.

The regularizer changes what the reconstruction emphasizes

The analysis and synthesis study changes the objective formulation while keeping the simulated observations and waveform family. The different spectra show that a solution can reproduce the strong components well and still fare differently on the weak frequencies of interest. In the authors' interpretation, synthesis can choose a compact collection of coefficients, and an error in one coefficient can have a large effect on the resulting signal. Analysis can produce a denser estimate. Both observations are consistent with the noisier appearance of the analysis result and its clearer weak frequency peaks in this example.

This comparison also changes the algebra required by the solver. Analysis preserves the original measurement projection. Synthesis puts the dictionary inside the constraint and sends those operations into the projection steps. The observed advantage in operator calls therefore speaks to the computational structure of these two NESTA implementations. The spectral outcomes address the effect of the reconstruction prior under the chosen dictionary and simulation.

Limitations

Limits the authors identify

The main fast projection formula relies on A having orthonormal rows. That is a substantial case for compressed sensing with structured measurements, and it lets the experiments demonstrate the method on large problems. The authors discuss a broader projection based on solving a linear system involving A* A. They argue that a few conjugate-gradient steps can suffice when the eigenvalues are clustered. A practical implementation also needs to choose the constraint multiplier so the resulting projection reaches the discrepancy boundary when necessary. That choice remains an open part of the extension in their discussion.

Continuation is conditional on the quality of its intermediate solutions. The authors analyze a favorable path in which successive optima approach the final solution without detours. A poor path makes some of the early solves wasted work. Their empirical schedule is meant to work across the experiments. The paper leaves the weights in the accelerated iteration and the number of continuation stages open to further optimization. It also notes that the fixed stopping setting used across dynamic ranges can be conservative for the easier signals.

The experimental comparisons focus on methods with publicly available software and an ability to take advantage of fast operator applications. The authors leave out some otherwise relevant methods on those grounds. Linearized Bregman, for example, is discussed but excluded from the tests because the authors lacked standardized public code. The solvers in the comparison therefore represent a particular group of implementations and configurations.

The authors qualify the transform-based study explicitly. They expect the comparison between analysis and synthesis to depend strongly on the dictionary. In the Gabor-frame example, each formulation has a kind of component it reproduces more visibly. That is a reason to read the result in terms of the particular signal, the redundant frame, and the reconstruction goal.

Limits visible in the experimental design

The acceleration theory controls the objective gap for a fixed smooth approximation. The observed difference between two recent objective values is a practical stopping test. A small difference can occur even if the iterate is still some distance from the best feasible point, and a small objective gap can coexist with a noticeable coefficient discrepancy. The known-optimum comparison demonstrates that objective and coordinate accuracy can rank the same runs differently. The strongest statements about individual coefficients come from the experiments that measure those coefficients directly.

The known-optimum construction assumes a setting in which the optimizer can be found on the true support with its signs verified. It is an effective way to obtain a reference at large dimension, and it restricts the kind of signal for which the exact check applies. In the less sparse accuracy experiment, the stationarity checks support the use of FISTA as a reference, but the reported errors are distances from that reference output. In addition, the reference concerns the optimizer of a particular reconstruction problem. Its accuracy as a solution does not determine the error relative to the original signal.

The benchmarking protocol deliberately chooses pairs of constrained and penalized parameters that give nearly equivalent targets. This makes the solver comparison possible. The operator counts mainly capture work after that target has been set. They do not measure what an end user would spend finding the corresponding λ for a prescribed noise tolerance. Conversely, the counts do not capture every implementation cost of a constrained method, since vector operations and other parts of each iteration also take time. Their value is greatest in the setting the paper designed them for, where large transform applications dominate the computation.

The approximately sparse benchmark preserves the magnitude distribution of wavelet coefficients from a natural image. Its repetitions vary permutations and noise realizations around that source. They do not establish how the same solvers rank across a diverse set of natural images, transforms, or noise processes. The TV problems likewise use an image family suited to the regularizer, with constant interiors and boundaries around squares. That controlled design exposes the effect of dynamic range and provides limited evidence about images with substantial texture or more varied structure.

The simulated time-frequency example is assessed through spectra. The visual evidence supports the comparison about weak frequencies in that mixture. It does not establish a rate of successful detection across repeated signals or give an error distribution for the frequencies recovered. Together, the extension experiments show that the framework operates on different penalties at substantial scale. The quantitative findings remain specific to their measurement operators, priors, and tests.

What came after

The paper gives no account of later studies that took up NESTA. Its closing discussion identifies several directions the authors proposed at the time. The most immediate was a version for general measurement matrices. It would retain the accelerated update and use iterative linear algebra for the two projections, provided there was an efficient way to enforce the desired residual. The authors also point out that an unconstrained formulation can avoid the search for the projection's constraint multiplier.

They suggest applying the same smoothing principle to the Dantzig selector. That estimator constrains the largest absolute correlation between the measurement residual and the columns of the measurement matrix. The proposed route is to move the correlation penalty into an unconstrained objective alongside the ℓ₁ term, smooth both terms, and apply the accelerated gradient method. Another proposed direction combines ℓ₁ and total variation within a data constraint. Both proposals extend the paper's organizing idea that the structure of a penalty can determine a cheap gradient calculation, while the measurement constraint determines the cost of the feasible updates.

Cite

Cite as Stephen Becker, Jérôme Bobin and Emmanuel J. Candès. 2011. NESTA: A Fast and Accurate First-Order Method for Sparse Recovery. SIAM Journal on Imaging Sciences.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1137/090756855 · arXiv 0904.3367

@article{becker2011nesta,
  title = {{NESTA: A Fast and Accurate First-Order Method for Sparse Recovery}},
  author = {Stephen Becker, Jérôme Bobin and Emmanuel J. Candès},
  journal = {SIAM Journal on Imaging Sciences},
  year = {2011},
  doi = {10.1137/090756855},
  eprint = {0904.3367},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1137/090756855}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/becker-2011-nesta-fast-accurate-first-order/