プリンキピア

第7章畳み込みニューラルネットワーク

7.2.6. Feature Map and Receptive Field7.2.6 特徴マップと受容野

As described in Section 7.1.4, the convolutional layer output in Fig. 7.2.1 is sometimes called a feature map, as it can be regarded as the learned representations (features) in the spatial dimensions (e.g., width and height) to the subsequent layer. In CNNs, for any element x of some layer, its receptive field refers to all the elements (from all the previous layers) that may affect the calculation of x during the forward propagation. Note that the receptive field may be larger than the actual size of the input.
英語のヒント
7.1.4節で説明したように、図7.2.1の畳み込み層の出力は、次の層に渡す、空間的な次元(たとえば幅と高さ)で学習された表現(特徴)とみなせるので、特徴マップと呼ばれることがある。CNNでは、ある層の任意の要素xについて、その受容野とは、順伝播のあいだにxの計算に影響しうる(それより前のすべての層の)すべての要素を指す。受容野は、入力の実際の大きさより大きくなりうることに注意してほしい。
Let’s continue to use Fig. 7.2.1 to explain the receptive field. Given the 2×2 convolution kernel, the receptive field of the shaded output element (of value 19) is the four elements in the shaded portion of the input. Now let’s denote the 2×2 output as 𝐘 and consider a deeper CNN with an additional 2×2 convolutional layer that takes 𝐘 as its input, outputting a single element z. In this case, the receptive field of z on 𝐘 includes all the four elements of 𝐘, while the receptive field on the input includes all the nine input elements. Thus, when any element in a feature map needs a larger receptive field to detect input features over a broader area, we can build a deeper network.
英語のヒント
引き続き図7.2.1を使って受容野を説明しよう。2×2の畳み込みカーネルが与えられたとき、網かけの出力要素(値は19)の受容野は、入力の網かけ部分にある四つの要素である。今度は、2×2の出力を𝐘と表し、𝐘を入力として受け取って一つの要素zを出力する2×2の畳み込み層を追加した、もっと深いCNNを考えよう。この場合、𝐘上でのzの受容野は𝐘の四つの要素すべてを含み、入力上での受容野は入力の九つの要素すべてを含む。したがって、特徴マップのある要素が、もっと広い範囲にわたる入力の特徴を検出するのにもっと大きな受容野を必要とするときには、もっと深いネットワークを作ればよい。
Receptive fields derive their name from neurophysiology. A series of experiments on a range of animals using different stimuli (Hubel and Wiesel, 1959, Hubel and Wiesel, 1962, Hubel and Wiesel, 1968) explored the response of what is called the visual cortex on said stimuli. By and large they found that lower levels respond to edges and related shapes. Later on, Field (1987) illustrated this effect on natural images with, what can only be called, convolutional kernels. We reprint a key figure in Fig. 7.2.2 to illustrate the striking similarities.
英語のヒント
受容野という名前は、神経生理学に由来する。さまざまな刺激を使ったさまざまな動物での一連の実験(Hubel and Wiesel, 1959、Hubel and Wiesel, 1962、Hubel and Wiesel, 1968)は、視覚野と呼ばれるものがそれらの刺激にどう反応するかを探った。おおむね、下位の水準は縁やそれに関係する形に反応することがわかった。後に、Field (1987)は、畳み込みカーネルとしか呼びようのないものを使って、自然な画像でこの効果を示した。その鍵となる図を図7.2.2に再掲して、際立った類似を示す。
Image omitted because its reuse rights could not be verified.権利の確認ができないため画像を割愛。
Fig. 7.2.2図7.2.2
Figure and caption taken from Field (1987): An example of coding with six different channels. (Left) Examples of the six types of sensor associated with each channel. (Right) Convolution of the image in (Middle) with the six sensors shown in (Left). The response of the individual sensors is determined by sampling these filtered images at a distance proportional to the size of the sensor (shown with dots). This diagram shows the response of only the even symmetric sensors.
英語のヒント
Field (1987)から取った図と説明文:六つの異なるチャネルによる符号化の例。(左)各チャネルに対応する6種類のセンサーの例。(右)(中央)の画像と、(左)に示した六つのセンサーとの畳み込み。個々のセンサーの応答は、これらのフィルタをかけた画像を、センサーの大きさに比例した間隔(点で示す)で標本化して決める。この図は、偶対称のセンサーの応答だけを示している。
As it turns out, this relation even holds for the features computed by deeper layers of networks trained on image classification tasks, as demonstrated in, for example, Kuzovkin et al. (2018). Suffice it to say, convolutions have proven to be an incredibly powerful tool for computer vision, both in biology and in code. As such, it is not surprising (in hindsight) that they heralded the recent success in deep learning.
英語のヒント
実は、たとえばKuzovkin et al. (2018)が示したように、この関係は、画像分類の課題で訓練したネットワークのもっと深い層が計算する特徴量についてさえ成り立つ。言うまでもなく、畳み込みは、生物においてもコードにおいても、コンピュータビジョンにとって驚くほど強力な道具であることが証明されてきた。そのため、畳み込みが最近の深層学習の成功の先駆けとなったのは、(後から見れば)驚くことではない。