第7章畳み込みニューラルネットワーク
7.2.5. Cross-Correlation and Convolution7.2.5 相互相関と畳み込み
Recall our observation from Section 7.1 of the correspondence between the cross-correlation and convolution operations. Here let’s continue to consider two-dimensional convolutional layers. What if such layers perform strict convolution operations as defined in (7.1.6) instead of cross-correlations? In order to obtain the output of the strict convolution operation, we only need to flip the two-dimensional kernel tensor both horizontally and vertically, and then perform the cross-correlation operation with the input tensor.
英語のヒント
It is noteworthy that since kernels are learned from data in deep learning, the outputs of convolutional layers remain unaffected no matter such layers perform either the strict convolution operations or the cross-correlation operations.
英語のヒント
深層学習ではカーネルはデータから学習されるので、層が厳密な畳み込みの演算と相互相関の演算のどちらを行っても、畳み込み層の出力は影響を受けないことは注目に値する。
To illustrate this, suppose that a convolutional layer performs cross-correlation and learns the kernel in Fig. 7.2.1, which is here denoted as the matrix . Assuming that other conditions remain unchanged, when this layer instead performs strict convolution, the learned kernel will be the same as after is flipped both horizontally and vertically. That is to say, when the convolutional layer performs strict convolution for the input in Fig. 7.2.1 and , the same output in Fig. 7.2.1 (cross-correlation of the input and ) will be obtained.
英語のヒント
In keeping with standard terminology in deep learning literature, we will continue to refer to the cross-correlation operation as a convolution even though, strictly-speaking, it is slightly different. Furthermore, we use the term element to refer to an entry (or component) of any tensor representing a layer representation or a convolution kernel.
英語のヒント
深層学習の文献での標準的な用語に合わせて、厳密に言えば少し違うものの、相互相関の演算を引き続き畳み込みと呼ぶ。さらに、層の表現や畳み込みカーネルを表すテンソルの成分(あるいは要素)を指すのに、要素という言葉を使う。