プリンキピア

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

7. Convolutional Neural Networks7 畳み込みニューラルネットワーク

Image data is represented as a two-dimensional grid of pixels, be the image monochromatic or in color. Accordingly each pixel corresponds to one or multiple numerical values respectively. So far we have ignored this rich structure and treated images as vectors of numbers by flattening them, irrespective of the spatial relation between pixels. This deeply unsatisfying approach was necessary in order to feed the resulting one-dimensional vectors through a fully connected MLP.
英語のヒント
画像データは、白黒であれカラーであれ、画素の2次元の格子として表される。それに応じて、各画素はそれぞれ一つまたは複数の数値に対応する。ここまでは、この豊かな構造を無視し、画素どうしの空間的な関係にかまわず、画像を平らにして数のベクトルとして扱ってきた。このきわめて不満足なやり方は、得られた1次元のベクトルを全結合のMLPに通すために必要だった。
Because these networks are invariant to the order of the features, we could get similar results regardless of whether we preserve an order corresponding to the spatial structure of the pixels or if we permute the columns of our design matrix before fitting the MLP’s parameters. Ideally, we would leverage our prior knowledge that nearby pixels are typically related to each other, to build efficient models for learning from image data.
英語のヒント
こうしたネットワークは特徴量の順序に対して不変なので、画素の空間的な構造に対応する順序を保っても、MLPのパラメータを当てはめる前に計画行列の列を並べ替えても、似た結果が得られる。理想的には、近くの画素どうしはふつう互いに関係しているという事前の知識を活用して、画像データから学習するための効率的なモデルを作りたい。
This chapter introduces convolutional neural networks (CNNs) (LeCun et al., 1995), a powerful family of neural networks that are designed for precisely this purpose. CNN-based architectures are now ubiquitous in the field of computer vision. For instance, on the Imagnet collection (Deng et al., 2009) it was only the use of convolutional neural networks, in short Convnets, that provided significant performance improvements (Krizhevsky et al., 2012).
英語のヒント
この章では、まさにこの目的のために設計された強力なニューラルネットワークの族である、畳み込みニューラルネットワーク(CNN)(LeCun et al., 1995)を紹介する。CNNにもとづく構造は、今ではコンピュータビジョンの分野のいたるところに見られる。たとえば、ImageNetのコレクション(Deng et al., 2009)で大きな性能の向上をもたらしたのは、畳み込みニューラルネットワーク、略してConvnetを使うことだけだった(Krizhevsky et al., 2012)。
Modern CNNs, as they are called colloquially, owe their design to inspirations from biology, group theory, and a healthy dose of experimental tinkering. In addition to their sample efficiency in achieving accurate models, CNNs tend to be computationally efficient, both because they require fewer parameters than fully connected architectures and because convolutions are easy to parallelize across GPU cores (Chetlur et al., 2014). Consequently, practitioners often apply CNNs whenever possible, and increasingly they have emerged as credible competitors even on tasks with a one-dimensional sequence structure, such as audio (Abdel-Hamid et al., 2014), text (Kalchbrenner et al., 2014), and time series analysis (LeCun et al., 1995), where recurrent neural networks are conventionally used. Some clever adaptations of CNNs have also brought them to bear on graph-structured data (Kipf and Welling, 2016) and in recommender systems.
英語のヒント
くだけた呼び方で言う現代のCNNは、その設計を、生物学、群論、そしてたっぷりの実験的な試行錯誤から得た着想に負っている。正確なモデルを達成するうえで標本の効率がよいことに加えて、CNNは計算の効率もよい傾向がある。全結合の構造より少ないパラメータで済むうえ、畳み込みはGPUのコアにまたがって並列化しやすいからである(Chetlur et al., 2014)。その結果、実践者は可能なかぎりCNNを当てはめることが多く、ふつうはリカレントニューラルネットワークが使われる、音声(Abdel-Hamid et al., 2014)、テキスト(Kalchbrenner et al., 2014)、時系列解析(LeCun et al., 1995)のような1次元の系列構造をもつ課題でさえ、CNNはますます有力な競争相手として台頭してきた。CNNの巧みな応用によって、グラフ構造のデータ(Kipf and Welling, 2016)や推薦システムにも用いられるようになった。
First, we will dive more deeply into the motivation for convolutional neural networks. This is followed by a walk through the basic operations that comprise the backbone of all convolutional networks. These include the convolutional layers themselves, nitty-gritty details including padding and stride, the pooling layers used to aggregate information across adjacent spatial regions, the use of multiple channels at each layer, and a careful discussion of the structure of modern architectures. We will conclude the chapter with a full working example of LeNet, the first convolutional network successfully deployed, long before the rise of modern deep learning. In the next chapter, we will dive into full implementations of some popular and comparatively recent CNN architectures whose designs represent most of the techniques commonly used by modern practitioners.
英語のヒント
まず、畳み込みニューラルネットワークの動機にもっと深く踏み込む。続いて、すべての畳み込みネットワークの背骨をなす基本的な演算をひととおり見ていく。そこには、畳み込み層そのもの、パディングやストライドといった細かい細部、隣り合う空間領域にわたって情報を集約するのに使うプーリング層、各層で複数のチャネルを使うこと、そして現代の構造のつくりについての注意深い議論が含まれる。この章の締めくくりには、現代の深層学習が台頭するずっと前に初めて実地でうまく使われた畳み込みネットワークであるLeNetの、完全に動く例を示す。次の章では、比較的最近のよく使われるCNNの構造のいくつかについて、完全な実装に踏み込む。それらの設計は、現代の実践者がよく使う手法のほとんどを体現している。