New developments on rational RBF Stefano De Marchi Department of - - PowerPoint PPT Presentation

new developments on rational rbf
SMART_READER_LITE
LIVE PREVIEW

New developments on rational RBF Stefano De Marchi Department of - - PowerPoint PPT Presentation

New developments on rational RBF Stefano De Marchi Department of Mathematics Tullio Levi-Civita University of Padova Montecatini, 14th February 2018 Outline From RBF to Rational RBF (RRBF) 1 2 Eigen-rational interpolant 3 Numerical


slide-1
SLIDE 1

New developments on rational RBF

Stefano De Marchi Department of Mathematics “Tullio Levi-Civita” University of Padova Montecatini, 14th February 2018

slide-2
SLIDE 2

Outline

1

From RBF to Rational RBF (RRBF)

2

Eigen-rational interpolant

3

Numerical experiments Lebesgue functions and constants Errors Landmark-based Image registration

4

Progetto GNCS 2016-17

2 of 33

slide-3
SLIDE 3

From RBF to Rational RBF (RRBF)

work with A. Martinez and E. Perracchione

3 of 33

slide-4
SLIDE 4

Notations

1

Data: Ω ⊂ Rd, X ⊂ Ω, test function f XN = {x1, . . . , xN} ⊂ Ω, f = {f1, . . . , fN}, where fi = f(xi)

4 of 33

slide-5
SLIDE 5

Notations

1

Data: Ω ⊂ Rd, X ⊂ Ω, test function f XN = {x1, . . . , xN} ⊂ Ω, f = {f1, . . . , fN}, where fi = f(xi)

2

Approximation setting: φ(ε ·): Conditionally Positive Definite (CPD) of order ℓ or Strictly Positive Definite (SPD) and radial (ε, shape parameter)

globally supported:

name φ ℓ Gaussian C∞ (GA) e−ε2r2 Generalized Multiquadrics C∞ (GM) (1 + r2/ε2)3/2 2

locally supported:

name φ ℓ Wendland C2 (W2) (1 − εr)4

+ (4εr + 1)

Buhmann C2 (B2) 2r4 log r − 7/2r4 + 16/3r3 − 2r2 + 1/6

4 of 33

slide-6
SLIDE 6

Notations

1

Data: Ω ⊂ Rd, X ⊂ Ω, test function f XN = {x1, . . . , xN} ⊂ Ω, f = {f1, . . . , fN}, where fi = f(xi)

2

Approximation setting: φ(ε ·): Conditionally Positive Definite (CPD) of order ℓ or Strictly Positive Definite (SPD) and radial (ε, shape parameter)

globally supported:

name φ ℓ Gaussian C∞ (GA) e−ε2r2 Generalized Multiquadrics C∞ (GM) (1 + r2/ε2)3/2 2

locally supported:

name φ ℓ Wendland C2 (W2) (1 − εr)4

+ (4εr + 1)

Buhmann C2 (B2) 2r4 log r − 7/2r4 + 16/3r3 − 2r2 + 1/6

kernel notation Kε(·, ·) native space NK (Ω) (where K is the reproducing kernel) finite subspace NK (XN) = span{K(·, x) : x ∈ XN} ⊂ NK (Ω)

4 of 33

slide-7
SLIDE 7

RBF Interpolation

Given Ω, XN, f, K

Aim

Find Pf ∈ NK (XN) s.t. (Pf)XN = f

5 of 33

slide-8
SLIDE 8

RBF Interpolation

Given Ω, XN, f, K

Aim

Find Pf ∈ NK (XN) s.t. (Pf)XN = f Classical interpolant: Pf(x) =

N

  • k=1

αkK(x, xk), x ∈ Ω, xk ∈ XN. [Hardy and Gofert 1975] used multiquadrics K(x, y) =

  • 1 + ǫ2x − y2.

5 of 33

slide-9
SLIDE 9

RBF Interpolation

Given Ω, XN, f, K

Aim

Find Pf ∈ NK (XN) s.t. (Pf)XN = f Classical interpolant: Pf(x) =

N

  • k=1

αkK(x, xk), x ∈ Ω, xk ∈ XN. [Hardy and Gofert 1975] used multiquadrics K(x, y) =

  • 1 + ǫ2x − y2.

Rescaled interpolant: ˆ Pf(x) = Pf(x) Pg(x) = N

k=1 αkK(x, xk)

N

k=1 βkK(x, xk)

where Pg is the kernel interpolant of g(x) = 1, ∀x ∈ Ω. Localized Rescaled and exactness on constants in [Deparis et al 2014]. In [DeM et al 2017] it is shown that it is a Shepard’s PU method. Linear convergence of localized rescaled interpolants [DeM and Wendland, draft 2017]

5 of 33

slide-10
SLIDE 10

Rational RBF

definition

R(x) = R(1)(x) R(2)(x) =

N

k=1 αkK(x, xk)

N

k=1 βkK(x, xk)

[Jackbsson et al. 2009, Sarra and Bai 2017]

=⇒ RRBFs well approximate data with steep gradients or

discontinuites [rational with PU+VSK in DeM et al. 2017].

6 of 33

slide-11
SLIDE 11

Rational RBF

Learning from rational functions, d = 1

polynomial case. r(x) = p1(x) p2(x) = amxm + · · · + a0x0 xn + bn−1xn−1 · · · + b0 . M = m + n + 1 unknowns (Pad´ e approximation). If M < N to get the coefficients we may solve the LS problem min

p1∈Π1

m,p2∈Π1 n

       

N

  • k=1
  • f(xk) − r(xk)
  • 2

        .

7 of 33

slide-12
SLIDE 12

Rational RBF

Learning from rational functions, d = 1

polynomial case. r(x) = p1(x) p2(x) = amxm + · · · + a0x0 xn + bn−1xn−1 · · · + b0 . M = m + n + 1 unknowns (Pad´ e approximation). If M < N to get the coefficients we may solve the LS problem min

p1∈Π1

m,p2∈Π1 n

       

N

  • k=1
  • f(xk) − r(xk)
  • 2

        . RBF case. Let Xm = {xk, . . . , xk+m−1}, Xn = {xj, . . . , xj+n−1} ⊂ XN be non empty, such that m + n ≤ N R(x) = R(1)(x) R(2)(x) = k+m−1

i1=k

αi1K(x, xi1) j+n−1

i2=j

βi2K(x, xi2) , (1) provided R(2)(x) 0, for all x ∈ Ω.

7 of 33

slide-13
SLIDE 13

Rational RBF

Find the coefficients: I

[Jackobsson et al 2009] proved the well-posedness of the interpolation

  • n XN via

R(x) = R(1)(x) R(2)(x) = N

i=1 αiK(x, xi)

N

k=1 βkK(x, xk)

, (2)

8 of 33

slide-14
SLIDE 14

Rational RBF

Find the coefficients: I

[Jackobsson et al 2009] proved the well-posedness of the interpolation

  • n XN via

R(x) = R(1)(x) R(2)(x) = N

i=1 αiK(x, xi)

N

k=1 βkK(x, xk)

, (2) Letting ξ = (αT , βT) ∈ R2N and B the N × 2N matrix B =             K(x1, x1) · · · K(x1, xN) −f1 K(x1, x1) · · · −f1 K(x1, xN) . . . . . . . . . K(xN, x1) · · · K(xN, xN) −fN K(xN, x1) · · · −fN K(xN, xN)             . The system Bξ = 0 can be written as (A − DA)(ξ) = 0 with D = diag(f1, . . . , fN), and Ai,j = K(xi, xj)...

8 of 33

slide-15
SLIDE 15

Rational RBF

Find the coefficients: I

[Jackobsson et al 2009] proved the well-posedness of the interpolation

  • n XN via

R(x) = R(1)(x) R(2)(x) = N

i=1 αiK(x, xi)

N

k=1 βkK(x, xk)

, (2) Letting ξ = (αT , βT) ∈ R2N and B the N × 2N matrix B =             K(x1, x1) · · · K(x1, xN) −f1 K(x1, x1) · · · −f1 K(x1, xN) . . . . . . . . . K(xN, x1) · · · K(xN, xN) −fN K(xN, x1) · · · −fN K(xN, xN)             . The system Bξ = 0 can be written as (A − DA)(ξ) = 0 with D = diag(f1, . . . , fN), and Ai,j = K(xi, xj)... which is underdetermined!

8 of 33

slide-16
SLIDE 16

Rational RBF

Find the coefficients: I

[Jackobsson et al 2009] proved the well-posedness of the interpolation

  • n XN via

R(x) = R(1)(x) R(2)(x) = N

i=1 αiK(x, xi)

N

k=1 βkK(x, xk)

, (2) Letting ξ = (αT , βT) ∈ R2N and B the N × 2N matrix B =             K(x1, x1) · · · K(x1, xN) −f1 K(x1, x1) · · · −f1 K(x1, xN) . . . . . . . . . K(xN, x1) · · · K(xN, xN) −fN K(xN, x1) · · · −fN K(xN, xN)             . The system Bξ = 0 can be written as (A − DA)(ξ) = 0 with D = diag(f1, . . . , fN), and Ai,j = K(xi, xj)... which is underdetermined!

Non trivial solution

Following [GolubReinsch1975] non-trivial solutions exist by asking ||ξ||2 = 1 i.e. solving the problem min

ξ∈RN,||ξ||2=1 ||Bξ||2.

8 of 33

slide-17
SLIDE 17

Rational RBF

Find the coefficients: II

Obs: (Since R(1)(xi) = fiR(2)(xi), i = 1, . . . , N)

find q = (R(2)(x1), . . . , R(2)(xN))T and, as p = Dq, then p = (R(1)(xi), ..., R(1)(xN))T .

9 of 33

slide-18
SLIDE 18

Rational RBF

Find the coefficients: II

Obs: (Since R(1)(xi) = fiR(2)(xi), i = 1, . . . , N)

find q = (R(2)(x1), . . . , R(2)(xN))T and, as p = Dq, then p = (R(1)(xi), ..., R(1)(xN))T . If p, q are given then the rational interpolant is known by solving Aα = p, Aβ = q . (3)

9 of 33

slide-19
SLIDE 19

Rational RBF

Find the coefficients: II

Obs: (Since R(1)(xi) = fiR(2)(xi), i = 1, . . . , N)

find q = (R(2)(x1), . . . , R(2)(xN))T and, as p = Dq, then p = (R(1)(xi), ..., R(1)(xN))T . If p, q are given then the rational interpolant is known by solving Aα = p, Aβ = q . (3) Existence & Uniqueness of (3): K is SPD Using the native space norms the above problem is equivalent

Problem 1

min

R(1),R(2)∈NK , 1/||f||2

2||p||2 2+||q||2 2=1,

R(1)(xk )=fk R(2)(xk ).

      1 ||f||2

2

||R(1)||2

NK + ||R(2)||2 NK

      . (4)

9 of 33

slide-20
SLIDE 20

Rational RBF

Find the coefficients: III

||R(1)||2

NK = αTAα,

and ||R(2)||2

NK = βTAβ.

Then, from (3) and symmetry of A ||R(1)||2

NK = pTA−1p,

and ||R(2)||2

NK = qTA−1q.

Therefore, the Problem 1 reduces to solve

Problem 2

min

q∈RN, 1/||f||2

2||Dq||2 2+||q||2 2=1.

      1 ||f||2

2

qTDTA−1Dq + qTA−1q       .

10 of 33

slide-21
SLIDE 21

Rational RBF

Find the coefficients: IV

[Jackbsson 2009] show that this is equivalent to solve the following generalized eigenvalue problem

Problem 3

Σq = λΘq, with Σ = 1 ||f||2

2

DTA−1D + A−1, and Θ = 1 ||f||2

2

DTD + IN, where IN is the identity matrix.

11 of 33

slide-22
SLIDE 22

Rational RBF

Find the coefficients: IV

[Jackbsson 2009] show that this is equivalent to solve the following generalized eigenvalue problem

Problem 3

Σq = λΘq, with Σ = 1 ||f||2

2

DTA−1D + A−1, and Θ = 1 ||f||2

2

DTD + IN, where IN is the identity matrix. ֒→ q is the eigenvector associated to the smallest eigenvalue! ←֓

11 of 33

slide-23
SLIDE 23

The new eigen-rational interpolant

work with M. Buhmann and E. Perracchione

12 of 33

slide-24
SLIDE 24

New class of rational RBF

ˆ Pf(x) = N

i=1 αiK(x, xi) + L m=1 γmpm (x)

N

k=1 βk ¯

K(x, xk) := Pg(x) Ph(x) (5) Ratio of a CPD K of order ℓ and an associate PD ¯ K .... =⇒ two kernel matrices, ΦK and Φ¯

K.

13 of 33

slide-25
SLIDE 25

New class of rational RBF

ˆ Pf(x) = N

i=1 αiK(x, xi) + L m=1 γmpm (x)

N

k=1 βk ¯

K(x, xk) := Pg(x) Ph(x) (5) Ratio of a CPD K of order ℓ and an associate PD ¯ K .... =⇒ two kernel matrices, ΦK and Φ¯

K.

Obs:

1

Once we know the function values Ph(xi) = hi, i = 1, . . . , N, we can construct Pg, i.e. it interpolates g = (f1h1, . . . , fNhN)T. Hence ˆ Pf interpolates the given function values f at the nodes XN.

2

If K is PD, we fix ¯ K = K so that we deal with the same kernel matrix for both numerator and denominator.

13 of 33

slide-26
SLIDE 26

The rational interpolant is well-defined

When Ph(x) 0, ∀x ∈ Ω?

Theorem (Perron1907)

All positive square matrices have a positive eigenvalue with corresponding eigenvector with all components positive (called Perron eigenpair)

Theorem (Perron1907)

All positive square matrices possess exactly one Perron eigenpair and the corresponding eigenvalue has the largest modulus.

14 of 33

slide-27
SLIDE 27

Remarks

dividing the interpolant (2) by the eigenvector associated to the largest eigenvalue of Φ¯

K makes computations more accurate and hopefully more

stable.

1

hence, the coefficients β = (β1, . . . , βN)T are the components of the eigenvector associate to the eigenvalue max

||˜ β||2=1

˜ β

TΦ¯ K ˜

β, (6)

2

This enables us to give an eigen-rational RBF expansion, independent of the function values of the approximant and depending only on the kernel K (and its associate ¯ K) and XN

15 of 33

slide-28
SLIDE 28

Algorithmic issues

Assume K is CPD of order ℓ and ¯ K the associate PD kernel

1 Compute β and so the values Ph(xi) = hi, i = 1, . . . , N where

h is defined by using the matrix Φ¯

K (that depends on XN and

φ) and not on the function values.

2 Determine ˆ

Pf in (5) with the function values g = fh and 0 (of lengtth L) instead of (g, 0)T.

16 of 33

slide-29
SLIDE 29

Cardinal functions: I

ˆ Pf =

N

  • j=1

αj K(x, xj) N

i=1 βiK(x, xi)

=

N

  • j=1

αj hjK(x, xj) N

i=1 βiK(x, xi) N i=1 βiK(xj, xi)

, since hj = N

i=1 βiK(xj, xi). Then

ˆ Pf =

N

  • j=1

˜ αj K(x, xj) N

i=1 βiK(x, xi) N i=1 βiΦ(xj, xi)

=:

N

  • j=1

˜ αjKR(x, xj). Since Ph is not vanishing, the function KR(x, y) = 1 Ph(x) 1 Ph(y)K(x, y), is strictly positive definite [DeMIS17].

Obs:

The same argument applies when K is only CPD of order ℓ giving KR CPD of order ℓ.

17 of 33

slide-30
SLIDE 30

Cardinal form of the interpolant and stability

Proposition (BDeMP18)

Suppose K is CPD of order ℓ in Rd, ¯ K is the associated PD kernel. Suppose XN ⊂ Ω is (ℓ − 1)-unisolvent, then there exist N functions ˆ uk so that the interpolant is ˆ Pf(x) =

N

  • j=1

fjˆ uj(x).

18 of 33

slide-31
SLIDE 31

Cardinal form of the interpolant and stability

Proposition (BDeMP18)

Suppose K is CPD of order ℓ in Rd, ¯ K is the associated PD kernel. Suppose XN ⊂ Ω is (ℓ − 1)-unisolvent, then there exist N functions ˆ uk so that the interpolant is ˆ Pf(x) =

N

  • j=1

fjˆ uj(x). =⇒ If K = ¯ K is PD, the ˆ uk, k = 1, . . . , N, form a partition of unity [DeMIS, AT15 (2017)]. =⇒ Stability bound

  • N
  • i=1

f(xi)ˆ ui(x)

       

N

  • i=1

|ˆ ui(x)|         ||f||∞ =: ˆ λN(x)||f||∞ ≤ ˆ ΛN||f||∞, where ΛN the Lebesgue constant ˆ ΛN := max

x∈Ω

ˆ λN(x).

18 of 33

slide-32
SLIDE 32

Error bound

Proposition (BDeMP18)

Let Ω ⊆ Rd be open. Suppose K ∈ C(Ω × Ω) be CDP of order ℓ and ¯ K the associate PD kernel. Assume that XN ⊂ Ω is (ℓ − 1)-unisolvent. Then, for x ∈ Ω, the pointwise error |f (x) − ˆ Pf (x) | ≤ 1 |Ph(x)|

K,XN(x)|h|N¯

K (Ω)|f(x)| + PK,XN(x)|g|NK (Ω)

  • .

with PK,XN the power function for the kernel K and point set XN and | · |NK (Ω) the semi-norm. =⇒ Similar bounds are derived using the fill-distance, hXN,Ω.

19 of 33

slide-33
SLIDE 33

Numerical tests: rational eigen-basis vs the standard one

20 of 33

slide-34
SLIDE 34

Numerical tests: Lebesgue constants I

K ΛN (ε = 0.5) ΛN (ε = 3) ˆ ΛN (ε = 0.5) ˆ ΛN (ε = 3) GM 4.98 8.69 5.14 9.13 GA 9.81 2.58 12.6 3.59 M6 10.6 2.20 11.1 2.60 W6 2.10 9.58 2.73 7.90 B2 30.6 – 29.1 –

Table: Lebesgue constants ΛN and ˆ ΛN for classical and eigen-rational interpolants, respectively. They are computed on N = 10 equally spaced points on Ω = [−1, 1]. Note: Buhmann’s function is independent of the shape parameter.

21 of 33

slide-35
SLIDE 35

Numerical tests: Lebesgue functions (1d) Figure: Top: 10 Halton points, GM kernel with ε = 0.5 (left) and ε = 3 (right). Bottom: 10 Chebyshev points, GA

kernel with ε = 0.5 (left) and ε = 3 (right).

22 of 33

slide-36
SLIDE 36

Numerical tests: Lebesgue functions (2d) Figure: Top: Lebesgue functions computed via the W6 kernel with ε = 0.5 for standard (left) and eigen-rational (right)

  • interpolants. Bottom: Lebesgue functions computed via the B2 kernel for standard (left) and eigen-rational (right)

interpolants.

23 of 33

slide-37
SLIDE 37

Error and max-abs error comparison f1(x1) = sinc(x1), x1 ∈ [−1, 1] Figure: Error estimates ˆ E and E via LOOCV of max. abs. errors ˆ A and A for eigen-rational and classical interpolants, respectively. Here we consider f1 on 81 Chebyshev points on Ω = [−1, 1] via GM (left) and GA (right) kernels.

24 of 33

slide-38
SLIDE 38

f2(x1) = x8

1

tan(1 + x2

1) + 0.5,

x1 ∈ [−1, 1]

Figure: Error estimates ˆ E and E via LOOCV of max. abs. errors ˆ A and A for eigen-rational and classical interpolants, respectively. Result are computed with f2 and 81 Random points on Ω = [−1, 1] via W6 (left) and M6 (right) kernels.

25 of 33

slide-39
SLIDE 39

Image registration: landmarks [CDeR2018, C et al 2015] Figure: (Above) 21 landmarks are plotted with squares on the source image (left) and with dots on the target image

(left). (Below) The registered image via eigen-rational interpolants computed with the W2 (left) and M2 (right) kernels and shape parameter ε = 0.1.

26 of 33

slide-40
SLIDE 40

Image registration: mean error comparison M =      

  • s∈S ||s − F(s)||2

2

#S      

1/2

. Figure: Mean errors M (standard) and ˆ M (rational), varying the shape parameter.

27 of 33

slide-41
SLIDE 41

Breve resoconto del progetto GNCS 2016-17

28 of 33

slide-42
SLIDE 42

Alcuni dati

1

Finanziamento richiesto/ricevuto: 9.0K/7.8K euro

2

Partecipanti: 15 strutturati, 9 non strutturati;

3

Quote individuali: circa 300 euro

4

Organizzati dai componenti i seguenti meetings: Bernried17, MATAA17 (Torino), CMMSE (Cadiz), DRWA17 (Canazei), SMART17(Gaeta), AMTA17 (Palermo).

5

Pubblicazioni relative al progetto: CAA Padova+Verona(22+13), Milano(3), Torino(10+2), Firenze(4+1), Potenza(9+2), Cosenza(4+?), Reggio Calabria(4), Palermo(5).

29 of 33

slide-43
SLIDE 43

RITA

RITA (Rete ITaliana di Approssimazione): sito

https://sites.google.com/site/italianapproximationnetwork/

30 of 33

slide-44
SLIDE 44

Some references

  • R. Cavoretto, S. De Marchi, A. De Rossi, E. Perracchione, G. Santin, Partition of unity interpolation using stable

kernel-based techniques, Appl. Numer. Math. 116 (2017), pp. 95–107

  • R. Cavoretto, A. De Rossi, E. Perracchione, Optimal selection of local approximants in RBF-PU interpolation, to

appear on J. Sci. Comput. (2017).

  • S. De Marchi, G. Santin, Fast computation of orthonormal basis for RBF spaces through Krylov space methods,

BIT 55 (2015), pp. 949–966. Stefano De Marchi, Andrea Idda and Gabriele Santin: A rescaled method for RBF approximation. Springer Proceedings on Mathematics and Statistics, Vol. 201, pp.39–59. (2017).

  • S. De Marchi, E. Perracchione, A. Martinez Calomardo and M. Rossini: RBF-based partition of unity method for

elliptic PDEs: adaptivity and stability issues via VSKs, submitted to J. Sci. Comput. 2017

  • S. De Marchi, E. Perracchione, A. Martinez Calomardo : Rational Radial Basis Functions interpolation , submitted

to J. Comput. Appl. Math. 2017

  • M. Buhmann, S. De Marchi, E. Perracchione : Analysis of a new class of rational RBF expansions, darft, 2018
  • E. Perracchione: Rational RBF-based partition of unity method for efficiently and accurately approximating 3D
  • bjects arXiv preprint arXiv:1802.01842, 2018. To appear in Comput. Appl. Math.

31 of 33

slide-45
SLIDE 45

grazie per la vostra attenzione! thanks for your attention!

32 of 33