SlideShare une entreprise Scribd logo
1  sur  44
Mobile Sensor Data, Machine Learning 
and Context 
Twitter: @arguslabs 
© 2014 – info@arguslabs.com
“ Sense, understand and predict the context, behavior 
and mood of your mobile audience ”
Argus has created a platform that enables 
you to build context-aware solutions
Turning sensor data into behavioral, context, 
and emotional awareness 
ARGUS MOBILE SENSING 
SD 
K 
ARGUS 
PLATFORM 
… 
LVL 3 
PROFILE 
S 
LVL 2 
MOMENTS 
LVL 1 
EVENTS
Mobile Profiling 
EVENTS 
Sense and interpret the 
contextual cues of a mobile user 
MOMENTS 
Uncover habits and predict 
human behavior 
PROFILES 
Learn about the ever-changing 
personalities of a 
mobile user 
LAYER 3 
ACTIVENESS 
DRIVING STYLE BEHAVIOUR 
LAYER 2 
ARRIVING AT HOME, WORK, .. 
LAYER 1 
… 
WAKING UP … 
… 
SOCIALNESS 
SLEEPING 
IN A MEETING 
DRIVING (CAR) TRAIN SUBWAY 
WALKING RUNNING 
BUS 
SITTING STANDING 
TRAM MOTORCYCLE 
AIRPLANE BIKING 
BUSY 
BORED TIRED 
LOUD ENVIRONMENT 
ALONE 
HOME 
WORK 
COMPANY 
COMMUTING TYPE 
CHATTY 
CALM 
DRIVING 
BEHAVIOUR 
FOR EXAMPLE PROFILES
ARGUS 
About Argus Labs 
Research Development Architecture Sales
ARGUS 
YOU @ ARGUS 
We are looking to expand our machine learning and data 
research department. Email: vincent.spruyt@arguslabs.com, if 
you.. 
1. Want to work with state-of-the-art machine learning 
2. Find the use cases I’ll present on music and mobility 
fascinating and want to work on this with us. 
3. Most definitely, if you feel you can improve upon what we did 
in these two use cases, or can suggest a better approach
FLEET & 
MOBILITY 
Two case studies 
Detecting 
transport types 
based on low 
level sensor data 
MUSIC & 
MOOD 
Estimating a 
user’s mood 
based on 
acoustic features
Transport type detection 
1. Time series data: accelerometer, gyroscope 
2. Categorical enrichment: road type, train stations, etc. 
3. Missing/partially observable data: GPS locations 
4. Small data! 
HOW DO WE SOLVE THIS?
Transport type detection 
Our general prediction pipeline 
Pre-processing Feature calculation Data abstraction 
Post-processing Temporal smoothing Temporal prediction
Transport type detection 
Our general prediction pipeline 
Pre-processing Feature calculation Data abstraction 
Post-processing Temporal smoothing Temporal prediction
Prediction pipeline: pre-processing 
1. Remove noise: low-pass filter 
2. Isolate signal components: band-pass filter 
3. Resample and interpolate 
4. Sanity checks: sampling rate, sequence length, etc.
Prediction pipeline: pre-processing 
1. Rotation invariance: PCA 
2. Scale invariance: Whitening 
3. Decorrelation and ICA
Transport type detection 
Our general prediction pipeline 
Pre-processing Feature calculation Data abstraction 
Post-processing Temporal smoothing Temporal prediction
Prediction pipeline: Feature calculation 
1. Periodicity and rhythm 
- Autocorrelation, beats, zero-crossings, etc. 
2. Timbre 
- Spectral envelope 
1. Pitch 
- fundamental frequencies and harmonics 
2. Spectral Flux 
- Temporal spectral behavior 
3. Loudness 
- Power/RMS 
…
Prediction pipeline: Feature calculation 
Deep Learning 
- Convolutional neural network 
- 1D convolutions across frequency axis! 
- Max-pooling and dropout 
=> avoid the curse of dimensionality 
- Automatically discovers important non-linearities 
- Disadvantage: needs lots of training data!
Transport type detection 
Our general prediction pipeline 
Pre-processing Feature calculation Data abstraction 
Post-processing Temporal smoothing Temporal prediction
Prediction pipeline: Data abstraction 
Huge input dimensionality 
- E.g. 6D input data (accelerometer and gyroscope) @50Hz 
- 5-second fragments: 1500D! 
Huge feature space dimensionality 
- ± 500D for each 5-second fragment 
Dimensionality reduction needed! 
- Traditional methods are unsupervised: 
Kernel PCA, SOM, IsoMAP, Spectral clustering, etc.
Prediction pipeline: Data abstraction
Prediction pipeline: Data abstraction 
Idea: 
- Learn non-linear abstraction in a supervised manner 
- E.g. Random Forest, or deep CNN 
- RF output: class probabilities 
- Use these as input features for a temporal classifier
Transport type detection 
Our general prediction pipeline 
Pre-processing Feature calculation Data abstraction 
Post-processing Temporal smoothing Temporal prediction
Prediction pipeline: Temporal prediction 
Goal: 
- Learn temporal correlations between input data (co-adaptations) 
- Cope with missing or partially observable data 
Constraints: 
- Small training dataset! 
- For some features more than 70% missing data 
- Simple imputation techniques won’t work!
Prediction pipeline: Temporal prediction
Prediction pipeline: Temporal prediction
Prediction pipeline: Temporal prediction
Prediction pipeline: Temporal prediction 
BUT…
Prediction pipeline: Results 
Random Forest predictions 
% Biking Bus Car Idle Train Tram Walking 
Biking 66 0 16 0 1 0 17 
Bus 0 54 0 4 13 19 10 
Car 1 5 75 8 2 7 2 
Idle 0 0 0 99 1 0 0 
Train 1 7 0 16 61 13 3 
Tram 2 6 8 14 11 59 1 
Walking 1 4 0 2 4 0 89
Prediction pipeline: Results 
DBN predictions (without location) 
% Biking Bus Car Idle Train Tram Walking 
Biking 89 0 1 0 0 0 10 
Bus 0 60 0 0 26 13 0 
Car 0 7 81 2 0 10 0 
Idle 0 0 0 100 0 0 0 
Train 0 2 0 5 91 2 0 
Tram 0 3 2 0 11 84 0 
Walking 0 4 0 2 0 0 94
Prediction pipeline: Results 
DBN predictions (with location) 
% Biking Bus Car Idle Train Tram Walking 
Biking 87 0 12 0 0 0 1 
Bus 0 75 0 0 10 14 0 
Car 0 4 89 1 1 6 0 
Idle 0 0 0 98 2 0 0 
Train 0 2 0 2 95 1 0 
Tram 0 3 0 0 7 90 0 
Walking 0 1 0 5 0 0 95
Automatic tracking of 
automotive journeys 
• Start and stop time 
• Traveled distance 
• Time and duration 
• Way points 
Contextual driver 
profiles through 
clustering techniques 
• Long term driver 
profile classifications 
• Real time anomaly 
detections 
Reliable 
differentiation 
between multiple 
cars used 
(Bluetooth, frequency, 
charger, USB, …) 
Back-end SAAS 
platform providing 
extensive API, reports 
and dashboard 
Track changes for 
individuals, groups and 
vehicles
EXTERNAL CONTEXTUAL INFLUENCERS 
WEATHER 
TIME OF 
DAY 
BASE EVENTS 
ROAD 
TYPES 
TRAFFIC 
BRAKE STOP LANE CHANGE TURN ACCELERATE 
BEHAVIOURAL INFLUENCERS (OPTIONAL) 
SPEED 
LIMITS 
STOP 
LIGHTS 
VEHICLE 
TYPES 
VEHICLE 
CONDITION 
Examples of human behaviour and mindset that we can take into account are phone interaction and usage, 
alertness and stress, schedule, amount of time slept, ..
LEFT LANE 
DRIVER 
These drivers 
consistently 
opt for the fast 
lane. 
ZEN 
DRIVER 
Courteous and 
calm. Nobody 
more pleasant 
to encounter 
on the road. 
THE 
TAILGATER 
Let us hope 
the person in 
front does not 
decide to hit 
the breaks. 
ASOCIAL 
DRIVER 
Familiar to all 
of us, these 
drivers that do 
not realize 
there are 
others on the 
road as well. 
LANE 
SWITCHER 
Left, right, 
left.. . Then 
right seems 
faster. Maybe 
middle lane 
now? 
10% 
DRIVER 
At least 
there’s 
consistency in 
their 
speeding. An 
average 10% 
above the 
limit.
FLEET & 
MOBILITY 
Two case studies 
Detecting 
transport types 
based on low 
level sensor data 
MUSIC & 
MOOD 
Estimating a 
user’s mood 
based on 
acoustic features
Music is Emotion 
= :-) 
or :-( or ^^ or -.- or (°_°) or …
Music & Mood 
AMPLITUDE PITCH MELODY TEMPO RHYTHM
Music & Mood 
Ascending higher-pitch sequences vs Descending lower-pitch sequences 
:-) 
:-(
Music & Mood 
RESEARCH QUESTIONS 
Are emotions encapsulated in a raw music signal? 
How can we automatically label millions of songs?
Music & Mood 
VALENCE 
AROUSAL 
ACTIVATION 
Stressed 
ANGRY HAPPY 
UNPLEASANT PLEASANT 
RELAXED 
DEACTIVATION 
Upset 
Tense Excited 
Clated 
Serene 
Calm 
Fatigued 
Depressed 
SAD
Music & Mood 
DEMO
Music & Mood 
Research questions: 
1. Are emotions encapsulated in a raw music signal? 
2. How can we automatically label millions of songs?
Music & Mood 
Transfer learning: 
1. For 200 songs, we have per-second valence/arousal data 
-> Learned a prediction model based on this 
2. For 1 million songs, we only have meta-data 
-> Tags (e.g. ‘happy’, ‘sleepy’, ‘metal’, ‘super’, ‘cool’) 
3. For 100 songs, we have both! 
-> Transfer knowledge from 1 to 2 using LSA
Music & Mood 
Latent Semantic Analysis:
Music & Mood 
Transfer knowledge: 
1. For each of the 1 million song 
1. Find KNN of the 200 songs in latent space (cosine distance) 
2. Interpolate 
DEMO
Conclusion 
1. Sensors are everywhere! 
2. Context can improve almost any service, e.g. 
1. Media recommendation 
2. Insurance: driving behavior 
3. Fleet and mobility 
4. Advertising 
3. We are hiring the best! 
2. Data scientists and machine learning specialists 
3. Big data analysts and architects

Contenu connexe

Similaire à Mobile Sensor Data, Machine Learning and Context (Strata 2014)

Automotive LIDAR - OSRAM Presentation at Electronica 2018
Automotive LIDAR - OSRAM Presentation at Electronica 2018Automotive LIDAR - OSRAM Presentation at Electronica 2018
Automotive LIDAR - OSRAM Presentation at Electronica 2018Rajeev Thakur, P.E.
 
Listen to the Pulse of the City
Listen to the Pulse of the CityListen to the Pulse of the City
Listen to the Pulse of the CityDr. Mazlan Abbas
 
Artificial Passenger Sulbha
Artificial Passenger   SulbhaArtificial Passenger   Sulbha
Artificial Passenger SulbhaSulbha Bakshi
 
A Sleep Preventive Device in Cars
A Sleep Preventive Device in CarsA Sleep Preventive Device in Cars
A Sleep Preventive Device in CarsMohammed Iqbal
 
Online/Offline Lane Change Events Detection Algorithms
Online/Offline Lane Change Events Detection AlgorithmsOnline/Offline Lane Change Events Detection Algorithms
Online/Offline Lane Change Events Detection AlgorithmsFeras Tanan
 
Artificial Passenger
Artificial PassengerArtificial Passenger
Artificial Passengerpriyanka kini
 
Embedded system-in-automobile
Embedded system-in-automobileEmbedded system-in-automobile
Embedded system-in-automobileSiddharth Sanskar
 
Award winning Prompt v1.0 by Proxpro
Award winning Prompt v1.0 by ProxproAward winning Prompt v1.0 by Proxpro
Award winning Prompt v1.0 by ProxproJulian Bourne
 
T drive enhancing driving directions with taxi drivers’ intelligence
T drive enhancing driving directions with taxi drivers’ intelligenceT drive enhancing driving directions with taxi drivers’ intelligence
T drive enhancing driving directions with taxi drivers’ intelligenceJPINFOTECH JAYAPRAKASH
 
FULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CAR
FULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CARFULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CAR
FULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CARGokul Gopi
 
Alibaba Cloud’s ET City Brain - Empowering Cities to Think
Alibaba Cloud’s ET City Brain - Empowering Cities to ThinkAlibaba Cloud’s ET City Brain - Empowering Cities to Think
Alibaba Cloud’s ET City Brain - Empowering Cities to ThinkAlibaba Cloud
 
Autonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial IntelligenceAutonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial IntelligenceWiley Jones
 

Similaire à Mobile Sensor Data, Machine Learning and Context (Strata 2014) (20)

Epma 022
Epma 022Epma 022
Epma 022
 
Artificialpassenger
ArtificialpassengerArtificialpassenger
Artificialpassenger
 
Automotive LIDAR - OSRAM Presentation at Electronica 2018
Automotive LIDAR - OSRAM Presentation at Electronica 2018Automotive LIDAR - OSRAM Presentation at Electronica 2018
Automotive LIDAR - OSRAM Presentation at Electronica 2018
 
Listen to the Pulse of the City
Listen to the Pulse of the CityListen to the Pulse of the City
Listen to the Pulse of the City
 
Artificial Passenger Sulbha
Artificial Passenger   SulbhaArtificial Passenger   Sulbha
Artificial Passenger Sulbha
 
vinay 155.pptx
vinay 155.pptxvinay 155.pptx
vinay 155.pptx
 
A Sleep Preventive Device in Cars
A Sleep Preventive Device in CarsA Sleep Preventive Device in Cars
A Sleep Preventive Device in Cars
 
Online/Offline Lane Change Events Detection Algorithms
Online/Offline Lane Change Events Detection AlgorithmsOnline/Offline Lane Change Events Detection Algorithms
Online/Offline Lane Change Events Detection Algorithms
 
AUTONOMOUS VEHICLES 2.pdf
AUTONOMOUS VEHICLES 2.pdfAUTONOMOUS VEHICLES 2.pdf
AUTONOMOUS VEHICLES 2.pdf
 
Artificial Passenger
Artificial PassengerArtificial Passenger
Artificial Passenger
 
Embedded system-in-automobile
Embedded system-in-automobileEmbedded system-in-automobile
Embedded system-in-automobile
 
Award winning Prompt v1.0 by Proxpro
Award winning Prompt v1.0 by ProxproAward winning Prompt v1.0 by Proxpro
Award winning Prompt v1.0 by Proxpro
 
T drive enhancing driving directions with taxi drivers’ intelligence
T drive enhancing driving directions with taxi drivers’ intelligenceT drive enhancing driving directions with taxi drivers’ intelligence
T drive enhancing driving directions with taxi drivers’ intelligence
 
Guide cane
Guide caneGuide cane
Guide cane
 
FULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CAR
FULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CARFULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CAR
FULLY AUTONOMOUS DRIVERLESS CARS : GOOGLE CAR
 
Smart car
Smart carSmart car
Smart car
 
Sazz
SazzSazz
Sazz
 
40120130406016
4012013040601640120130406016
40120130406016
 
Alibaba Cloud’s ET City Brain - Empowering Cities to Think
Alibaba Cloud’s ET City Brain - Empowering Cities to ThinkAlibaba Cloud’s ET City Brain - Empowering Cities to Think
Alibaba Cloud’s ET City Brain - Empowering Cities to Think
 
Autonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial IntelligenceAutonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
 

Dernier

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Dernier (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Mobile Sensor Data, Machine Learning and Context (Strata 2014)

  • 1. Mobile Sensor Data, Machine Learning and Context Twitter: @arguslabs © 2014 – info@arguslabs.com
  • 2. “ Sense, understand and predict the context, behavior and mood of your mobile audience ”
  • 3. Argus has created a platform that enables you to build context-aware solutions
  • 4. Turning sensor data into behavioral, context, and emotional awareness ARGUS MOBILE SENSING SD K ARGUS PLATFORM … LVL 3 PROFILE S LVL 2 MOMENTS LVL 1 EVENTS
  • 5. Mobile Profiling EVENTS Sense and interpret the contextual cues of a mobile user MOMENTS Uncover habits and predict human behavior PROFILES Learn about the ever-changing personalities of a mobile user LAYER 3 ACTIVENESS DRIVING STYLE BEHAVIOUR LAYER 2 ARRIVING AT HOME, WORK, .. LAYER 1 … WAKING UP … … SOCIALNESS SLEEPING IN A MEETING DRIVING (CAR) TRAIN SUBWAY WALKING RUNNING BUS SITTING STANDING TRAM MOTORCYCLE AIRPLANE BIKING BUSY BORED TIRED LOUD ENVIRONMENT ALONE HOME WORK COMPANY COMMUTING TYPE CHATTY CALM DRIVING BEHAVIOUR FOR EXAMPLE PROFILES
  • 6. ARGUS About Argus Labs Research Development Architecture Sales
  • 7. ARGUS YOU @ ARGUS We are looking to expand our machine learning and data research department. Email: vincent.spruyt@arguslabs.com, if you.. 1. Want to work with state-of-the-art machine learning 2. Find the use cases I’ll present on music and mobility fascinating and want to work on this with us. 3. Most definitely, if you feel you can improve upon what we did in these two use cases, or can suggest a better approach
  • 8. FLEET & MOBILITY Two case studies Detecting transport types based on low level sensor data MUSIC & MOOD Estimating a user’s mood based on acoustic features
  • 9. Transport type detection 1. Time series data: accelerometer, gyroscope 2. Categorical enrichment: road type, train stations, etc. 3. Missing/partially observable data: GPS locations 4. Small data! HOW DO WE SOLVE THIS?
  • 10. Transport type detection Our general prediction pipeline Pre-processing Feature calculation Data abstraction Post-processing Temporal smoothing Temporal prediction
  • 11. Transport type detection Our general prediction pipeline Pre-processing Feature calculation Data abstraction Post-processing Temporal smoothing Temporal prediction
  • 12. Prediction pipeline: pre-processing 1. Remove noise: low-pass filter 2. Isolate signal components: band-pass filter 3. Resample and interpolate 4. Sanity checks: sampling rate, sequence length, etc.
  • 13. Prediction pipeline: pre-processing 1. Rotation invariance: PCA 2. Scale invariance: Whitening 3. Decorrelation and ICA
  • 14. Transport type detection Our general prediction pipeline Pre-processing Feature calculation Data abstraction Post-processing Temporal smoothing Temporal prediction
  • 15. Prediction pipeline: Feature calculation 1. Periodicity and rhythm - Autocorrelation, beats, zero-crossings, etc. 2. Timbre - Spectral envelope 1. Pitch - fundamental frequencies and harmonics 2. Spectral Flux - Temporal spectral behavior 3. Loudness - Power/RMS …
  • 16. Prediction pipeline: Feature calculation Deep Learning - Convolutional neural network - 1D convolutions across frequency axis! - Max-pooling and dropout => avoid the curse of dimensionality - Automatically discovers important non-linearities - Disadvantage: needs lots of training data!
  • 17. Transport type detection Our general prediction pipeline Pre-processing Feature calculation Data abstraction Post-processing Temporal smoothing Temporal prediction
  • 18. Prediction pipeline: Data abstraction Huge input dimensionality - E.g. 6D input data (accelerometer and gyroscope) @50Hz - 5-second fragments: 1500D! Huge feature space dimensionality - ± 500D for each 5-second fragment Dimensionality reduction needed! - Traditional methods are unsupervised: Kernel PCA, SOM, IsoMAP, Spectral clustering, etc.
  • 20. Prediction pipeline: Data abstraction Idea: - Learn non-linear abstraction in a supervised manner - E.g. Random Forest, or deep CNN - RF output: class probabilities - Use these as input features for a temporal classifier
  • 21. Transport type detection Our general prediction pipeline Pre-processing Feature calculation Data abstraction Post-processing Temporal smoothing Temporal prediction
  • 22. Prediction pipeline: Temporal prediction Goal: - Learn temporal correlations between input data (co-adaptations) - Cope with missing or partially observable data Constraints: - Small training dataset! - For some features more than 70% missing data - Simple imputation techniques won’t work!
  • 26. Prediction pipeline: Temporal prediction BUT…
  • 27. Prediction pipeline: Results Random Forest predictions % Biking Bus Car Idle Train Tram Walking Biking 66 0 16 0 1 0 17 Bus 0 54 0 4 13 19 10 Car 1 5 75 8 2 7 2 Idle 0 0 0 99 1 0 0 Train 1 7 0 16 61 13 3 Tram 2 6 8 14 11 59 1 Walking 1 4 0 2 4 0 89
  • 28. Prediction pipeline: Results DBN predictions (without location) % Biking Bus Car Idle Train Tram Walking Biking 89 0 1 0 0 0 10 Bus 0 60 0 0 26 13 0 Car 0 7 81 2 0 10 0 Idle 0 0 0 100 0 0 0 Train 0 2 0 5 91 2 0 Tram 0 3 2 0 11 84 0 Walking 0 4 0 2 0 0 94
  • 29. Prediction pipeline: Results DBN predictions (with location) % Biking Bus Car Idle Train Tram Walking Biking 87 0 12 0 0 0 1 Bus 0 75 0 0 10 14 0 Car 0 4 89 1 1 6 0 Idle 0 0 0 98 2 0 0 Train 0 2 0 2 95 1 0 Tram 0 3 0 0 7 90 0 Walking 0 1 0 5 0 0 95
  • 30. Automatic tracking of automotive journeys • Start and stop time • Traveled distance • Time and duration • Way points Contextual driver profiles through clustering techniques • Long term driver profile classifications • Real time anomaly detections Reliable differentiation between multiple cars used (Bluetooth, frequency, charger, USB, …) Back-end SAAS platform providing extensive API, reports and dashboard Track changes for individuals, groups and vehicles
  • 31. EXTERNAL CONTEXTUAL INFLUENCERS WEATHER TIME OF DAY BASE EVENTS ROAD TYPES TRAFFIC BRAKE STOP LANE CHANGE TURN ACCELERATE BEHAVIOURAL INFLUENCERS (OPTIONAL) SPEED LIMITS STOP LIGHTS VEHICLE TYPES VEHICLE CONDITION Examples of human behaviour and mindset that we can take into account are phone interaction and usage, alertness and stress, schedule, amount of time slept, ..
  • 32. LEFT LANE DRIVER These drivers consistently opt for the fast lane. ZEN DRIVER Courteous and calm. Nobody more pleasant to encounter on the road. THE TAILGATER Let us hope the person in front does not decide to hit the breaks. ASOCIAL DRIVER Familiar to all of us, these drivers that do not realize there are others on the road as well. LANE SWITCHER Left, right, left.. . Then right seems faster. Maybe middle lane now? 10% DRIVER At least there’s consistency in their speeding. An average 10% above the limit.
  • 33. FLEET & MOBILITY Two case studies Detecting transport types based on low level sensor data MUSIC & MOOD Estimating a user’s mood based on acoustic features
  • 34. Music is Emotion = :-) or :-( or ^^ or -.- or (°_°) or …
  • 35. Music & Mood AMPLITUDE PITCH MELODY TEMPO RHYTHM
  • 36. Music & Mood Ascending higher-pitch sequences vs Descending lower-pitch sequences :-) :-(
  • 37. Music & Mood RESEARCH QUESTIONS Are emotions encapsulated in a raw music signal? How can we automatically label millions of songs?
  • 38. Music & Mood VALENCE AROUSAL ACTIVATION Stressed ANGRY HAPPY UNPLEASANT PLEASANT RELAXED DEACTIVATION Upset Tense Excited Clated Serene Calm Fatigued Depressed SAD
  • 39. Music & Mood DEMO
  • 40. Music & Mood Research questions: 1. Are emotions encapsulated in a raw music signal? 2. How can we automatically label millions of songs?
  • 41. Music & Mood Transfer learning: 1. For 200 songs, we have per-second valence/arousal data -> Learned a prediction model based on this 2. For 1 million songs, we only have meta-data -> Tags (e.g. ‘happy’, ‘sleepy’, ‘metal’, ‘super’, ‘cool’) 3. For 100 songs, we have both! -> Transfer knowledge from 1 to 2 using LSA
  • 42. Music & Mood Latent Semantic Analysis:
  • 43. Music & Mood Transfer knowledge: 1. For each of the 1 million song 1. Find KNN of the 200 songs in latent space (cosine distance) 2. Interpolate DEMO
  • 44. Conclusion 1. Sensors are everywhere! 2. Context can improve almost any service, e.g. 1. Media recommendation 2. Insurance: driving behavior 3. Fleet and mobility 4. Advertising 3. We are hiring the best! 2. Data scientists and machine learning specialists 3. Big data analysts and architects