プリンキピア

第8章現代の畳み込みニューラルネットワーク

8. Modern Convolutional Neural Networks8 現代の畳み込みニューラルネットワーク

Now that we understand the basics of wiring together CNNs, let’s take a tour of modern CNN architectures. This tour is, by necessity, incomplete, thanks to the plethora of exciting new designs being added. Their importance derives from the fact that not only can they be used directly for vision tasks, but they also serve as basic feature generators for more advanced tasks such as tracking (Zhang et al., 2021), segmentation (Long et al., 2015), object detection (Redmon and Farhadi, 2018), or style transformation (Gatys et al., 2016). In this chapter, most sections correspond to a significant CNN architecture that was at some point (or currently) the base model upon which many research projects and deployed systems were built. Each of these networks was briefly a dominant architecture and many were winners or runners-up in the ImageNet competition which has served as a barometer of progress on supervised learning in computer vision since 2010. It is only recently that Transformers have begun to displace CNNs, starting with Dosovitskiy et al. (2021) and followed by the Swin Transformer (Liu et al., 2021). We will cover this development later in Section 11.
英語のヒント
CNNを組み上げる基本がわかったので、現代のCNNの構造をめぐってみよう。わくわくするような新しい設計が次々と加わっているので、このめぐり方はどうしても不完全になる。これらの構造が重要なのは、視覚の課題に直接使えるだけでなく、追跡(Zhang et al., 2021)、セグメンテーション(Long et al., 2015)、物体検出(Redmon and Farhadi, 2018)、スタイル変換(Gatys et al., 2016)のような、もっと高度な課題のための基本的な特徴量生成器としても役立つからである。この章のほとんどの節は、ある時点で(あるいは今も)多くの研究プロジェクトや実運用のシステムの土台となった、重要なCNNの構造に対応している。これらのネットワークはどれも一時期支配的な構造であり、多くは、2010年以来コンピュータビジョンにおける教師あり学習の進歩のバロメーターとなってきたImageNetコンペティションで、優勝したか次点になった。Transformerが、Dosovitskiy et al. (2021)に始まり、Swin Transformer(Liu et al., 2021)が続く形でCNNに取って代わり始めたのは、ごく最近のことである。この展開は後の第11章で扱う。
While the idea of deep neural networks is quite simple (stack together a bunch of layers), performance can vary wildly across architectures and hyperparameter choices. The neural networks described in this chapter are the product of intuition, a few mathematical insights, and a lot of trial and error. We present these models in chronological order, partly to convey a sense of the history so that you can form your own intuitions about where the field is heading and perhaps develop your own architectures. For instance, batch normalization and residual connections described in this chapter have offered two popular ideas for training and designing deep models, both of which have since also been applied to architectures beyond computer vision.
英語のヒント
深いニューラルネットワークの考え方はごく単純(層をたくさん積み重ねる)だが、性能は構造やハイパーパラメータの選び方によって大きく変わりうる。この章で説明するニューラルネットワークは、直観と、いくつかの数学的な洞察と、たくさんの試行錯誤の産物である。これらのモデルは年代順に示す。一つには歴史の感覚を伝え、この分野がどこへ向かっているかについて自分なりの直観を形作り、ことによると自分の構造を開発できるようにするためである。たとえば、この章で説明するバッチ正規化と残差接続は、深いモデルを訓練し設計するための人気のある二つの考えをもたらし、どちらもその後、コンピュータビジョン以外の構造にも当てはめられてきた。
We begin our tour of modern CNNs with AlexNet (Krizhevsky et al., 2012), the first large-scale network deployed to beat conventional computer vision methods on a large-scale vision challenge; the VGG network (Simonyan and Zisserman, 2014), which makes use of a number of repeating blocks of elements; the network in network (NiN) that convolves whole neural networks patch-wise over inputs (Lin et al., 2013); GoogLeNet that uses networks with multi-branch convolutions (Szegedy et al., 2015); the residual network (ResNet) (He et al., 2016), which remains one of the most popular off-the-shelf architectures in computer vision; ResNeXt blocks (Xie et al., 2017) for sparser connections; and DenseNet (Huang et al., 2017) for a generalization of the residual architecture. Over time many special optimizations for efficient networks have been developed, such as coordinate shifts (ShiftNet) (Wu et al., 2018). This culminated in the automatic search for efficient architectures such as MobileNet v3 (Howard et al., 2019). It also includes the semi-automatic design exploration of Radosavovic et al. (2020) that led to the RegNetX/Y which we will discuss later in this chapter. The work is instructive insofar as it offers a path for marrying brute force computation with the ingenuity of an experimenter in the search for efficient design spaces. Of note is also the work of Liu et al. (2022) as it shows that training techniques (e.g., optimizers, data augmentation, and regularization) play a pivotal role in improving accuracy. It also shows that long-held assumptions, such as the size of a convolution window, may need to be revisited, given the increase in computation and data. We will cover this and many more questions in due course throughout this chapter.
英語のヒント
現代のCNNをめぐる旅は、AlexNet(Krizhevsky et al., 2012)から始める。これは、大規模な視覚の課題で従来のコンピュータビジョンの手法を打ち負かすために実地で使われた、最初の大規模なネットワークである。続いて、要素の繰り返しブロックをいくつも使うVGGネットワーク(Simonyan and Zisserman, 2014)、ニューラルネットワーク全体を入力の上で区画ごとに畳み込むネットワーク・イン・ネットワーク(NiN)(Lin et al., 2013)、複数に枝分かれする畳み込みをもつネットワークを使うGoogLeNet(Szegedy et al., 2015)を見る。さらに、今もコンピュータビジョンで最もよく使われる既製の構造の一つである残差ネットワーク(ResNet)(He et al., 2016)、もっとまばらな接続のためのResNeXtブロック(Xie et al., 2017)、そして残差の構造を一般化したDenseNet(Huang et al., 2017)を扱う。時とともに、座標のずらし(ShiftNet)(Wu et al., 2018)のような、効率的なネットワークのための特別な最適化が数多く開発されてきた。これは、MobileNet v3(Howard et al., 2019)のような効率的な構造の自動探索として結実した。そこには、この章の後で論じるRegNetX/Yにつながった、Radosavovic et al. (2020)の半自動的な設計の探索も含まれる。この研究は、効率的な設計空間を探すうえで、力ずくの計算と実験者の創意を結びつける道を示すという点で、示唆に富む。Liu et al. (2022)の研究も注目に値する。訓練の手法(たとえばオプティマイザ、データ拡張、正則化)が正解率を上げるうえで決定的な役割を果たすことを示しているからである。また、計算とデータが増えたことを考えると、畳み込みの窓の大きさのような長く信じられてきた仮定も、見直す必要があるかもしれないことを示している。この章を通じて、これや、ほかのたくさんの問いを順に扱っていく。