题目(145):机器学习中的优化问题,哪些是凸优化问题,哪些是非凸优化问题?请各举一个例子。
凸优化问题
逻辑回归
Li(θ)=log(1+exp(−yiθTxi))
损失函数推导
logistic regression model:
log1−pp=θTx⇒p=1+exp(θTx)exp(θTx)
maxMLE≃−minlogMLE:=minL(x,y;θ)
L=−(ylogp+(1−y)log(1−p))=−ylog1+exp(−θTx)1−(1−y)log1+exp(θTx)1=ylog(1+exp(−θTx))+(1−y)log(1+exp(θTx))=log(1+exp(−θTx⋅y)),
where Y∈{0,1} and p=P(Y=1∣X=x).
其它例子:SVM, linear regression
非凸优化问题
PCA
VVTminL(V)=∥X−VTVX∥F2
(minimise the reconstruction error)
Formulation from the perspective of maximising the variance
验证该目标为非凸问题:检查定义
If V∗ is the minimum, then −V∗ is also the minimum as L(V∗)=L(−V∗).
L(21V∗+21(−V∗))=L(0)=∥X∥F2>∥X−V∗TV∗X∥F2=21L(V∗)+21L(−V∗)
求解: SVD
其它例子:low-rank model (e.g. matrix decomposition), deep neural network
参考文献:
- 《百面机器学习》