taming reluctant random walks in the positive quadrant
play

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


  1. Taming Reluctant Random Walks In The Positive Quadrant � 2 � , Marni Mishna 2 � , and Yann Ponty 2 � 3 � Jérémie Lumbroso 1 Department of Mathematics � 1 Princeton University Department of Mathematics � 2 Simon Fraser University CNRS Ecole Polytechnique � 3 Inria Saclay June 3 rd , 2016

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

  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 { ✷ , − ✶ } .

  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 = { ( ✶ , ✵ ) , ( ✵ , ✶ ) , ( − ✶ , ✵ ) , ( ✵ , − ✶ ) } ❘ = ❩ ≥ ✵ × ❩ ≥ ✵

  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.

  6. Asymptotic Enumeration ❩ ≥ ✵ × ❩ ≥ ✵ ❩ × ❩ ≥ ✵ ❘ ❩ × ❩ plane half-plane quarter-plane S = ✇ ♥ = ✹ ♥ ❤ ♥ ∼ ❝ ✹ ♥ ♥ − ✶ / ✷ q ♥ ∼ ❝ ✹ ♥ ♥ − ✷ / ✸ S = ❤ ♥ ∼ ❝ ✹ . ✹✻ ♥ ♥ − ✸ / ✷ ✇ ♥ = ✺ ♥ q ♥ ∼ ❝ ✹ . ✸ ♥ θ ( ♥ ) Key parameter: Drift( S ) = � ( ✐ , ❥ ) ∈S ( ✐ , ❥ )

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

  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.

  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.

  10. Summary Positive drift walks are mostly easy to handle

  11. Summary Reluctant (negative drift) walks are less cooperative

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

  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  � q S  ♥ − ✶ ( ① + ✐ , ② + ❥ ) if ♥ > ✵ ,   q S ( ✐ , ❥ ) ∈S s.t. ♥ ( ① , ② ) = (1) ① + ✐ ≥ ✵ , ② + ❥ ≥ ✵    if ♥ = ✵ ✶ ⇒ Can we do better than Θ( ♥ ✹ ) time?

  14. A better rejection strategy Generate walks in an associated half plane, and wait for a 1/4-plane walk.

  15. Overview of strategy A walk in a 1/4-plane is also a walk in a half plane. 1 ⊆ Convert to a unidimensional walk model. Steps may be in ❘ . 2 ② ≥ − ♠① → Generate unidimensional walks (usually easy) and map to 2D 3 Reject walks that escape the quarter plane (“sub-exponential”?) 4

  16. ✺ ✵✻ ♥ q ♥ ❑ ♥ ❤ ♥ ♠ ❑ ♠ 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.

  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 ♥ ⊲

  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. ❤ ♥ ⊲ ∞ ♠ 0 1/2 3/4 1 2 10 ❑ 5.219 5.075 5.064 5.073 5.156 5.376 5.464

  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. ❤ ♥ ⊲ ∞ ♠ 0 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

  20. Building a grammar for rational walks INPUT: Projected up { ❛ ✐ } , down { ❜ ❥ } and horizontal { ❝ ❦ } steps. Algebraic specification ❬▼❡r❧✐♥✐✴❘♦❣❡rs✴❙♣r✉❣♥♦❧✐✴❱❡rr✐ ✾✾❀ ❉✉❝❤♦♥ ✵✵❪ ❛ , ✐ +¯ ♠✐♥ (¯ ❜ ) � � P = D × P aux ❛ × D + L ❦ × R ❦ − ✐ L ✐ = ❛ ∈ A ❦ = ✐ + ✶ ✇ ( ❛ )= ✐ ❛ , ¯ ♠✐♥ ( ❥ +¯ ❜ ) ❛ ¯ � � � P aux = ε + L ❦ × P aux R ❥ = ❜ × D + L ❦ − ❥ × R ❦ ❦ = ✶ ❜ ∈ A ❦ = ❥ + ✶ ✇ ( ❜ )= − ❥ ❛ , ¯ ♠❛① (¯ ❜ ) � � 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.

  21. Boltzmann generation success: 18000 steps S = { ( ✶ , ✵ ) , ( ✵ , ✶ ) , ( − ✶ , ✵ ) , ( ✶ , − ✶ ) , ( − ✶ , − ✶ ) , ( − ✷ , − ✶ ) } Using a generic Boltzmann implemention by A. Darrasse

  22. ❈ ✶ ❑ ♥ ✸ ✷ ♠ ♥ ♥ r ✶ ✷ ♥ ❑ ♠ ❑ ❈ ✷ ❑ ♥ ♥ r ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❪ r Algorithm and its Analysis INPUT: S ⊂ ❩ ✷ (reluctant); Length ♥ OUPUT: Uniform random 1/4-plane walk with steps from S Find optimal slope ♠ (explicit solution computable) 1 If optimal slope is rational, build associated grammar 2 Generate element α from grammar 3 If α confined within quarter plane RETURN α

  23. ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❪ r Algorithm and its Analysis INPUT: S ⊂ ❩ ✷ (reluctant); Length ♥ OUPUT: Uniform random 1/4-plane walk with steps from S Find optimal slope ♠ (explicit solution computable) 1 If optimal slope is rational, build associated grammar 2 Generate element α from grammar 3 If α confined within quarter plane RETURN α � Time to generate a � Expected time= × Expected # of trials 1/2-plane walk ♠ ♥ − ✸ / ✷ O ( ♥ ) × ❈ ✶ ❑ ♥ = O ( ♥ r − ✶ / ✷ ) since ❑ ♠ = ❑ ❈ ✷ ❑ ♥ ♥ − r

  24. Algorithm and its Analysis INPUT: S ⊂ ❩ ✷ (reluctant); Length ♥ OUPUT: Uniform random 1/4-plane walk with steps from S Find optimal slope ♠ (explicit solution computable) 1 If optimal slope is rational, build associated grammar 2 Generate element α from grammar 3 If α confined within quarter plane RETURN α � Time to generate a � Expected time= × Expected # of trials 1/2-plane walk ♠ ♥ − ✸ / ✷ O ( ♥ ) × ❈ ✶ ❑ ♥ = O ( ♥ r − ✶ / ✷ ) since ❑ ♠ = ❑ ❈ ✷ ❑ ♥ ♥ − r REMARK 1: Optimal slope computable ❬❏♦❤♥s♦♥✴▼✐s❤♥❛✴❨❡❛ts ✶✺✰❪ Bound r ??

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend