First eigenvalue/eigenvector in
sparse symmetric random matrices
Y. Kabashima (Tokyo Tech.) Collaborators:
H. Takahashi (ISM) and O. Watanabe (Tokyo Tech.)
Refs) YK and H. Takahashi, J. Phys. A: Math. Theor. 45 325001 (2012),
YK, H. Takahashi and O. Watanabe, J. Phys. Conf. Ser. 233, 012001(11 pages) (2010)
2014/12/20 数物 @ 茶 水女子大学
Outline
• Background and moSvaSon
• Problem seTng
• Cavity method
• Two analyScally solvable examples
– Single degree model – Defect models
• More general cases and development of approximaSons
• Summary
2014/12/20 数物 @ 茶 水女子大学
Background
• The first (largest) eigenvalue and its (first) eigenvector are relevant to many problems in various fields
– InformaSon science
• InformaSon extracSon (PCA, PageRank, recommendaSon systems, etc.)
• Spectral analysis of graph bisecSon problem, 3SAT, etc.
• Network science
– Physics
• Quantum mechanics
• Spin glasses
• LocalizaSon in disordered systems
2014/12/20 数物 @ 茶 水女子大学
Example 1) Graph BisecSon
Graph BisecSon
Instance: graph G = ( V, E )
Ans: parSSon V1 and V2 of V s.t.
‐ V = V1 U V2 , and
‐ min. crossing edges
2014/12/20 数物 @ 茶 水女子大学
Graph BisecSon
under thePlanted SoluSon Model
prob. p
r
generate an instance from its soluSon
Graph G
p + r # of edges
2014/12/20 数物 @ 茶 水女子大学
Spectral method
Adjacency matrix
A = a ( )
ij aij = aji = 1, i and j are connected 0, otherwise⎧
⎨⎪
⎩⎪
Graph Laplacian
L = δij aik
∑
k⎛
⎝⎜
⎞
⎠⎟
⎛
⎝⎜
⎞
⎠⎟ − A
Degree(=#connecSons) of node i
Pothen, Simon and Liou (1990):
Let be the eigenvector of the 2nd largest eigenv. of . The following acts as a fairly good heurisSc for a certain class of graphs.
v = (vi )
−L
put i to
V 1, if v
i
> 0
V 2, if v
i
< 0
⎧
⎨ ⎪
⎩⎪
#The largest eigenv. is 0 and its eigenvector is trivially
#So, this is pracScally a method based on the first eigenvector. 1 = 1,1,...,1( )T
2014/12/20 数物 @ 茶 水女子大学
Example 2) LocalizaSon
Inverse parScipaSon raSo (IPR):
Characterizes the profile of vectors
IPR ≡
vi4
i =1
∑
Nvi2
i =1
∑
N⎛
⎝⎜
⎞
⎠⎟
2 ⎯N⎯⎯→∞→
> 0, localized
= 0, extended
⎧⎨
⎪
⎩⎪
IPR>0 IPR → 0
v
iv
i2014/12/20 数物 @ 茶 水女子大学
IPR of eigenvectors
Biroli and Monasson (1999):
Laplacian of E‐R sparse random matrix. Eigenvectors of large/ small eigenvalues tend to be localized.
Large IPR (=localized) Large IPR
(=localized)
2014/12/20 数物 @ 茶 水女子大学
Two disSnct features of the first
eigenvector
Example 1) Graph bisec2on
• Ordered and extended
0 20 40 60 80 100
0 1 2 3 4 5 6 7
i
v i
0 20 40 60 80 100
−2
−1 0 1 2
i
v i
Example 2) Localiza2on
• Randomly localized
V 2
V 1
2014/12/20 数物 @ 茶 水女子大学
MoSvaSon
• QuesSon: What factors cause the difference of the two features of the first eigenvector?
• We will examine details of a simple model system for geTng useful insights for answering this quesSon.
2014/12/20 数物 @ 茶 水女子大学
MoSvaSon’
• 後藤君@H22 度卒業生 修論
– ン 用い 評価表現辞書構築 け 統計力学的精度改
善法
– 課題:多数 >=数万 単語 posiSve negaSve 機械的 分類
• ロ 評 分析 要
– 先行研究:高村 東工大 仮想的 ン 構成 自
動分類 行う方法 提案 い
• 結果 見 ,性能 有限温度 最大 ,低温 破綻 い
→ 第 固有ベ 使え い, いう う 話 そう
• 詳 く調べ , ワ 構成法 都合 ,第 固有ベ 強
磁性 分類 関係 そ ,単純 第 固有値 成分 消せ
性能 う → 実際 性能 向
• 欲 出 ,大 固有値 成分 消 ,性能 向
い → 大 固有値 成分 ほ localize い
• 有限温度 う くいく原因 ,正 負 種単語 対 localize 無数 固
有 感 率 程 く混 , う ,相転移 得
対称性 破 状態 情報 担 い く,種単語 対 応
答 使 分類 行う方法 あ いえ
2014/12/20 数物 @ 茶 水女子大学
Problem seTng
• random matrix:
• CharacterisSc properSes
– Symmetry
– Bimodal degree distribuSon
– Binary dist. of non‐zero elements
N × N
J = J
( )
ijJ
ij= J
jip(k) = p
1δ
k,c1+ p
2δ
k,c2Jij =
J : Prob. 1 + Δ 2
−J : Prob. 1− Δ 2
⎧
⎨
⎪⎪
⎩
⎪⎪
+
‐
……
+
…
‐
+
… …+
…0 0
0
0
J =
k = 3
k
p(k)
c 1 c 2
p
1p
22014/12/20 数物 @ 茶 水女子大学
Our quesSon
• How do the properSes of the first eigenvalue/
eigenvector depend on the system parameters
? c
1
, c
2, p
1= 1 − p
2, Δ
2014/12/20 数物 @ 茶 水女子大学
MathemaScal formulaSon
• The first eigenvalue problem is formulated as a maximizaSon problem of the quadraSc form.
Λ = 1
N max
vv
TJv
{ } subj. to v
2= N
V = arg max
v
v
TJv
{ } subj. to v
2= N
2014/12/20 数物 @ 茶 水女子大学
IntuiSve consideraSon (I)
v
TJv = J
ij
v
iv
j∑
i, j= v
iJ
ijv
j j∈∂i⎛ ∑
⎝⎜
⎞
⎠⎟
i=1
∑
N• Assigning larger absolute values to sites of larger degree nodes
makes the quadraSc form larger when the power is constrained.
•
v 2 c2 − c1 : sufficiently large
p2 : sufficiently small
V : localized
Any criScal relaSon expressed by ? c
1, c
2, p
22014/12/20 数物 @ 茶 水女子大学
IntuiSve consideraSon (II)
• Δ = 1 • Δ = 0
+
+
+
+
+
+ + +
+
+
PosiSve
+
‐ + +
+ ‐
‐
‐ ‐
PosiSve or negaSve randomly
−v
Tv −v
Tv
v
i*
> 0
(∀i = 1, 2,…, N )(< 0)
M = 1
N
v
i* i=1
N
∑ > 0
N → ∞
v
i*
= ± randomly
(∀i = 1, 2,…, N )
N → ∞
M = 1
N
v
i* i=1
N
∑ → 0
2014/12/20 数物 @ 茶 水女子大学
IntuiSve consideraSon (II)
• Δ = 1 • Δ = 0
+
+
+
+
+
+ + +
+
+
PosiSve
+
‐ + +
+ ‐
‐
‐ ‐
PosiSve or negaSve randomly
−v
Tv −v
Tv
min w.r.t. s.t. v | v | 2= N min w.r.t. s.t. v | v | 2= N
v
i*
> 0
(∀i = 1, 2,…, N )(< 0)
M = 1
N
v
i* i=1
N
∑ > 0
N → ∞
v
i*
= ± randomly
(∀i = 1, 2,…, N )
N → ∞
M = 1
N
v
i* i=1
N
∑ → 0
10.3.7 IW‐SMI2010@Kyoto
How are and determined?
Histogram
Normaliza2on:
Expected behavior in
N → ∞
| v |
2= N
P(v) = 1N i δ
=1 N
∑
(v − vi*)M
0 Δ Δ
c
1
Δ
cM (or P(v))
0
0
v
v
2014/12/20 数物 @ 茶 水女子大学
Cavity method
• Mezard et al (1987)
– A kind of mean field approximaSon (MFA):
approximate a many‐body problem by a bunch of single body problems
– Construct a MFA by leaving each variable out
Original system Cavity system
i i
j ∈∂i
2014/12/20 数物 @ 茶 水女子大学
Why cavity?
• Natural introducSon of “local tree structure”
– Can suppress approx. biases of self‐interacSon caused by cycles
• In the current system, the cavity method
– Can be regarded as a macroscopic descripSon of belief propagaSon (BP)
– Expected to provide “exact results” as
N → ∞
Cavity system
i
j ∈∂i
2014/12/20 数物 @ 茶 水女子大学
ApplicaSon to the first eigenvalue
Problem
• First eigenvalue as a Lagrange mulSplier
( Λ , v
*) = arg extr
λ ,v
{v
TJv − λ (| v |
2− N )}
Original (many‐body) problem
V
i= argmax
vi{− A
iv
i2+ 2 H
iv
i}
(i = 1, 2,…, N )
Λ
is determined s.t.V
i i=1∑
2= N
{
Mean field approximaSon
A bunch of single‐body problems
2014/12/20 数物 @ 茶 水女子大学
ApplicaSon to the first eigenvalue
Problem
• First eigenvalue as a Lagrange mulSplier
( Λ , v
*) = arg extr
λ ,v
{v
TJv − λ (| v |
2− N )}
Original (many‐body) problem
V
i= argmax
vi{− A
iv
i2+ 2 H
iv
i}
(i = 1, 2,…, N )
Λ
is determined s.t.V
i i=1∑
2= N
{
Mean field approximaSon
A bunch of single‐body problems
How can we determine these parameters (mean fields)?
2014/12/20 数物 @ 茶 水女子大学
カ
• 確率分布 以 う 表現 場合 考え
• 依存関係 タ 表現
P ( ) x = 1
Z ψ
ax
a( )
a=1 M
∏
ψa( )
· ≥ 0 :xa : subset of x
{
1, x2,…, xN}
x1
x2 x3
x4
x5
ψ1(x1, x2, x3)
ψ2(x3, x4, x5) P(x) = 1
Z ψ1(x1, x2, x3)ψ2(x3, x4, x5)
ポ ン 関数
2014/12/20 数物 @ 茶 水女子大学
表現 統計的独立性
• 確率変数 対応 ○ 互い 交わ い異
部分 含 ⇒ 確率変数 統計的 独立
x1
x2 x3
x4
x5
ψ1(x1, x2)
ψ2(x3, x4) P(x) = 1
Z ψ1(x1, x2)ψ 2(x4, x5)
= P x
(
1, x2)
P x(
4, x5)
確率変数 互い 統計的 独立 あ ,確率推論 必要 計算 減
⇒ 表現 確率推論 計算 密接 関係 い
2014/12/20 数物 @ 茶 水女子大学
周辺分布 キ 分布
• 周辺 体 分布 い 厳密 成 立 公式
Pi(xi) = P x\ xi
∑ ( )
x = Z1 ψa( )
xaa=1
∏
M x\ xi∑
= Z1 ψa( )
xaa∈∂i
⎛
∏
⎝⎜
⎞
⎠⎟
x\ xi
∑
ψb( )
xbb∉∂i
⎛
∏
⎝⎜
⎞
⎠⎟
= Z\ i
Z ψa
xa
( )
a∈∂i
⎛
∏
⎝⎜
⎞
⎠⎟
x\ xi
∑
ψb
( )
xb b∉∂i⎛
∏
⎝⎜
⎞
⎠⎟ Z\ i
=
ψa
( )
xa a∈∂i⎛
∏
⎝⎜
⎞
⎠⎟ P\ i
(
x \ xi)
x\ xi
∑
ψa
( )
xa a∈∂i⎛
∏
⎝⎜
⎞
⎠⎟ P\ i
(
x \ xi)
∑
x=
ψa
( )
xa a∈∂i∏
\ i
ψa
( )
xa a∈∂i∏
xi \ i
∑
≡ψ effi x
( )
iψ effi x
( )
ixi
∑
キ 分布
P
\ i
( x \ x
i)
キ 分布 均
2014/12/20 数物 @ 茶 水女子大学
カ 表現
• 周辺分布=直接繋 い ポ ン 関数 積 キ
分布 均 規格化
xi
∂i
ψ
ieff
x
( )
i= ψ
a( ) x
aa∈∂i
∏
\ i
外側 キ 空孔 分布
い
2014/12/20 数物 @ 茶 水女子大学
パ 特
(a) (b)
a
b c
a
b c
i i
a, b, c,… ∈∂i い xa, xb, xc,… 共通 含 xi (a):
(b): 除く 含 部分 互い 交わ 持 こ く
分離 ⇒ 各部分 含 確率変数 統計的 独立
xi a, b, c,… ∈∂i
2014/12/20 数物 @ 茶 水女子大学
パ
ψ
ieff( ) x
i= Tr
x \ xi
ψ
ax
a( )
a∈∂i
⎛ ∏
⎝⎜
⎞
⎠⎟ P
\ i( x \ x
i)
= Tr
xa\ xi
ψ
a( ) x
am
j→a( ) x
jj
∏
∈∂a\i⎛
⎝⎜
⎞
⎠⎟
⎛
⎝ ⎜ ⎞
⎠ ⎟
a∈∂i
∏
m
j→a( ) x
j:
a 除い 系 aキ 系周辺分布
x
j計算 い
楽 計算
x
ia
mj→a
( )
xj xj2014/12/20 数物 @ 茶 水女子大学
belief propagaSon (BP)
• キ 系 周辺分布 漸化式 求
こ 考え
ψi→aeff
( )
xi = Trxb\xi
ψb
( )
xb mj→b( )
xjj
∏
∈∂b\i⎛
⎝⎜
⎞
⎠⎟
⎛
⎝⎜ ⎞
⎠⎟
b
∏
∈∂i\aこ 規格化 ,aキ 系 周辺分布
mi→a
( )
xi =xTr
b\ xi
ψb
( )
xb mj→b( )
xj j∏
∈∂b\i⎛
⎝⎜
⎞
⎠⎟
⎛
⎝⎜ ⎞
⎠⎟
b
∏
∈∂i\aTrxi xTrb\ xi ψb
xb
( )
mj→b( )
xjj
∏
∈∂b\i⎛
⎝⎜
⎞
⎠⎟
⎛
⎝⎜ ⎞
⎠⎟
b
∏
∈∂i\a伝搬 漸化式 解釈 こ
x
ia
mj→b
( )
xj xjaキ 系
2014/12/20 数物 @ 茶 水女子大学
和 積 分け 表現
(a)
a i i
(b)
a
ma→i ( )xi =αa→i Tr
xj∈xa\ xiψa
xa
( ) mj→a
( )
xj j∏
∈∂a\imi→a ( )xi = αi→a mb→i ( )xi b∈∂i\a
∏
和 :○→□ 使 □→○ 更新
水
積 :□→○ 使 ○→□ 更新
垂直
こ ,分 和積 ゴ sum-product algorithm
2014/12/20 数物 @ 茶 水女子大学
周辺分布 評価
• 周辺分布 ≡ ○ 流入 べ □
掛け合わせ こ 求
Pi(xi ) = αi ma→i
( )
xi a∈∂i∏ i
2014/12/20 数物 @ 茶 水女子大学
パ 対 成立 性質
• 厳密 評価 い け ベ 近似 一般化
• BP 度伝搬 せ け い
• 計算
ma→i
( )
xi = αa→i Trxa\ xi
ψa
( )
xa mj→a( )
xj j∏
∈∂a\i⎛
⎝⎜
⎞
⎠⎟ mi→a
( )
xi =αi→a mb→i( )
xib∈∂i \a
∏
!O
(
exp( (
∂a − 1) ) )
!O ∂i −
(
1)
疎 木 あ 大 比例 く い 時間
厳密 期待値評価 可能
Pi(xi ) = αi ma→i
( )
xi a∈∂i∏
!O ∂i( )
2014/12/20 数物 @ 茶 水女子大学
木 い場合 BP
• 厳密 評価 い
• ,局所的 伝搬 復法 適用 可能
– 束性 保証 い , 更新あ 計算 木 場合 同
疎 木 あ 大 比例 く い 時間
近似的 期待値評価 可能
ma→i
( )
xi = αa→i Trxa\ xiψa
xa
( )
mj→a( )
xj j∏
∈∂a\i⎛
⎝⎜
⎞
⎠⎟ mi→a
( )
xi =αi→a mb→i( )
xib∈∂i \a
∏
!O
(
exp( (
∂a − 1) ) )
!O ∂i −
(
1)
Pi(xi ) = αi ma→i
( )
xi a∈∂i∏
!O ∂i( )
2014/12/20 数物 @ 茶 水女子大学
固有値問題 関係
• 対称行列 固有値問題→ 次形式 最大化→確率推論
特 場合
1 2 v
TJv − λ
| v |2
( )
= − 12 ij
(
λδij − Jij)
vivj∑
P v ( β ) =
β 2 v
TJv−λ|v|2
( )
e
Z ( ) β =
1
Z ( ) β e
−β
2
(
λδij−Jij)
vivj ij∏
カ カ 分布
arg max
v
v
TJv − λ | v |
2{ } =
β→∞lim Tr vP v ( β )
ロ温度極限 最大化 解い い 同
2014/12/20 数物 @ 茶 水女子大学
固有値問題 ロ温度 BP
mi→ ij ( )vi = βAi→ j 2π e
−βAi→ j 2 vi−
Hi→ j Ai→ j
⎛
⎝⎜ ⎞
⎠⎟
2
mij →i( )vi = e−
βAˆj→i 2 vi
2+βHˆ j→ivi
和
m ij →i
( )
vi = e−βAˆj→i 2 vi
2+βHˆ j→ivi
= dvje
βJij
2 vivjm
j→ ij
( )
vj∫
= dvje
βJij
2 vivj βAj→i
2π e
−βAj→i 2 vj−
Hj→i Aj→i
⎛
⎝⎜ ⎞
⎠⎟
2
∫
= e
βJij2 2Aj→i
vi2+βJijHj→i Aj→i
Aˆj→i = − Jij
2
Aj→i ,
Hˆ j→i = JijHj→i Aj→i
積
mi→ ij
( )
vi = Ai→ j 2π e−βAi→ j 2 vi−
Hi→ j Ai→ j
⎛
⎝⎜ ⎞
⎠⎟
2
= αi→ ij e−
βλ 2 vi
2
m ki →i
k
∏
∈∂i\ jvi
( )
= αi→ ij e
−βλ 2 vi
2+ −βAˆk→i 2 vi
2+βHˆ k→ivi
⎛
⎝⎜
⎞
k∈∂i\ j∑ ⎠⎟
Ai→ j = λ + Aˆk→i
k∈∂i\ j
∑
, Hi→ j = Hˆ k→i k∈∂i\ j∑
2014/12/20 数物 @ 茶 水女子大学
= 体問題
Ai→ j = λ − Jki
2
Ak→i
k∈∂i\ j
∑
, Hi→ j = JkiHk→i Ak→ik∈∂i\ j
∑
= 体問題
Pi
( )
vi = Ai 2π e−βAi 2 vi−
Hi Ai
⎛
⎝⎜
⎞
⎠⎟
2
= αie−
βλ 2 vi
2
m ji →i
∏
j∈∂i( )
vi = αie− βλ2 vi
2+ −βAˆj→i
2 vi
2+βHˆ j→ivi
⎛
⎝⎜ ⎞
⎠⎟
j∈∂i
∑
Ai = λ + Aˆj→i
j∈∂i
∑
, Hi = Hˆ j→i j∈∂i∑
変数 消去
Ai = λ − Jij
2
Aj→i
j∈∂i
∑
, Hi = JijH j→i Aj→ij∈∂i
∑
和 積
体問題
2014/12/20 数物 @ 茶 水女子大学
Belief propagaSon
• CM naturally reproduces belief propagaSon for this task
Cavity system
i
∂i
l
J
liJ
ijMessages (cavity fields)
Ai→l = λ − Jij
2
Aj→i
j∈∂i\l
∑
Hi→l = JijH j→iAj→i
j∈∂i\l
∑
Beliefs (mean fields)
Al = λ −
Jlk 2
Ak→l k∈∂l
∑
Hl = JlkAHk→lk∈∂l k→l
∑
for all directed edges i → l
for all nodes i
2014/12/20 数物 @ 茶 水女子大学