プリンキピア

第5章多層パーセプトロン

5.3.5. Summary5.3.5 まとめ

Forward propagation sequentially calculates and stores intermediate variables within the computational graph defined by the neural network. It proceeds from the input to the output layer. Backpropagation sequentially calculates and stores the gradients of intermediate variables and parameters within the neural network in the reversed order. When training deep learning models, forward propagation and backpropagation are interdependent, and training requires significantly more memory than prediction.
英語のヒント
順伝播は、ニューラルネットワークが定める計算グラフのなかで、中間変数を順に計算して保存する。それは入力層から出力層へと進む。逆伝播は、ニューラルネットワークのなかの中間変数とパラメータの勾配を、逆の順に計算して保存する。深層学習のモデルを訓練するとき、順伝播と逆伝播は互いに依存しあい、訓練には予測よりもかなり多くのメモリが必要になる。