第12章最適化アルゴリズム
12.2. Convexity12.2 凸性
Convexity plays a vital role in the design of optimization algorithms. This is largely due to the fact that it is much easier to analyze and test algorithms in such a context. In other words, if the algorithm performs poorly even in the convex setting, typically we should not hope to see great results otherwise. Furthermore, even though the optimization problems in deep learning are generally nonconvex, they often exhibit some properties of convex ones near local minima. This can lead to exciting new optimization variants such as (Izmailov et al., 2018).
英語のヒント
凸性は、最適化アルゴリズムの設計で欠かせない役割を果たす。これは主に、そうした文脈ではアルゴリズムを解析し試すのがずっと簡単だという事実による。言い換えると、凸の設定でさえアルゴリズムの性能が悪いなら、ふつう、それ以外の場合にすばらしい結果を期待すべきではない。さらに、深層学習の最適化問題は一般に非凸だが、局所的な最小値の近くでは凸の問題の性質をいくらか示すことが多い。これは、わくわくする新しい最適化の変種につながりうる(Izmailov et al., 2018など)。
%matplotlib inline
import numpy as np
import torch
from mpl_toolkits import mplot3d
from d2l import torch as d2l