the panda hunter game
play

The Panda Hunter Game Jie Gao Stony Brook University - PowerPoint PPT Presentation

The Panda Hunter Game Jie Gao Stony Brook University http://www.cs.sunysb.edu/ jgao IMA Workshop on Modern Applications of Homology and Cohomology, October 28-Nov 1, 2013. The Panda Hunter Game Save-The-Panda Organization monitors a vast


  1. History—Wireless Sensor Network [ICDCS’05] by Kamat et al—“Enhancing Source-Location Privacy in Sensor Network Routing”. � Single-path routing (shortest-path, trajectory-based, directed diffusion, etc.). � Flooding-based routing (including probabilistic flooding). 9 of 1

  2. History—Wireless Sensor Network [ICDCS’05] by Kamat et al—“Enhancing Source-Location Privacy in Sensor Network Routing”. � Single-path routing (shortest-path, trajectory-based, directed diffusion, etc.). � Flooding-based routing (including probabilistic flooding). � All of these fail—hunter sits near the sink; upon hearing a message, moves to the sender. 9 of 1

  3. History—Wireless Sensor Network [ICDCS’05] by Kamat et al—“Enhancing Source-Location Privacy in Sensor Network Routing”. � Single-path routing (shortest-path, trajectory-based, directed diffusion, etc.). � Flooding-based routing (including probabilistic flooding). � All of these fail—hunter sits near the sink; upon hearing a message, moves to the sender. The solution proposed: phantom routing � Send the message on a random walk until it gets far away from the source. � Once far away, send the message to the sink. 9 of 1

  4. Review of Random Walks on a Graph G A message at node u moves to a neighbor v with probability p uv = 1 / d ( u ) d ( u ) is the degree of u . � v p uv = 1. 10 of 1

  5. Review of Random Walks on a Graph G A message at node u moves to a neighbor v with probability p uv = 1 / d ( u ) d ( u ) is the degree of u . � v p uv = 1. � Markov chain; 10 of 1

  6. Review of Random Walks on a Graph G A message at node u moves to a neighbor v with probability p uv = 1 / d ( u ) d ( u ) is the degree of u . � v p uv = 1. � Markov chain; � Converges to a stationary distribution on vertices of G , if G is non-bipartite. 10 of 1

  7. Review of Random Walks on a Graph G A message at node u moves to a neighbor v with probability p uv = 1 / d ( u ) d ( u ) is the degree of u . � v p uv = 1. � Markov chain; � Converges to a stationary distribution on vertices of G , if G is non-bipartite. � Mixing rate : the number of steps for the random walk to converge to its limiting distribution. 10 of 1

  8. Review of Random Walks on a Graph G A message at node u moves to a neighbor v with probability p uv = 1 / d ( u ) d ( u ) is the degree of u . � v p uv = 1. � Markov chain; � Converges to a stationary distribution on vertices of G , if G is non-bipartite. � Mixing rate : the number of steps for the random walk to converge to its limiting distribution. � Cover time : the expected number of steps to visit every node. 10 of 1

  9. Random Walks on a Geometric Random Graph Geometric Random Graph: place n nodes uniformly randomly inside a unit square and connect two nodes within Euclidean distance r . 11 of 1

  10. Random Walks on a Geometric Random Graph Geometric Random Graph: place n nodes uniformly randomly inside a unit square and connect two nodes within Euclidean distance r . � � r ≥ α · log n / n , for a constant α : the graph is connected with high probability. � Mixing rate : Θ(log n / r 2 ) = Θ( n ) w.h.p. [BGPS05]. 11 of 1

  11. Random Walks on a Geometric Random Graph Geometric Random Graph: place n nodes uniformly randomly inside a unit square and connect two nodes within Euclidean distance r . � � r ≥ α · log n / n , for a constant α : the graph is connected with high probability. � Mixing rate : Θ(log n / r 2 ) = Θ( n ) w.h.p. [BGPS05]. � Cover time : Θ( n log n ) w.h.p. [CF09]. → A random walk of length Θ( n log n ) can deliver the message to the sink w.h.p. 11 of 1

  12. Random Walks on a Geometric Random Graph Geometric Random Graph: place n nodes uniformly randomly inside a unit square and connect two nodes within Euclidean distance r . � � r ≥ α · log n / n , for a constant α : the graph is connected with high probability. � Mixing rate : Θ(log n / r 2 ) = Θ( n ) w.h.p. [BGPS05]. � Cover time : Θ( n log n ) w.h.p. [CF09]. → A random walk of length Θ( n log n ) can deliver the message to the sink w.h.p. Sink is not identifiable. 11 of 1

  13. Random Walks on a Geometric Random Graph Geometric Random Graph: place n nodes uniformly randomly inside a unit square and connect two nodes within Euclidean distance r . � � r ≥ α · log n / n , for a constant α : the graph is connected with high probability. � Mixing rate : Θ(log n / r 2 ) = Θ( n ) w.h.p. [BGPS05]. � Cover time : Θ( n log n ) w.h.p. [CF09]. → A random walk of length Θ( n log n ) can deliver the message to the sink w.h.p. Sink is not identifiable. Hunter is upset and decides to improve his skills. 11 of 1

  14. The Hunter Comes to IMA... � The adversary places perfectly synchronized monitoring stations on the network boundary. � These monitoring stations listen to the traffic and record the signals. � Does the adversary hear anything? 12 of 1

  15. The Hunter Comes to IMA... � The adversary places perfectly synchronized monitoring stations on the network boundary. � These monitoring stations listen to the traffic and record the signals. � Does the adversary hear anything?—Yes. � By the Central Limit Theorem, a uniform random walk (equal up-down-left-right probabilities) of length Θ( n log n ) hits the boundary of the grid with probability at least 1 − 1 / log n . 12 of 1

  16. The Hunter’s Strategy � The hunter tries to infer the source location from the distribution of packets first seen on the boundary. 13 of 1

  17. The Hunter’s Strategy � The hunter tries to infer the source location from the distribution of packets first seen on the boundary. Figure : The first-hit distribution of a random walk started at the green point. � This first hit distribution is called the harmonic measure . 13 of 1

  18. Definition of Harmonic Measure Notation: � Let R be any planar domain, with boundary ∂ R . 14 of 1

  19. Definition of Harmonic Measure Notation: � Let R be any planar domain, with boundary ∂ R . � Let X ⊂ ∂ R be a portion of the boundary. 14 of 1

  20. Definition of Harmonic Measure Notation: � Let R be any planar domain, with boundary ∂ R . � Let X ⊂ ∂ R be a portion of the boundary. � Let z be a point inside the domain ( z ∈ R ). 14 of 1

  21. Definition of Harmonic Measure Notation: � Let R be any planar domain, with boundary ∂ R . � Let X ⊂ ∂ R be a portion of the boundary. � Let z be a point inside the domain ( z ∈ R ). Definition The probability that a Brownian motion started at z inside R exits the boundary ∂ R through X is denoted the harmonic measure ω ( X , R , z ). 14 of 1

  22. Example: Harmonic Measure for the Disk � For the unit disk D , ω ( X , D , 0) = | X | 2 π . 15 of 1

  23. Example: Harmonic Measure for the Disk � For the unit disk D , ω ( X , D , 0) = | X | 2 π . � For a point x not equal to the origin, 15 of 1

  24. Example: Harmonic Measure for the Disk � For the unit disk D , ω ( X , D , 0) = | X | 2 π . � For a point x not equal to the origin, apply the M¨ obius transformation f ( z ) = z − x 1 − ¯ xz maps x to 0. � One can verify that ω ( X , D , z ) = ω ( f ( X ) , D , 0) = | f ( X ) | 2 π . 15 of 1

  25. Example: Harmonic Measure for the Disk � For the unit disk D , ω ( X , D , 0) = | X | 2 π . � For a point x not equal to the origin, apply the M¨ obius transformation y x o f ( z ) = z − x 1 − ¯ xz maps x to 0. p o � One can verify that ω ( X , D , z ) = ω ( f ( X ) , D , 0) = | f ( X ) | 2 π . 0 2 π � What about a non-disk domain? p x 0 y 2 π 15 of 1

  26. Conformal Maps Definition Maps that preserve angles. Maps differentiable in the complex sense. Theorem (Riemann Mapping Theorem) Any simply connected domain can be mapped conformally to the unit disk. 16 of 1

  27. Conformal Maps and Harmonic Measure Conformal maps preserve harmonic measure [Lawler05]. 17 of 1

  28. Conformal Maps and Harmonic Measure Conformal maps preserve harmonic measure [Lawler05]. � f is a conformal map between R and R ′ , ω ( X , R , x ) = ω ( f ( X ) , R ′ , f ( x )) . f a R R � b f ( a ) x f ( b ) f ( x ) 17 of 1

  29. Example Mapping a simply connected L -shaped domain to the unit disk conformally preserves the distribution of red points on the boundary. 18 of 1

  30. Hunter’s Attack: Single Source � Hunter gathers the fraction of total messages, d ω z that first arrive at each monitoring station z . 19 of 1

  31. Hunter’s Attack: Single Source � Hunter gathers the fraction of total messages, d ω z that first arrive at each monitoring station z . � This observed distribution is a Monte Carlo approximation to the harmonic measure ω ( X , R , z 0 ), when a random walk is started at the (unknown) source z 0 . 19 of 1

  32. Hunter’s Attack: Single Source � Hunter gathers the fraction of total messages, d ω z that first arrive at each monitoring station z . � This observed distribution is a Monte Carlo approximation to the harmonic measure ω ( X , R , z 0 ), when a random walk is started at the (unknown) source z 0 . � Problem: Infer z 0 from ω ( X , R , z 0 ). 19 of 1

  33. Hunter’s Attack: Single Source � Hunter gathers the fraction of total messages, d ω z that first arrive at each monitoring station z . � This observed distribution is a Monte Carlo approximation to the harmonic measure ω ( X , R , z 0 ), when a random walk is started at the (unknown) source z 0 . � Problem: Infer z 0 from ω ( X , R , z 0 ). � Solution: The expected exit-position is in fact, the location of the source, i.e., � Source = zd ω z . z ∈ ∂ R 19 of 1

  34. Hunter’s Attack: Single Source � Hunter gathers the fraction of total messages, d ω z that first arrive at each monitoring station z . � This observed distribution is a Monte Carlo approximation to the harmonic measure ω ( X , R , z 0 ), when a random walk is started at the (unknown) source z 0 . � Problem: Infer z 0 from ω ( X , R , z 0 ). � Solution: The expected exit-position is in fact, the location of the source, i.e., � Source = zd ω z . z ∈ ∂ R � Why? 19 of 1

  35. Harmonic Function � A function h ( x , y ) is harmonic if ∂ 2 h ∂ x 2 + ∂ 2 h ∂ y 2 = 0. 20 of 1

  36. Harmonic Function � A function h ( x , y ) is harmonic if ∂ 2 h ∂ x 2 + ∂ 2 h ∂ y 2 = 0. � Mean Value property: The value of h at z 0 = ( x 0 , y 0 ) equals the average of the values of the points z = ( x , y ) on a unit circle ∂ D around z 0 , i.e. h ( z 0 ) = 1 � h ( z 0 + e i θ ) d θ 2 π ∂ D 20 of 1

  37. Harmonic Function � A function h ( x , y ) is harmonic if ∂ 2 h ∂ x 2 + ∂ 2 h ∂ y 2 = 0. � Mean Value property: The value of h at z 0 = ( x 0 , y 0 ) equals the average of the values of the points z = ( x , y ) on a unit circle ∂ D around z 0 , i.e. h ( z 0 ) = 1 � h ( z 0 + e i θ ) d θ 2 π ∂ D � The position function h ( z 0 ) = z 0 is harmonic on R . 20 of 1

  38. Harmonic Function � A function h ( x , y ) is harmonic if ∂ 2 h ∂ x 2 + ∂ 2 h ∂ y 2 = 0. � Mean Value property: The value of h at z 0 = ( x 0 , y 0 ) equals the average of the values of the points z = ( x , y ) on a unit circle ∂ D around z 0 , i.e. h ( z 0 ) = 1 � h ( z 0 + e i θ ) d θ 2 π ∂ D � The position function h ( z 0 ) = z 0 is harmonic on R . � A conformal function f maps the unit disk D to the domain R such that f (0) = z 0 . z 0 = f (0) = 1 � � f ( e i θ )) d θ = zd ω z 2 π ∂ D z ∈ ∂ R 20 of 1

  39. Discrete Setting Σ: a triangulated surface. 21 of 1

  40. Discrete Setting Σ: a triangulated surface. � Cotangent edge weight: w ij = 1 2 (cot θ k + cot θ ℓ ), where θ k and θ ℓ are angles opposite to edge ij in the two triangles adjacent to ij . 21 of 1

  41. Discrete Setting Σ: a triangulated surface. � Cotangent edge weight: w ij = 1 2 (cot θ k + cot θ ℓ ), where θ k and θ ℓ are angles opposite to edge ij in the two triangles adjacent to ij . � Random walk: Prob { v j | v i } = w ij / � k w ik . 21 of 1

  42. Discrete Setting Σ: a triangulated surface. � Cotangent edge weight: w ij = 1 2 (cot θ k + cot θ ℓ ), where θ k and θ ℓ are angles opposite to edge ij in the two triangles adjacent to ij . � Random walk: Prob { v j | v i } = w ij / � k w ik . � Discrete harmonic measure: ω k ( v i ) = Prob { Exits at v k | Starts at v i } . 21 of 1

  43. Discrete Setting Σ: a triangulated surface. � Cotangent edge weight: w ij = 1 2 (cot θ k + cot θ ℓ ), where θ k and θ ℓ are angles opposite to edge ij in the two triangles adjacent to ij . � Random walk: Prob { v j | v i } = w ij / � k w ik . � Discrete harmonic measure: ω k ( v i ) = Prob { Exits at v k | Starts at v i } . � Discrete Laplace operator: ∆ f ( v i ) = � j w ij ( f ( v j ) − f ( v i )). 21 of 1

  44. Discrete Setting Σ: a triangulated surface. � Cotangent edge weight: w ij = 1 2 (cot θ k + cot θ ℓ ), where θ k and θ ℓ are angles opposite to edge ij in the two triangles adjacent to ij . � Random walk: Prob { v j | v i } = w ij / � k w ik . � Discrete harmonic measure: ω k ( v i ) = Prob { Exits at v k | Starts at v i } . � Discrete Laplace operator: ∆ f ( v i ) = � j w ij ( f ( v j ) − f ( v i )). � Discrete Harmonic Function: ∆ f = 0. 21 of 1

  45. Discrete Setting Σ: a triangulated surface. � Cotangent edge weight: w ij = 1 2 (cot θ k + cot θ ℓ ), where θ k and θ ℓ are angles opposite to edge ij in the two triangles adjacent to ij . � Random walk: Prob { v j | v i } = w ij / � k w ik . � Discrete harmonic measure: ω k ( v i ) = Prob { Exits at v k | Starts at v i } . � Discrete Laplace operator: ∆ f ( v i ) = � j w ij ( f ( v j ) − f ( v i )). � Discrete Harmonic Function: ∆ f = 0. � Discrete harmonic measures are harmonic functions. 21 of 1

  46. Discrete Setting Σ: a triangulated surface. � Cotangent edge weight: w ij = 1 2 (cot θ k + cot θ ℓ ), where θ k and θ ℓ are angles opposite to edge ij in the two triangles adjacent to ij . � Random walk: Prob { v j | v i } = w ij / � k w ik . � Discrete harmonic measure: ω k ( v i ) = Prob { Exits at v k | Starts at v i } . � Discrete Laplace operator: ∆ f ( v i ) = � j w ij ( f ( v j ) − f ( v i )). � Discrete Harmonic Function: ∆ f = 0. � Discrete harmonic measures are harmonic functions. � Expected position function is also harmonic. � ( x 0 , y 0 ) = ( x k , y k ) ω k ( v 0 ) v k ∈ ∂ Σ 21 of 1

  47. Hunter’s Attack: Multiple Sources � k ≥ 1 sources, k is known. Hunter cannot differentiate the messages from difference sources. 22 of 1

  48. Hunter’s Attack: Multiple Sources � k ≥ 1 sources, k is known. Hunter cannot differentiate the messages from difference sources. � Hunter will use Maximum-Likelihood Estimates. 22 of 1

  49. Hunter’s Attack: Multiple Sources � k ≥ 1 sources, k is known. Hunter cannot differentiate the messages from difference sources. � Hunter will use Maximum-Likelihood Estimates. � Step1: Computer the harmonic measure ω ( X , R , z ) for all z ∈ R . 22 of 1

  50. Hunter’s Attack: Multiple Sources � k ≥ 1 sources, k is known. Hunter cannot differentiate the messages from difference sources. � Hunter will use Maximum-Likelihood Estimates. � Step1: Computer the harmonic measure ω ( X , R , z ) for all z ∈ R . � Step2: Maximize the likelihood for source positions at z 1 , z 2 , · · · , z k to generate the observed first hit distribution on ∂ R . 22 of 1

  51. Hunter’s Attack: Multiple Sources � k ≥ 1 sources, k is known. Hunter cannot differentiate the messages from difference sources. � Hunter will use Maximum-Likelihood Estimates. � Step1: Computer the harmonic measure ω ( X , R , z ) for all z ∈ R . � Step2: Maximize the likelihood for source positions at z 1 , z 2 , · · · , z k to generate the observed first hit distribution on ∂ R . � For Step1 � Method1: Use Riemann Mapping from unit disk to R . 22 of 1

  52. Hunter’s Attack: Multiple Sources � k ≥ 1 sources, k is known. Hunter cannot differentiate the messages from difference sources. � Hunter will use Maximum-Likelihood Estimates. � Step1: Computer the harmonic measure ω ( X , R , z ) for all z ∈ R . � Step2: Maximize the likelihood for source positions at z 1 , z 2 , · · · , z k to generate the observed first hit distribution on ∂ R . � For Step1 � Method1: Use Riemann Mapping from unit disk to R . � Method2: (Symm’s Method) Discretize R into n segments and apply n independent harmonic functions h i . Solve the linear system. � h i ( z 0 ) = h i ( z ) d ω z z ∈ ∂ R 22 of 1

  53. Dirichlet Problem � Find a harmonic function f that satisfies the given condition on the boundary of R . 23 of 1

  54. Dirichlet Problem � Find a harmonic function f that satisfies the given condition on the boundary of R . � The solution exists and is unique. 23 of 1

  55. Dirichlet Problem � Find a harmonic function f that satisfies the given condition on the boundary of R . � The solution exists and is unique. Implication: 23 of 1

  56. Dirichlet Problem � Find a harmonic function f that satisfies the given condition on the boundary of R . � The solution exists and is unique. Implication: � Given the harmonic measure on boundary, finding the harmonic function which gives the the position of source: unique solution. 23 of 1

  57. Dirichlet Problem � Find a harmonic function f that satisfies the given condition on the boundary of R . � The solution exists and is unique. Implication: � Given the harmonic measure on boundary, finding the harmonic function which gives the the position of source: unique solution. � The same applies for k sources. 23 of 1

  58. Hunter’s Attack: General cases Using Maximum-Likelihood Estimates, the hunter can also locate: � Mobile Sources. Sources moving on a line, or a known trajectory which can be described in terms of a few parameters. 24 of 1

  59. Hunter’s Attack: General cases Using Maximum-Likelihood Estimates, the hunter can also locate: � Mobile Sources. Sources moving on a line, or a known trajectory which can be described in terms of a few parameters. � Fake Sources. � Short-lived—These messages do no hit the boundary, and so we are not counting them in our analysis. 24 of 1

  60. Hunter’s Attack: General cases Using Maximum-Likelihood Estimates, the hunter can also locate: � Mobile Sources. Sources moving on a line, or a known trajectory which can be described in terms of a few parameters. � Fake Sources. � Short-lived—These messages do no hit the boundary, and so we are not counting them in our analysis. � Long-lived—Analyze the traffic as in multiple sources. Note that long-lived fake sources are costly. 24 of 1

  61. Hunter’s Attack: General cases Using Maximum-Likelihood Estimates, the hunter can also locate: � Mobile Sources. Sources moving on a line, or a known trajectory which can be described in terms of a few parameters. � Fake Sources. � Short-lived—These messages do no hit the boundary, and so we are not counting them in our analysis. � Long-lived—Analyze the traffic as in multiple sources. Note that long-lived fake sources are costly. � Non-simple domain: 24 of 1

  62. Hunter’s Attack: General cases Using Maximum-Likelihood Estimates, the hunter can also locate: � Mobile Sources. Sources moving on a line, or a known trajectory which can be described in terms of a few parameters. � Fake Sources. � Short-lived—These messages do no hit the boundary, and so we are not counting them in our analysis. � Long-lived—Analyze the traffic as in multiple sources. Note that long-lived fake sources are costly. � Non-simple domain: � Monitors the interior boundaries. Apply the same integration. 24 of 1

  63. Hunter’s Attack: General cases Using Maximum-Likelihood Estimates, the hunter can also locate: � Mobile Sources. Sources moving on a line, or a known trajectory which can be described in terms of a few parameters. � Fake Sources. � Short-lived—These messages do no hit the boundary, and so we are not counting them in our analysis. � Long-lived—Analyze the traffic as in multiple sources. Note that long-lived fake sources are costly. � Non-simple domain: � Monitors the interior boundaries. Apply the same integration. � Or, use MLE. 24 of 1

  64. Discussion—Sequel Ideas � Non-Uniform/Biased Random Walk? 25 of 1

  65. Discussion—Sequel Ideas � Non-Uniform/Biased Random Walk? —Harmonic Measure changes, but since the hunter is informed (i.e., knows the bias), the same analysis can be performed. 25 of 1

  66. Discussion—Sequel Ideas � Non-Uniform/Biased Random Walk? —Harmonic Measure changes, but since the hunter is informed (i.e., knows the bias), the same analysis can be performed. � Randomize the transition probability? 25 of 1

  67. Discussion—Sequel Ideas � Non-Uniform/Biased Random Walk? —Harmonic Measure changes, but since the hunter is informed (i.e., knows the bias), the same analysis can be performed. � Randomize the transition probability? —This might work, but then need to make sure that the resulting random walk is ergodic—covers everything eventually, and the stationary distribution is well behaved. 25 of 1

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