プリンキピア

第10章現代のリカレントニューラルネットワーク

10.7.9. Summary10.7.9 まとめ

Following the design of the encoder–decoder architecture, we can use two RNNs to design a model for sequence-to-sequence learning. In encoder–decoder training, the teacher forcing approach feeds original output sequences (in contrast to predictions) into the decoder. When implementing the encoder and the decoder, we can use multilayer RNNs. We can use masks to filter out irrelevant computations, such as when calculating the loss. For evaluating output sequences, BLEU is a popular measure that matches n-grams between the predicted sequence and the target sequence.
英語のヒント
エンコーダ・デコーダ構造の設計に従い、二つのRNNを使って系列から系列への学習のためのモデルを設計できる。エンコーダ・デコーダの訓練では、教師強制のやり方は、(予測ではなく)元の出力系列をデコーダに入れる。エンコーダとデコーダを実装するときは、多層のRNNを使える。損失を計算するときのように、マスクを使って関係のない計算を取り除ける。出力系列を評価するには、予測した系列と目標系列のあいだでnグラムを照合するBLEUがよく使われる尺度である。