プリンキピア

第3章回帰のための線形ニューラルネットワーク

3.1.4. Linear Regression as a Neural Network3.1.4 ニューラルネットワークとしての線形回帰

While linear models are not sufficiently rich to express the many complicated networks that we will introduce in this book, (artificial) neural networks are rich enough to subsume linear models as networks in which every feature is represented by an input neuron, all of which are connected directly to the output.
英語のヒント
線形モデルは、この本で紹介する多くの複雑なネットワークを表すほど豊かではないが、(人工)ニューラルネットワークは、各特徴量が入力ニューロンで表され、そのすべてが出力に直接つながったネットワークとして、線形モデルを包含できるほど豊かである。
Fig. 3.1.2 depicts linear regression as a neural network. The diagram highlights the connectivity pattern, such as how each input is connected to the output, but not the specific values taken by the weights or biases.
英語のヒント
図3.1.2は、線形回帰をニューラルネットワークとして描いたものである。この図は、各入力がどう出力につながっているかといった結合のパターンを強調しているが、重みやバイアスがとる具体的な値は示していない。
Fig. 3.1.2図3.1.2
Linear regression is a single-layer neural network.
英語のヒント
線形回帰は単層のニューラルネットワークである。
The inputs are x1,…,xd. We refer to d as the number of inputs or the feature dimensionality in the input layer. The output of the network is o1. Because we are just trying to predict a single numerical value, we have only one output neuron. Note that the input values are all given. There is just a single computed neuron. In summary, we can think of linear regression as a single-layer fully connected neural network. We will encounter networks with far more layers in later chapters.
英語のヒント
入力はx1,…,xdである。dを、入力層における入力の数、あるいは特徴の次元数という。ネットワークの出力はo1である。一つの数値を予測しようとしているだけなので、出力ニューロンは一つだけである。入力値はすべて与えられていることに注意してほしい。計算されるニューロンは一つだけである。まとめると、線形回帰は単層の全結合ニューラルネットワークと考えられる。後の章では、もっとずっと多くの層をもつネットワークに出会う。

3.1.4.1. Biology3.1.4.1 生物学

Because linear regression predates computational neuroscience, it might seem anachronistic to describe linear regression in terms of neural networks. Nonetheless, they were a natural place to start when the cyberneticists and neurophysiologists Warren McCulloch and Walter Pitts began to develop models of artificial neurons. Consider the cartoonish picture of a biological neuron in Fig. 3.1.3, consisting of dendrites (input terminals), the nucleus (CPU), the axon (output wire), and the axon terminals (output terminals), enabling connections to other neurons via synapses.
英語のヒント
線形回帰は計算論的神経科学より前からあるので、線形回帰をニューラルネットワークの言葉で記述するのは時代錯誤に思えるかもしれない。それでも、サイバネティクスの研究者で神経生理学者のウォーレン・マカロックとウォルター・ピッツが人工ニューロンのモデルを作り始めたとき、それは自然な出発点だった。図3.1.3の、生物のニューロンの漫画のような絵を考えよう。樹状突起(入力端子)、核(CPU)、軸索(出力の配線)、軸索終末(出力端子)からなり、シナプスを介してほかのニューロンとつながることができる。
Fig. 3.1.3図3.1.3
The real neuron (source: “Anatomy and Physiology” by the US National Cancer Institute’s Surveillance, Epidemiology and End Results (SEER) Program).
英語のヒント
本物のニューロン(出典:米国国立がん研究所の監視・疫学・最終結果(SEER)プログラムによる「Anatomy and Physiology」)。
Information xi arriving from other neurons (or environmental sensors) is received in the dendrites. In particular, that information is weighted by synaptic weights wi, determining the effect of the inputs, e.g., activation or inhibition via the product xiwi. The weighted inputs arriving from multiple sources are aggregated in the nucleus as a weighted sum y=∑ixiwi+b, possibly subject to some nonlinear postprocessing via a function σ(y). This information is then sent via the axon to the axon terminals, where it reaches its destination (e.g., an actuator such as a muscle) or it is fed into another neuron via its dendrites.
英語のヒント
ほかのニューロン(あるいは環境のセンサー)から届く情報xiは、樹状突起で受け取られる。特にその情報は、シナプスの重みwiで重み付けされ、入力の効果、たとえば積xiwiによる活性化や抑制が決まる。複数の出どころから届いた重み付きの入力は、核で重み付き和y=∑ixiwi+bとして集約され、場合によっては関数σ(y)による何らかの非線形の後処理を受ける。この情報は次に軸索を通って軸索終末に送られ、そこで目的地(たとえば筋肉のようなアクチュエータ)に達するか、樹状突起を通って別のニューロンに与えられる。
Certainly, the high-level idea that many such units could be combined, provided they have the correct connectivity and learning algorithm, to produce far more interesting and complex behavior than any one neuron alone could express arises from our study of real biological neural systems. At the same time, most research in deep learning today draws inspiration from a much wider source. We invoke Russell and Norvig (2016) who pointed out that although airplanes might have been inspired by birds, ornithology has not been the primary driver of aeronautics innovation for some centuries. Likewise, inspiration in deep learning these days comes in equal or greater measure from mathematics, linguistics, psychology, statistics, computer science, and many other fields.
英語のヒント
確かに、そうした単位の多くを、正しい結合と学習アルゴリズムさえあれば組み合わせて、どの一つのニューロンが単独で表せるよりもずっとおもしろく複雑な振る舞いを生み出せるという大まかな考えは、本物の生物の神経系の研究から生まれた。同時に、今日の深層学習の研究のほとんどは、もっとずっと広い源から着想を得ている。Russell and Norvig (2016)を引こう。彼らは、飛行機は鳥に着想を得たかもしれないが、鳥類学はここ何世紀も航空学の革新の主な原動力ではなかったと指摘した。同じように、最近の深層学習の着想は、数学、言語学、心理学、統計学、計算機科学、そのほか多くの分野から、同等かそれ以上に得られている。