Lecture 21
Computational Methods for GPs
Colin Rundel 04/10/2017
1
Lecture 21 Computational Methods for GPs Colin Rundel 04/10/2017 - - PowerPoint PPT Presentation
Lecture 21 Computational Methods for GPs Colin Rundel 04/10/2017 1 GPs and Computational Complexity 2 + Chol () with (0, 1) 2 log || 1 2( ) 1 ( ) 2 log 2
1
2
3
3
3
3
4
4
4
4
4
4
10 20 30 2500 5000 7500 10000
n time (secs) method
chol inv LU inv QR inv
5
Step CPU (secs)
1.080
π Ξ£ππ)
0.467
0.049
0.129 Total 1.732
6
Step CPU (secs)
1.080
π Ξ£ππ)
0.467
0.049
0.129 Total 1.732
6
Step CPU (secs) CPU+GPU (secs)
1.080 0.046 23.0
π Ξ£ππ)
0.467 0.208 2.3
0.049 0.052 0.9
0.129 0.127 1.0 Total 1.732 0.465 3.7
7
10 20 30 2500 5000 7500 10000
n time (secs) method
chol inv LU inv QR inv
comp
cpu gpu
8
0.1 10.0 2500 5000 7500 10000
n time (secs) method
chol inv LU inv QR inv
comp
cpu gpu
9
1 10 2500 5000 7500 10000
n Relative performance method
chol inv LU inv QR inv
10
0.0 2.5 5.0 7.5 2500 5000 7500 10000
n time (sec) comp
cpu gpu
11
20 25 30 35 40 45 2500 5000 7500 10000
n time (sec)
12
5 10 15 20 10000 20000 30000 40000 50000
n Cov Martrix Size (GB) 13
0.01 0.1 1 10 100 1000 2048 8192 32768 131072 Execution time, seconds (log scale) Matrix dimension, n (log scale) Cholesky Decomposition 6 cores 60 cores 816 cores 12480 cores 49920 cores
14
15
16
17
17
18
18
19
19
20
21
22
22
23
23
23
24
25
πΓπ
πΓπ
πΓπ
26
πΓπ
πΓπ
πΓπ
26
πΓπ
πΓπ
πΓπ
26
πΓπ
πΓπ
πΓπ
26
27
True Field PP β 5 x 5 knots PP β 10 x 10 knots PP β 15 x 15 knots Full GP
28
30 40 50 50 100 150 200
time error knots
β 25 100 225
model
Full GP PP
29
phi sigma.sq tau.sq 4 5 6 7 8 9 1.2 1.5 1.8 2.1 0.1 0.2 0.3 0.4 0.5
Parameter Value model
Full GP PP
True
knots
β 25 100 225
30
31
32
32
32
32
32
32
32
33
33
33
33
33
33
33
34
5 10 15 10 20 30 10 20 30 10 20 30
time time error error method
lr1 lr1 mod pp pp mod
method
lr1 lr1 mod pp pp mod
35
36
37