第7章畳み込みニューラルネットワーク
7.2.7. Summary7.2.7 まとめ
The core computation required for a convolutional layer is a cross-correlation operation. We saw that a simple nested for-loop is all that is required to compute its value. If we have multiple input and multiple output channels, we are performing a matrix–matrix operation between channels. As can be seen, the computation is straightforward and, most importantly, highly local. This affords significant hardware optimization and many recent results in computer vision are only possible because of that. After all, it means that chip designers can invest in fast computation rather than memory when it comes to optimizing for convolutions. While this may not lead to optimal designs for other applications, it does open the door to ubiquitous and affordable computer vision.
英語のヒント
畳み込み層に必要な中核の計算は、相互相関の演算である。その値を計算するのに必要なのは、単純な入れ子のforループだけであることを見た。入力と出力のチャネルが複数あるなら、チャネルのあいだで行列と行列の演算を行っていることになる。見てのとおり、この計算は素直であり、最も重要なことに、高度に局所的である。これによってハードウェアの大幅な最適化が可能になり、コンピュータビジョンでの最近の成果の多くはそのおかげで初めて可能になった。何しろ、これは、畳み込みのために最適化するとなれば、チップの設計者がメモリより速い計算に投資できるということである。これはほかの応用にとっては最適な設計につながらないかもしれないが、どこにでもある手頃なコンピュータビジョンへの扉を確かに開く。
In terms of convolutions themselves, they can be used for many purposes, for example detecting edges and lines, blurring images, or sharpening them. Most importantly, it is not necessary that the statistician (or engineer) invents suitable filters. Instead, we can simply learn them from data. This replaces feature engineering heuristics by evidence-based statistics. Lastly, and quite delightfully, these filters are not just advantageous for building deep networks but they also correspond to receptive fields and feature maps in the brain. This gives us confidence that we are on the right track.
英語のヒント
畳み込みそのものについて言えば、たとえば縁や線の検出、画像をぼかすこと、鮮明にすることなど、多くの目的に使える。最も重要なことに、統計学者(や技術者)が適切なフィルタを考案する必要はない。代わりに、単にデータからそれを学習すればよい。これにより、特徴量設計の経験則が、証拠にもとづく統計に置き換えられる。最後に、とてもうれしいことに、これらのフィルタは深いネットワークを作るのに有利なだけでなく、脳の受容野や特徴マップにも対応している。これは、正しい道を進んでいるという確信を与えてくれる。