logo

多層パーセプトロン(MLP), 全結合ニューラルネットワーク(FCNN) 📂機械学習

多層パーセプトロン(MLP), 全結合ニューラルネットワーク(FCNN)

定義

Li:RniRni+1L_{i} : \mathbb{R}^{n_{i}} \to \mathbb{R}^{n_{i+1}}完全連結層とする。σ:RR\sigma : \mathbb{R} \to \mathbb{R}活性化関数とする。これらの合成を多層パーセプトロンmultilayer perceptron (MLP)という。

MLP(x)=TNσTN1σT1(x) \operatorname{MLP}(\mathbf{x}) = T_{N} \circ \overline{\sigma} \circ T_{N-1} \circ \overline{\sigma} \circ \cdots \circ T_{1} (\mathbf{x})

ここで、σ\overline{\sigma}は各成分にσ\sigmaを適用する関数である。

σ(x)=[σ(x1)σ(x2)σ(xn)]where x=[x1x2xn] \overline{\sigma}(\mathbf{x}) = \begin{bmatrix} \sigma(x_{1}) \\ \sigma(x_{2}) \\ \vdots \\ \sigma(x_{n}) \end{bmatrix} \qquad \text{where } \mathbf{x} = \begin{bmatrix} x_{1} \\ x_{2} \\ \vdots \\ x_{n} \end{bmatrix}

説明

単層パーセプトロンを再び何度も合成したものなので、多層パーセプトロンと呼ばれ、完全連結層を主に使用したために完全連結ニューラルネットワークfully connected neural network (FCNN)とも呼ばれる。この二つは同じニューラルネットワークを指す言葉である。