On the im importance of keywords for the applic lication of Twit itter posts for traffic in incid ident detection
Camille Kamga Anil Yazici Sandeep Mudigonda Wei Hao Nathalie Martinez
1
On the im importance of keywords for the applic lication of Twit - - PowerPoint PPT Presentation
On the im importance of keywords for the applic lication of Twit itter posts for traffic in incid ident detection Camille Kamga Anil Yazici Sandeep Mudigonda Wei Hao Nathalie Martinez 1 Traffic In Incidents Roadway incidents
Camille Kamga Anil Yazici Sandeep Mudigonda Wei Hao Nathalie Martinez
1
1 min less incident duration 4-6 min/vehicle delay saving & 9 gal fuel, 0.7 kg HC, 9 kg CO, 1.3 kg NO) Reduce detection and clearance times
Oak Ridge National Lab Report by Shih-Miao et al., 2004 Texas Transportation Institute, 2012
2
Crowdsourced so socia ial l media ia (T (Twitter) data can an help lp
3
4
Iowa DOT Utah DOT Florida DOT
1.
Information retrieval: query-based 2.
Information extr xtraction: text relevant information
3.
5
Organizational & Personal
6
7
BQE traffic sucks #offtowork…
…
fire by courage. - Henry Van
1. Accident in #Queens… 2. Omg a car crashed into … 3. Waking up early to beat BQE traffic sucks #offtowork… 4. … 5. …
fire by courage. - Henry Van
Dictionaries weighted words Cleaning Twitter API tf-idf Initial Crawled Dataset Potential Dataset ranked for importance Twitter Universe Key words Manually classify raw data into: Relevant (incident-related) & irrelevant Organizational account vs. personal accounts Score tweets using tf-idf “weights” ← importance of words
, ( , ) max , : f t d tf t d f w d w d
, log : N idf t D d D t d
8
1. Accident in #Queens… 2. Omg a car crashed into … 3. Waking up early to beat BQE traffic sucks #offtowork… 4. … 5. …
NB Classifier
Accident in #Queens… Omg a car crashed into … Waking up early to beat BQE traffic sucks #offtowork…
Accident- related
Irrelevant
Geo-code Potential Dataset Classified Geo- coded Dataset Classified Dataset
What is the probability that a tweet is relevant given that it includes “car” and “crash”?
( )
1
| | : ( )
d i
m n i NB
p c p f c P c d P d
Manually coded tweets (train)
9
Account Tweet text Geocode Reported @TotalTraffic NYC Accident cleared in #Queens
Pkwy, stop and go traffic back to x34, delay of 6 mins #traffic
73.6998, -73.6998, 40.5417, …, @sfgiantsfan1 @KTVU there was a high speed crash on Thornton ave in Newark car flipped several times before bursting into flames
37… @511NY Accident with property damage on #US9 NB at Montrose station rd
73.9166, -73.9166, 41.2298, …,
10
Tweet text Geocode Reported Location @TotalTra fficNYC Accident cleared in #Queens on The L.I.E. WB at Douglaston Pkwy, stop and go traffic back to x34, delay of 6 mins #traffic
73.9626, -73.6998,
…, Queens, NY @ @KTVU there was a high speed crash on Thornton ave in Newark car flipped several times before bursting into flames
122.0731, - 121.9876, - 121.9876, 37… Newark, CA
Filtered based on a 20th percentile of normalized tf-idf Organizational tweets Personal tweets Total Organizational dictionary 435 4 439 Personal dictionary 409 49 458 Organizational + personal dictionary 469 18 487
11
Organization accounts Personal accounts "exit "ave" "accident" "lane" "block" "delay" "min" "pkwy" "traffic" "right" "back" "stop" "crash" "clear" "close" "left" "vehicle" "road" "disable" "accident" "just" "car" "traffic" "got" "bridge" "block" "crash" "highway" "thank" "get" "road" "today"
𝑂𝑝𝑠𝑛𝑏𝑚𝑗𝑨𝑓𝑒 𝑢𝑔𝑗𝑒𝑔 𝑇 = 𝑔𝑝𝑠 𝑏𝑚𝑚 𝑢 𝑗𝑜 𝑒 𝑢𝑔𝑗𝑒𝑔 𝑢, 𝑒 𝑢∈𝑇 𝑢
6900 randomly selected public tweets collected using Twitter API. Manually coded raw data: incident-related & irrelevant Organizational vs. personal
12
Relevant tweet Account type Using
+ personal keywords Using
al keywords Using
personal keywords #1 State troopers just blocked the ramps leading from route 138 in Canton
Agency 0.27 0.27 0.8 #2 Omg a car crashed into the paramus Wendy's @amandabootsy http://t.co/C4DwTEIyHN Personal 0.2 0.16 0.4 #3 @crosattto it was a bad wreck that a car went straight into the wall and went up in flames. http://t.co/XCvA7QkAF8 Personal 0.04 0.1 #4 car
fire
Lower level
Verrazano Bridge. 🚚🔦🚓🚩💧 @ Verrazano Bridge Tolls https://t.co/lpEPEGGXWn Personal 0.34 1.5
13
Classifier Accuracy in predicting relevant tweets NBorg 75.6% NBall 85.5% Classifier Accuracy in predicting relevant personal tweets NBorg 50.5% NBall 54% NBper 74.4%
14
Account Tweet text Geocode Reported @TotalTra fficNYC Accident cleared in #Queens on The L.I.E. WB at Douglaston Pkwy, stop and go traffic back to x34, delay of 6 mins #traffic
73.9626, - 73.6998, - 73.6998, 40.5417, …, @511NY Accident with property damage on #US9 NB at Montrose station rd
73.9535, - 73.9166, - 73.9166, 41.2298, …,
15
16
Information Driven Operational
17
18