第10章現代のリカレントニューラルネットワーク
10.2.2. Candidate Hidden State10.2.2 候補の隠れ状態
Next, we integrate the reset gate with the regular updating mechanism in (9.4.5), leading to the following candidate hidden state at time step :
英語のヒント
次に、リセットゲートを(9.4.5)の通常の更新の仕組みと組み合わせると、時間ステップにおける次の候補の隠れ状態が得られる。
(10.2.2)
where and are weight parameters, is the bias, and the symbol is the Hadamard (elementwise) product operator. Here we use a tanh activation function.
英語のヒント
ここで、とは重みパラメータ、はバイアス、記号はアダマール(要素ごとの)積の演算子である。ここではtanh活性化関数を使う。
The result is a candidate, since we still need to incorporate the action of the update gate. Comparing with (9.4.5), the influence of the previous states can now be reduced with the elementwise multiplication of and in (10.2.2). Whenever the entries in the reset gate are close to 1, we recover a vanilla RNN such as that in (9.4.5). For all entries of the reset gate that are close to 0, the candidate hidden state is the result of an MLP with as input. Any pre-existing hidden state is thus reset to defaults.
英語のヒント
Fig. 10.2.2 illustrates the computational flow after applying the reset gate.
英語のヒント
図10.2.2は、リセットゲートを当てはめた後の計算の流れを示している。
Fig. 10.2.2図10.2.2
Computing the candidate hidden state in a GRU model.
英語のヒント
GRUモデルで、候補の隠れ状態を計算する。