プリンキピア

第1章はじめに

1.4. Roots1.4 源流

We have just reviewed a small subset of problems that machine learning can address. For a diverse set of machine learning problems, deep learning provides powerful tools for their solution. Although many deep learning methods are recent inventions, the core ideas behind learning from data have been studied for centuries. In fact, humans have held the desire to analyze data and to predict future outcomes for ages, and it is this desire that is at the root of much of natural science and mathematics. Two examples are the Bernoulli distribution, named after Jacob Bernoulli (1655–1705), and the Gaussian distribution discovered by Carl Friedrich Gauss (1777–1855). Gauss invented, for instance, the least mean squares algorithm, which is still used today for a multitude of problems from insurance calculations to medical diagnostics. Such tools enhanced the experimental approach in the natural sciences—for instance, Ohm’s law relating current and voltage in a resistor is perfectly described by a linear model.
英語のヒント
機械学習が扱える問題のごく一部を見てきた。多様な機械学習の問題に対して、深層学習はその解決のための強力な道具を提供する。深層学習の手法の多くは最近の発明だが、データから学ぶことの背後にある中心的な考え方は、何世紀にもわたって研究されてきた。実際、人類は昔から、データを分析し将来の結果を予測したいという願いを抱いてきた。そして、自然科学と数学の多くの根にあるのは、まさにこの願いである。その二つの例が、ヤコブ・ベルヌーイ(1655–1705)にちなんで名づけられたベルヌーイ分布と、カール・フリードリヒ・ガウス(1777–1855)が発見したガウス分布である。たとえばガウスは最小二乗法を発明した。これは今でも、保険の計算から医療診断まで、さまざまな問題に使われている。こうした道具は自然科学における実験的な手法を強化した。たとえば、抵抗器の電流と電圧を関係づけるオームの法則は、線形モデルで完全に記述される。
Even in the middle ages, mathematicians had a keen intuition of estimates. For instance, the geometry book of Jacob Köbel (1460–1533) illustrates averaging the length of 16 adult men’s feet to estimate the typical foot length in the population (Fig. 1.4.1).
英語のヒント
中世においてさえ、数学者たちは推定について鋭い直観をもっていた。たとえば、ヤコブ・ケーベル(1460–1533)の幾何学の本には、成人男性16人の足の長さを平均して、人々の典型的な足の長さを推定する様子が描かれている(図1.4.1)。
Fig. 1.4.1図1.4.1
Estimating the length of a foot.
英語のヒント
足の長さを推定する。
As a group of individuals exited a church, 16 adult men were asked to line up in a row and have their feet measured. The sum of these measurements was then divided by 16 to obtain an estimate for what now is called one foot. This “algorithm” was later improved to deal with misshapen feet; The two men with the shortest and longest feet were sent away, averaging only over the remainder. This is among the earliest examples of a trimmed mean estimate.
英語のヒント
教会から出てくる人々のなかから、成人男性16人に一列に並んでもらい、足の長さを測った。そして、これらの測定値の合計を16で割って、今日1フィートと呼ばれるものの推定値を得た。この「アルゴリズム」は後に、いびつな足に対処するよう改良された。足の最も短い男と最も長い男の二人を外し、残りだけで平均をとったのである。これは刈り込み平均による推定の最も古い例の一つである。
Statistics really took off with the availability and collection of data. One of its pioneers, Ronald Fisher (1890–1962), contributed significantly to its theory and also its applications in genetics. Many of his algorithms (such as linear discriminant analysis) and concepts (such as the Fisher information matrix) still hold a prominent place in the foundations of modern statistics. Even his data resources had a lasting impact. The Iris dataset that Fisher released in 1936 is still sometimes used to demonstrate machine learning algorithms. Fisher was also a proponent of eugenics, which should remind us that the morally dubious use of data science has as long and enduring a history as its productive use in industry and the natural sciences.
英語のヒント
統計学が本格的に発展したのは、データが手に入り、集められるようになってからである。その先駆者の一人であるロナルド・フィッシャー(1890–1962)は、統計学の理論と、遺伝学へのその応用に大きく貢献した。彼のアルゴリズム(線形判別分析など)や概念(フィッシャー情報行列など)の多くは、今でも現代統計学の基礎のなかで重要な位置を占めている。彼のデータ資源でさえ、長く影響を残した。フィッシャーが1936年に公開したアヤメのデータセットは、今でもときどき機械学習アルゴリズムの実演に使われる。フィッシャーは優生学の提唱者でもあった。このことは、データサイエンスの道徳的に疑わしい使い方が、産業や自然科学での生産的な使い方と同じくらい長く根強い歴史をもっていることを思い出させる。
Other influences for machine learning came from the information theory of Claude Shannon (1916–2001) and the theory of computation proposed by Alan Turing (1912–1954). Turing posed the question “can machines think?” in his famous paper Computing Machinery and Intelligence (Turing, 1950). Describing what is now known as the Turing test, he proposed that a machine can be considered intelligent if it is difficult for a human evaluator to distinguish between the replies from a machine and those of a human, based purely on textual interactions.
英語のヒント
機械学習へのほかの影響は、クロード・シャノン(1916–2001)の情報理論と、アラン・チューリング(1912–1954)が提唱した計算の理論から来た。チューリングは、有名な論文「計算する機械と知性」(Turing, 1950)で「機械は考えることができるか」という問いを立てた。今日チューリングテストとして知られるものを述べるなかで、彼は、純粋に文字によるやり取りだけにもとづいて、人間の評価者が機械の返答と人間の返答とを見分けにくいなら、その機械は知的だとみなせると提案した。
Further influences came from neuroscience and psychology. After all, humans clearly exhibit intelligent behavior. Many scholars have asked whether one could explain and possibly reverse engineer this capacity. One of the first biologically inspired algorithms was formulated by Donald Hebb (1904–1985). In his groundbreaking book The Organization of Behavior (Hebb, 1949), he posited that neurons learn by positive reinforcement. This became known as the Hebbian learning rule. These ideas inspired later work, such as Rosenblatt’s perceptron learning algorithm, and laid the foundations of many stochastic gradient descent algorithms that underpin deep learning today: reinforce desirable behavior and diminish undesirable behavior to obtain good settings of the parameters in a neural network.
英語のヒント
さらなる影響は、神経科学と心理学から来た。なんといっても、人間ははっきりと知的な振る舞いを示す。多くの学者が、この能力を説明し、場合によってはリバースエンジニアリングできないかと問うてきた。生物学に着想を得た最初のアルゴリズムの一つは、ドナルド・ヘッブ(1904–1985)によって定式化された。画期的な著書『行動の機構』(Hebb, 1949)で、彼は、ニューロンは正の強化によって学習すると主張した。これはヘッブの学習則として知られるようになった。これらの考え方は、ローゼンブラットのパーセプトロンの学習アルゴリズムのような後の研究に着想を与え、今日の深層学習を支える多くの確率的勾配降下法のアルゴリズムの基礎を築いた。望ましい振る舞いを強め、望ましくない振る舞いを弱めて、ニューラルネットワークのパラメータのよい設定を得るのである。
Biological inspiration is what gave neural networks their name. For over a century (dating back to the models of Alexander Bain, 1873, and James Sherrington, 1890), researchers have tried to assemble computational circuits that resemble networks of interacting neurons. Over time, the interpretation of biology has become less literal, but the name stuck. At its heart lie a few key principles that can be found in most networks today:
英語のヒント
ニューラルネットワークという名前を与えたのは、生物学からの着想である。1世紀以上にわたって(アレクサンダー・ベインの1873年のモデルや、ジェームズ・シェリントンの1890年のモデルにさかのぼる)、研究者たちは、相互作用するニューロンのネットワークに似た計算回路を組み立てようとしてきた。時とともに、生物学の解釈はあまり文字どおりではなくなったが、名前は残った。その中心には、今日のほとんどのネットワークに見られるいくつかの鍵となる原理がある。
  • The alternation of linear and nonlinear processing units, often referred to as layers.
    英語のヒント
    線形と非線形の処理単位を交互に重ねること。これはしばしば層と呼ばれる。
  • The use of the chain rule (also known as backpropagation) for adjusting parameters in the entire network at once.
    英語のヒント
    ネットワーク全体のパラメータを一度に調整するために、連鎖律(誤差逆伝播法とも呼ばれる)を使うこと。
After initial rapid progress, research in neural networks languished from around 1995 until 2005. This was mainly due to two reasons. First, training a network is computationally very expensive. While random-access memory was plentiful at the end of the past century, computational power was scarce. Second, datasets were relatively small. In fact, Fisher’s Iris dataset from 1936 was still a popular tool for testing the efficacy of algorithms. The MNIST dataset with its 60,000 handwritten digits was considered huge.
英語のヒント
最初の急速な進歩の後、ニューラルネットワークの研究は1995年ごろから2005年まで停滞した。これには主に二つの理由がある。第一に、ネットワークの訓練には計算の費用が非常にかかる。前世紀の終わりにはランダムアクセスメモリはたっぷりあったが、計算能力は乏しかった。第二に、データセットが比較的小さかった。実際、1936年のフィッシャーのアヤメのデータセットは、アルゴリズムの有効性を試す道具として、まだ人気があった。60,000個の手書き数字をもつMNISTデータセットは巨大だとみなされていた。
Given the scarcity of data and computation, strong statistical tools such as kernel methods, decision trees, and graphical models proved empirically superior in many applications. Moreover, unlike neural networks, they did not require weeks to train and provided predictable results with strong theoretical guarantees.
英語のヒント
データと計算が乏しかったので、カーネル法、決定木、グラフィカルモデルのような強力な統計の道具が、多くの応用で経験的に優れていることがわかった。しかも、ニューラルネットワークと違って、それらは訓練に何週間もかからず、強い理論的保証を伴う予測可能な結果を出した。