プリンキピア

第9章リカレントニューラルネットワーク

9.7.3. Summary9.7.3 まとめ

Backpropagation through time is merely an application of backpropagation to sequence models with a hidden state. Truncation, such as regular or randomized, is needed for computational convenience and numerical stability. High powers of matrices can lead to divergent or vanishing eigenvalues. This manifests itself in the form of exploding or vanishing gradients. For efficient computation, intermediate values are cached during backpropagation through time.
英語のヒント
時間をさかのぼる逆伝播は、隠れ状態をもつ系列モデルへの逆伝播の単なる応用にすぎない。計算の都合と数値的な安定性のために、通常のものやランダムなもののような打ち切りが必要である。行列の高いべき乗は、固有値の発散や消失につながりうる。これは、勾配の爆発や消失という形で現れる。効率よく計算するため、時間をさかのぼる逆伝播のあいだ、中間の値はキャッシュされる。