Iteratively Re-weighted Least Squares
   HOME

TheInfoList



OR:

The method of iteratively reweighted least squares (IRLS) is used to solve certain optimization problems with
objective function In mathematical optimization and decision theory, a loss function or cost function (sometimes also called an error function) is a function that maps an event or values of one or more variables onto a real number intuitively representing some "cos ...
s of the form of a ''p''-norm: :\underset \sum_^n \big, y_i - f_i (\boldsymbol\beta) \big, ^p, by an
iterative method In computational mathematics, an iterative method is a Algorithm, mathematical procedure that uses an initial value to generate a sequence of improving approximate solutions for a class of problems, in which the ''n''-th approximation is derived fr ...
in which each step involves solving a
weighted least squares Weighted least squares (WLS), also known as weighted linear regression, is a generalization of ordinary least squares and linear regression in which knowledge of the variance of observations is incorporated into the regression. WLS is also a speci ...
problem of the form:C. Sidney Burrus,
Iterative Reweighted Least Squares
'
:\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 In statistics, maximum likelihood estimation (MLE) is a method of estimation theory, estimating the Statistical parameter, parameters of an assumed probability distribution, given some observed data. This is achieved by Mathematical optimization, ...
estimates of a
generalized linear model In statistics, a generalized linear model (GLM) is a flexible generalization of ordinary linear regression. The GLM generalizes linear regression by allowing the linear model to be related to the response variable via a ''link function'' and b ...
, and in
robust regression In robust statistics, robust regression seeks to overcome some limitations of traditional regression analysis. A regression analysis models the relationship between one or more independent variables and a dependent variable. Standard types of ...
to find an
M-estimator In statistics, M-estimators are a broad class of extremum estimators for which the objective function is a sample average. Both non-linear least squares and maximum likelihood estimation are special cases of M-estimators. The definition of M-estima ...
, 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 Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear function#As a polynomial function, li ...
and
convex programming Convex optimization is a subfield of mathematical optimization that studies the problem of minimizing convex functions over convex sets (or, equivalently, maximizing concave functions over convex sets). Many classes of convex optimization pro ...
is that it can be used with Gauss–Newton and Levenberg–Marquardt numerical algorithms.


Examples


''L''1 minimization for sparse recovery

IRLS can be used for ''ℓ''1 minimization and smoothed ''ℓ''p minimization, ''p'' < 1, in
compressed sensing Compressed sensing (also known as compressive sensing, compressive sampling, or sparse sampling) is a signal processing technique for efficiently acquiring and reconstructing a Signal (electronics), signal, by finding solutions to Underdetermined ...
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 In linear algebra, the restricted isometry property (RIP) characterizes matrices which are nearly orthonormal, at least when operating on sparse vectors. The concept was introduced by Emmanuel Candès and Terence TaoE. J. Candes and T. Tao, "Decodi ...
, which is generally a sufficient condition for sparse solutions. However, in most practical situations, the restricted isometry property is not satisfied.


''Lp'' norm linear regression

To find the parameters ''β'' = (''β''1, …,''β''''k'')T which minimize the ''Lp'' norm for the
linear regression In statistics, linear regression is a linear approach for modelling the relationship between a scalar response and one or more explanatory variables (also known as dependent and independent variables). The case of one explanatory variable is call ...
problem, : \underset \big\, \mathbf y - X \boldsymbol \beta \, _p = \underset \sum_^n \left, y_i - X_i \boldsymbol\beta \^p , the IRLS algorithm at step ''t'' + 1 involves solving the weighted linear least squares problem: : \boldsymbol\beta^ = \underset \sum_^n w_i^ \left, y_i - X_i \boldsymbol\beta \^2 = (X^ W^ X)^ X^ W^ \mathbf, where ''W''(''t'') is the
diagonal matrix In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero; the term usually refers to square matrices. Elements of the main diagonal can either be zero or nonzero. An example of a 2×2 diagonal ma ...
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 Least absolute deviations (LAD), also known as least absolute errors (LAE), least absolute residuals (LAR), or least absolute values (LAV), is a statistical optimality criterion and a statistical optimization technique based minimizing the '' sum ...
regression (in this case, the problem would be better approached by use of
linear programming Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear function#As a polynomial function, li ...
methods,William A. Pfeil,
Statistical Teaching Aids
', Bachelor of Science thesis,
Worcester Polytechnic Institute '' , mottoeng = "Theory and Practice" , established = , former_name = Worcester County Free Institute of Industrial Science (1865-1886) , type = Private research university , endowme ...
, 2006
so the result would be exact) and the formula is: :w_i^ = \frac. To avoid dividing by zero,
regularization Regularization may refer to: * Regularization (linguistics) * Regularization (mathematics) * Regularization (physics) In physics, especially quantum field theory, regularization is a method of modifying observables which have singularities in ...
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 Huber is a German surname, German-language surname. It derives from the German word ''Hube'' meaning Hide (unit), hide, a unit of land a farmer might possess, granting them the status of a free tenant. It is in the top ten most common surnames in ...
function in robust estimation. Fox, J.; Weisberg, S. (2013),
Robust Regression
', Course Notes, University of Minnesota


See also

*
Feasible generalized least squares In statistics, generalized least squares (GLS) is a technique for estimating the unknown parameters in a linear regression model when there is a certain degree of correlation between the residuals in a regression model. In these cases, ordi ...
* Weiszfeld's algorithm (for approximating the
geometric median In geometry, the geometric median of a discrete set of sample points in a Euclidean space is the point minimizing the sum of distances to the sample points. This generalizes the median, which has the property of minimizing the sum of distances ...
), which can be viewed as a special case of IRLS


Notes


References


Numerical Methods for Least Squares Problems by Åke Björck
(Chapter 4: Generalized Least Squares Problems.)
Practical Least-Squares for Computer Graphics. SIGGRAPH Course 11


External links


Solve under-determined linear systems iteratively
{{DEFAULTSORT:Iteratively Reweighted Least Squares Least squares