Iteratively reweighted least squares explained

The method of iteratively reweighted least squares (IRLS) is used to solve certain optimization problems with objective functions of the form of a p-norm:

\mathop_ \sum_^n \big| y_i - f_i (\boldsymbol\beta) \big|^p,

by an iterative method in which each step involves solving a weighted least squares problem of the form:[1]

\boldsymbol\beta^ = \underset \sum_^n w_i (\boldsymbol\beta^) \big| y_i - f_i (\boldsymbol\beta) \big|^2.

IRLS is used to find the maximum likelihood estimates of a generalized linear model, and in robust regression to find an M-estimator, as a way of mitigating the influence of outliers in an otherwise normally-distributed data set, for example, by minimizing the least absolute errors rather than the least square errors.

One of the advantages of IRLS over linear programming and convex programming is that it can be used with Gauss–Newton and Levenberg–Marquardt numerical algorithms.

Examples

L1 minimization for sparse recovery

IRLS can be used for 1 minimization and smoothed p minimization, p < 1, in compressed sensing problems. It has been proved that the algorithm has a linear rate of convergence for 1 norm and superlinear for t with t < 1, under the restricted isometry property, which is generally a sufficient condition for sparse solutions.[2] [3]

Lp norm linear regression

To find the parameters β = (β1, …,βk)T which minimize the Lp norm for the linear regression problem,

\underset \big\| \mathbf y - X \boldsymbol \beta \|_p =\underset \sum_^n \left| y_i - X_i \boldsymbol\beta \right|^p,

the IRLS algorithm at step t + 1 involves solving the weighted linear least squares problem:[4]

\boldsymbol\beta^ =\underset \sum_^n w_i^ \left| y_i - X_i \boldsymbol\beta \right|^2 =(X^ W^ X)^ X^ W^ \mathbf,

where W(t) is the diagonal matrix of weights, usually with all elements set initially to:

w_i^ = 1

and updated after each iteration to:

w_i^ = \big|y_i - X_i \boldsymbol \beta ^ \big|^.

In the case p = 1, this corresponds to least absolute deviation regression (in this case, the problem would be better approached by use of linear programming methods,[5] so the result would be exact) and the formula is:

w_i^ = \frac.

To avoid dividing by zero, regularization must be done, so in practice the formula is:

w_i^ = \frac 1 .

where

\delta

is some small value, like 0.0001. Note the use of

\delta

in the weighting function is equivalent to the Huber loss function in robust estimation. [6]

See also

References

External links

Notes and References

  1. C. Sidney Burrus, Iterative Reweighted Least Squares
  2. Chartrand . R. . Yin . W. . Iteratively reweighted algorithms for compressive sensing . IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2008 . 3869–3872 . March 31 – April 4, 2008 . 10.1109/ICASSP.2008.4518498 .
  3. Daubechies . I. . Devore . R. . Fornasier . M. . Güntürk . C. S. N. . Iteratively reweighted least squares minimization for sparse recovery . 10.1002/cpa.20303 . Communications on Pure and Applied Mathematics . 63 . 1–38 . 2010 . 0807.0575 .
  4. Book: Gentle, James . 6.8.1 Solutions that Minimize Other Norms of the Residuals . Matrix algebra . 978-0-387-70872-0 . 10.1007/978-0-387-70873-7 . Springer . New York . 2007 . Springer Texts in Statistics .
  5. William A. Pfeil,Statistical Teaching Aids, Bachelor of Science thesis, Worcester Polytechnic Institute, 2006
  6. Fox, J.; Weisberg, S. (2013),Robust Regression, Course Notes, University of Minnesota