特別価格 β = 0 の場合、関数は線形になります: f( x ) = x /2。
β = 1 の場合、関数はシグモイド線形ユニット (SiLU) です。
β = 1.702 の場合、この関数はGeLU に近似する。[ 4 ]
β → ∞ の場合、関数はReLU に収束します。
したがって、Swishファミリーは線形関数とReLU関数の間を滑らかに補間します。 [ 1 ]
以来シュッ β ( x ) = シュッ 1 ( β x ) / β {\displaystyle \operatorname {swish} _{\beta }(x)=\operatorname {swish} _{1}(\beta x)/\beta } 、swish のすべてのインスタンスはデフォルトと同じ形状ですシュッ 1 \displaystyle \operatorname {swish} _{1}} ズームインβ {\displaystyle \beta } 通常は設定しますβ > 0 {\displaystyle \beta >0} 。 いつβ {\displaystyle \beta } は学習可能であり、この制約は以下のように強制できます。β = e b \displaystyle \beta =e^{b}} 、 どこb {\displaystyle b} 訓練可能である。
シュッ 1 ( x ) = x 2 + x 2 4 − x 4 48 + x 6 480 + O ( x 8 ) {\displaystyle \operatorname {swish} _{1}(x)={\frac {x}{2}}+{\frac {x^{2}}{4}}-{\frac {x^{4}}{48}}+{\frac {x^{6}}{480}}+O\left(x^{8}\right)}
シュッ 1 ( x ) = x 2 タン ( x 2 ) + x 2 シュッ 1 ( x ) + シュッ − 1 ( x ) = x タン ( x 2 ) シュッ 1 ( x ) − シュッ − 1 ( x ) = x {\displaystyle {\begin{aligned}\operatorname {swish} _{1}(x)&={\frac {x}{2}}\tanh \left({\frac {x}{2}}\right)+{\frac {x}{2}}\\\operatorname {swish} _{1}(x)+\operatorname {swish} _{-1}(x)&=x\tanh \left({\frac {x}{2}}\right)\\\operatorname {swish} _{1}(x)-\operatorname {swish} _{-1}(x)&=x\end{aligned}}}
参考文献 1 2 3 4 Ramachandran, Prajit; Zoph, Barret; Le, Quoc V. (2017-10-27). "Searching for Activation Functions". arXiv : 1710.05941v2 [ cs.NE ]. ↑ Atto, Abdourrahmane M.; Pastor, Dominique; Mercier, Gregoire (2008年3月) 「非パラメトリック推定のための滑らかなシグモイドウェーブレット収縮」 2008 IEEE International Conference on Acoustics, Speech and Signal Processing (PDF) pp. 3265–3268 . doi : 10.1109 /ICASSP.2008.4518347 . ISBN 978-1-4244-1483-3 . S2CID 9959057 . ↑ Misra, Diganta (2019). "Mish: 自己正則化された非単調ニューラル活性化関数". arXiv : 1908.08681 [ cs.LG ]. 1 2 Hendrycks, Dan; Gimpel, Kevin (2016). "Gaussian Error Linear Units (GELUs)". arXiv : 1606.08415 [ cs.LG ]. ↑ Elfwing, Stefan; Uchibe, Eiji; Doya, Kenji (2017-11-02). "強化学習におけるニューラルネットワーク関数近似のためのシグモイド重み付き線形ユニット". arXiv : 1702.03118v3 [ cs.LG ]. ↑ Serengil, Sefik Ilkin (2018-08-21). "Swish as Neural Networks Activation Function" . Machine Learning, Math. 2020-06-18 のオリジナルから アーカイブ済み 。2020-06-18 に取得 。