Estimating metrics suitable to an empirical manifold of shapes, - - PowerPoint PPT Presentation

estimating metrics suitable to an empirical manifold of
SMART_READER_LITE
LIVE PREVIEW

Estimating metrics suitable to an empirical manifold of shapes, - - PowerPoint PPT Presentation

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Estimating metrics suitable to an empirical manifold of shapes, using transport against the curse of dimensionality Guillaume Charpiat


slide-1
SLIDE 1

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion

Estimating metrics suitable to an empirical manifold of shapes, using transport against the curse of dimensionality

Guillaume Charpiat

Pulsar Project INRIA Workshop on Statistical Learning IHP

05/12/2011

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-2
SLIDE 2

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion

Map

◮ Introduction

◮ Motivation ◮ Issues

◮ Searching for solutions

◮ Main existing approaches and their limitations ◮ Main idea

◮ The approach

◮ Shape matching ◮ Transport ◮ Metric estimation (statistics on deformations) ◮ Theory

◮ Future work

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-3
SLIDE 3

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Image Segmentation

◮ Find a contour in a given image ◮ The best curve for a given segmentation criterion ◮ Criterion based on color homogeneity, texture, edge detectors, etc.

− → Image Segmentation

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-4
SLIDE 4

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Image Segmentation

◮ Find the best contour for a given criterion

Variational Method

◮ Energy E to minimize with respect to a curve C ◮ Compute the derivative of the energy ◮ Gradient descent: ∂tC = −∇E(C) ◮ Initialization → local minimum ◮ Other methods: graph cuts (suitable for few energies)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-5
SLIDE 5

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Image Segmentation

◮ Find the best contour for a given criterion

Variational Method

◮ Minimize criterion by gradient descent with respect to the contour ◮ Most criteria: no shape information

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-6
SLIDE 6

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Image Segmentation

◮ Find the best contour for a given criterion

Variational Method

◮ Minimize criterion by gradient descent with respect to the contour

Shape Statistics

◮ Sample set of contours from already segmented images ◮ Shape variability ? ◮ Shape prior ?

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-7
SLIDE 7

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Motivation

◮ Shape spaces : which metric ?

(to define similarity/distance between shapes)

◮ Hausdorff distance ◮ Symmetric difference area ◮ Quotients by transformation groups (rotation, translation, scaling,

affine...)

dH

  • Guillaume Charpiat

Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-8
SLIDE 8

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Motivation

◮ Shape spaces : which metric ?

(to define similarity/distance between shapes)

◮ Hausdorff distance ◮ Symmetric difference area ◮ Quotients by transformation groups (rotation, translation, scaling,

affine...) ◮ Shape evolution, morphing : priors on probable deformations ?

= ⇒ Which local metric on deformations ? (metric on the manifold of shapes)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-9
SLIDE 9

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Motivation

◮ Shape spaces : which metric ?

(to define similarity/distance between shapes)

◮ Hausdorff distance ◮ Symmetric difference area ◮ Quotients by transformation groups (rotation, translation, scaling,

affine...) ◮ Shape evolution, morphing : priors on probable deformations ?

= ⇒ Which local metric on deformations ? (metric on the manifold of shapes)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-10
SLIDE 10

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Motivation

◮ Shape spaces : which metric ?

(to define similarity/distance between shapes)

◮ Hausdorff distance ◮ Symmetric difference area ◮ Quotients by transformation groups (rotation, translation, scaling,

affine...) ◮ Shape evolution, morphing : priors on probable deformations ?

= ⇒ Which local metric on deformations ? (metric on the manifold of shapes)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-11
SLIDE 11

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Motivation

◮ Shape spaces : which metric ?

(to define similarity/distance between shapes)

◮ Hausdorff distance ◮ Symmetric difference area ◮ Quotients by transformation groups (rotation, translation, scaling,

affine...) ◮ Shape evolution, morphing : priors on probable deformations ?

= ⇒ Which local metric on deformations ? (metric on the manifold of shapes)

◮ L2 norm of instantaneous deformations ◮ L2 + curvature, H1 ◮ rigid motion more probable =

⇒ associated metric

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-12
SLIDE 12

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Motivation

◮ Shape spaces : which metric ?

(to define similarity/distance between shapes)

◮ Hausdorff distance ◮ Symmetric difference area ◮ Quotients by transformation groups (rotation, translation, scaling,

affine...) ◮ Shape evolution, morphing : priors on probable deformations ?

= ⇒ Which local metric on deformations ? (metric on the manifold of shapes)

◮ L2 norm of instantaneous deformations ◮ L2 + curvature, H1 ◮ rigid motion more probable =

⇒ associated metric L2 inner product vs. rigidifying inner product

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-13
SLIDE 13

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Motivation

Introduction

Motivation

◮ Shape spaces : which metric ?

(to define similarity/distance between shapes)

◮ Hausdorff distance ◮ Symmetric difference area ◮ Quotients by transformation groups (rotation, translation, scaling,

affine...) ◮ Shape evolution, morphing : priors on probable deformations ?

= ⇒ Which local metric on deformations ? (metric on the manifold of shapes)

◮ L2 norm of instantaneous deformations ◮ L2 + curvature, H1 ◮ rigid motion more probable =

⇒ associated metric ◮

= ⇒ learn the suitable metric from examples (datasets of shapes)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-14
SLIDE 14

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Issues

Issues

◮ Sparse sets of highly varying shapes

◮ e.g. human silhouettes ◮ high intrinsic dimension ( 30) ◮

= ⇒ no dense training set

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-15
SLIDE 15

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Issues

Issues

◮ Sparse sets of highly varying shapes

◮ e.g. human silhouettes ◮ high intrinsic dimension ( 30) ◮

= ⇒ no dense training set

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-16
SLIDE 16

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Issues

Issues

◮ Sparse sets of highly varying shapes

◮ e.g. human silhouettes ◮ high intrinsic dimension ( 30) ◮

= ⇒ no dense training set

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-17
SLIDE 17

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Issues

Issues

◮ Sparse sets of highly varying shapes

◮ e.g. human silhouettes ◮ high intrinsic dimension ( 30) ◮

= ⇒ no dense training set

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-18
SLIDE 18

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Issues

Issues

◮ Sparse sets of highly varying shapes

◮ e.g. human silhouettes ◮ high intrinsic dimension ( 30) ◮

= ⇒ no dense training set ◮ to compare quantities defined on different shapes :

need for correspondences

◮ match shape with different topologies ? ◮ very frequent topological changes Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-19
SLIDE 19

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Searching for solutions

Main existing approaches and their limitations

Approach 1 : mean + modes model Approach 2 : distance-based approaches, such as kernel methods

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-20
SLIDE 20

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mean M, shapes Si, warpings WM→Si

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-21
SLIDE 21

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mean M, shapes Si, warpings WM→Si

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-22
SLIDE 22

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mean M, shapes Si, warpings WM→Si

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-23
SLIDE 23

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mean M, shapes Si, warpings WM→Si ◮ PCA : diagonalize correlation matrix C : Cij =

˙ WM→Si ˛ ˛WM→Sj ¸ = ⇒ eigenmodes ek with eigenvalues λk : best coordinate system

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-24
SLIDE 24

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mean M, shapes Si, warpings WM→Si ◮ PCA : diagonalize correlation matrix C : Cij =

˙ WM→Si ˛ ˛WM→Sj ¸ = ⇒ eigenmodes ek with eigenvalues λk : best coordinate system

◮ any new deformation W of M :

W = X

k

αkek+ noise

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-25
SLIDE 25

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mahalanobis distance : d(M + W , (S)) =

X

k

α2

k

λ2

k Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-26
SLIDE 26

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mahalanobis distance : d(M + W , (S)) =

X

k

α2

k

λ2

k

◮ associated inner product on deformations, in the tangent space of M:

W1 |W2 = X

k

1 λ2

k

α1,kα2,k

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-27
SLIDE 27

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Mahalanobis distance : d(M + W , (S)) =

X

k

α2

k

λ2

k

◮ associated inner product on deformations, in the tangent space of M:

W1 |W2 = X

k

1 λ2

k

α1,kα2,k

◮ defines a deformation cost W 2 = W |W

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-28
SLIDE 28

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ probability p(W ) ∝ exp(−

X

k

α2

k

2λ2

k

) : Gaussian distribution

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-29
SLIDE 29

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ probability p(W ) ∝ exp(−

X

k

α2

k

2λ2

k

) : Gaussian distribution

◮ defines a Gaussian shape prior

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-30
SLIDE 30

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Empirical distribution : Demp =

X

i

δ WM→Si (possibly smoothed by a kernel)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-31
SLIDE 31

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Empirical distribution : Demp =

X

i

δ WM→Si (possibly smoothed by a kernel)

◮ Any inner product < | >P in tangent space of the mean

= ⇒ Gaussian distribution DP(W ) ∝ exp(−W 2

P) Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-32
SLIDE 32

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Mean + modes model : PCA in tangent space (Gaussian distribution)

◮ Empirical distribution : Demp =

X

i

δ WM→Si (possibly smoothed by a kernel)

◮ Any inner product < | >P in tangent space of the mean

= ⇒ Gaussian distribution DP(W ) ∝ exp(−W 2

P)

◮ Best P for Kullback-Leibler(DP|Demp) : PCA!

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-33
SLIDE 33

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Approach 1 : mean + modes model

֒ → example from my PhD thesis Automatic alignment − → and average shape computation

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-34
SLIDE 34

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Statistics (PCA) on deformation fields − → between the mean shape and each sample

modes of deformation = deformation prior = Gaussian probabilistic model

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-35
SLIDE 35

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Example of application : image segmentation with shape prior

without shape prior with shape prior

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-36
SLIDE 36

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Example of application : image segmentation with shape prior

without shape prior with shape prior ◮ requires a mean shape (does not always make sense, e.g. person walking)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-37
SLIDE 37

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Example of application : image segmentation with shape prior

without shape prior with shape prior ◮ requires a mean shape (does not always make sense, e.g. person walking) ◮ requires all deformations between the mean and samples :

= ⇒ relatively similar sample shapes (otherwise, not reliable)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-38
SLIDE 38

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Approach 2 : distance-based methods (e.g. kernel methods)

◮ Kernel : symmetric definite positive function k(x, y) ◮ Expresses the similarity between x and y ◮ Typically, the Gaussian kernel : k(x, y) = exp( − d(x, y)2 ) ◮ For each point xi : ki(y) := k(xi, y)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-39
SLIDE 39

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Approach 2 : distance-based methods (e.g. kernel methods)

◮ Kernel : symmetric definite positive function k(x, y) ◮ Expresses the similarity between x and y ◮ Typically, the Gaussian kernel : k(x, y) = exp( − d(x, y)2 ) ◮ For each point xi : ki(y) := k(xi, y)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-40
SLIDE 40

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Approach 2 : distance-based methods (e.g. kernel methods)

◮ Kernel : symmetric definite positive function k(x, y) ◮ Expresses the similarity between x and y ◮ Typically, the Gaussian kernel : k(x, y) = exp( − d(x, y)2 ) ◮ For each point xi : ki(y) := k(xi, y)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-41
SLIDE 41

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Approach 2 : distance-based methods (e.g. kernel methods)

◮ Kernel : symmetric definite positive function k(x, y) ◮ Expresses the similarity between x and y ◮ Typically, the Gaussian kernel : k(x, y) = exp( − d(x, y)2 ) ◮ For each point xi : ki(y) := k(xi, y)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-42
SLIDE 42

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Approach 2 : distance-based methods (e.g. kernel methods)

◮ choice of a distance, of a kernel ? ◮ distance between 2 shapes : not much informative (wrt deformations) ◮ rebuild geometry of space of shapes from distances ? ◮ distances are not reliable/meaningful for far shapes ◮

= ⇒ needs for a representative neighborhood, i.e. a high dataset density (not affordable)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-43
SLIDE 43

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion State of the art

Approach 2 : distance-based methods (e.g. kernel methods)

◮ choice of a distance, of a kernel ? ◮ distance between 2 shapes : not much informative (wrt deformations) ◮ rebuild geometry of space of shapes from distances ? ◮ distances are not reliable/meaningful for far shapes ◮

= ⇒ needs for a representative neighborhood, i.e. a high dataset density

◮ in a high-dimensional manifold, all distances are similar, and all points are

  • n the boundary of the manifold

= ⇒ cannot work, need for more information than distances

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-44
SLIDE 44

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Main idea

Main idea

◮ consider deformations (not just distances) ◮ should not require high density of training set ◮ no magic (to handle/interpolate sparse sets) : add a prior

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-45
SLIDE 45

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Main idea

Main idea

◮ consider deformations (not just distances) ◮ should not require high density of training set ◮ no magic (to handle/interpolate sparse sets) : add a prior ◮ prior chosen : transported deformations make sense,

i.e. a deformation observed on one shape can be applied to other shapes

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-46
SLIDE 46

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Main idea

Main idea

◮ consider deformations (not just distances) ◮ should not require high density of training set ◮ no magic (to handle/interpolate sparse sets) : add a prior ◮ prior chosen : transported deformations make sense,

i.e. a deformation observed on one shape can be applied to other shapes

◮ transport requires correspondences

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-47
SLIDE 47

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Main idea

Main idea

◮ consider deformations (not just distances) ◮ should not require high density of training set ◮ no magic (to handle/interpolate sparse sets) : add a prior ◮ prior chosen : transported deformations make sense,

i.e. a deformation observed on one shape can be applied to other shapes

◮ transport requires correspondences ◮ but shape matching reliable only for close shapes

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-48
SLIDE 48

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Main idea

Main idea

◮ consider deformations (not just distances) ◮ should not require high density of training set ◮ no magic (to handle/interpolate sparse sets) : add a prior ◮ prior chosen : transported deformations make sense,

i.e. a deformation observed on one shape can be applied to other shapes

◮ transport requires correspondences ◮ but shape matching reliable only for close shapes ◮

= ⇒ compute correspondences between close shapes only, and combine small steps of reliable correspondences to build longer-distance correspondences

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-49
SLIDE 49

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Main idea

Map

◮ Close shape matching ◮ Transport ◮ Metric estimation (statistics on transported deformations) ◮ Theoretical justifications

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-50
SLIDE 50

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Close shape matching

Shape matching

Simple case : two shapes, A and B, with one connected component inf

f :A→B

Z

A

f 2 + α∇f 2dA

  • shape sampling
  • dynamic time warping
  • theory & experiments :

higher sampling rate on target

B B A A f f A B

(s+ds) (s) (s) m(s+ds) m(s) (s+ds)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-51
SLIDE 51

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Close shape matching

Shape matching

Simple case : two shapes, A and B, with one connected component inf

f :A→B

Z

A

f 2 + α∇f 2dA

  • shape sampling
  • dynamic time warping
  • theory & experiments :

higher sampling rate on target Usual case : random topologies Usual cases = more complex (more than 10 connected components in this silhouette) but

  • ne connected component →

[

i

connected components = the same

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-52
SLIDE 52

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Close shape matching

Further possible improvements

◮ as such, allows appearing points (mismatches) ◮ allows disappearing points : matching to ∅ with a fixed high cost ◮ pb : better matchings, but energy value loses meaning

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-53
SLIDE 53

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Close shape matching

Further possible improvements

◮ as such, allows appearing points (mismatches) ◮ allows disappearing points : matching to ∅ with a fixed high cost ◮ pb : better matchings, but energy value loses meaning

Drawbacks

◮ specific to planar curves ◮ not symmetric : mA→B = m−1

B→A Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-54
SLIDE 54

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Local transport

Transport

Local transport

◮ Set of shapes (Si)i∈I (e.g. from a video segmentation)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-55
SLIDE 55

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Local transport

Transport

Local transport

◮ Set of shapes (Si)i∈I (e.g. from a video segmentation) ◮ Two shapes Si and Sj =

⇒ their correspondence field mi→j

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-56
SLIDE 56

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Local transport

Transport

Local transport

◮ Set of shapes (Si)i∈I (e.g. from a video segmentation) ◮ Two shapes Si and Sj =

⇒ their correspondence field mi→j

◮ Transport (translation, naive) :

∀ h : Sj → X, T L

j→i(h) :

Si → X ` T L

j→i(h)

´ (s) = h (mi→j(s))

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-57
SLIDE 57

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Local transport

Transport

Local transport

◮ Set of shapes (Si)i∈I (e.g. from a video segmentation) ◮ Two shapes Si and Sj =

⇒ their correspondence field mi→j

◮ Transport (translation, naive) :

∀ h : Sj → X, T L

j→i(h) :

Si → X ` T L

j→i(h)

´ (s) = h (mi→j(s))

◮ Associated cost : E(mi→j) =

⇒ reliability w L

i→j ∝ exp

` − αE(mi→j) ´

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-58
SLIDE 58

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Global transport

◮ Associated cost : E(mi→j) =

⇒ reliability w L

i→j ∝ exp

` − αE(mi→j) ´

◮ close shapes : reliable;

distant shapes : not reliable

= ⇒ search for paths of small steps in the training set (Si)

◮ graph : nodes = shapes, edges = transport, weights = transport cost ◮ shortest path between pairs of shapes : global transport

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-59
SLIDE 59

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Global transport

◮ Associated cost : E(mi→j) =

⇒ reliability w L

i→j ∝ exp

` − αE(mi→j) ´

◮ close shapes : reliable;

distant shapes : not reliable

= ⇒ search for paths of small steps in the training set (Si)

◮ graph : nodes = shapes, edges = transport, weights = transport cost ◮ shortest path between pairs of shapes : global transport ◮ compose : T G

i→j = T L in→j o T L in−1→in o

...

  • T L

i1→i2 o T L i→i1

◮ reliability : w G

i→j =

Y

k

w L

ik →ik+1

◮ use transport to propagate information

Example : colored walker

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-60
SLIDE 60

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-61
SLIDE 61

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-62
SLIDE 62

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Correspondence field

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-63
SLIDE 63

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported arm rotation (translation)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-64
SLIDE 64

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported arm rotation (better)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-65
SLIDE 65

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Forearm rotation

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-66
SLIDE 66

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported forearm rotation

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-67
SLIDE 67

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported forearm rotation (better)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-68
SLIDE 68

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transport to another shape

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-69
SLIDE 69

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported forearm rotation (translation)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-70
SLIDE 70

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported forearm rotation (better)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-71
SLIDE 71

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported arm rotation (translation)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-72
SLIDE 72

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transported arm rotation (better)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-73
SLIDE 73

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

L2 inner-product > 0

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-74
SLIDE 74

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

L2 inner-product = 0

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-75
SLIDE 75

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

L2 inner-product < 0

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-76
SLIDE 76

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Remarks about transport

Why ?

◮ transport : of deformations : needed to increase training set density

Which ?

◮ “translation” : ok for short pathes ◮ transport : not obvious (muscles + T-shirt artifacts) ◮ criterion to assess transport quality / suitability ? ◮ transport : should be learned (from video sequences ?) ◮ path could depend on deformation transported

What properties ?

◮ probability of a deformation transported : can differ ◮ inner product : no reason to be transport-invariant

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-77
SLIDE 77

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transport in differential geometry

A connection ∇ is Riemannian if the parallel transport it defines preserves the metric g. Metric connection : ∇X g(·, ·) = 0 for all vector fields X on M

◮ not satisfied (probability of a deformation depends on the shape)

= ⇒ not Riemannian : transport and metric are independent

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-78
SLIDE 78

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transport in differential geometry

A connection ∇ is Riemannian if the parallel transport it defines preserves the metric g. Metric connection : ∇X g(·, ·) = 0 for all vector fields X on M

◮ not satisfied (probability of a deformation depends on the shape)

= ⇒ not Riemannian : transport and metric are independent Transport = ⇒ connection Given transport, under few hypotheses (e.g. smoothness), it is possible to recover the associated infinitesimal connection : ∇XV = lim

h→0

T h→0

γ

Vγ(h) − Vγ(0) h = d dt T t→0

γ

Vγ(t) ˛ ˛ ˛ ˛

t=0

.

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-79
SLIDE 79

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Global transport

Transport in differential geometry

A connection ∇ is Riemannian if the parallel transport it defines preserves the metric g. Metric connection : ∇X g(·, ·) = 0 for all vector fields X on M

◮ not satisfied (probability of a deformation depends on the shape)

= ⇒ not Riemannian : transport and metric are independent Transport = ⇒ connection Given transport, under few hypotheses (e.g. smoothness), it is possible to recover the associated infinitesimal connection : ∇XV = lim

h→0

T h→0

γ

Vγ(h) − Vγ(0) h = d dt T t→0

γ

Vγ(t) ˛ ˛ ˛ ˛

t=0

. Connection = ⇒ transport : Given a covariant derivative ∇, the transport along a curve γ is obtained by integrating the condition ∇ ˙

γ = 0. Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-80
SLIDE 80

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Statistics on deformations

Metric estimation (statistics on deformations)

◮ set of shapes (Si), local deformations mi→j, transport T G

i→k

= ⇒ transport deformations to a particular shape Sk : f i→k

i→j = T G i→k(mi→j) are, ∀i, j, deformations defined on the same shape Sk

with reliability weights w k

ij = w G i→k w L i→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-81
SLIDE 81

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Statistics on deformations

Metric estimation (statistics on deformations)

◮ set of shapes (Si), local deformations mi→j, transport T G

i→k

= ⇒ transport deformations to a particular shape Sk : f i→k

i→j = T G i→k(mi→j) are, ∀i, j, deformations defined on the same shape Sk

with reliability weights w k

ij = w G i→k w L i→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-82
SLIDE 82

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Statistics on deformations

Metric estimation (statistics on deformations)

◮ set of shapes (Si), local deformations mi→j, transport T G

i→k

= ⇒ transport deformations to a particular shape Sk : f i→k

i→j = T G i→k(mi→j) are, ∀i, j, deformations defined on the same shape Sk

with reliability weights w k

ij = w G i→k w L i→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-83
SLIDE 83

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Statistics on deformations

Metric estimation (statistics on deformations)

◮ set of shapes (Si), local deformations mi→j, transport T G

i→k

= ⇒ transport deformations to a particular shape Sk : f i→k

i→j = T G i→k(mi→j) are, ∀i, j, deformations defined on the same shape Sk

with reliability weights w k

ij = w G i→k w L i→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-84
SLIDE 84

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Statistics on deformations

Metric estimation (statistics on deformations)

◮ set of shapes (Si), local deformations mi→j, transport T G

i→k

= ⇒ transport deformations to a particular shape Sk : f i→k

i→j = T G i→k(mi→j) are, ∀i, j, deformations defined on the same shape Sk

with reliability weights w k

ij = w G i→k w L i→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-85
SLIDE 85

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Statistics on deformations

Metric estimation (statistics on deformations)

◮ set of shapes (Si), local deformations mi→j, transport T G

i→k

= ⇒ transport deformations to a particular shape Sk : f i→k

i→j = T G i→k(mi→j) are, ∀i, j, deformations defined on the same shape Sk

with reliability weights w k

ij = w G i→k w L i→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-86
SLIDE 86

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Statistics on deformations

Metric estimation (statistics on deformations)

◮ set of shapes (Si), local deformations mi→j, transport T G

i→k

= ⇒ transport deformations to a particular shape Sk : f i→k

i→j = T G i→k(mi→j) are, ∀i, j, deformations defined on the same shape Sk

with reliability weights w k

ij = w G i→k w L i→j

◮ statistics, for k fixed : PCA ◮ PCA with weights, and with H1-norm ◮

= ⇒ eigenmodes en (= principal deformations) with eigenvalues λn

= ⇒ defines an inner product Pk = metric in the tangent space of the shape Sk

◮ Pk varies smoothly as a function of k

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-87
SLIDE 87

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Example of results

Example of results : dancing sequence (9s, 24Hz), shape 1

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-88
SLIDE 88

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Example of results

Example of results : shape 2

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-89
SLIDE 89

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Example of results

Example of results : shape 3

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-90
SLIDE 90

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Theoretical justifications

Theoretical justifications

The best metric ?

Searching for principal modes of deformations which vary smoothly (as a function of the shape Sk) ?

◮ vain quest : hairy ball theorem = ⇒ no best smooth direction field (or then it has to vanish sometimes)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-91
SLIDE 91

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Theoretical justifications

Theoretical justifications

The best metric ?

Searching for principal modes of deformations which vary smoothly (as a function of the shape Sk) ?

◮ vain quest : hairy ball theorem = ⇒ no best smooth direction field (or then it has to vanish sometimes)

Best metric for a given distribution (on one shape) ?

◮ = ⇒ PCA gives the best metric for a criterion based on Kullback-Leibler divergence between distributions

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-92
SLIDE 92

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Theoretical justifications

Theoretical justifications

The best metric ?

Searching for principal modes of deformations which vary smoothly (as a function of the shape Sk) ?

◮ vain quest : hairy ball theorem = ⇒ no best smooth direction field (or then it has to vanish sometimes)

Best metric for a given distribution (on one shape) ?

◮ = ⇒ PCA gives the best metric for a criterion based on Kullback-Leibler divergence between distributions

Best metric for a given empirical manifold (all shapes together) ?

◮ needs a smoothness criterion ( = ⇒ transport)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-93
SLIDE 93

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Theoretical justifications

Theoretical justifications

The best metric ?

Searching for principal modes of deformations which vary smoothly (as a function of the shape Sk) ?

◮ vain quest : hairy ball theorem = ⇒ no best smooth direction field (or then it has to vanish sometimes)

Best metric for a given distribution (on one shape) ?

◮ = ⇒ PCA gives the best metric for a criterion based on Kullback-Leibler divergence between distributions

Best metric for a given empirical manifold (all shapes together) ?

◮ needs a smoothness criterion ( = ⇒ transport) ◮ = ⇒ best metric for a criterion involving transport & K-L divergence. ◮ = ⇒ best metric for another criterion involving transport & L2-norm of distributions.

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-94
SLIDE 94

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold

◮ set of shapes (Si), local deformations fi→j, transport T G

i→k

◮ Empirical distributions : Dempi = P

j w L i→j δ fi→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-95
SLIDE 95

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold

◮ set of shapes (Si), local deformations fi→j, transport T G

i→k

◮ Empirical distributions : Dempi = P

j w L i→j δ fi→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-96
SLIDE 96

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold

◮ set of shapes (Si), local deformations fi→j, transport T G

i→k

◮ Empirical distributions : Dempi = P

j w L i→j δ fi→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-97
SLIDE 97

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold

◮ set of shapes (Si), local deformations fi→j, transport T G

i→k

◮ Empirical distributions : Dempi = P

j w L i→j δ fi→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-98
SLIDE 98

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold

◮ set of shapes (Si), local deformations fi→j, transport T G

i→k

◮ Empirical distributions : Dempi = P

j w L i→j δ fi→j

◮ Transported distribution : via Ti→k(δ f) = δTi→k (f). ◮ Criterion : best (Pk) for

X

i,k

w G

ik

KL ( DPk | Ti→k(Dempi ))

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-99
SLIDE 99

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold

◮ set of shapes (Si), local deformations fi→j, transport T G

i→k

◮ Empirical distributions : Dempi = P

j w L i→j δ fi→j

◮ Transported distribution : via Ti→k(δ f) = δTi→k (f). ◮ Criterion : best (Pk) for

X

i,k

w G

ik

KL ( DPk | Ti→k(Dempi ))

◮ = best (Pk) for

X

k

KL(DPk |DT

empk )

where DT

empk =

X

i,j

w k

i→j δ fk

i→j

◮ Transported deformations to any shape Sk : f k

i→j = T G i→k(fi→j)

with reliability weights w k

i→j = w G i→k w L i→j

◮ = the one obtained by weighted PCA on transported deformations

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-100
SLIDE 100

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold (again!)

◮ empirical distributions : Dempi ◮ kernel-smoothed empirical distributions : DK

empi = g 0 i dµ

◮ g 0

i : density functions in the tangent space of the shape Si Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-101
SLIDE 101

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold (again!)

◮ empirical distributions : Dempi ◮ kernel-smoothed empirical distributions : DK

empi = g 0 i dµ

◮ g 0

i : density functions in the tangent space of the shape Si

◮ search for gi : close to gi and smooth from shape to shape ◮ E(g) =

X

i

gi − g 0

i 2 L2(Ti ) +

X

ij

wij Ti→j(gi) − gj2

L2(Tj ) Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-102
SLIDE 102

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold (again!)

◮ empirical distributions : Dempi ◮ kernel-smoothed empirical distributions : DK

empi = g 0 i dµ

◮ g 0

i : density functions in the tangent space of the shape Si

◮ search for gi : close to gi and smooth from shape to shape ◮ E(g) =

X

i

gi − g 0

i 2 L2(Ti ) +

X

ij

wij Ti→j(gi) − gj2

L2(Tj )

◮ minimization =

⇒ Ag = g 0 with :  Aii = 1 + P

j wij T ∗ i→j Ti→j + wji

Aij = −wij T ∗

i→j − wji Tj→i

for i = j

◮ A = Id + ε∆ where ∆ = graph Laplacian (with transports)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-103
SLIDE 103

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion Best metric

Best metric for a given empirical manifold (again!)

◮ empirical distributions : Dempi ◮ kernel-smoothed empirical distributions : DK

empi = g 0 i dµ

◮ g 0

i : density functions in the tangent space of the shape Si

◮ search for gi : close to gi and smooth from shape to shape ◮ E(g) =

X

i

gi − g 0

i 2 L2(Ti ) +

X

ij

wij Ti→j(gi) − gj2

L2(Tj )

◮ minimization =

⇒ Ag = g 0 with :  Aii = 1 + P

j wij T ∗ i→j Ti→j + wji

Aij = −wij T ∗

i→j − wji Tj→i

for i = j

◮ A = Id + ε∆ where ∆ = graph Laplacian (with transports) ◮ g = A−1g 0 = (Id + ε∆)−1g 0 ≃ (Id − ε∆)g 0 ≃ Nε ∗ g 0. ◮ g = (Id − ε∆) g 0 coincides with the DT

emp

and the inner products (Pi) which suit g = (gi) the best (for K-L) are the

  • nes we computed

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-104
SLIDE 104

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion

Conclusion

◮ transport is useful to reduce required training set size ◮ transport is useful to propagate information between shapes ◮ globally optimal metrics (and low complexity)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-105
SLIDE 105

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion

Conclusion

◮ transport is useful to reduce required training set size ◮ transport is useful to propagate information between shapes ◮ globally optimal metrics (and low complexity) [NORDIA 2009 : Learning Shape Metrics based on Deformations and Transport]

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-106
SLIDE 106

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion

Future works

◮ learning functions defined on shape spaces / with values in shape spaces ◮ statistics on image patches through correspondences/transport

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-107
SLIDE 107

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence

Aim : to find a metric suitable for a given distribution of deformations (fi) on

  • ne particular shape

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-108
SLIDE 108

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence

Aim : to find a metric suitable for a given distribution of deformations (fi) on

  • ne particular shape

◮ Empirical distribution of deformations : Demp =

X

i

wi δ fi

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-109
SLIDE 109

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence

Aim : to find a metric suitable for a given distribution of deformations (fi) on

  • ne particular shape

◮ Empirical distribution of deformations : Demp =

X

i

wi δ fi

◮ Any inner product (= metric) P is associated to a probability distribution:

DP(f) ∝ exp(−f2

P) Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-110
SLIDE 110

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence

Aim : to find a metric suitable for a given distribution of deformations (fi) on

  • ne particular shape

◮ Empirical distribution of deformations : Demp =

X

i

wi δ fi

◮ Any inner product (= metric) P is associated to a probability distribution:

DP(f) ∝ exp(−f2

P)

◮ Given an inner product P0 (= H1) of reference, with its orthonormal basis

(en), supposing that P is continuous wrt. P0: ∀ f ∈ T, f2

P =

X

n

αn f | en 2

P0 Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-111
SLIDE 111

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence

Aim : to find a metric suitable for a given distribution of deformations (fi) on

  • ne particular shape

◮ Empirical distribution of deformations : Demp =

X

i

wi δ fi

◮ Any inner product (= metric) P is associated to a probability distribution:

DP(f) ∝ exp(−f2

P)

◮ Given an inner product P0 (= H1) of reference, with its orthonormal basis

(en), supposing that P is continuous wrt. P0: ∀ f ∈ T, f2

P =

X

n

αn f | en 2

P0

= ⇒ DP is Gaussian : DP(f) := Y

n

“αn π ” 1

2 exp(−αn f |en 2

P0) Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-112
SLIDE 112

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence

Aim : to find a metric suitable for a given distribution of deformations (fi) on

  • ne particular shape

◮ Empirical distribution of deformations : Demp =

X

i

wi δ fi

◮ Any inner product (= metric) P is associated to a probability distribution:

DP(f) ∝ exp(−f2

P)

◮ Given an inner product P0 (= H1) of reference, with its orthonormal basis

(en), supposing that P is continuous wrt. P0: ∀ f ∈ T, f2

P =

X

n

αn f | en 2

P0

= ⇒ DP is Gaussian : DP(f) := Y

n

“αn π ” 1

2 exp(−αn f |en 2

P0)

= ⇒ search over inner products = search over Gaussian distributions

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-113
SLIDE 113

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence (bis)

◮ Gaussian distribution that fits Demp the best ?

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-114
SLIDE 114

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence (bis)

◮ Gaussian distribution that fits Demp the best ? ◮ search for best Gaussian (= for best P) that minimize KL(DP|Demp)

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-115
SLIDE 115

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence (bis)

◮ Gaussian distribution that fits Demp the best ? ◮ search for best Gaussian (= for best P) that minimize KL(DP|Demp) ◮ best inner product P is the one given by weighted PCA with norm P0 !

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-116
SLIDE 116

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion PCA and Kullback-Leibler

Link between PCA and Kullback-Leibler divergence (bis)

◮ Gaussian distribution that fits Demp the best ? ◮ search for best Gaussian (= for best P) that minimize KL(DP|Demp) ◮ best inner product P is the one given by weighted PCA with norm P0 ! ◮ similar result for kernel-smoothed distributions :

DK

emp(f) =

X

j

wj K(fj − f).

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-117
SLIDE 117

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion weighted, H1-PCA

Weighted PCA with H1 norm

◮ PCA = find the best axes (to project data on this subspace) ◮ Minimize projection error :

inf en|en′ H1

α

=δn=n′

X

i,j

w k

i→j

‚ ‚ ‚ ‚ ‚fk

i→j −

X

n

D fk

i→j |en

E

H1

α

en ‚ ‚ ‚ ‚ ‚

2 H1

α

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-118
SLIDE 118

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion weighted, H1-PCA

Weighted PCA with H1 norm

◮ PCA = find the best axes (to project data on this subspace) ◮ Minimize projection error :

inf en|en′ H1

α

=δn=n′

X

i,j

w k

i→j

‚ ‚ ‚ ‚ ‚fk

i→j −

X

n

D fk

i→j |en

E

H1

α

en ‚ ‚ ‚ ‚ ‚

2 H1

α

sup en|en′ H1

α

=δn=n′

X

n

X

i,j

w k

i→j

D fk

i→j |en

E2

H1

α

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-119
SLIDE 119

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion weighted, H1-PCA

Weighted PCA with H1 norm

◮ PCA = find the best axes (to project data on this subspace) ◮ Minimize projection error :

inf en|en′ H1

α

=δn=n′

X

i,j

w k

i→j

‚ ‚ ‚ ‚ ‚fk

i→j −

X

n

D fk

i→j |en

E

H1

α

en ‚ ‚ ‚ ‚ ‚

2 H1

α

sup en|en′ H1

α

=δn=n′

X

n

X

i,j

w k

i→j

D fk

i→j |en

E2

H1

α

sup en|en′ H1

α

=δn=n′

X

n

en HFH en where F = P

i,j w k i→j fk i→j ⊗ fk i→j = weighted covariance matrix,

and H = Id − α∆ = symmetric definite operator s.t. a |b H1

α = H a |b L2

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-120
SLIDE 120

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion weighted, H1-PCA

Weighted PCA with H1 norm

◮ PCA = find the best axes (to project data on this subspace) ◮ Minimize projection error :

inf en|en′ H1

α

=δn=n′

X

i,j

w k

i→j

‚ ‚ ‚ ‚ ‚fk

i→j −

X

n

D fk

i→j |en

E

H1

α

en ‚ ‚ ‚ ‚ ‚

2 H1

α

sup en|en′ H1

α

=δn=n′

X

n

X

i,j

w k

i→j

D fk

i→j |en

E2

H1

α

sup en|en′ H1

α

=δn=n′

X

n

en HFH en where F = P

i,j w k i→j fk i→j ⊗ fk i→j = weighted covariance matrix,

and H = Id − α∆ = symmetric definite operator s.t. a |b H1

α = H a |b L2

◮ Change of variables: dn = H1/2en :

sup dn|dn′ L2 =δn=n′ X

n

dn H1/2FH1/2 dn

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-121
SLIDE 121

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion weighted, H1-PCA

Weighted PCA with H1 norm

◮ PCA = find the best axes (to project data on this subspace) ◮ Minimize projection error :

inf en|en′ H1

α

=δn=n′

X

i,j

w k

i→j

‚ ‚ ‚ ‚ ‚fk

i→j −

X

n

D fk

i→j |en

E

H1

α

en ‚ ‚ ‚ ‚ ‚

2 H1

α

◮ classical PCA problem, with correlation matrix :

M(i,j),(i′,j′) = Dq w k

i→j fk i→j

˛ ˛ ˛ q w k

i′→j′ fk i′→j′

E

H1

α

Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes

slide-122
SLIDE 122

Introduction Searching for solutions Shape matching Transport Metric estimation Theory Conclusion weighted, H1-PCA

Weighted PCA with H1 norm

◮ PCA = find the best axes (to project data on this subspace) ◮ Minimize projection error :

inf en|en′ H1

α

=δn=n′

X

i,j

w k

i→j

‚ ‚ ‚ ‚ ‚fk

i→j −

X

n

D fk

i→j |en

E

H1

α

en ‚ ‚ ‚ ‚ ‚

2 H1

α

◮ classical PCA problem, with correlation matrix :

M(i,j),(i′,j′) = Dq w k

i→j fk i→j

˛ ˛ ˛ q w k

i′→j′ fk i′→j′

E

H1

α

◮ eigenvectors :

en = X

ij

γ(i,j)

n

q w k

i→j fk i→j Guillaume Charpiat Pulsar project - INRIA Metrics that suit an empirical manifold of shapes