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:
:
by an
iterative method in which each step involves solving a
weighted least squares problem of the form:
[C. Sidney Burrus, ]
Iterative Reweighted Least Squares
'
:
IRLS is used to find the
maximum likelihood 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 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
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 o ...
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 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 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. 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,
:
the IRLS algorithm at step ''t'' + 1 involves solving the
weighted linear least squares problem:
:
where ''W''
(''t'') is the
diagonal matrix of weights, usually with all elements set initially to:
:
and updated after each iteration to:
:
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
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, 2006 so the result would be exact) and the formula is:
:
To avoid dividing by zero,
regularization must be done, so in practice the formula is:
:
where
is some small value, like 0.0001.
Note the use of
in the weighting function is equivalent to the
Huber loss function in robust estimation.
[ Fox, J.; Weisberg, S. (2013),]
Robust Regression
', Course Notes, University of Minnesota
See also
*
Feasible generalized least squares
*
Weiszfeld's algorithm
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 ...
(for approximating the
geometric median), 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