プリンキピア

第22章付録:深層学習のための数学

22.1.5. Linear Dependence22.1.5 線形従属

Consider again the matrix
英語のヒント
もう一度、次の行列を考えよう。
𝐁=[2−14−2].(22.1.15)
This compresses the entire plane down to live on the single line y=2x. The question now arises: is there some way we can detect this just looking at the matrix itself? The answer is that indeed we can. Let’s take 𝐛1=[2,4]⊤ and 𝐛2=[−1,−2]⊤ be the two columns of 𝐁. Remember that we can write everything transformed by the matrix 𝐁 as a weighted sum of the columns of the matrix: like a1𝐛1+a2𝐛2. We call this a linear combination. The fact that 𝐛1=−2⋅𝐛2 means that we can write any linear combination of those two columns entirely in terms of say 𝐛2 since
英語のヒント
これは平面全体を、直線y=2xの上に押しつぶす。ここで疑問が生じる。行列そのものを見るだけでこれを検出する方法はあるだろうか。答えは、実際にできる、である。𝐛1=[2,4]⊤と𝐛2=[−1,−2]⊤を𝐁の二つの列とする。行列𝐁で変換されるものはすべて、a1𝐛1+a2𝐛2のように行列の列の重み付き和として書けることを思い出そう。これを線形結合と呼ぶ。𝐛1=−2⋅𝐛2であるという事実は、この二つの列の任意の線形結合を、たとえば𝐛2だけで書けることを意味する。なぜなら、次が成り立つからである。
a1𝐛1+a2𝐛2=−2a1𝐛2+a2𝐛2=(a2−2a1)𝐛2.(22.1.16)
This means that one of the columns is, in a sense, redundant because it does not define a unique direction in space. This should not surprise us too much since we already saw that this matrix collapses the entire plane down into a single line. Moreover, we see that the linear dependence 𝐛1=−2⋅𝐛2 captures this. To make this more symmetrical between the two vectors, we will write this as
英語のヒント
これは、列の一つがある意味で冗長であることを意味する。空間の中で固有の方向を定めないからである。この行列が平面全体を一本の直線に押しつぶすことはすでに見たので、これはそれほど驚くことではない。さらに、線形従属𝐛1=−2⋅𝐛2がこのことをとらえていることがわかる。二つのベクトルの間でより対称にするため、これを次のように書く。
𝐛1+2⋅𝐛2=0.(22.1.17)
In general, we will say that a collection of vectors 𝐯1,…,𝐯k are linearly dependent if there exist coefficients a1,…,ak not all equal to zero so that
英語のヒント
一般に、ベクトルの集まり𝐯1,…,𝐯kは、すべてが0ではない係数a1,…,akが存在して次が成り立つとき、線形従属であるという。
∑i=1kai𝐯𝐢=0.(22.1.18)
In this case, we can solve for one of the vectors in terms of some combination of the others, and effectively render it redundant. Thus, a linear dependence in the columns of a matrix is a witness to the fact that our matrix is compressing the space down to some lower dimension. If there is no linear dependence we say the vectors are linearly independent. If the columns of a matrix are linearly independent, no compression occurs and the operation can be undone.
英語のヒント
この場合、ベクトルの一つをほかのもののある組み合わせで表すように解くことができ、事実上それを冗長にできる。したがって、行列の列の線形従属は、その行列が空間をより低い次元に押しつぶしているという事実の証拠である。線形従属がないとき、ベクトルは線形独立であるという。行列の列が線形独立なら、押しつぶしは起きず、その演算は元に戻せる。