Descent Method - Gradient Method / Newton’s Method / Quasi-Newton methods / CG / et al.
0 Minimization Problem
通常,线性系统 Ax−b=0 ,其中 x 为 n×1 的列向量, x=(x1,x2,⋯,xn) 。通过线性最小二乘法(Linear Least Squares )构建为最小化问题: f(x)=||Ax−b||2 。
对于非线性系统 G(x)=0 ,亦可以构建最小化问题: f(x)=12GT(x)G(x) 。
最小化问题(Minimization Problem )可以通过下降方法 ( Descent Method ) 求解,如 Gradient Descent, Newton’s Method, Quasi-Newton Method, Nonlinear Conjugate Gradient Method, etc.
对于 x 的函数 f(x) ,其梯度, Hessian 矩阵分别为:
∇f(x)=⎡⎣⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢∂f∂x1∂f∂x2⋮∂f∂xn⎤⎦⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥
∇2f(x)=⎡⎣⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢∂2f∂2x1∂2f∂x2∂x1⋮∂2f∂xn∂x1∂2f∂x1∂x2∂2f∂2x2⋮∂2f∂xn∂x2⋯⋯⋱⋯∂2f∂x1∂xn∂2f∂x2∂xn