第7章畳み込みニューラルネットワーク
7.5.4. Summary7.5.4 まとめ
Pooling is an exceedingly simple operation. It does exactly what its name indicates, aggregate results over a window of values. All convolution semantics, such as strides and padding apply in the same way as they did previously. Note that pooling is indifferent to channels, i.e., it leaves the number of channels unchanged and it applies to each channel separately. Lastly, of the two popular pooling choices, max-pooling is preferable to average pooling, as it confers some degree of invariance to output. A popular choice is to pick a pooling window size of to quarter the spatial resolution of output.
英語のヒント
プーリングはきわめて単純な演算である。その名が示すとおりのこと、つまり値の窓にわたって結果を集約することをする。ストライドやパディングといった畳み込みの意味づけは、すべて以前と同じように当てはまる。プーリングはチャネルには無関心であることに注意してほしい。つまり、チャネルの数は変えず、各チャネルに別々に当てはまる。最後に、よく使われる二つのプーリングの選択肢のうち、最大プーリングのほうが平均プーリングより望ましい。出力にある程度の不変性を与えるからである。よくある選択は、プーリングの窓の大きさをにして、出力の空間的な解像度を4分の1にすることである。
Note that there are many more ways of reducing resolution beyond pooling. For instance, in stochastic pooling (Zeiler and Fergus, 2013) and fractional max-pooling (Graham, 2014) aggregation is combined with randomization. This can slightly improve the accuracy in some cases. Lastly, as we will see later with the attention mechanism, there are more refined ways of aggregating over outputs, e.g., by using the alignment between a query and representation vectors.
英語のヒント
解像度を下げる方法は、プーリングのほかにもたくさんあることに注意してほしい。たとえば、確率的プーリング(Zeiler and Fergus, 2013)や分数最大プーリング(Graham, 2014)では、集約が無作為化と組み合わされている。これにより、場合によっては正解率が少し上がることがある。最後に、後でアテンションの仕組みで見るように、出力にわたって集約するもっと洗練された方法がある。たとえば、クエリと表現ベクトルのあいだの対応づけを使うのである。