Differentiating discretized metrics and applications Filippo - - PowerPoint PPT Presentation

differentiating discretized metrics and applications
SMART_READER_LITE
LIVE PREVIEW

Differentiating discretized metrics and applications Filippo - - PowerPoint PPT Presentation

The continuous framework Applications Discretization Results Differentiating discretized metrics and applications Filippo Santambrogio Laboratoire de Math ematiques dOrsay, Universit e Paris-Sud http://www.math.u-psud.fr/


slide-1
SLIDE 1

logo The continuous framework Applications Discretization Results

Differentiating discretized metrics and applications

Filippo Santambrogio

Laboratoire de Math´ ematiques d’Orsay, Universit´ e Paris-Sud http://www.math.u-psud.fr/∼santambr/

PICOF – April 3rd, 2012, ´ Ecole Polytechnique

Filippo Santambrogio Differentiating discretized metrics and applications

slide-2
SLIDE 2

logo The continuous framework Applications Discretization Results 1

The continuous framework

Distances and Eikonal Equation Geodesics appear when differentiating

2

Applications

Slow down the opposant Travel-time tomography Traffic congestion equilibria

3

Discretization

FMM Derivative computation

4

Results

Slow down the opposant Travel-time tomography Traffic congestion equilibria

Filippo Santambrogio Differentiating discretized metrics and applications

slide-3
SLIDE 3

logo The continuous framework Applications Discretization Results 1

The continuous framework

Distances and Eikonal Equation Geodesics appear when differentiating

2

Applications

Slow down the opposant Travel-time tomography Traffic congestion equilibria

3

Discretization

FMM Derivative computation

4

Results

Slow down the opposant Travel-time tomography Traffic congestion equilibria

Filippo Santambrogio Differentiating discretized metrics and applications

slide-4
SLIDE 4

logo The continuous framework Applications Discretization Results 1

The continuous framework

Distances and Eikonal Equation Geodesics appear when differentiating

2

Applications

Slow down the opposant Travel-time tomography Traffic congestion equilibria

3

Discretization

FMM Derivative computation

4

Results

Slow down the opposant Travel-time tomography Traffic congestion equilibria

Filippo Santambrogio Differentiating discretized metrics and applications

slide-5
SLIDE 5

logo The continuous framework Applications Discretization Results 1

The continuous framework

Distances and Eikonal Equation Geodesics appear when differentiating

2

Applications

Slow down the opposant Travel-time tomography Traffic congestion equilibria

3

Discretization

FMM Derivative computation

4

Results

Slow down the opposant Travel-time tomography Traffic congestion equilibria

Filippo Santambrogio Differentiating discretized metrics and applications

slide-6
SLIDE 6

logo The continuous framework Applications Discretization Results

The continuous framework Riemannian distances and geodesics

Filippo Santambrogio Differentiating discretized metrics and applications

slide-7
SLIDE 7

logo The continuous framework Applications Discretization Results

Geodesic distances

Let ξ : Ω → R+ be a given (regular) function. The distance dξ is defined through dξ(x, y) := inf

ω(0)=x, ω(1)=y Lξ(ω) :=

1 ξ(ω(t))|ω′(t) |dt, exactly as for a conformal Riemannian Metric (completely isotropic). If x = x0 is fixed, let us denote Ux0,ξ(y) := dξ(x0, y) : this function is a (viscosity) solution of the Eikonal Equation |∇U| = ξ, U(x0) = 0. Question : how does Uξ depend on ξ ?

Filippo Santambrogio Differentiating discretized metrics and applications

slide-8
SLIDE 8

logo The continuous framework Applications Discretization Results

Geodesic distances

Let ξ : Ω → R+ be a given (regular) function. The distance dξ is defined through dξ(x, y) := inf

ω(0)=x, ω(1)=y Lξ(ω) :=

1 ξ(ω(t))|ω′(t) |dt, exactly as for a conformal Riemannian Metric (completely isotropic). If x = x0 is fixed, let us denote Ux0,ξ(y) := dξ(x0, y) : this function is a (viscosity) solution of the Eikonal Equation |∇U| = ξ, U(x0) = 0. Question : how does Uξ depend on ξ ?

Filippo Santambrogio Differentiating discretized metrics and applications

slide-9
SLIDE 9

logo The continuous framework Applications Discretization Results

Geodesic distances

Let ξ : Ω → R+ be a given (regular) function. The distance dξ is defined through dξ(x, y) := inf

ω(0)=x, ω(1)=y Lξ(ω) :=

1 ξ(ω(t))|ω′(t) |dt, exactly as for a conformal Riemannian Metric (completely isotropic). If x = x0 is fixed, let us denote Ux0,ξ(y) := dξ(x0, y) : this function is a (viscosity) solution of the Eikonal Equation |∇U| = ξ, U(x0) = 0. Question : how does Uξ depend on ξ ?

Filippo Santambrogio Differentiating discretized metrics and applications

slide-10
SLIDE 10

logo The continuous framework Applications Discretization Results

Concavity, derivatives and subgradients

As an infimum of linear quantities (linear in ξ, depending on the curve), ξ → dξ(x0, y0) is obviously a concave function. If we replace ξ with ξ + εh, we get d dεUx0,ξ+εh(y) = 1 h(ωx0,y(t))|ω′

x0,y(t)| dt = Lh(ωx0,y),

for a geodesic ωx0,y (geodesic for the metric ξ). Which one ? the one minimizing this integral of h. Anyway, for all geodesic curve ω connecting x0 to y, we have Ux0,ξ+εh(y) ≤ Ux0,ξ(y) + ε 1 h(ωx0,y(t))|ω′

x0,y(t)| dt,

and the derivatives we computed allow to define an element of the subdifferential (super-differential, actually) :

  • h → Lh(ωx0,y)
  • ∈ ∂−

ξ Ux0,ξ(y).

Filippo Santambrogio Differentiating discretized metrics and applications

slide-11
SLIDE 11

logo The continuous framework Applications Discretization Results

Concavity, derivatives and subgradients

As an infimum of linear quantities (linear in ξ, depending on the curve), ξ → dξ(x0, y0) is obviously a concave function. If we replace ξ with ξ + εh, we get d dεUx0,ξ+εh(y) = 1 h(ωx0,y(t))|ω′

x0,y(t)| dt = Lh(ωx0,y),

for a geodesic ωx0,y (geodesic for the metric ξ). Which one ? the one minimizing this integral of h. Anyway, for all geodesic curve ω connecting x0 to y, we have Ux0,ξ+εh(y) ≤ Ux0,ξ(y) + ε 1 h(ωx0,y(t))|ω′

x0,y(t)| dt,

and the derivatives we computed allow to define an element of the subdifferential (super-differential, actually) :

  • h → Lh(ωx0,y)
  • ∈ ∂−

ξ Ux0,ξ(y).

Filippo Santambrogio Differentiating discretized metrics and applications

slide-12
SLIDE 12

logo The continuous framework Applications Discretization Results

Concavity, derivatives and subgradients

As an infimum of linear quantities (linear in ξ, depending on the curve), ξ → dξ(x0, y0) is obviously a concave function. If we replace ξ with ξ + εh, we get d dεUx0,ξ+εh(y) = 1 h(ωx0,y(t))|ω′

x0,y(t)| dt = Lh(ωx0,y),

for a geodesic ωx0,y (geodesic for the metric ξ). Which one ? the one minimizing this integral of h. Anyway, for all geodesic curve ω connecting x0 to y, we have Ux0,ξ+εh(y) ≤ Ux0,ξ(y) + ε 1 h(ωx0,y(t))|ω′

x0,y(t)| dt,

and the derivatives we computed allow to define an element of the subdifferential (super-differential, actually) :

  • h → Lh(ωx0,y)
  • ∈ ∂−

ξ Ux0,ξ(y).

Filippo Santambrogio Differentiating discretized metrics and applications

slide-13
SLIDE 13

logo The continuous framework Applications Discretization Results

Concavity, derivatives and subgradients

As an infimum of linear quantities (linear in ξ, depending on the curve), ξ → dξ(x0, y0) is obviously a concave function. If we replace ξ with ξ + εh, we get d dεUx0,ξ+εh(y) = 1 h(ωx0,y(t))|ω′

x0,y(t)| dt = Lh(ωx0,y),

for a geodesic ωx0,y (geodesic for the metric ξ). Which one ? the one minimizing this integral of h. Anyway, for all geodesic curve ω connecting x0 to y, we have Ux0,ξ+εh(y) ≤ Ux0,ξ(y) + ε 1 h(ωx0,y(t))|ω′

x0,y(t)| dt,

and the derivatives we computed allow to define an element of the subdifferential (super-differential, actually) :

  • h → Lh(ωx0,y)
  • ∈ ∂−

ξ Ux0,ξ(y).

Filippo Santambrogio Differentiating discretized metrics and applications

slide-14
SLIDE 14

logo The continuous framework Applications Discretization Results

Concavity, derivatives and subgradients

As an infimum of linear quantities (linear in ξ, depending on the curve), ξ → dξ(x0, y0) is obviously a concave function. If we replace ξ with ξ + εh, we get d dεUx0,ξ+εh(y) = 1 h(ωx0,y(t))|ω′

x0,y(t)| dt = Lh(ωx0,y),

for a geodesic ωx0,y (geodesic for the metric ξ). Which one ? the one minimizing this integral of h. Anyway, for all geodesic curve ω connecting x0 to y, we have Ux0,ξ+εh(y) ≤ Ux0,ξ(y) + ε 1 h(ωx0,y(t))|ω′

x0,y(t)| dt,

and the derivatives we computed allow to define an element of the subdifferential (super-differential, actually) :

  • h → Lh(ωx0,y)
  • ∈ ∂−

ξ Ux0,ξ(y).

Filippo Santambrogio Differentiating discretized metrics and applications

slide-15
SLIDE 15

logo The continuous framework Applications Discretization Results

Applications Optimization involving dξ

Filippo Santambrogio Differentiating discretized metrics and applications

slide-16
SLIDE 16

logo The continuous framework Applications Discretization Results

Why would we need to differentiate w.r.t. ξ ?

Obviously, to solve optimization problems involving the distances dξ. To write optimality conditions. . . and/or apply a gradient descent algorithm (and sub-gradient descent is also good). But we can also use to define some evolution of metrics, for instance, or to impose topological constraints on unknown shapes.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-17
SLIDE 17

logo The continuous framework Applications Discretization Results

Why would we need to differentiate w.r.t. ξ ?

Obviously, to solve optimization problems involving the distances dξ. To write optimality conditions. . . and/or apply a gradient descent algorithm (and sub-gradient descent is also good). But we can also use to define some evolution of metrics, for instance, or to impose topological constraints on unknown shapes.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-18
SLIDE 18

logo The continuous framework Applications Discretization Results

Why would we need to differentiate w.r.t. ξ ?

Obviously, to solve optimization problems involving the distances dξ. To write optimality conditions. . . and/or apply a gradient descent algorithm (and sub-gradient descent is also good). But we can also use to define some evolution of metrics, for instance, or to impose topological constraints on unknown shapes.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-19
SLIDE 19

logo The continuous framework Applications Discretization Results

Why would we need to differentiate w.r.t. ξ ?

Obviously, to solve optimization problems involving the distances dξ. To write optimality conditions. . . and/or apply a gradient descent algorithm (and sub-gradient descent is also good). But we can also use to define some evolution of metrics, for instance, or to impose topological constraints on unknown shapes.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-20
SLIDE 20

logo The continuous framework Applications Discretization Results

The so-called “military applications”

Here’s a problem posed by Buttazzo et al. : find the optimal metric ξ so as to slow down an opposant located at y0 who wants to attack our stronghold at x0 (under suitable constraints) : max

  • dξ(x0, y0),
  • ξ ≤ M, a ≤ ξ ≤ b
  • .

If a = 0 and Ω is large enough the solution is obtained by setting ξ = b

  • n two equal balls around x0 and y0 and ξ = 0 elsewhere.

What about a > 0 ?

  • G. Buttazzo, A. Davini, I. Fragal`

a and F. Maci´ a, Optimal Riemannian distances preventing mass tranfer, J. Reine Angew. Math., 2004.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-21
SLIDE 21

logo The continuous framework Applications Discretization Results

The so-called “military applications”

Here’s a problem posed by Buttazzo et al. : find the optimal metric ξ so as to slow down an opposant located at y0 who wants to attack our stronghold at x0 (under suitable constraints) : max

  • dξ(x0, y0),
  • ξ ≤ M, a ≤ ξ ≤ b
  • .

If a = 0 and Ω is large enough the solution is obtained by setting ξ = b

  • n two equal balls around x0 and y0 and ξ = 0 elsewhere.

What about a > 0 ?

  • G. Buttazzo, A. Davini, I. Fragal`

a and F. Maci´ a, Optimal Riemannian distances preventing mass tranfer, J. Reine Angew. Math., 2004.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-22
SLIDE 22

logo The continuous framework Applications Discretization Results

The so-called “military applications”

Here’s a problem posed by Buttazzo et al. : find the optimal metric ξ so as to slow down an opposant located at y0 who wants to attack our stronghold at x0 (under suitable constraints) : max

  • dξ(x0, y0),
  • ξ ≤ M, a ≤ ξ ≤ b
  • .

If a = 0 and Ω is large enough the solution is obtained by setting ξ = b

  • n two equal balls around x0 and y0 and ξ = 0 elsewhere.

What about a > 0 ?

  • G. Buttazzo, A. Davini, I. Fragal`

a and F. Maci´ a, Optimal Riemannian distances preventing mass tranfer, J. Reine Angew. Math., 2004.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-23
SLIDE 23

logo The continuous framework Applications Discretization Results

The so-called “military applications”

Here’s a problem posed by Buttazzo et al. : find the optimal metric ξ so as to slow down an opposant located at y0 who wants to attack our stronghold at x0 (under suitable constraints) : max

  • dξ(x0, y0),
  • ξ ≤ M, a ≤ ξ ≤ b
  • .

If a = 0 and Ω is large enough the solution is obtained by setting ξ = b

  • n two equal balls around x0 and y0 and ξ = 0 elsewhere.

What about a > 0 ?

  • G. Buttazzo, A. Davini, I. Fragal`

a and F. Maci´ a, Optimal Riemannian distances preventing mass tranfer, J. Reine Angew. Math., 2004.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-24
SLIDE 24

logo The continuous framework Applications Discretization Results

Travel-time tomography

A given box Ω ⊂ Rd contains an unknown distribution of material, and some waves (light, or sound. . .) propagate through Ω. Their travel time is given by the distance dξ associated to a metric ξ depending on the

  • material. We have measurements of the travel times ti,j between sources

xi and receptors yj. We try to reconstruct ξ. An idea : solving min

  • i,j

(ti,j − dξ(xi, yj))2 + A

  • |∇ξ|p + B
  • W (ξ).

The gradient term is a regularization : it is useful so as to select one solution (and to guarantee existence, at least for p > d) ; W can be a double-well potential (if {ξ = 0} =vacuum, {ξ = 1} =material). Problem : this problem is non-convex.

  • S. Leung and J. Qian, An Adjoint State Method For Three-dimensional

Transmission Traveltime Tomography Using First-Arrivals C.M.S., 2006.

  • M. Cavalca and P. Lailly, Accounting for the definition domain of the

forward map in traveltime tomography - application to the inversion of prismatic reflections, Inverse problems, 2007

Filippo Santambrogio Differentiating discretized metrics and applications

slide-25
SLIDE 25

logo The continuous framework Applications Discretization Results

Travel-time tomography

A given box Ω ⊂ Rd contains an unknown distribution of material, and some waves (light, or sound. . .) propagate through Ω. Their travel time is given by the distance dξ associated to a metric ξ depending on the

  • material. We have measurements of the travel times ti,j between sources

xi and receptors yj. We try to reconstruct ξ. An idea : solving min

  • i,j

(ti,j − dξ(xi, yj))2 + A

  • |∇ξ|p + B
  • W (ξ).

The gradient term is a regularization : it is useful so as to select one solution (and to guarantee existence, at least for p > d) ; W can be a double-well potential (if {ξ = 0} =vacuum, {ξ = 1} =material). Problem : this problem is non-convex.

  • S. Leung and J. Qian, An Adjoint State Method For Three-dimensional

Transmission Traveltime Tomography Using First-Arrivals C.M.S., 2006.

  • M. Cavalca and P. Lailly, Accounting for the definition domain of the

forward map in traveltime tomography - application to the inversion of prismatic reflections, Inverse problems, 2007

Filippo Santambrogio Differentiating discretized metrics and applications

slide-26
SLIDE 26

logo The continuous framework Applications Discretization Results

Travel-time tomography

A given box Ω ⊂ Rd contains an unknown distribution of material, and some waves (light, or sound. . .) propagate through Ω. Their travel time is given by the distance dξ associated to a metric ξ depending on the

  • material. We have measurements of the travel times ti,j between sources

xi and receptors yj. We try to reconstruct ξ. An idea : solving min

  • i,j

(ti,j − dξ(xi, yj))2 + A

  • |∇ξ|p + B
  • W (ξ).

The gradient term is a regularization : it is useful so as to select one solution (and to guarantee existence, at least for p > d) ; W can be a double-well potential (if {ξ = 0} =vacuum, {ξ = 1} =material). Problem : this problem is non-convex.

  • S. Leung and J. Qian, An Adjoint State Method For Three-dimensional

Transmission Traveltime Tomography Using First-Arrivals C.M.S., 2006.

  • M. Cavalca and P. Lailly, Accounting for the definition domain of the

forward map in traveltime tomography - application to the inversion of prismatic reflections, Inverse problems, 2007

Filippo Santambrogio Differentiating discretized metrics and applications

slide-27
SLIDE 27

logo The continuous framework Applications Discretization Results

Travel-time tomography

A given box Ω ⊂ Rd contains an unknown distribution of material, and some waves (light, or sound. . .) propagate through Ω. Their travel time is given by the distance dξ associated to a metric ξ depending on the

  • material. We have measurements of the travel times ti,j between sources

xi and receptors yj. We try to reconstruct ξ. An idea : solving min

  • i,j

(ti,j − dξ(xi, yj))2 + A

  • |∇ξ|p + B
  • W (ξ).

The gradient term is a regularization : it is useful so as to select one solution (and to guarantee existence, at least for p > d) ; W can be a double-well potential (if {ξ = 0} =vacuum, {ξ = 1} =material). Problem : this problem is non-convex.

  • S. Leung and J. Qian, An Adjoint State Method For Three-dimensional

Transmission Traveltime Tomography Using First-Arrivals C.M.S., 2006.

  • M. Cavalca and P. Lailly, Accounting for the definition domain of the

forward map in traveltime tomography - application to the inversion of prismatic reflections, Inverse problems, 2007

Filippo Santambrogio Differentiating discretized metrics and applications

slide-28
SLIDE 28

logo The continuous framework Applications Discretization Results

Travel-time tomography

A given box Ω ⊂ Rd contains an unknown distribution of material, and some waves (light, or sound. . .) propagate through Ω. Their travel time is given by the distance dξ associated to a metric ξ depending on the

  • material. We have measurements of the travel times ti,j between sources

xi and receptors yj. We try to reconstruct ξ. An idea : solving min

  • i,j

(ti,j − dξ(xi, yj))2 + A

  • |∇ξ|p + B
  • W (ξ).

The gradient term is a regularization : it is useful so as to select one solution (and to guarantee existence, at least for p > d) ; W can be a double-well potential (if {ξ = 0} =vacuum, {ξ = 1} =material). Problem : this problem is non-convex.

  • S. Leung and J. Qian, An Adjoint State Method For Three-dimensional

Transmission Traveltime Tomography Using First-Arrivals C.M.S., 2006.

  • M. Cavalca and P. Lailly, Accounting for the definition domain of the

forward map in traveltime tomography - application to the inversion of prismatic reflections, Inverse problems, 2007

Filippo Santambrogio Differentiating discretized metrics and applications

slide-29
SLIDE 29

logo The continuous framework Applications Discretization Results

Travel-time tomography

A given box Ω ⊂ Rd contains an unknown distribution of material, and some waves (light, or sound. . .) propagate through Ω. Their travel time is given by the distance dξ associated to a metric ξ depending on the

  • material. We have measurements of the travel times ti,j between sources

xi and receptors yj. We try to reconstruct ξ. An idea : solving min

  • i,j

(ti,j − dξ(xi, yj))2 + A

  • |∇ξ|p + B
  • W (ξ).

The gradient term is a regularization : it is useful so as to select one solution (and to guarantee existence, at least for p > d) ; W can be a double-well potential (if {ξ = 0} =vacuum, {ξ = 1} =material). Problem : this problem is non-convex.

  • S. Leung and J. Qian, An Adjoint State Method For Three-dimensional

Transmission Traveltime Tomography Using First-Arrivals C.M.S., 2006.

  • M. Cavalca and P. Lailly, Accounting for the definition domain of the

forward map in traveltime tomography - application to the inversion of prismatic reflections, Inverse problems, 2007

Filippo Santambrogio Differentiating discretized metrics and applications

slide-30
SLIDE 30

logo The continuous framework Applications Discretization Results

Travel-time tomography

A given box Ω ⊂ Rd contains an unknown distribution of material, and some waves (light, or sound. . .) propagate through Ω. Their travel time is given by the distance dξ associated to a metric ξ depending on the

  • material. We have measurements of the travel times ti,j between sources

xi and receptors yj. We try to reconstruct ξ. An idea : solving min

  • i,j

(ti,j − dξ(xi, yj))2 + A

  • |∇ξ|p + B
  • W (ξ).

The gradient term is a regularization : it is useful so as to select one solution (and to guarantee existence, at least for p > d) ; W can be a double-well potential (if {ξ = 0} =vacuum, {ξ = 1} =material). Problem : this problem is non-convex.

  • S. Leung and J. Qian, An Adjoint State Method For Three-dimensional

Transmission Traveltime Tomography Using First-Arrivals C.M.S., 2006.

  • M. Cavalca and P. Lailly, Accounting for the definition domain of the

forward map in traveltime tomography - application to the inversion of prismatic reflections, Inverse problems, 2007

Filippo Santambrogio Differentiating discretized metrics and applications

slide-31
SLIDE 31

logo The continuous framework Applications Discretization Results

Traffic congestion - definitions

We consider the distribution of a set of commuters over possible paths as a probability Q ∈ P(C), where C = {ω : [0, 1] → Ω, ω ∈ C 0,1} is the set

  • f curves in Ω. To every Q we can associate a traffic intensity

iQ ∈ M+(Ω) (a positive measure on Ω) through < iQ, φ >=

  • C

Lφ(ω)Q(dω). If iQ = iQ(x)dx is actually absolutely continuous (diffuse), then we define a metric ξQ = g(x, iQ(x)), where g : Ω × R+ → R+ is given such that i → g(x, i) is increasing and stands for the sensitivity of x to traffic intensity. We prescribe the number of agents commuting from x to y for every pair (x, y) ∈ Ω × Ω, i.e. we fix (π0,1)#Q where π0,1 : C → Ω × Ω is given byπ0,1(ω) = (ω(0), ω(1)). The equilibrium problem reads as “Find Q, with given marginal (π0,1)#Q = γ such that iQ is diffuse and Q is concentrated on the set of geodesics for the metric ξQ.”

  • G. Carlier, C. Jimenez , F. Santambrogio, Optimal transportation with

traffic congestion and Wardrop equilibria, SICON, 2008.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-32
SLIDE 32

logo The continuous framework Applications Discretization Results

Traffic congestion - definitions

We consider the distribution of a set of commuters over possible paths as a probability Q ∈ P(C), where C = {ω : [0, 1] → Ω, ω ∈ C 0,1} is the set

  • f curves in Ω. To every Q we can associate a traffic intensity

iQ ∈ M+(Ω) (a positive measure on Ω) through < iQ, φ >=

  • C

Lφ(ω)Q(dω). If iQ = iQ(x)dx is actually absolutely continuous (diffuse), then we define a metric ξQ = g(x, iQ(x)), where g : Ω × R+ → R+ is given such that i → g(x, i) is increasing and stands for the sensitivity of x to traffic intensity. We prescribe the number of agents commuting from x to y for every pair (x, y) ∈ Ω × Ω, i.e. we fix (π0,1)#Q where π0,1 : C → Ω × Ω is given byπ0,1(ω) = (ω(0), ω(1)). The equilibrium problem reads as “Find Q, with given marginal (π0,1)#Q = γ such that iQ is diffuse and Q is concentrated on the set of geodesics for the metric ξQ.”

  • G. Carlier, C. Jimenez , F. Santambrogio, Optimal transportation with

traffic congestion and Wardrop equilibria, SICON, 2008.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-33
SLIDE 33

logo The continuous framework Applications Discretization Results

Traffic congestion - definitions

We consider the distribution of a set of commuters over possible paths as a probability Q ∈ P(C), where C = {ω : [0, 1] → Ω, ω ∈ C 0,1} is the set

  • f curves in Ω. To every Q we can associate a traffic intensity

iQ ∈ M+(Ω) (a positive measure on Ω) through < iQ, φ >=

  • C

Lφ(ω)Q(dω). If iQ = iQ(x)dx is actually absolutely continuous (diffuse), then we define a metric ξQ = g(x, iQ(x)), where g : Ω × R+ → R+ is given such that i → g(x, i) is increasing and stands for the sensitivity of x to traffic intensity. We prescribe the number of agents commuting from x to y for every pair (x, y) ∈ Ω × Ω, i.e. we fix (π0,1)#Q where π0,1 : C → Ω × Ω is given byπ0,1(ω) = (ω(0), ω(1)). The equilibrium problem reads as “Find Q, with given marginal (π0,1)#Q = γ such that iQ is diffuse and Q is concentrated on the set of geodesics for the metric ξQ.”

  • G. Carlier, C. Jimenez , F. Santambrogio, Optimal transportation with

traffic congestion and Wardrop equilibria, SICON, 2008.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-34
SLIDE 34

logo The continuous framework Applications Discretization Results

Traffic congestion - theorems

We may prove that Q is an equilibrium if and only if it minimizes

  • H(x, iQ(x))dx

among Q ∈ P(C) : (π0,1)#Q = γ, where H is defined as a primitive of g :

∂ ∂i H(x, i) = g(x, i).

This is a convex problem which admits a dual, and the equilibrium metric ξQ is characterized as the unique maximizer of max

  • dξ(x, y) dγ −
  • H∗(x, ξ) dx , ξ ≥ 0
  • ,

where H∗(x, ξ) = supi iξ − H(x, i) is the Legendre transform of H.

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Numerical Approximation of Continuous Traffic Congestion Equilibria, Net.

  • Het. Media, 2009.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-35
SLIDE 35

logo The continuous framework Applications Discretization Results

Traffic congestion - theorems

We may prove that Q is an equilibrium if and only if it minimizes

  • H(x, iQ(x))dx

among Q ∈ P(C) : (π0,1)#Q = γ, where H is defined as a primitive of g :

∂ ∂i H(x, i) = g(x, i).

This is a convex problem which admits a dual, and the equilibrium metric ξQ is characterized as the unique maximizer of max

  • dξ(x, y) dγ −
  • H∗(x, ξ) dx , ξ ≥ 0
  • ,

where H∗(x, ξ) = supi iξ − H(x, i) is the Legendre transform of H.

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Numerical Approximation of Continuous Traffic Congestion Equilibria, Net.

  • Het. Media, 2009.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-36
SLIDE 36

logo The continuous framework Applications Discretization Results

Discretization Upwind schemes for distances and gradients

Filippo Santambrogio Differentiating discretized metrics and applications

slide-37
SLIDE 37

logo The continuous framework Applications Discretization Results

Distance computations on a grid

On a regular square grid with step h > 0, we look for a discretization of the solution f the Eikonal equation |∇U| = ξ. It is well known that if the values Ui,j solve the Discrete Eikonal system (DE) (DxU)2

i,j+(DyU)2 i,j = (ξi,j)2

, where we define (DxU)i,j := max{(Ui,j − Ui−1,j), (Ui,j − Ui+1,j), 0}/h, (DyU)i,j := max{(Ui,j − Ui,j−1), (Ui,j − Ui,j+1), 0}/h, then they give a good approximation of the true viscosity solution (with convergence as h → 0).

  • E. Rouy and A. Tourin. A viscosity solution approach to shape from
  • shading. SIAM Journal on Numerical Analysis, 1992.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-38
SLIDE 38

logo The continuous framework Applications Discretization Results

Distance computations on a grid

On a regular square grid with step h > 0, we look for a discretization of the solution f the Eikonal equation |∇U| = ξ. It is well known that if the values Ui,j solve the Discrete Eikonal system (DE) (DxU)2

i,j+(DyU)2 i,j = (ξi,j)2

, where we define (DxU)i,j := max{(Ui,j − Ui−1,j), (Ui,j − Ui+1,j), 0}/h, (DyU)i,j := max{(Ui,j − Ui,j−1), (Ui,j − Ui,j+1), 0}/h, then they give a good approximation of the true viscosity solution (with convergence as h → 0).

  • E. Rouy and A. Tourin. A viscosity solution approach to shape from
  • shading. SIAM Journal on Numerical Analysis, 1992.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-39
SLIDE 39

logo The continuous framework Applications Discretization Results

Fast Marching Method

The previous system is usually solved through the so-called Fast Marching Method. All the points are classified as known, trial, or far and their status is updated during the algorithm, as well as their value of U. Algorithm Set U(x0) = 0 and the status of x0 to trial ; for all the other points set Ui,j = +∞ and their status to far. Repeat until there is at least a point which is not known :

1

Find the trial point y with minimal value of U,

2

Change the status of y from trial to known,

3

Change the status of the neighbors of y from far to trial (if they are not already trial),

4

Compute the values of Ui,j for (i, j) neighbor of y according to (DE).

The values of U solve the system. If the grid has N points, the computational cost for that is O(N ln N).

  • J. A. Sethian Level Set Methods and Fast Marching Methods. Cambridge

University Press, 1999.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-40
SLIDE 40

logo The continuous framework Applications Discretization Results

Fast Marching Method

The previous system is usually solved through the so-called Fast Marching Method. All the points are classified as known, trial, or far and their status is updated during the algorithm, as well as their value of U. Algorithm Set U(x0) = 0 and the status of x0 to trial ; for all the other points set Ui,j = +∞ and their status to far. Repeat until there is at least a point which is not known :

1

Find the trial point y with minimal value of U,

2

Change the status of y from trial to known,

3

Change the status of the neighbors of y from far to trial (if they are not already trial),

4

Compute the values of Ui,j for (i, j) neighbor of y according to (DE).

The values of U solve the system. If the grid has N points, the computational cost for that is O(N ln N).

  • J. A. Sethian Level Set Methods and Fast Marching Methods. Cambridge

University Press, 1999.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-41
SLIDE 41

logo The continuous framework Applications Discretization Results

Fast Marching Method

The previous system is usually solved through the so-called Fast Marching Method. All the points are classified as known, trial, or far and their status is updated during the algorithm, as well as their value of U. Algorithm Set U(x0) = 0 and the status of x0 to trial ; for all the other points set Ui,j = +∞ and their status to far. Repeat until there is at least a point which is not known :

1

Find the trial point y with minimal value of U,

2

Change the status of y from trial to known,

3

Change the status of the neighbors of y from far to trial (if they are not already trial),

4

Compute the values of Ui,j for (i, j) neighbor of y according to (DE).

The values of U solve the system. If the grid has N points, the computational cost for that is O(N ln N).

  • J. A. Sethian Level Set Methods and Fast Marching Methods. Cambridge

University Press, 1999.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-42
SLIDE 42

logo The continuous framework Applications Discretization Results

Subgradient computation by FMM

We want to replace the integral on a geodesic ωx0,y with a discrete counterpart, so as to compute the derivatives w.r.t. ξ. At every point y = (i, j) we can write (U(y) − U(y1))2 + (U(y) − U(y2))2 = h2ξ2(y) or U(y) − U(y1) = hξ(y), for one or two “parents” y1, y2. If ξ varies we have either δU(y) = 2h2ξ(y)δξ(y) + δU(y1)(U(y) − U(y1)) + δU(y2)(U(y) − U(y2)) 2U(y) − U(y1) − U(y2)

  • r δU(y) = hδξ(y) + δU(y1). We can hence compute ∇ξU(y) recursively,

in the very same cycle of the FFM algorithm. ∇ξU(y) = something with

  • ∇ξU(y1), ∇ξU(y2), ey
  • .

The cost is now O(N2 ln N) (for every y we look for a vector in RN).

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Derivatives with Respect to Metrics and Applications : Subgradient Marching Algorithm, Num. Math., 2010.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-43
SLIDE 43

logo The continuous framework Applications Discretization Results

Subgradient computation by FMM

We want to replace the integral on a geodesic ωx0,y with a discrete counterpart, so as to compute the derivatives w.r.t. ξ. At every point y = (i, j) we can write (U(y) − U(y1))2 + (U(y) − U(y2))2 = h2ξ2(y) or U(y) − U(y1) = hξ(y), for one or two “parents” y1, y2. If ξ varies we have either δU(y) = 2h2ξ(y)δξ(y) + δU(y1)(U(y) − U(y1)) + δU(y2)(U(y) − U(y2)) 2U(y) − U(y1) − U(y2)

  • r δU(y) = hδξ(y) + δU(y1). We can hence compute ∇ξU(y) recursively,

in the very same cycle of the FFM algorithm. ∇ξU(y) = something with

  • ∇ξU(y1), ∇ξU(y2), ey
  • .

The cost is now O(N2 ln N) (for every y we look for a vector in RN).

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Derivatives with Respect to Metrics and Applications : Subgradient Marching Algorithm, Num. Math., 2010.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-44
SLIDE 44

logo The continuous framework Applications Discretization Results

Subgradient computation by FMM

We want to replace the integral on a geodesic ωx0,y with a discrete counterpart, so as to compute the derivatives w.r.t. ξ. At every point y = (i, j) we can write (U(y) − U(y1))2 + (U(y) − U(y2))2 = h2ξ2(y) or U(y) − U(y1) = hξ(y), for one or two “parents” y1, y2. If ξ varies we have either δU(y) = 2h2ξ(y)δξ(y) + δU(y1)(U(y) − U(y1)) + δU(y2)(U(y) − U(y2)) 2U(y) − U(y1) − U(y2)

  • r δU(y) = hδξ(y) + δU(y1). We can hence compute ∇ξU(y) recursively,

in the very same cycle of the FFM algorithm. ∇ξU(y) = something with

  • ∇ξU(y1), ∇ξU(y2), ey
  • .

The cost is now O(N2 ln N) (for every y we look for a vector in RN).

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Derivatives with Respect to Metrics and Applications : Subgradient Marching Algorithm, Num. Math., 2010.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-45
SLIDE 45

logo The continuous framework Applications Discretization Results

Subgradient computation by FMM

We want to replace the integral on a geodesic ωx0,y with a discrete counterpart, so as to compute the derivatives w.r.t. ξ. At every point y = (i, j) we can write (U(y) − U(y1))2 + (U(y) − U(y2))2 = h2ξ2(y) or U(y) − U(y1) = hξ(y), for one or two “parents” y1, y2. If ξ varies we have either δU(y) = 2h2ξ(y)δξ(y) + δU(y1)(U(y) − U(y1)) + δU(y2)(U(y) − U(y2)) 2U(y) − U(y1) − U(y2)

  • r δU(y) = hδξ(y) + δU(y1). We can hence compute ∇ξU(y) recursively,

in the very same cycle of the FFM algorithm. ∇ξU(y) = something with

  • ∇ξU(y1), ∇ξU(y2), ey
  • .

The cost is now O(N2 ln N) (for every y we look for a vector in RN).

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Derivatives with Respect to Metrics and Applications : Subgradient Marching Algorithm, Num. Math., 2010.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-46
SLIDE 46

logo The continuous framework Applications Discretization Results

Subgradient computation by FMM

We want to replace the integral on a geodesic ωx0,y with a discrete counterpart, so as to compute the derivatives w.r.t. ξ. At every point y = (i, j) we can write (U(y) − U(y1))2 + (U(y) − U(y2))2 = h2ξ2(y) or U(y) − U(y1) = hξ(y), for one or two “parents” y1, y2. If ξ varies we have either δU(y) = 2h2ξ(y)δξ(y) + δU(y1)(U(y) − U(y1)) + δU(y2)(U(y) − U(y2)) 2U(y) − U(y1) − U(y2)

  • r δU(y) = hδξ(y) + δU(y1). We can hence compute ∇ξU(y) recursively,

in the very same cycle of the FFM algorithm. ∇ξU(y) = something with

  • ∇ξU(y1), ∇ξU(y2), ey
  • .

The cost is now O(N2 ln N) (for every y we look for a vector in RN).

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Derivatives with Respect to Metrics and Applications : Subgradient Marching Algorithm, Num. Math., 2010.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-47
SLIDE 47

logo The continuous framework Applications Discretization Results

Subgradient computation by FMM

We want to replace the integral on a geodesic ωx0,y with a discrete counterpart, so as to compute the derivatives w.r.t. ξ. At every point y = (i, j) we can write (U(y) − U(y1))2 + (U(y) − U(y2))2 = h2ξ2(y) or U(y) − U(y1) = hξ(y), for one or two “parents” y1, y2. If ξ varies we have either δU(y) = 2h2ξ(y)δξ(y) + δU(y1)(U(y) − U(y1)) + δU(y2)(U(y) − U(y2)) 2U(y) − U(y1) − U(y2)

  • r δU(y) = hδξ(y) + δU(y1). We can hence compute ∇ξU(y) recursively,

in the very same cycle of the FFM algorithm. ∇ξU(y) = something with

  • ∇ξU(y1), ∇ξU(y2), ey
  • .

The cost is now O(N2 ln N) (for every y we look for a vector in RN).

  • F. Benmansour, G. Carlier, G. Peyr´

e and F. Santambrogio, Derivatives with Respect to Metrics and Applications : Subgradient Marching Algorithm, Num. Math., 2010.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-48
SLIDE 48

logo The continuous framework Applications Discretization Results

Concavity and subgradients

Exactly as it was the case in the continuous framework, the solution Ui,j(ξ) is an increasing and concave function of ξ. The gradient vector that one computes with the previous computation can be proven to be an element of the superdifferential ∂−

ξ Ui,j(ξ).

Moreover, it is the only element (and hence the gradient) if ξ gives no equality cases in the max defining the operators Di in the system (DE).

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 1 1.2 1.4 1.6 1.8 2 0.1 0.2 0.3 0.4 0.5 0.6 0.7

Figure: Examples of the subgradient computation. On the left, an element of ∂−

ξ U(ξ). when ξ is a constant metric ; in the middle, a non constant (gaussian)

metric ξ ; on the right, an element of ∂−

ξ U(ξ) for this ξ.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-49
SLIDE 49

logo The continuous framework Applications Discretization Results

Results Obstacle optimization, tomography and traffic

Filippo Santambrogio Differentiating discretized metrics and applications

slide-50
SLIDE 50

logo The continuous framework Applications Discretization Results

Obstacles slowing down the opposant - 1

Figure: 2D and 3D display of the optimal metric ξ.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-51
SLIDE 51

logo The continuous framework Applications Discretization Results

Obstacles slowing down the opposant - 2

max

  • dξ(x0, y0),
  • ξ ≤ M, a ≤ ξ ≤ b
  • .

Figure: Dependence on (a, M) of the optimal metric ξ, with b = 1. a = .1, M = .4 (left) ; a = .1, M = .15 (middle) ; a = 10−4, M = .15 (right).

Filippo Santambrogio Differentiating discretized metrics and applications

slide-52
SLIDE 52

logo The continuous framework Applications Discretization Results

Travel time Tomography - 1

We look for the solution ξ of min 1 2

  • (s,t)

(dξ(xs, xt) − ds,t)2 + µ 2

  • |∇ξ|2

: ξ ∈ A, where the set of admissible ξ is given by A = {ξ : a ≤ ξ ≤ b,

  • ξ = M}.

The values of ds,t are taken equal to dξ0(xs, xt) and ξ0 ∈ A. The goal would be to find ξ (right hand side of the picture) = ξ0 (left).

Filippo Santambrogio Differentiating discretized metrics and applications

slide-53
SLIDE 53

logo The continuous framework Applications Discretization Results

Travel time Tomography - 2

An example with points inside the domain. Notice that

  • |∇ξ|2 is

discretized in the easiest way :

  • |∇ξ|2 =
  • i,j

(ξi+1,j − ξi,j)2 + (ξi,j+1 − ξi,j)2. ξ0 ξ

Figure: Examples of travel time tomography recovery.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-54
SLIDE 54

logo The continuous framework Applications Discretization Results

Traffic equilibria - 1

−2 −1.5 −1 −0.5 0.5

Figure: Two sources and two targets, with a river and a bridge on a symmetric configuration and an asymmetric traffic weights.

Filippo Santambrogio Differentiating discretized metrics and applications

slide-55
SLIDE 55

logo The continuous framework Applications Discretization Results

Traffic equilibria- 2

Figure: Running of the subgradient algorithm

Filippo Santambrogio Differentiating discretized metrics and applications

slide-56
SLIDE 56

logo The continuous framework Applications Discretization Results

The End . . . . . . thanks for your attention

Filippo Santambrogio Differentiating discretized metrics and applications