anomaly detection in the wiper system using a markov modulated poisson distribution

26
Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution Ping Yan Tim Schoenharl Alec Pawling Greg Madey

Upload: blythe

Post on 13-Jan-2016

52 views

Category:

Documents


1 download

DESCRIPTION

Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution. Ping Yan Tim Schoenharl Alec Pawling Greg Madey. Outline. Background WIPER MMPP framework Application Experimental Results Conclusions and Future work. Background. Time Series - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Ping YanTim Schoenharl

Alec PawlingGreg Madey

Page 2: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Outline

Background WIPER MMPP framework Application Experimental Results Conclusions and Future work

Page 3: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Background Time Series

A sequence of observations measured on a continuous time period at time intervals

Example: economy (Stock, financial), weather, medical etc…

Characteristics Data are not independent Displays underlying trends

Page 4: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

WIPER System

Wireless Phone-based Emergency Response System

Functions Detect possible emergencies Improve situational awareness

Cell phone call activities reflect human behavior

Page 5: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Data Characteristics

Two cities: Small city A:

Population – 20,000 Towers – 4 Large city B:

Population – 200,000 Towers – 31

Time Period Jan. 15 – Feb. 12, 2006

Page 6: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Tower Activity

Small City (4 Towers)

Page 7: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Tower Activity

Large City (31 Towers)

Page 8: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

15-Day Time Period Data

Small City

Page 9: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

15-Day Time Period Data

Large City

Page 10: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Observations

Overall call activity of a city are more uniform than a single tower

Call activity for each day displays similar trend

Call activity for each day of the week shares similar behavior

Page 11: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

MMPP Modeling

: Observed Data

: Unobserved Data with normal behavior: Unobserved Data with abnormal behavior

Both and can be modulated as a Poisson Process.

Page 12: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Modeling Normal Data Poisson distribution

Rate Parameter: a function of time

~

Page 13: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Adding Day/hour effects

Associated with Monday, Tuesday … Sunday

: Average rate of the Poisson process over one week

: Time interval, such as minute, half hour, hour etc

Page 14: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Requirements:

: Day effect, indicates the changes over the day of the week: Time of day effect, indicates the changes over the time period j on a given day of i

Page 15: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Day Effect

Page 16: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Time of Day Effect

Page 17: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Prior Distributions for Parameters

Page 18: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Modeling Anomalous Data

is also a Poisson process with rate

Markov process A(t) is used to determine the existence of anomalous events at time t

Page 19: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Continued

Transition probabilities matrix

Page 20: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

MMPP ~ HMM

Typical HMM (Hidden Markov

Model)

MMPP(Markov Modulated Poisson Process)

Page 21: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Apply MCMC

Forward Recursion Calculate conditional

distribution of P( A(t) | N(t) ) Backward Recursion

Draw sample of and Draw Transition Matrix from

Complete Data

Page 22: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Anomaly Detection

Posterior probability of A(t) at each time t is an indicator of anomalies

Apply MCMC algorithm: 50 iterations

Page 23: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Results

Page 24: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Continued

Page 25: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Conclusions

Cell phone data reflects human activities on hourly, daily scale

MMPP provides a method of modeling call activity, and detecting anomalous events

Page 26: Anomaly Detection in the WIPER System using A Markov Modulated Poisson Distribution

Future Work

Apply on longer time period, and investigate monthly and seasonal behavior

Implement MMPP model as part of real time system on streaming data

Incorporate into WIPER system