the next big one : detecting earthquakes and other rare events from community sensors

32
rsrg @caltech ..where theory and practice collide The Next Big One: Detecting Earthquakes and Other Rare Events from Community Sensors Matthew Faulkner, Michael Olson, Rishi Chandy, Jonathan Krause, Mani Chandy, Andreas Krause 1

Upload: rue

Post on 24-Feb-2016

91 views

Category:

Documents


0 download

DESCRIPTION

The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors. Matthew Faulkner , Michael Olson, Rishi Chandy , Jonathan Krause, Mani Chandy , Andreas Krause. Community-Based Sense & Response. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

rsrg @caltech..where theory and practice

collide

The Next Big One:Detecting Earthquakes and Other Rare Events from Community Sensors

Matthew Faulkner, Michael Olson, Rishi Chandy, Jonathan Krause, Mani Chandy, Andreas Krause

1

Page 2: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

2

Community-Based Sense & Response

Research that helps the community detect and respond to rapidly changing situations.

–earthquakes, nuclear radiation, epidemics

Earthquake damageNational Geographic

Nuclear reactor explosiontihik.com

Checking for radiationWashington Post

Funded by NSF Cyber Physical Systems

Page 3: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

Earthquake Detection

skyhookwireless.com

Smart phones have accelerometers, GPS, gyroscopes. Potentially excellent seismic sensors.

Smart phones densely cover urban areas

How to scale to city-wide network? e.g. 1M phones?

How to detect rare events from noisy, uncertain sensors?

Page 4: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

4

Classical Hypothesis TestingNaïve: send all accelerometer data to fusion center that decides Quake (E = 1) vs. No Quake (E = 0)

1M phones produce 30TB of acceleration data a day!Centralized solution does not scale.

Fusion Center

Page 5: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

5

Decentralized Hypothesis TestingEach sensor tests Quake (E = 1) vs. No Quake (E = 0) and sends a signal m to the fusion center.

“pick” “pick”

Page 6: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

6

Decentralized Hypothesis TestingEach sensor tests Quake (E = 1) vs. No Quake (E = 0) and sends a signal m to the fusion center.

Tsitsiklis 88: Hierarchical hypothesis test is optimal for decentralized, conditionally i.i.d. variables.

Likelihood of data during quake

Page 7: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

7

Detecting Rare EventsLikelihood ratio is difficult to estimate for rare events.

Not enough positive examples to estimate

Can estimate accurately from normal data

Page 8: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

8

Detecting Rare EventsLikelihood ratio is difficult to estimate for rare events.

Not enough positive examples to estimate

Can estimate accurately from normal data

Idea: send message when is sufficiently low

Decision threshold

Is this reasonable?

Page 9: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

9

Anti-MonotonicityAnti-monotonicity replaces assumption of

Anti-monotonicity:

Under anti-monotonicity, thresholding produces the same decisions as thresholding

The same decentralized framework remains optimal!

Page 10: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

10

Decentralized Anomaly DetectionThe fusion center receives picks from N sensors. The optimal decision rule is the hypothesis test:

Page 11: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

11

Decentralized Anomaly DetectionThe fusion center receives picks from N sensors. The optimal decision rule is the hypothesis test:

True and false pick rates

Page 12: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

12

Controlling False Positive RatesFor rare events, nearly all picks are false positives.

1. False Pick rate2. System-wide False Alarm rate

Doesn’t depend on

controls false pick rate

Controls messages and false alarms without !

Can learn , e.g. online percentile estimation

Page 13: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

13

Detection PerformanceAlso want to maximize detection rate.

False Pick Rate

True

Pic

k Ra

te

Sensor ROC curve

Page 14: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

14

Detection PerformanceAlso want to maximize detection rate.

Miss rate False alarm rate

Fusion Center ROC curve

False Alarm RateDe

tecti

on R

ate

max

Optimizes fusion threshold under constraints, but requires sensor operating point

Page 15: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

15

Lower-bounding DetectionDon’t know sensor true pick rate , but can lower bound

Sensor ROC curve Fusion Center ROC curve

Lower bound Lower bound

Sensor bound gives lower bound on fusion detection rate.

Page 16: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

16

max

Joint Threshold Optimization

False Pick Rate

True

Pic

k Ra

te

Sensor ROC curve

Maximize detection performance, under constraints on sensor messages and system false alarm rate

max

A

B

C

Dete

ction

Rat

e

False Alarm Rate

Fusion Center ROC curve

A’

B’

C’

Sensor and Fusion Center thresholds are optimized, e.g. by grid search, subject to false positive constraints

Page 17: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

17

Community Seismic Network (CSN)

Detect and monitor earthquakes using smart phones, USB sensors, and cloud computing.

Page 18: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

18

CSN Applications

Rapid, detailed ShakeMaps block-by-block maps of acceleration guide emergency teams after quake

Detailed subsurface maps Determine subsurface structures and soil conditions that enhance ground shaking.

Images of Fault Rupture

Building/Structure Monitoring

Earthquake early warning tens of seconds of warning

Didyoufeelit.com

Page 19: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

19

Community Sensors

Phidgets, Inc. 16-bit USB accelerometer

Android phones and tablets

Page 20: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

20

CSN Network Overview

GoogleApp Engine

Event Detection

Network Management

Page 21: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

21

App EngineCloud fusion center is Scalable, Secure, Maintainable

Scalable Automatic load balancing creates and destroys instances

Secure Data replicated geographically to different data centers

Maintainable Not our problem!

Design Implications• Sync spatial-temporal data between instances• Loading time of new instances

Page 22: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

22

Implementing Decision RulesImplementing Anomaly Detection on Community Sensors

Page 23: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

23

Sensor Anomaly DetectionImplementing Anomaly Detection on Community Sensors

Sliding Window2.5s5s

• Orient, remove gravity• FFT Coefficients, Moments, Max• PCA linear dimensionality reduction

Feature Vector: Mixture of Gaussians• Cross Validation

CSN-Droid on Market,And demo today

Page 24: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

Phone Detection Performance

False Pick Rate

True

Pic

k Ra

te

STA/LTA

24

Experiment: M5-5.5, 0-40kmSensor pick performance. Phone and Phidget noise overlaid on resampled historic quake recordings.

Phidget Detection Performance

True

Pic

k Ra

te

False Pick Rate

STA/LTAAnomalyDetection

Anomaly Detection

HT

Page 25: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

25

Earthquake Detection in the CloudNo pick Pick

Page 26: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

26

Earthquake Detection in the CloudNo pick Pick

Page 27: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

27

Earthquake Detection in the Cloud

2/5

2/7

1/5

No pick Pick

Page 28: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

28

Earthquake Detection in the Cloud

4/5

5/7

1/5

1/1 2/8

1/5

No pick Pick

Page 29: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

29

Page 30: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

30

Shake Table Validation

Empirically compared sensors and tested pick algorithm on historic M6-8 quakes.

All 6 events triggered picks from the phones

Episensor Phone on table Phone in backpack

Page 31: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

31

Baja 7.2 SimulationApril 4, 2010 Baja M7.2. 60-160km

Anomaly

Anticipated Anomaly Detection

Page 32: The Next Big One : Detecting Earthquakes and Other Rare Events from Community Sensors

32

Conclusions• Decentralized Anomaly Detection for Rare Events.

Be sure to visit the demo!

•Learn decision rules to control messages, false alarms

•Conservative estimates of sensor performance lower bounds system detection rate.

•Network implemented with USB sensors, Android phones, App Engine cloud fusion center.

• Performs well on simulations and shake table experiments.