プリンキピア

第1章はじめに

1.7. The Essence of Deep Learning1.7 深層学習の本質

Thus far, we have talked in broad terms about machine learning. Deep learning is the subset of machine learning concerned with models based on many-layered neural networks. It is deep in precisely the sense that its models learn many layers of transformations. While this might sound narrow, deep learning has given rise to a dizzying array of models, techniques, problem formulations, and applications. Many intuitions have been developed to explain the benefits of depth. Arguably, all machine learning has many layers of computation, the first consisting of feature processing steps. What differentiates deep learning is that the operations learned at each of the many layers of representations are learned jointly from data.
英語のヒント
ここまで、機械学習について大まかに話してきた。深層学習は、多くの層をもつニューラルネットワークにもとづくモデルを扱う、機械学習の一部である。そのモデルが多くの層の変換を学習するという、まさにその意味で深いのである。これは狭く聞こえるかもしれないが、深層学習は、目もくらむほど多くのモデル、技術、問題の定式化、応用を生み出してきた。深さの利点を説明するために、多くの直観が築かれてきた。おそらく、どんな機械学習にも多くの計算の層がある。最初の層は特徴の処理の段階である。深層学習を区別するのは、表現の多くの層のそれぞれで学習される操作が、データから同時に学習される点である。
The problems that we have discussed so far, such as learning from the raw audio signal, the raw pixel values of images, or mapping between sentences of arbitrary lengths and their counterparts in foreign languages, are those where deep learning excels and traditional methods falter. It turns out that these many-layered models are capable of addressing low-level perceptual data in a way that previous tools could not. Arguably the most significant commonality in deep learning methods is end-to-end training. That is, rather than assembling a system based on components that are individually tuned, one builds the system and then tunes their performance jointly. For instance, in computer vision scientists used to separate the process of feature engineering from the process of building machine learning models. The Canny edge detector (Canny, 1987) and Lowe’s SIFT feature extractor (Lowe, 2004) reigned supreme for over a decade as algorithms for mapping images into feature vectors. In bygone days, the crucial part of applying machine learning to these problems consisted of coming up with manually-engineered ways of transforming the data into some form amenable to shallow models. Unfortunately, there is only so much that humans can accomplish by ingenuity in comparison with a consistent evaluation over millions of choices carried out automatically by an algorithm. When deep learning took over, these feature extractors were replaced by automatically tuned filters that yielded superior accuracy.
英語のヒント
ここまで論じてきた問題、たとえば生の音声信号や画像の生の画素値から学習したり、任意の長さの文とそれに対応する外国語の文とを写像したりする問題は、深層学習が優れ、従来の手法がつまずく問題である。こうした多層のモデルは、以前の道具にはできなかったやり方で、低水準の知覚データを扱えることがわかった。深層学習の手法の最も重要な共通点は、おそらくエンドツーエンドの訓練である。つまり、個別に調整した部品をもとにシステムを組み立てるのではなく、システムを作ってから、その性能をまとめて調整するのである。たとえばコンピュータビジョンでは、科学者たちはかつて、特徴量エンジニアリングの過程を、機械学習モデルを作る過程から切り離していた。Cannyのエッジ検出器(Canny, 1987)やLoweのSIFT特徴抽出器(Lowe, 2004)は、画像を特徴ベクトルに写像するアルゴリズムとして、10年以上にわたって君臨した。過ぎ去った時代には、こうした問題に機械学習を当てはめる決定的な部分は、データを浅いモデルが扱いやすい形に変換する、人手で設計したやり方を考え出すことにあった。残念ながら、アルゴリズムが自動で行う何百万もの選択肢にわたる一貫した評価と比べると、人間が創意工夫で達成できることには限りがある。深層学習が取って代わると、こうした特徴抽出器は、自動で調整されるフィルタに置き換えられ、より優れた精度をもたらした。
Thus, one key advantage of deep learning is that it replaces not only the shallow models at the end of traditional learning pipelines, but also the labor-intensive process of feature engineering. Moreover, by replacing much of the domain-specific preprocessing, deep learning has eliminated many of the boundaries that previously separated computer vision, speech recognition, natural language processing, medical informatics, and other application areas, thereby offering a unified set of tools for tackling diverse problems.
英語のヒント
したがって、深層学習の鍵となる利点の一つは、従来の学習のパイプラインの最後にある浅いモデルだけでなく、手間のかかる特徴量エンジニアリングの過程にも取って代わることである。しかも、分野ごとの前処理の多くを置き換えることで、深層学習は、コンピュータビジョン、音声認識、自然言語処理、医療情報学、そのほかの応用分野を以前は隔てていた境界の多くを取り払い、多様な問題に取り組むための統一された道具一式を提供している。
Beyond end-to-end training, we are experiencing a transition from parametric statistical descriptions to fully nonparametric models. When data is scarce, one needs to rely on simplifying assumptions about reality in order to obtain useful models. When data is abundant, these can be replaced by nonparametric models that better fit the data. To some extent, this mirrors the progress that physics experienced in the middle of the previous century with the availability of computers. Rather than solving by hand parametric approximations of how electrons behave, one can now resort to numerical simulations of the associated partial differential equations. This has led to much more accurate models, albeit often at the expense of interpretation.
英語のヒント
エンドツーエンドの訓練のほかにも、私たちは、パラメトリックな統計的記述から、完全にノンパラメトリックなモデルへの移行を経験している。データが乏しいときは、役に立つモデルを得るために、現実についての単純化した仮定に頼る必要がある。データが豊富なときは、そうした仮定を、データによりよく合うノンパラメトリックなモデルで置き換えられる。ある程度、これは、前世紀の半ばにコンピュータが使えるようになったときに物理学が経験した進歩を映している。電子がどう振る舞うかについてのパラメトリックな近似を手で解く代わりに、今では関連する偏微分方程式の数値シミュレーションに頼れる。これによって、しばしば解釈を犠牲にしながらも、はるかに正確なモデルが得られるようになった。
Another difference from previous work is the acceptance of suboptimal solutions, dealing with nonconvex nonlinear optimization problems, and the willingness to try things before proving them. This new-found empiricism in dealing with statistical problems, combined with a rapid influx of talent has led to rapid progress in the development of practical algorithms, albeit in many cases at the expense of modifying and re-inventing tools that existed for decades.
英語のヒント
以前の研究とのもう一つの違いは、最適でない解を受け入れ、非凸の非線形最適化問題を扱い、証明する前に試してみることをいとわない点である。統計的な問題を扱う際のこの新たな経験主義と、才能ある人々の急速な流入とが合わさって、実用的なアルゴリズムの開発が急速に進んだ。ただし多くの場合、何十年も存在していた道具を手直ししたり再発明したりするという代償を払いながらである。
In the end, the deep learning community prides itself on sharing tools across academic and corporate boundaries, releasing many excellent libraries, statistical models, and trained networks as open source. It is in this spirit that the notebooks forming this book are freely available for distribution and use. We have worked hard to lower the barriers of access for anyone wishing to learn about deep learning and we hope that our readers will benefit from this.
英語のヒント
結局のところ、深層学習のコミュニティは、学術と企業の境界を越えて道具を共有し、多くの優れたライブラリ、統計モデル、訓練済みのネットワークをオープンソースとして公開していることを誇りにしている。この本を構成するノートブックが、配布にも利用にも自由に使えるのは、この精神によるものである。私たちは、深層学習を学びたい人なら誰でも近づきやすくなるよう懸命に努めてきた。読者がその恩恵を受けることを願っている。