Dual-tree Algorithms in Statistics
Ryan Riegel
rriegel@cc.gatech.edu
Computational Science and Engineering College of Computing Georgia Institute of Technology
Dual-tree Algorithms in Statistics – p.1/77
Dual-tree Algorithms in Statistics Ryan Riegel - - PowerPoint PPT Presentation
Dual-tree Algorithms in Statistics Ryan Riegel rriegel@cc.gatech.edu Computational Science and Engineering College of Computing Georgia Institute of Technology Dual-tree Algorithms in Statistics p.1/77 Outline (Relevant citations at top
Ryan Riegel
rriegel@cc.gatech.edu
Computational Science and Engineering College of Computing Georgia Institute of Technology
Dual-tree Algorithms in Statistics – p.1/77
Dual-tree Algorithms in Statistics – p.2/77
Dual-tree Algorithms in Statistics – p.3/77
W > thresh, approximate with center of mass
Dual-tree Algorithms in Statistics – p.4/77
W > thresh, approximate with center of mass
r2) permits
Dual-tree Algorithms in Statistics – p.4/77
W > thresh, approximate with order expansion
Dual-tree Algorithms in Statistics – p.5/77
W > thresh, approximate with order expansion
Dual-tree Algorithms in Statistics – p.5/77
Dual-tree Algorithms in Statistics – p.6/77
Dual-tree Algorithms in Statistics – p.7/77
Dual-tree Algorithms in Statistics – p.7/77
Dual-tree Algorithms in Statistics – p.7/77
Dual-tree Algorithms in Statistics – p.7/77
Dual-tree Algorithms in Statistics – p.8/77
Dual-tree Algorithms in Statistics – p.8/77
Dual-tree Algorithms in Statistics – p.8/77
Dual-tree Algorithms in Statistics – p.8/77
Dual-tree Algorithms in Statistics – p.8/77
Dual-tree Algorithms in Statistics – p.9/77
Dual-tree Algorithms in Statistics – p.9/77
Dual-tree Algorithms in Statistics – p.9/77
Dual-tree Algorithms in Statistics – p.9/77
Dual-tree Algorithms in Statistics – p.9/77
Dual-tree Algorithms in Statistics – p.9/77
Dual-tree Algorithms in Statistics – p.9/77
Dual-tree Algorithms in Statistics – p.10/77
Dual-tree Algorithms in Statistics – p.10/77
Dual-tree Algorithms in Statistics – p.10/77
Dual-tree Algorithms in Statistics – p.10/77
Dual-tree Algorithms in Statistics – p.10/77
Dual-tree Algorithms in Statistics – p.11/77
Dual-tree Algorithms in Statistics – p.11/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.12/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.13/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.14/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.15/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.16/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.17/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.18/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.19/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.20/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.21/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.22/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.23/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.24/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.25/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.26/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.27/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.28/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.29/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.30/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.31/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.32/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.33/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.34/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.35/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.36/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.37/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.38/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.39/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.40/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.41/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.42/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.43/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.44/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.45/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.46/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.47/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.48/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.49/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.50/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.51/77
q∈X
r∈X−q
Dual-tree Algorithms in Statistics – p.52/77
1, XL 2) + tpc(XL 1, XR 2 )
1 , XL 2) + tpc(XR 1 , XR 2 )
Dual-tree Algorithms in Statistics – p.53/77
q∈Q
L, R L); rng(Q L, R R)
R, R L); rng(Q R, R R)
Dual-tree Algorithms in Statistics – p.54/77
q∈Q
r∈R
L, R R} by dl(Q L, ·)
L, R1); allnn(Q L, R2)
L, R R} by dl(Q R, ·)
R, R1); allnn(Q R, R2)
Dual-tree Algorithms in Statistics – p.55/77
q∈Q
h(Q, R) − Kl h(Q, R) < (al(Q) + b) |R|·ǫ |Rroot|,
h(Q, R); return
L, R R} by dl(Q L, ·)
L, R1, b + Kl h(Q L, R2)); kde(Q L, R2, b)
L, R R} by dl(Q R, ·)
R, R1, b + Kl h(Q R, R2)); kde(Q R, R2, b)
Dual-tree Algorithms in Statistics – p.56/77
q∈Q
C∈{C1,C2}
// Main loop of kda
L, a(q) += δ(Q L, R L) + δ(Q L, R R)
R, a(q) += δ(Q R, R L) + δ(Q R, R R)
L, R L); enqueue(Q L, R R)
R, R L); enqueue(Q R, R R)
Dual-tree Algorithms in Statistics – p.57/77
Dual-tree Algorithms in Statistics – p.58/77
Dual-tree Algorithms in Statistics – p.58/77
Dual-tree Algorithms in Statistics – p.58/77
Dual-tree Algorithms in Statistics – p.58/77
Dual-tree Algorithms in Statistics – p.58/77
Dual-tree Algorithms in Statistics – p.58/77
Dual-tree Algorithms in Statistics – p.59/77
Dual-tree Algorithms in Statistics – p.59/77
Dual-tree Algorithms in Statistics – p.59/77
Dual-tree Algorithms in Statistics – p.59/77
10
3
10
4
10
5
10
6
10
−2
10
−1
10 10
1
10
2
10
3
10
4
Data Set Size Running Time LOO CV on 4D Quasar Data Naive Heap Heap, Epan Hybrid Hybrid, Epan
Dual-tree Algorithms in Statistics – p.60/77
x1∈X1
xn∈Xn
Dual-tree Algorithms in Statistics – p.61/77
x1∈X1
xn∈Xn
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
i ∪ XR i = Xi.
Dual-tree Algorithms in Statistics – p.61/77
x1∈X1
xn∈Xn
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
i ∪ XR i = Xi.
Dual-tree Algorithms in Statistics – p.61/77
Dual-tree Algorithms in Statistics – p.62/77
x1∈X1
xn∈Xn
xp1∈Xp1
xpn∈Xpn
Dual-tree Algorithms in Statistics – p.62/77
x1∈X1
xn∈Xn
xp1∈Xp1
xpn∈Xpn
i , XL j ) ⊗
i ψ(XR
i , XL j )) ⊗
j (ψ(XL
i , XR j ) ⊗
i ψ(XR
i , XR j ))
i , XL j ) ⊗
j ψ(XL
i , XR j )) ⊗
i (ψ(XR
i , XL j ) ⊗
j ψ(XR
i , XR j ))
Dual-tree Algorithms in Statistics – p.62/77
Dual-tree Algorithms in Statistics – p.63/77
Dual-tree Algorithms in Statistics – p.64/77
1 x1∈X1
2 x2∈X2
n xn∈Xn
Dual-tree Algorithms in Statistics – p.65/77
1 x1∈X1
2 x2∈X2
n xn∈Xn
i
Dual-tree Algorithms in Statistics – p.65/77
1 x1∈X1
2 x2∈X2
n xn∈Xn
i
Dual-tree Algorithms in Statistics – p.65/77
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
Dual-tree Algorithms in Statistics – p.66/77
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
Dual-tree Algorithms in Statistics – p.66/77
Dual-tree Algorithms in Statistics – p.67/77
Dual-tree Algorithms in Statistics – p.67/77
Dual-tree Algorithms in Statistics – p.67/77
Dual-tree Algorithms in Statistics – p.67/77
Dual-tree Algorithms in Statistics – p.67/77
Dual-tree Algorithms in Statistics – p.67/77
Dual-tree Algorithms in Statistics – p.68/77
Dual-tree Algorithms in Statistics – p.68/77
Dual-tree Algorithms in Statistics – p.68/77
Dual-tree Algorithms in Statistics – p.68/77
Dual-tree Algorithms in Statistics – p.69/77
Dual-tree Algorithms in Statistics – p.69/77
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
Dual-tree Algorithms in Statistics – p.70/77
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
Dual-tree Algorithms in Statistics – p.70/77
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
Dual-tree Algorithms in Statistics – p.70/77
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
Dual-tree Algorithms in Statistics – p.70/77
i , . . .) ⊗
i ψ(. . . , XR
i , . . .)
Dual-tree Algorithms in Statistics – p.70/77
Dual-tree Algorithms in Statistics – p.71/77
Dual-tree Algorithms in Statistics – p.71/77
Dual-tree Algorithms in Statistics – p.71/77
Dual-tree Algorithms in Statistics – p.71/77
q∈Q
r∈R
x1∈X1
q∈Q
r∈R
x1∈X1
Dual-tree Algorithms in Statistics – p.72/77
q∈Q
r∈R
x1∈X1
Dual-tree Algorithms in Statistics – p.72/77
q∈Q
r∈R
x1∈X1
Dual-tree Algorithms in Statistics – p.72/77
Dual-tree Algorithms in Statistics – p.73/77
Dual-tree Algorithms in Statistics – p.73/77
Dual-tree Algorithms in Statistics – p.73/77
Dual-tree Algorithms in Statistics – p.73/77
Dual-tree Algorithms in Statistics – p.73/77
j′=j (aij′ + sij′)
ij i′=i
i′j(ri′j)
j′=j (aij′ + sij′)
ij i′=i
i′j(ri′j)
Dual-tree Algorithms in Statistics – p.74/77
Dual-tree Algorithms in Statistics – p.75/77
j
ij(κ+ ij(sij + αi[j]) − ρj) − sij)
ij(sij + αi[j])
Dual-tree Algorithms in Statistics – p.75/77
j
ij(κ+ ij(sij + αi[j]) − ρj) − sij)
ij(sij + αi[j])
Dual-tree Algorithms in Statistics – p.75/77
Dual-tree Algorithms in Statistics – p.76/77
Dual-tree Algorithms in Statistics – p.77/77