1
- Adi Ditkowski
- Amir Sagiv
Quantification and Density Estimation Gadi Fibich, Tel Aviv - - PowerPoint PPT Presentation
A Spline-based approach to Uncertainty Quantification and Density Estimation Gadi Fibich, Tel Aviv University Adi Ditkowski Amir Sagiv 1 Motivation 2 Input pulse characteristics Elliptic typical shot average over 1000 shots 3
1
2
3
typical shot average over 1000 shots
4
average over 1000 shots typical shot
5
Average
shots typical
6
Average
shots typical
7 Average
shots
typical
NLS initial condition
8
random output
random initial condition
9
NLS
random output
random initial condition
10
NLS
11
12
13
1 π Οπ=1 π
π
14
1, β¦ , π π ,
π:=π π½π
1 π Οπ=1 π
π
15
1, β¦ , π π ,
π:=π π½π
16
1 π Οπ=1 π
π
1, β¦ , π π ,
π:=π π½π
17
1 π Οπ=1 π
π
17
1, β¦ , π π ,
π:=π π½π
1 π Οπ=1 π
π
18
1, β¦ , π π} of π π½
1, β¦ , π π}
19
π π½
π , ||π β ππ||?
approximation moment, PDF moment, PDF
π , ππ
can take a large sample, since computation of π
π π½ is cheap
20
π π½
π , ||π β ππ||?
approximation moment, PDF moment, PDF
π , ππ
can take a large sample, since computation of π
π π½ is cheap
cannot take a large sample
21
π π½
π
and ||π β ππ|| ?
approximation moment, PDF moment, PDF
π , ππ
can take a large sample, since computation of π
π π½ is cheap
cannot take a large sample
π
β π 2
22
β π 2
23
π π½ = ΰ· π=0 πβ1
π π½ π β π π½ π
π = π πβπΏπ ,
π β« 1 if f is analytic
24
π π½ = ΰ· π=0 πβ1
π π½ π β π π½ π
π = π πβπΏπ ,
π β« 1 if f is analytic
25
π π½ = ΰ· π=0 πβ1
π π½ π β π π½ π
π = π πβπΏπ ,
π β« 1 if f is analytic
26
Moment estimation Spectral accuracy reached only for large N How to achieve ``goodββ accuracy with e.g. πΆ = ππ samples?
27
π½ 2 , π½ βΌ Uniform [β1, 1]
28
π½ 2 , π½ βΌ Uniform [β1, 1]
29
π½ 2 , π½ βΌ Uniform [β1, 1]
π π½ =π§
30
π½ 2 , π½ βΌ Uniform [β1, 1]
π π½ =π§
31
π½ 2 , π½ βΌ Uniform [β1, 1]
π π½ =π§
32
π½ 2 , π½ βΌ Uniform [β1, 1]
π π½ =π§
π
33
π π½
moment, PDF moment, PDF
π , ππ
can take a large sample, since computation of π
π π½ is cheap
cannot take a large sample
π β² = 0 β πβ² = 0
approximation
π
34
35
π
π½ 2 , π½ βΌ Uniform [β1, 1]
36
π
π½ 2 , π½ βΌ Uniform [β1, 1]
π
37
π½ 2 , π½ βΌ Uniform [β1, 1]
π
38
π½ 2 , π½ βΌ Uniform [β1, 1]
alpha_min = β1; alpha_max = 1 ; N = 18; f = @(x) tanh (9βx) + x/2; samplingGrid = linspace(alpha_min, alpha_max, N) ; sample_s = f (samplingGrid); M = 2e6 ; denseGrid = linspace (alpha_min, alpha_max ,M) ; fNspline = spline ( samplingG rid, samples, denseGrid) Cf = 1 . 6 9 ; L =CfβMΛ (1/3 ) ; [histogram, binsEdges ] = hist( fNspline ,L) ; binWidth = (max( binsEdges)βmin (binsEdges)) /L; pdf = histogram / (sum(histogram) βbinWidth ) ; plot(binsEdges, pdf )
39
random output
random initial condition
40
NLS
π¨ββ π π¨; π½
phase: πΒ± π’ = arg π΅Β± π’, π¦ = 0
πππ (2π)
polarization π π’ = π+ π’ β πβ π’ Random elliptical beam β π΅Β± π’ = 0 = 1 + π½ π·Β±πβπ¦2, π½ βΌ π(β0.1,0.1)
π π ππ π©Β± π, π + ππ πππ π©Β± + π π π©Β±
π + π π©β π π©Β± = π
Patwardhan et al., 2018
π π ππ π©Β± π, π + ππ πππ π©Β± + π π π©Β±
π + π π©β π π©Β± = π
phase: πΒ± π’ = arg π΅Β± π’, π¦ = 0
πππ (2π)
polarization π π’ = π+ π’ β πβ π’ Random elliptical beam β π΅Β± π’ = 0 = 1 + π½ π·Β±πβπ¦2, π½ βΌ π(β0.1,0.1)
π π ππ π©Β± π, π + ππ πππ π©Β± + π π π©Β±
π + π π©β π π©Β± = π
Patwardhan et al., 2018
~πβ3.7
Initial condition: u0 x = π½ sin(π¦) Shock location at π’ β β
π½ = β πππ‘ ππ‘
Distribution of random initial amplitude β
π½ π = ΰ΅ β1 + 1 + 4π2 2π π β 0 π = 0 π βΌ π(0, π) 44
ππ π, π + π π ππ
π = π
π πππ π
π
Chen, Gottlieb, Hesthaven, JCP 2005
Initial condition: u0 x = π½ sin(π¦) Shock location at π’ β β
π½ = β πππ‘ ππ‘
Distribution of random initial amplitude β
π½ π = ΰ΅ β1 + 1 + 4π2 2π π β 0 π = 0 π βΌ π(0, π) 45
ππ π, π + π π ππ
π = π
π πππ π
π
~πβ3.1
Chen, Gottlieb, Hesthaven, JCP 2005
β π 2
46
π
47
π π½
π
and ||π β ππ|| ?
moment, PDF moment, PDF
π , ππ
can take a large sample, since computation of π
π π½ is cheap
cannot take a large sample
approximation
48
πβ1(π§)
49
π = 82
50
π = 82
func = @(x,y) atan(1.3*y.^2 - .4*x.*y+1.1*x.^2)+(x+y) MCpointsPerBlock = 2e3; MCsqrtNumBlock = 10; binsNum = 750; N=10; [xs,ys] = ndgrid(linspace(xmin,xmax,N),linspace(xmin,xmax,N)); [pdf_spline,y_spline] = pdfSampleSquare(@(t,v) interpn(xs,ys,func(xs,ys),t,v,'cubic'),... MCsqrtNumBlock,MCpointsPerBlock,binsNum); function [pdf,binsEdges] = pdfSampleSquare(func,sqrtNumBlocks,sqrtSamplesBlock, numBins) xmin =-1; xmax = 1; smallGridSize = 3e6; blockLength = (xmax-xmin)/sqrtNumBlocks; nsmall =1e3; [x_calibrate,y_calibrate] = ndgrid(linspace(xmin,xmax,1e3),linspace(xmin,xmax,1e3)); [~,binsEdges] = hist(func(x_calibrate,y_calibrate),numBins); binWidth = (max(binsEdges)-min(binsEdges))/numBins; histogram = zeros(1,numBins); for k=1:sqrtNumBlocks for m=1:sqrtNumBlocks [xg,yg] = ndgrid(linspace(xmin+(k-1)*blockLength,xmin+(k)*blockLength, sqrtSamplesBlock),... linspace(xmin+(m-1)*blockLength,xmin+(m)*blockLength,sqrtSamplesBlock)); funcBlock =func(xg,yg); [hist_temp] = hist(funcBlock(:),binsEdges); histogram = histogram+hist_temp; end end pdf = histogram/(sum(histogram)*binWidth);
51
52
π = 83
53
References
A spline-based approach to uncertainty quantification and density estimation ArXiv 1803.10991
Loss of phase and universality of stochastic interactions between laser beams Optics Express 25: 24387-24399, 2017