SlideShare a Scribd company logo
1 of 23
From mobile data to smart life.
• Which data do we collect and what information do we extract
• Transport classifier
• Driving behaviour characterisation
• Driver passenger classification
Overview
• Our clients integrate our SDK in their app
• SDK detects stationaries: sends GPS fix, start/end timestamps
• SDK detects transports: one GPS fix per minute, accelerometer and gyroscope
sensor data
• All processing done on AWS cloud
Data collection
Low-level DATA (GPS+sensors)
Driving behaviour profiling
Aggregate
User profile
For each trip
Transport Classification
• One waypoint per minute
• Timestamps
• Coordinates (GPS+cell tower+wifi)
• Speed
• Accuracy
Waypoints
Sensors
segment trip and classify
Accelerometer
Gyroscope
BIKING WALKING IDLE
Transport data
Transport Classification
Sensor processing
for driving behaviour
Phone orientation alignment
• What we want: longitudinal and lateral car accelerations, angular velocity
x
z
x
z
x
z
y
z
xy
Straight up Mounted In pocket On passenger seat
• What we have: a phone with axes in arbitrary direction
• Align the referential of the phone
with the referential of the car = find
rotation matrix
z
Gravity pull
x
y
x
Gravity pull
x
z
y
z
xyKalman filter
Gravity pull
x
y
x
y
Gradient descent
Phone orientation alignment
z
rotation
matrix
longitudinal
lateral
• Compared externally with high-end inertial measurement units
• As good as 100k $ hardware
accelerations
brakes
left turn
right turn
Driver passenger
classification
Driver vs Passenger - Context based
Home Station Station
Hotel
Office
car
car
car
car
train
train
car
DRIVER
PASSENGER
• Time line chunks with transports between two home stationaries
• Find consistent car cycles = closed loops where each trip starts where
the previous one ended
• If home in cycle -> likely driver, if not passenger
Driver specific model
• Unsupervised approach utilising the derived car signals
• Patterns in signals relate to how one drives
• Learn a model specific for each user characterising her driving style
• Feature extractor must characterise driving style but invariant to road
type, traffic, weather …
• One feature extractor for all user
Sensors from many trips Feature vectors
User-specific
model
Feature
extraction
Feature extraction: transfer learning
• We don’t want to engineer the features -> deep learning approach
• No big labelled car data set annotated with driver or passenger
• Transfer learning: train a network for a task, use if for another
• Classify trips from 1000 users (1000 classes)
• take the output of a dense layer as feature vector = projection to
metric space
Feature extraction: deep learning model
User finger print:
• Acceleration, brake, turn events: short time scale
• Temporal relationship between events
Beyond 30 seconds: road layout and traffic more prominent
Data augmentation (sign, additive and multiplicative noise)
2M parameters
1D convolutions
input 128x1x3
3 channels
Driver vs passenger: visualising the embeddings
• Users with ground truth (not used in the DL training)
• Assumption: most of the time driver
• Passenger are at the edge of the distribution and clustered together
• Build user-specific models using those feature vectors
Blue: driver
Red: passenger
User #1 User #2
Sensors Feature vectorsNetwork
Driver vs passenger: anomaly detection
• Consider passenger trips as outliers: they differ a lot from the user’s average profile
• User model = isolation forest characterising the 50 dimensional feature space
• Use past trips to learn model and distribution (save user features)
precision recall support
passenger 0.66 0.84 25
driver 0.91 0.91 129
avg/total 0.92 0.90 154
Driver vs passenger: universal background model
• Learn a gaussian mixture model for a big population = universal background model
• Learn user model: for each new trip, update the universal model
• Compare log likelihood of both models
precision recall support
passenger 0.72 0.75 24
driver 0.96 0.95 136
avg/total 0.92 0.92 180
Population results and limitations
• Both approaches works best for different users
• For some users, models take longer (need more data) to stabilise
• Combine both approaches: recall=0.73 and precision=0.76 on passenger prediction
• How good is the assumption
• Number of passenger trips received at the beginning of the user model learning
• Harder if passenger trips in the same car
• Harder if driver trips in different cars
Unsupervised driver/passenger classification
Meet the Sentiance team
www.sentiance.com
© 2016

More Related Content

Similar to Bertrand Fontaine - Deep Learning for driver/passenger detection of car trips

automation.pptx
automation.pptxautomation.pptx
automation.pptxSabarDasal
 
Self-Driving Cars With Convolutional Neural Networks (CNN.pptx
Self-Driving Cars With Convolutional Neural Networks (CNN.pptxSelf-Driving Cars With Convolutional Neural Networks (CNN.pptx
Self-Driving Cars With Convolutional Neural Networks (CNN.pptxssuserf79e761
 
KTH-Texxi Project 2010
KTH-Texxi Project 2010KTH-Texxi Project 2010
KTH-Texxi Project 2010Texxi Global
 
Servitization Federica Santuccio
Servitization Federica SantuccioServitization Federica Santuccio
Servitization Federica SantuccioOrkestra
 
Traffic jam detection using image processing
Traffic jam detection using image processingTraffic jam detection using image processing
Traffic jam detection using image processingSai As Sharman
 
Research paper review on car pooling using android operating system a step t...
Research paper review on car pooling using  android operating system a step t...Research paper review on car pooling using  android operating system a step t...
Research paper review on car pooling using android operating system a step t...Akshay Shelake
 
Next level urban mobility steffen schaefer
Next level urban mobility   steffen schaeferNext level urban mobility   steffen schaefer
Next level urban mobility steffen schaeferSteffen Schaefer
 
Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...
Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...
Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...Newton Montano
 
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...Fatima Qayyum
 
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4   session 3 - st dev con 2016 - pedestrian dead reckoningTrack 4   session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoningST_World
 
DEVNET-1145 How APIs are Driving City Digitization
DEVNET-1145	How APIs are Driving City DigitizationDEVNET-1145	How APIs are Driving City Digitization
DEVNET-1145 How APIs are Driving City DigitizationCisco DevNet
 
GIS for traffic signal optimization.
GIS for traffic signal optimization.GIS for traffic signal optimization.
GIS for traffic signal optimization.Vinod Shinde
 
User-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart DrivingUser-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart Drivingamg93
 
Predicting bus arrival time based on participatory mobile phone sensing
Predicting bus arrival time based on participatory mobile phone sensingPredicting bus arrival time based on participatory mobile phone sensing
Predicting bus arrival time based on participatory mobile phone sensingSreeraj Puzhakkattiri
 
On Road Activity Monitoring System
On Road Activity Monitoring SystemOn Road Activity Monitoring System
On Road Activity Monitoring SystemRaj Desai
 
Cloud computing for agent based urban transportation system
Cloud computing for agent based urban transportation systemCloud computing for agent based urban transportation system
Cloud computing for agent based urban transportation systemSujeet Poojari
 
Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...butest
 

Similar to Bertrand Fontaine - Deep Learning for driver/passenger detection of car trips (20)

automation.pptx
automation.pptxautomation.pptx
automation.pptx
 
Self-Driving Cars With Convolutional Neural Networks (CNN.pptx
Self-Driving Cars With Convolutional Neural Networks (CNN.pptxSelf-Driving Cars With Convolutional Neural Networks (CNN.pptx
Self-Driving Cars With Convolutional Neural Networks (CNN.pptx
 
KTH-Texxi Project 2010
KTH-Texxi Project 2010KTH-Texxi Project 2010
KTH-Texxi Project 2010
 
Servitization Federica Santuccio
Servitization Federica SantuccioServitization Federica Santuccio
Servitization Federica Santuccio
 
Traffic jam detection using image processing
Traffic jam detection using image processingTraffic jam detection using image processing
Traffic jam detection using image processing
 
Research paper review on car pooling using android operating system a step t...
Research paper review on car pooling using  android operating system a step t...Research paper review on car pooling using  android operating system a step t...
Research paper review on car pooling using android operating system a step t...
 
Automated vehicle
Automated vehicleAutomated vehicle
Automated vehicle
 
Next level urban mobility steffen schaefer
Next level urban mobility   steffen schaeferNext level urban mobility   steffen schaefer
Next level urban mobility steffen schaefer
 
TFT2.ppt
TFT2.pptTFT2.ppt
TFT2.ppt
 
Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...
Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...
Battery Powered and Hybrid Drive Opportunities in Heavy Duty, Large Capacity,...
 
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
 
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4   session 3 - st dev con 2016 - pedestrian dead reckoningTrack 4   session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoning
 
DEVNET-1145 How APIs are Driving City Digitization
DEVNET-1145	How APIs are Driving City DigitizationDEVNET-1145	How APIs are Driving City Digitization
DEVNET-1145 How APIs are Driving City Digitization
 
GIS for traffic signal optimization.
GIS for traffic signal optimization.GIS for traffic signal optimization.
GIS for traffic signal optimization.
 
User-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart DrivingUser-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart Driving
 
KIPL's Tracking Tracking Solution.
KIPL's Tracking Tracking Solution.KIPL's Tracking Tracking Solution.
KIPL's Tracking Tracking Solution.
 
Predicting bus arrival time based on participatory mobile phone sensing
Predicting bus arrival time based on participatory mobile phone sensingPredicting bus arrival time based on participatory mobile phone sensing
Predicting bus arrival time based on participatory mobile phone sensing
 
On Road Activity Monitoring System
On Road Activity Monitoring SystemOn Road Activity Monitoring System
On Road Activity Monitoring System
 
Cloud computing for agent based urban transportation system
Cloud computing for agent based urban transportation systemCloud computing for agent based urban transportation system
Cloud computing for agent based urban transportation system
 
Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...
 

Recently uploaded

Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 

Recently uploaded (20)

Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 

Bertrand Fontaine - Deep Learning for driver/passenger detection of car trips

  • 1. From mobile data to smart life.
  • 2. • Which data do we collect and what information do we extract • Transport classifier • Driving behaviour characterisation • Driver passenger classification Overview
  • 3. • Our clients integrate our SDK in their app • SDK detects stationaries: sends GPS fix, start/end timestamps • SDK detects transports: one GPS fix per minute, accelerometer and gyroscope sensor data • All processing done on AWS cloud Data collection
  • 7. • One waypoint per minute • Timestamps • Coordinates (GPS+cell tower+wifi) • Speed • Accuracy Waypoints Sensors segment trip and classify Accelerometer Gyroscope BIKING WALKING IDLE Transport data
  • 10. Phone orientation alignment • What we want: longitudinal and lateral car accelerations, angular velocity x z x z x z y z xy Straight up Mounted In pocket On passenger seat • What we have: a phone with axes in arbitrary direction • Align the referential of the phone with the referential of the car = find rotation matrix z Gravity pull x y x Gravity pull x z y z xyKalman filter Gravity pull x y x y Gradient descent
  • 11. Phone orientation alignment z rotation matrix longitudinal lateral • Compared externally with high-end inertial measurement units • As good as 100k $ hardware accelerations brakes left turn right turn
  • 13. Driver vs Passenger - Context based Home Station Station Hotel Office car car car car train train car DRIVER PASSENGER • Time line chunks with transports between two home stationaries • Find consistent car cycles = closed loops where each trip starts where the previous one ended • If home in cycle -> likely driver, if not passenger
  • 14. Driver specific model • Unsupervised approach utilising the derived car signals • Patterns in signals relate to how one drives • Learn a model specific for each user characterising her driving style • Feature extractor must characterise driving style but invariant to road type, traffic, weather … • One feature extractor for all user Sensors from many trips Feature vectors User-specific model Feature extraction
  • 15. Feature extraction: transfer learning • We don’t want to engineer the features -> deep learning approach • No big labelled car data set annotated with driver or passenger • Transfer learning: train a network for a task, use if for another • Classify trips from 1000 users (1000 classes) • take the output of a dense layer as feature vector = projection to metric space
  • 16. Feature extraction: deep learning model User finger print: • Acceleration, brake, turn events: short time scale • Temporal relationship between events Beyond 30 seconds: road layout and traffic more prominent Data augmentation (sign, additive and multiplicative noise) 2M parameters 1D convolutions input 128x1x3 3 channels
  • 17. Driver vs passenger: visualising the embeddings • Users with ground truth (not used in the DL training) • Assumption: most of the time driver • Passenger are at the edge of the distribution and clustered together • Build user-specific models using those feature vectors Blue: driver Red: passenger User #1 User #2 Sensors Feature vectorsNetwork
  • 18. Driver vs passenger: anomaly detection • Consider passenger trips as outliers: they differ a lot from the user’s average profile • User model = isolation forest characterising the 50 dimensional feature space • Use past trips to learn model and distribution (save user features) precision recall support passenger 0.66 0.84 25 driver 0.91 0.91 129 avg/total 0.92 0.90 154
  • 19. Driver vs passenger: universal background model • Learn a gaussian mixture model for a big population = universal background model • Learn user model: for each new trip, update the universal model • Compare log likelihood of both models precision recall support passenger 0.72 0.75 24 driver 0.96 0.95 136 avg/total 0.92 0.92 180
  • 20. Population results and limitations • Both approaches works best for different users • For some users, models take longer (need more data) to stabilise • Combine both approaches: recall=0.73 and precision=0.76 on passenger prediction • How good is the assumption • Number of passenger trips received at the beginning of the user model learning • Harder if passenger trips in the same car • Harder if driver trips in different cars Unsupervised driver/passenger classification
  • 22.