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:
:
by an
iterative method
In computational mathematics, an iterative method is a 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 from the pre ...
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
'
:
IRLS is used to find the
maximum likelihood
In statistics, maximum likelihood estimation (MLE) is a method of estimating the parameters of an assumed probability distribution, given some observed data. This is achieved by maximizing a likelihood function so that, under the assumed sta ...
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 by ...
, and in
robust regression 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-est ...
, 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 relationships. Linear programming is ...
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
Compressed sensing (also known as compressive sensing, compressive sampling, or sparse sampling) is a signal processing technique for efficiently acquiring and reconstructing a signal, by finding solutions to underdetermined linear systems. This ...
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 ...
problem,
:
the IRLS algorithm at step ''t'' + 1 involves solving the
weighted linear least squares problem:
:
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 ...
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 relationships. Linear programming is ...
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
, endow ...
, 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
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 distance ...
), 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