Taming Reluctant Random Walks In The Positive Quadrant 2 , Marni - - PowerPoint PPT Presentation

taming reluctant random walks in the positive quadrant
SMART_READER_LITE
LIVE PREVIEW

Taming Reluctant Random Walks In The Positive Quadrant 2 , Marni - - PowerPoint PPT Presentation

Taming Reluctant Random Walks In The Positive Quadrant 2 , Marni Mishna 2 , and Yann Ponty 2 3 Jrmie Lumbroso 1 Department of Mathematics 1 Princeton University Department of Mathematics 2 Simon Fraser


slide-1
SLIDE 1

Taming Reluctant Random Walks In The Positive Quadrant

Jérémie Lumbroso 1

2 , Marni Mishna 2 , and Yann Ponty 2 3

  • 1
  • Department of Mathematics

Princeton University 2

  • Department of Mathematics

Simon Fraser University 3

  • CNRS Ecole Polytechnique

Inria Saclay

June 3rd, 2016

slide-2
SLIDE 2

A lattice model is defined by a set of steps and a region S = {(✶, ✷), (✶, −✶)} ❘ = ❩ × ❩≥✵

✷ ✶

✶ ✵

✵ ✶

✶ ✵

✵ ✶ ❘ ❩ ✵ ❩ ✵

slide-3
SLIDE 3

A lattice model is defined by a set of steps and a region S = {(✶, ✷), (✶, −✶)} ❘ = ❩ × ❩≥✵

This is a unidimensional model. We could represent it using only {✷, −✶}.

✶ ✵

✵ ✶

✶ ✵

✵ ✶ ❘ ❩ ✵ ❩ ✵

slide-4
SLIDE 4

A lattice model is defined by a set of steps and a region S = {(✶, ✷), (✶, −✶)} ❘ = ❩ × ❩≥✵

This is a unidimensional model. We could represent it using only {✷, −✶}.

S = {

(✶, ✵),

(✵, ✶),

(−✶, ✵),

(✵, −✶)} ❘ = ❩≥✵ × ❩≥✵

slide-5
SLIDE 5

A lattice model is defined by a set of steps and a region S = {(✶, ✷), (✶, −✶)} ❘ = ❩ × ❩≥✵

This is a unidimensional model. We could represent it using only {✷, −✶}.

S = {

(✶, ✵),

(✵, ✶),

(−✶, ✵),

(✵, −✶)} ❘ = ❩≥✵ × ❩≥✵ Goal: Efficient uniform random generation of walks in the quarter plane.

slide-6
SLIDE 6

Asymptotic Enumeration

❘ ❩ × ❩ ❩ × ❩≥✵ ❩≥✵ × ❩≥✵

plane half-plane quarter-plane

S = ✇♥ = ✹♥ ❤♥ ∼ ❝ ✹♥♥−✶/✷ q♥ ∼ ❝✹♥♥−✷/✸ S = ✇♥ = ✺♥ ❤♥ ∼ ❝ ✹.✹✻♥♥−✸/✷ q♥ ∼ ❝ ✹.✸♥θ(♥)

Key parameter: Drift(S) =

(✐,❥)∈S(✐, ❥)

slide-7
SLIDE 7

Easy case: Zero/Positive drift

Consider the following model. Asymptotically: q♥ ⊲ ⊳ ✻♥ The drift is (0,0), naive generation is feasible. A random walk:

slide-8
SLIDE 8

Easy case: Zero/Positive drift

Consider the following model. Asymptotically: q♥ ⊲ ⊳ ✻♥ The drift is (0,0), naive generation is feasible. A surprisingly efficient strategy is Anticipated rejection. Florentine Algorithm ❬❇❛r❝✉❝❝✐✴P✐♥③❛♥✐✴❙♣r✉❣♥♦❧✐✱ ✾✹✴✾✺❪ Two dimensional analogue ❬❇❛❝❤❡r✴❙♣♦rt✐❡❧❧♦ ✶✹❪ for walks with zero drift The average complexity probably linear.

slide-9
SLIDE 9

The difficult case: Reluctant Walks (Negative drift)

Consider the following model. Asymptotically: q♥ ⊲ ⊳ ✺.✵✻♥ Naive rejection is too inefficient!

(♣r♦❜. ≪ (✺.✵✻/✻)♥ ≈ ✶✵−✼✹)

A random walk of a thousand steps.

slide-10
SLIDE 10

Summary

Positive drift walks are mostly easy to handle

slide-11
SLIDE 11

Summary

Reluctant (negative drift) walks are less cooperative

slide-12
SLIDE 12

Summary

Reluctant (negative drift) walks are less cooperative... and require some taming!

slide-13
SLIDE 13

Dynamic Programming/Recursive method

Theorem ❬❋♦❧❦❧♦r❡❄❪

Random uniform generation of ❦ ❞-dimensional walks confined to a subset ❘ ⊂ ❩❞ is in Θ(❦ · ♥ + ♥❞+✶) arithmetic operations, using storage for Θ(♥❞+✶) (large) numbers.

Idea: Adapt trivial step-by-step generation into grammar having Θ(♥❞+✶) NTs

qS

♥ (①, ②) =

      

  • (✐,❥)∈S s.t.

①+✐≥✵,②+❥≥✵

qS

♥−✶(① + ✐, ② + ❥)

if ♥ > ✵, ✶ if ♥ = ✵ (1) ⇒ Can we do better than Θ(♥✹) time?

slide-14
SLIDE 14

A better rejection strategy

Generate walks in an associated half plane, and wait for a 1/4-plane walk.

slide-15
SLIDE 15

Overview of strategy

1

A walk in a 1/4-plane is also a walk in a half plane.

2

Convert to a unidimensional walk model. Steps may be in ❘. ② ≥ −♠①

3

Generate unidimensional walks (usually easy) and map to 2D

4

Reject walks that escape the quarter plane (“sub-exponential”?)

slide-16
SLIDE 16

The Best 1/2-plane

THEOREM ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❀●❛r❜✐t✴❘❛s❝❤❡❧ ✶✺✰❪

There is a half plane ② ≥ −♠① such that (asymptotically) the half plane and quarterplane walks have the same exponential growth factor. q♥ ✺ ✵✻♥ ❤♥ ❑ ♥ ♠ ❑ ♠

slide-17
SLIDE 17

The Best 1/2-plane

THEOREM ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❀●❛r❜✐t✴❘❛s❝❤❡❧ ✶✺✰❪

There is a half plane ② ≥ −♠① such that (asymptotically) the half plane and quarterplane walks have the same exponential growth factor. This step set in the quarter plane. Asymptotically: q♥ ⊲ ⊳ ✺.✵✻♥ ❤♥ ❑ ♥ ♠ ❑ ♠

slide-18
SLIDE 18

The Best 1/2-plane

THEOREM ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❀●❛r❜✐t✴❘❛s❝❤❡❧ ✶✺✰❪

There is a half plane ② ≥ −♠① such that (asymptotically) the half plane and quarterplane walks have the same exponential growth factor. This step set in the quarter plane. Asymptotically: q♥ ⊲ ⊳ ✺.✵✻♥ Exponential growth of 1/2-plane walks with these steps in various half-planes. (ie. ❤♥ ⊲ ⊳ ❑ ♥) ♠ 1/2 3/4 1 2 10 ∞ ❑ 5.219 5.075 5.064 5.073 5.156 5.376 5.464 ♠

slide-19
SLIDE 19

The Best 1/2-plane

THEOREM ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❀●❛r❜✐t✴❘❛s❝❤❡❧ ✶✺✰❪

There is a half plane ② ≥ −♠① such that (asymptotically) the half plane and quarterplane walks have the same exponential growth factor. This step set in the quarter plane. Asymptotically: q♥ ⊲ ⊳ ✺.✵✻♥ Exponential growth of 1/2-plane walks with these steps in various half-planes. (ie. ❤♥ ⊲ ⊳ ❑ ♥) ♠ 1/2 3/4 1 2 10 ∞ ❑ 5.219 5.075 5.064 5.073 5.156 5.376 5.464 The “best” 1/2-plane is obtained for a slope ♠ = 0.735

slide-20
SLIDE 20

Building a grammar for rational walks

INPUT: Projected up {❛✐}, down {❜❥} and horizontal {❝❦} steps. Algebraic specification ❬▼❡r❧✐♥✐✴❘♦❣❡rs✴❙♣r✉❣♥♦❧✐✴❱❡rr✐ ✾✾❀ ❉✉❝❤♦♥ ✵✵❪

P = D × Paux L✐ =

  • ❛∈A

✇(❛)=✐

❛ × D +

♠✐♥(¯ ❛,✐+¯ ❜)

  • ❦=✐+✶

L❦ × R❦−✐ Paux = ε +

¯ ❛

  • ❦=✶

L❦ × Paux R❥ =

  • ❜∈A

✇(❜)=−❥

❜ × D +

♠✐♥(❥+¯ ❛,¯ ❜)

  • ❦=❥+✶

L❦−❥ × R❦ D =

  • ❝∈❙

✇(❝)=✵

❝ × D +

♠❛①(¯ ❛,¯ ❜)

  • ❦=✶

L❦ × R❦ + ε

Number of rules: Θ((♠❛① |❛✐| + ♠❛① |❜❥|)✷) – can be huge! Recursive generation ❬❋❧❛❥♦❧❡t✴❩✐♠♠❡r♠❛♥♥✴❱❛♥ ❈✉st❡♠ ✾✹✱ ●♦❧❞✇✉r♠ ✾✺❪, Boltzmann sampling ❬❉✉❝❤♦♥✴❋❧❛❥♦❧❡t✴▲♦✉❝❤❛r❞✴❙❝❤❛❡✛❡r ✵✹❪. . . Non-rational slopes... more on this later.

slide-21
SLIDE 21

Boltzmann generation success: 18000 steps

S = {(✶, ✵), (✵, ✶), (−✶, ✵), (✶, −✶), (−✶, −✶), (−✷, −✶)} Using a generic Boltzmann implemention by A. Darrasse

slide-22
SLIDE 22

Algorithm and its Analysis

INPUT: S ⊂ ❩✷ (reluctant); Length ♥ OUPUT: Uniform random 1/4-plane walk with steps from S

1

Find optimal slope ♠ (explicit solution computable)

2

If optimal slope is rational, build associated grammar

3

Generate element α from grammar If α confined within quarter plane RETURN α ♥ ❈✶❑ ♥

♠♥ ✸ ✷

❈✷❑ ♥♥

r

♥r

✶ ✷

❑♠ ❑

❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❪

r

slide-23
SLIDE 23

Algorithm and its Analysis

INPUT: S ⊂ ❩✷ (reluctant); Length ♥ OUPUT: Uniform random 1/4-plane walk with steps from S

1

Find optimal slope ♠ (explicit solution computable)

2

If optimal slope is rational, build associated grammar

3

Generate element α from grammar If α confined within quarter plane RETURN α Expected time= Time to generate a 1/2-plane walk

  • × Expected # of trials

O(♥) × ❈✶❑ ♥

♠♥−✸/✷

❈✷❑ ♥♥−r = O(♥r−✶/✷) since ❑♠ = ❑

❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❪

r

slide-24
SLIDE 24

Algorithm and its Analysis

INPUT: S ⊂ ❩✷ (reluctant); Length ♥ OUPUT: Uniform random 1/4-plane walk with steps from S

1

Find optimal slope ♠ (explicit solution computable)

2

If optimal slope is rational, build associated grammar

3

Generate element α from grammar If α confined within quarter plane RETURN α Expected time= Time to generate a 1/2-plane walk

  • × Expected # of trials

O(♥) × ❈✶❑ ♥

♠♥−✸/✷

❈✷❑ ♥♥−r = O(♥r−✶/✷) since ❑♠ = ❑ REMARK 1: Optimal slope computable ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❪ Bound r??

slide-25
SLIDE 25

A bound on the subexponential factor from excursions

Let S ⊆ {±✶, ✵}✷ define a non-trivial quarter plane walk model. Consider the characteristic polynomial P(①, ②) =

  • (✐,❥)∈S

①✐② ❥ and its critical point (α, β) such that ∂P(①,②)

∂①

  • ①=α

②=β = ∂P(①,②)

∂②

  • ①=α

②=β = ✵

Theorem 4 ❬❇♦st❛♥✴❘❛s❝❤❡❧✴❙❛❧✈② ✶✹❪

The number ❡♥ of excursions of length ♥ over S obeys ❡♥ ∼ ❈ P(α, β)♥♥−r❡ with r❡ = ✶ + π ❛r❝❝♦s

P①② (α,β)

P①① (α,β)P②② (α,β) .

Remark 1: For reluctant small steps, one has ✸.✸ < r❡ < ✼.✺ Remark 2: Since excursions ⊆ quadrant walks, thus r ≤ r❡. Work by Raschel/Garbit conjecture that r ≪ r❡, generically.

slide-26
SLIDE 26

The story in practice

Asymptotically: q♥ ∼ ❈✺.✵✻♥♥−r From the excursion bound: r ≤ r❡ = ✷.✻✼✸ Empirically: r ∼ ✷.✸

Generating a walk of length ♥ = ✶✵✵✵ requires on average ♥(✷.✻✼−✶.✺) = ✶✵✵✵✶.✶✼ = ✸✵✵✵ trials.

slide-27
SLIDE 27

What if the slope is not rational

INPUT: Fixed value of ♥, 1D step set A IDEA: Build grammar for rational approximation A∆θ of A ♥ ♥✷ ❦ ❦ ♥✷ ♥

slide-28
SLIDE 28

What if the slope is not rational

INPUT: Fixed value of ♥, 1D step set A IDEA: Build grammar for rational approximation A∆θ of A ∆θ For sufficiently small values of ∆θ, the positive 1D walks of length ♥ generated by A∆θ and A are in bijection. ♥✷ ❦ ❦ ♥✷ ♥

slide-29
SLIDE 29

What if the slope is not rational

INPUT: Fixed value of ♥, 1D step set A IDEA: Build grammar for rational approximation A∆θ of A ∆θ For sufficiently small values of ∆θ, the positive 1D walks of length ♥ generated by A∆θ and A are in bijection. Walks in A∆θ are generated by a grammar having Θ(♥✷) rules. Generation of ❦ walks in Θ(❦ · ♥✷) (Boltzmann) or worse. . . CONJECTURE: Grammar with ♥ rules may be sufficient

slide-30
SLIDE 30

Higher dimension walks

Random generation in higher di- mension can also be done efficiently through rejection from a 1D walks. Problem. How to find the optimal hyperplane? Problem: Generate reluctant 1D walks without a grammar? Problem: Characterize walks such that r < ✸ + ✸/✷

slide-31
SLIDE 31

End Remarks

The strategy also works for non-reluctant (→ O(✶)) and non-trivial walks. Details are slightly different but essentially the same. Anticipated rejection is easily integrated, and seems to reduce the time by a linear factor in the zero drift case. Motivates more efficient samplers for 1D positive walks taking arbitrary numbers of steps.

slide-32
SLIDE 32

Merci! Thank you!