99
Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk 6 February 2014 SAMSI Workshop B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 1 / 42

Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Map Construction and ComparisonUsing Local Structure

Brittany Terese Fasy, Tulane Universityjoint work with M. Ahmed and C. Wenk

6 February 2014SAMSI Workshop

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 1 / 42

Page 2: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 2 / 42

Page 3: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 3 / 42

Page 4: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 5: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks:

GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 6: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 7: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths:

GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 8: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 9: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths:

GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 10: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 11: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies:

point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 12: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 13: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems:

Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 14: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 15: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths:

historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 16: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 17: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks:

path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 18: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Introduction

Examples

Road networks: GPS trajectories of cars.

Hiking paths: GPS paths of people.

Migration paths: GPS on animals.

Fillaments of galaxies: point cloud data.

Biological systems: Marron’s brain vessels.

Hurricane paths: historical paths.

Networks: path-constrained trajectories.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 4 / 42

Page 19: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Part I: Map Construction

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 5 / 42

Page 20: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Road Network Representation

Definition (Road Network)

A road network G = (V ,E ) is an embedded 1-complex. Edges E representthe roads or streets and the vertices V represent the intersections.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 6 / 42

Page 21: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Road Network Representation

Definition (Road Network)

A road network G = (V ,E ) is an embedded 1-complex. Edges E representthe roads or streets and the vertices V represent the intersections.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 6 / 42

Page 22: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

The DataGPS Trajectories

street-path: p : I � Gnoise: ε : I → R2

trajectory: p = p + ε

Definition (Link Length)

The Link Lengh of a path is the number of edges in the path.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 7 / 42

Page 23: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

The DataGPS Trajectories

street-path: p : I � Gnoise: ε : I → R2

trajectory: p = p + ε

Definition (Link Length)

The Link Lengh of a path is the number of edges in the path.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 7 / 42

Page 24: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Trajectory DataAthens Trajectories from School Bus Data

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 8 / 42

Page 25: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

The Reconstruction Problem

Problem Statement

Given a set of (constrained) trajectories, extract the underlying geometricgraph structure, in particular:

Intersections (Vertices of degree > 2)

Streets (Edges: PL paths between vertices)

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 9 / 42

Page 26: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Existing Reconstructing Algorithmshttp://www.mapconstruction.org

[ACCGGM-12] M. Aanjaneya, F. Chazal, D. Chen, M. Glisse, L. Guibas,and D. Morozov. Metric Graph Reconstruction from Noisy Data, 2012.

[BE-12a] J. Biagioni, J. Eriksson. Map Inference in the Face of Noise andDisparity. SIGSPATIAL, 2012.

[KP-12] S. Karagiorgou and D. Pfoser. On Vehicle Tracking Data-BasedRoad Network Generation. SIGSPATIAL, 2012.

[AW-12] M. Ahmed, C. Wenk. Constructing Street Networks fromGPS Trajectories. European Symp. on Algorithms, 2012.

[OTHER] There were too many algorithms to cite here . . .

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 10 / 42

Page 27: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Matching [AW]

Assumptions

1 A1: dF (p, p) ≤ ε2 for all trajectories p.

2 A2: If two paths in G come close enough, they intersect.

3 A3: For each street s and a ball B far enough away from theendpoints of s, s ∩ B is two points.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 11 / 42

Page 28: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Assumption A1Trajectories are Close to Paths

Definition (Frechet Distance)

dF (p, p) =infα maxt d (p(t), p(α(t))).

Assumption A1

dF (p, p) ≤ ε2 for all trajectories p.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 12 / 42

Page 29: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Matching [AW]

Assumptions

1 A1: dF (p, p) ≤ ε2 for all trajectories p.

2 A2: If two paths in G come close enough, they intersect.

3 A3: For each street s and a ball B far enough away from theendpoints of s, s ∩ B is two points.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 13 / 42

Page 30: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Matching [AW]

Assumptions

1 A1: dF (p, p) ≤ ε2 for all trajectories p.

2 A2: If two paths in G come close enough, they intersect.

3 A3: For each street s and a ball B far enough away from theendpoints of s, s ∩ B is two points.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 13 / 42

Page 31: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Assumption A2Close Paths Intersect

Assumption A2

If two paths in G come close enough, they intersect.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 14 / 42

Page 32: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Assumption A2Close Paths Intersect

Assumption A2

If two paths in G come close enough, they intersect.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 14 / 42

Page 33: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Matching [AW]

Assumptions

1 A1: dF (p, p) ≤ ε2 for all trajectories p.

2 A2: If two paths in G come close enough, they intersect.

3 A3: For each street s and a ball B far enough away from theendpoints of s, s ∩ B is two points.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 15 / 42

Page 34: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Matching [AW]

Assumptions

1 A1: dF (p, p) ≤ ε2 for all trajectories p.

2 A2: If two paths in G come close enough, they intersect.

3 A3: For each street s and a ball B far enough away from theendpoints of s, s ∩ B is two points.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 15 / 42

Page 35: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Assumption A3Roads Are Nice

Assumption A3

For each street s and a ball B far enough away from the endpoints of s,s ∩ B is two points.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 16 / 42

Page 36: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Matching [AW]

Assumptions

1 A1: dF (p, p) ≤ ε2 for all trajectories p.

2 A2: If two paths in G come close enough, they intersect.

3 A3: For each street s and a ball B far enough away from theendpoints of s, s ∩ B is two points.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 17 / 42

Page 37: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Algorithm [AW]

For each trajectory t:

1 Find the portion of the map closest to t.

2 Add edges if necessary.

3 Simplify:

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 18 / 42

Page 38: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Algorithm [AW]

For each trajectory t:

1 Find the portion of the map closest to t.

2 Add edges if necessary.

3 Simplify:

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 18 / 42

Page 39: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Computing the Frechet DistanceThe Free Space Diagram

O(mn log(mn)) using parametric search [AG-95].

O(mn log2(mn)) randomized approach [CW-10].

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 19 / 42

Page 40: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Computing the Frechet DistanceThe Free Space Diagram

O(mn log(mn)) using parametric search [AG-95].

O(mn log2(mn)) randomized approach [CW-10].

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 19 / 42

Page 41: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Computing the Frechet DistanceThe Free Space Diagram

O(mn log(mn)) using parametric search [AG-95].

O(mn log2(mn)) randomized approach [CW-10].

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 19 / 42

Page 42: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Computing the Frechet DistanceThe Free Space Diagram

O(mn log(mn)) using parametric search [AG-95].

O(mn log2(mn)) randomized approach [CW-10].

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 19 / 42

Page 43: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Computing the Frechet DistanceThe Free Space Diagram

O(mn log(mn)) using parametric search [AG-95].

O(mn log2(mn)) randomized approach [CW-10].

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 19 / 42

Page 44: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Finding Closest Match ...Partial Frechet Distance

Let grey region have weight 1 and white region weight 0. Find the shortestpath from one end to the other under this metric.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 20 / 42

Page 45: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Finding Closest Match ...Partial Frechet Distance

Let grey region have weight 1 and white region weight 0. Find the shortestpath from one end to the other under this metric.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 20 / 42

Page 46: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Best Match in Graph[BBW-09]

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 21 / 42

Page 47: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Best Match in Graph[BBW-09]

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 21 / 42

Page 48: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Best Match in Graph[BBW-09]

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 21 / 42

Page 49: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Best Match in Graph[BBW-09]

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 21 / 42

Page 50: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Algorithm [AW]

For each trajectory t:

1 Find the portion of the map closest to t.

2 Add edges if necessary.

3 Simplify:

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 22 / 42

Page 51: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Adding Edges

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 23 / 42

Page 52: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Adding Edges

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 23 / 42

Page 53: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Algorithm [AW]

For each trajectory t:

1 Find the portion of the map closest to t.

2 Add edges if necessary.

3 Simplify:

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 24 / 42

Page 54: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Incremental Frechet Algorithm [AW]

For each trajectory t:

1 Find the portion of the map closest to t.

2 Add edges if necessary.

3 Simplify: Min-link curve simplification algorithm.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 24 / 42

Page 55: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 1: Berlinwww.openstreetmaps.org

27,188 GPS trajectories from school buses.

D = 5.2km x 6.1km.

Trajectories have 7 observations on average.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 25 / 42

Page 56: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 1: Berlinwww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 26 / 42

Page 57: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 1: Berlinwww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 26 / 42

Page 58: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 1: Berlinwww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 26 / 42

Page 59: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 1: Berlinwww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 26 / 42

Page 60: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 2: Chicagowww.openstreetmaps.org

889 GPS trajectories from university buses.

D = 7 km x 4.5 km

Trajectories: 100-300 samples (avg. 3.22 km).

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 27 / 42

Page 61: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 2: Chicagowww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 28 / 42

Page 62: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 2: Chicagowww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 28 / 42

Page 63: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 2: Chicagowww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 28 / 42

Page 64: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 2: Chicagowww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 28 / 42

Page 65: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part I

Dataset 2: Chicagowww.openstreetmaps.org

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 28 / 42

Page 66: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Part II: Map Comparison

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 29 / 42

Page 67: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Different Approaches

[BE-12b] J. Biagioni, J. Eriksson. James Biagioni and Jakob Eriksson.Inferring Road Maps from GPS Traces: Survey and ComparativeEvaluation. In 91st Annual Meeting of the Transportation Research Board,2012.

[AFHW-14] M. Ahmed, B. Fasy, K. Hickmann, C. Wenk. Path-BasedDistance for Street Map Comparison. Arxiv.

[AFW-14] M. Ahmed, B. Fasy, C. Wenk. Local Homology BasedDistance Between Maps. In Submission.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 30 / 42

Page 68: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Path-Based Methods

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 31 / 42

Page 69: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Path-Based Methods

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 31 / 42

Page 70: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Path-Based Methods

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 31 / 42

Page 71: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Path-Based Methods

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 31 / 42

Page 72: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Path-Based Methods

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 31 / 42

Page 73: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Topology Approach [AFW]

We will use the embedding andthe local homology to create alocal distance signature.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 32 / 42

Page 74: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Distance SignatureFinding the Local Persistence Diagram

D ⊂ R2 is the compact domain.G1 ⊂ D is the road network.r > 0 is the scale.x ∈ D.

LG1(x , 0) = (G1 ∩ Br (x))/∂Br (x)

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 33 / 42

Page 75: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Distance SignatureFinding the Local Persistence Diagram

D ⊂ R2 is the compact domain.G1 ⊂ D is the road network.r > 0 is the scale.x ∈ D.

LG1(x , ε) = (G1ε ∩ Br (x))/∂Br (x)

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 33 / 42

Page 76: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Distance SignatureFinding the Local Persistence Diagram

D ⊂ R2 is the compact domain.G1 ⊂ D is the road network.r > 0 is the scale.x ∈ D.

LG1(x , 2ε) = (G12ε ∩ Br (x))/∂Br (x)

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 33 / 42

Page 77: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Distance SignatureFinding the Local Persistence Diagram

LG1(x , 0) = (G1 ∩ Br (x))/∂Br (x)

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 33 / 42

Page 78: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Distance SignatureComputing the Local Distance

(birth+death)/2

(death-birth)/2

25105 15 200

25

10

5

15

20

0

lhd(x , r) := W∞(Dgm1(LG1(x , r)),Dgm1(LG2(x , r)))

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 33 / 42

Page 79: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Distance SignatureComputing the Local Distance

(birth+death)/2

(death-birth)/2

25105 15 200

25

10

5

15

20

0

lhd(x , r) := W∞(Dgm1(LG1(x , r)),Dgm1(LG2(x , r)))

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 33 / 42

Page 80: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Topology Based Distance

Definition (Local Homology Distance)

dLH(G1,G2) =1

|D|

∫ r1

r0

ωr

∫Dlhd(x , r) dx

dr

Variants

1 D is a rectangular domain.

2 D = (G1 ∪ G2) + Bδ3 r0 = r1 (fixed radius)

4 r0 = 0 =⇒ metric

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 34 / 42

Page 81: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Topology Based Distance

Definition (Local Homology Distance)

dLH(G1,G2) =1

|D|

∫ r1

r0

ωr

∫Dlhd(x , r) dx dr

Variants

1 D is a rectangular domain.

2 D = (G1 ∪ G2) + Bδ3 r0 = r1 (fixed radius)

4 r0 = 0 =⇒ metric

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 34 / 42

Page 82: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Topology Based Distance

Definition (Local Homology Distance)

dLH(G1,G2) =1

|D|

∫ r1

r0

ωr

∫Dlhd(x , r) dx dr

Variants

1 D is a rectangular domain.

2 D = (G1 ∪ G2) + Bδ3 r0 = r1 (fixed radius)

4 r0 = 0 =⇒ metric

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 34 / 42

Page 83: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Topology Based Distance

Definition (Local Homology Distance)

dLH(G1,G2) =1

|D|

∫ r1

r0

ωr

∫Dlhd(x , r) dx dr

Variants

1 D is a rectangular domain.

2 D = (G1 ∪ G2) + Bδ3 r0 = r1 (fixed radius)

4 r0 = 0 =⇒ metric

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 34 / 42

Page 84: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Local Topology Based Distance

Definition (Local Homology Distance)

dLH(G1,G2) =1

|D|

∫ r1

r0

ωr

∫Dlhd(x , r) dx dr

Variants

1 D is a rectangular domain.

2 D = (G1 ∪ G2) + Bδ3 r0 = r1 (fixed radius)

4 r0 = 0 =⇒ metric

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 34 / 42

Page 85: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Dataset 3: Athenswww.openstreetmaps.org

129 GPS trajectories from school buses.

D = 2.6 km x 6 km

Two reconstruction algorithms: [BE-12a] and [KP-12].

Trajectories: 13-47 samples

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 35 / 42

Page 86: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Dataset 3: Athenswww.openstreetmaps.org

Thanks Fabrizio and Jisu!

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 36 / 42

Page 87: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Dataset 3: Athenswww.openstreetmaps.org

Thanks Fabrizio and Jisu!

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 36 / 42

Page 88: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Dataset 3: Athenswww.openstreetmaps.org

Thanks Fabrizio and Jisu!

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 36 / 42

Page 89: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

ResultsAthens: Comparing Two Different Reconstructions

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 37 / 42

Page 90: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

ResultsAthens: Comparing Two Different Reconstructions

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 37 / 42

Page 91: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

The Bootstrap... When the Ground Truth is Unknown

The Bootstrap

n input trajectories Sn.

Compute G = G (Sn).

Find subsample S∗n .

Compute G ∗ = G (S∗n ).

Repeat B times, obtainingG ∗1 , . . . G

∗B .

Let Tj = dLH(G , G ∗j ).

Zα = inf{z :1

B

B∑1

I (Tj > z) ≤ α}

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 38 / 42

Page 92: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

The Bootstrap... When the Ground Truth is Unknown

The Bootstrap

n input trajectories Sn.

Compute G = G (Sn).

Find subsample S∗n .

Compute G ∗ = G (S∗n ).

Repeat B times, obtainingG ∗1 , . . . G

∗B .

Let Tj = dLH(G , G ∗j ).

Zα = inf{z :1

B

B∑1

I (Tj > z) ≤ α}

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 38 / 42

Page 93: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

The Bootstrap... When the Ground Truth is Unknown

The Bootstrap

n input trajectories Sn.

Compute G = G (Sn).

Find subsample S∗n .

Compute G ∗ = G (S∗n ).

Repeat B times, obtainingG ∗1 , . . . G

∗B .

Let Tj = dLH(G , G ∗j ).

Zα = inf{z :1

B

B∑1

I (Tj > z) ≤ α}

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 38 / 42

Page 94: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

The Bootstrap... When the Ground Truth is Unknown

The Bootstrap

n input trajectories Sn.

Compute G = G (Sn).

Find subsample S∗n .

Compute G ∗ = G (S∗n ).

Repeat B times, obtainingG ∗1 , . . . G

∗B .

Let Tj = dLH(G , G ∗j ).

Zα = inf{z :1

B

B∑1

I (Tj > z) ≤ α}

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 38 / 42

Page 95: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

The Bootstrap... When the Ground Truth is Unknown

The Bootstrap

n input trajectories Sn.

Compute G = G (Sn).

Find subsample S∗n .

Compute G ∗ = G (S∗n ).

Repeat B times, obtainingG ∗1 , . . . G

∗B .

Let Tj = dLH(G , G ∗j ).

Zα = inf{z :1

B

B∑1

I (Tj > z) ≤ α}

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 38 / 42

Page 96: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Part II

Ongoing

Apply this to different construction algorithms versus the groundtruth to rank algorithms.

Implementation of distance measure.

Improve theoretical guarantees.

Input Model: other noise models?

Output Model: road category, direction, intersection regions, ...

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 39 / 42

Page 97: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Conclusion

Summary

Map Construction

[AW-12] Constructing StreetNetworks from GPS Trajectories.

Map Comparison

[AFW-14] Local Homology BasedDistance Between Maps.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 40 / 42

Page 98: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Conclusion

More References

[AG-95] H. Alt, M. Godau. Computing the Frchet Distance Between TwoPolygonal Curves. IJCGA, 1995.

[BBW-09] K. Buchin, M. Buchin, Y. Wang. Exact Algorithms for PartialCurve Matching via the Frechet Distance. SODA 2009.

[CW-10] A. F. Cook IV, C. Wenk. Geodesic Frchet Distance Inside aSimple Polygon. ACM TALG 7(1), 2010.

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 41 / 42

Page 99: Map Construction and Comparison · 2014. 8. 21. · Map Construction and Comparison Using Local Structure Brittany Terese Fasy, Tulane University joint work with M. Ahmed and C. Wenk

Conclusion

Thank You!

Contact me: [email protected]

B. Fasy (Tulane) Map Construction and Comparison 6 Feb. 2014 42 / 42