Suman Nath Microsoft Research. Continuous Context-Aware Apps Continuous sensing of user’s context How much do I jog? Monitor indoor location Alert when.

Slides:



Advertisements
Similar presentations
GAMPS COMPRESSING MULTI SENSOR DATA BY GROUPING & AMPLITUDE SCALING
Advertisements

Arnd Christian König Venkatesh Ganti Rares Vernica Microsoft Research Entity Categorization Over Large Document Collections.
Mining Compressed Frequent- Pattern Sets Dong Xin, Jiawei Han, Xifeng Yan, Hong Cheng Department of Computer Science University of Illinois at Urbana-Champaign.
F AST A PPROXIMATE C ORRELATION FOR M ASSIVE T IME - SERIES D ATA SIGMOD’10 Abdullah Mueen, Suman Nath, Jie Liu 1.
VTrack: Accurate, Energy-Aware Road Traffic Delay Estimation Using Mobile Phones Arvind Thiagarajan, Lenin Ravindranath, Katrina LaCurts, Sivan Toledo,
FixtureFinder: Discovering the Existence of Electrical and Water Fixtures Vijay Srinivasan*, John Stankovic, Kamin Whitehouse University of Virginia *(Currently.
Optimizing Sensor Data Acquisition for Energy-Efficient Smartphone-based Continuous Event Processing LIM Lip Yeow University of Hawai`i at M ā noa Archan.
David Chu--UC Berkeley Amol Deshpande--University of Maryland Joseph M. Hellerstein--UC Berkeley Intel Research Berkeley Wei Hong--Arched Rock Corp. Approximate.
ACE: Exploiting Correlation for Energy-Efficient and Continuous Context Sensing Suman Nath Microsoft Research MobiSys 2012 Presenter: Jeffrey.
Forwarding Redundancy in Opportunistic Mobile Networks: Investigation and Elimination Wei Gao 1, Qinghua Li 2 and Guohong Cao 3 1 The University of Tennessee,
Online Performance Auditing Using Hot Optimizations Without Getting Burned Jeremy Lau (UCSD, IBM) Matthew Arnold (IBM) Michael Hind (IBM) Brad Calder (UCSD)
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
Performance Analysis And Visualization By:Mehdi Semsarzadeh Chapter 15.
TRADING OFF PREDICTION ACCURACY AND POWER CONSUMPTION FOR CONTEXT- AWARE WEARABLE COMPUTING Presented By: Jeff Khoshgozaran.
Improving Energy Efficiency of Location Sensing on Smartphones Kyu-Han Kim and Jatinder Pal Singh Deutsche Telekom Inc. R&D Lab USA Zhenyun Zhuang Georgia.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies Dilley, J.; Arlitt, M. A journal paper of IEEE Internet Computing, Volume: 3.
Abdullah Mueen UC Riverside Suman Nath Microsoft Research Jie Liu Microsoft Research.
Chad A. Williams † Peter C. Nelson Abolfazl (Kouros) Mohammadian University of Illinois at Chicago Department of Computer Science Colloquium July 16th,
EnLoc: Energy-Efficient Localization for Mobile Phones Written By, Ionut Constandache (Duke), Shravan Gaonkar (UIUC), Matt Sayler (Duke), Romit Roy Choudhary.
Approximate data collection in sensor networks the appeal of probabilistic models David Chu Amol Deshpande Joe Hellerstein Wei Hong ICDE 2006 Atlanta,
Michael Ernst, page 1 Improving Test Suites via Operational Abstraction Michael Ernst MIT Lab for Computer Science Joint.
Web Caching Robert Grimm New York University. Before We Get Started  Illustrating Results  Type Theory 101.
Research Directions for the Internet of Things Supervised by: Dr. Nouh Sabry Presented by: Ahmed Mohamed Sayed.
Unconstrained Endpoint Profiling (Googling the Internet)‏ Ionut Trestian Supranamaya Ranjan Aleksandar Kuzmanovic Antonio Nucci Northwestern University.
Text Mining: Finding Nuggets in Mountains of Textual Data Jochen Dijrre, Peter Gerstl, Roland Seiffert Presented by Drew DeHaas.
Diversity in Smartphone Usage Hossein Falaki, Ratul mahajan, Srikanth kandula, Dimitrios Lymberopoulous, Ramesh Govindan, Deborah Estrin. UCLA, Microsoft,
A Survey of Mobile Phone Sensing Michael Ruffing CS 495.
Scalable Approximate Query Processing through Scalable Error Estimation Kai Zeng UCLA Advisor: Carlo Zaniolo 1.
Personalized Medicine Research at the University of Rochester Henry Kautz Department of Computer Science.
Sensys 2009 Speaker:Lawrence.  Introduction  Overview & Challenges  Algorithm  Travel Time Estimation  Evaluation  Conclusion.
Ambulation : a tool for monitoring mobility over time using mobile phones Computational Science and Engineering, CSE '09. International Conference.
Unsupervised Learning. CS583, Bing Liu, UIC 2 Supervised learning vs. unsupervised learning Supervised learning: discover patterns in the data that relate.
APT: Accurate Outdoor Pedestrian Tracking with Smartphones TsungYun
Christian Le, Intel (Rahul Khanna, Intel and Huaping Liu, OSU)
Code In The Air: Simplifying Tasking on Smartphones Lenin Ravindranath, Arvind Thiagarajan, Hari Balakrishnan, Sam Madden Massachusetts Institute of Technology.
Wei Gao1 and Qinghua Li2 1The University of Tennessee, Knoxville
Optimizing Sensor Data Acquisition for Energy-Efficient Smartphone-based Continuous Event Processing Lipyeow Lim University of Hawai`i at M ā noa Archan.
Repetition Counting With Microsoft Kinect Presented by: Jonathan Gurary Dai Jun.
1 Energy-efficient Localization Via Personal Mobility Profiling Ionut Constandache Co-authors: Shravan Gaonkar, Matt Sayler, Romit Roy Choudhury and Landon.
SixthSense RFID based Enterprise Intelligence Lenin Ravindranath, Venkat Padmanabhan Interns: Piyush Agrawal (IITK), SriKrishna (BITS Pilani)
GEOREMINDERS ANDROID APPLICATION BY: ADRIENNE KECK.
Energy Efficient Location Sensing Brent Horine March 30, 2011.
Midterm Stats Min: 16/38 (42%) Max: 36.5/38 (96%) Average: 29.5/36 (78%)
Performance Prediction for Random Write Reductions: A Case Study in Modelling Shared Memory Programs Ruoming Jin Gagan Agrawal Department of Computer and.
Tracking Irregularly Moving Objects based on Alert-enabling Sensor Model in Sensor Networks 1 Chao-Chun Chen & 2 Yu-Chi Chung Dept. of Information Management.
Chapter 15: Analytical evaluation. Inspections Heuristic evaluation Walkthroughs.
Chapter 15: Analytical evaluation Q1, 2. Inspections Heuristic evaluation Walkthroughs Start Q3 Reviewers tend to use guidelines, heuristics and checklists.
INFERRING HUMAN ACTIVITY FROM GPS TRACKS Sun Simiao.
Replicating Memory Behavior for Performance Skeletons Aditya Toomula PC-Doctor Inc. Reno, NV Jaspal Subhlok University of Houston Houston, TX By.
Project Sharing  Team discussions (15 minutes) –Share results of your work on the Project Scope Proposal –Discuss your choice of methods and results –Prepare.
BlinkDB: Queries with Bounded Errors and Bounded Response Times on Very Large Data ACM EuroSys 2013 (Best Paper Award)
Rule based Context Sensing. Background Context sensing – Sensors in smartphone – Reacts based on operating condition Example – Location based reminder,
Eduardo Cuervo – Duke University Aruna Balasubramanian - University of Massachusetts Amherst Dae-ki Cho - UCLA Alec Wolman, Stefan Saroiu, Ranveer Chandra,
I Am the Antenna Accurate Outdoor AP Location Using Smartphones Zengbin Zhang†, Xia Zhou†, Weile Zhang†§, Yuanyang Zhang†, Gang Wang†, Ben Y. Zhao† and.
Energy Efficient Prefetching and Caching Athanasios E. Papathanasiou and Michael L. Scott. University of Rochester Proceedings of 2004 USENIX Annual Technical.
NC-BSI: TASK 3.5: Reduction of False Alarm Rates from Fused Data Problem Statement/Objectives Research Objectives Intelligent fusing of data from hybrid.
Ellis Paul Technical Solution Specialist – System Center Microsoft UK Operations Manager Overview.
Enhancing Mobile Apps to Use Sensor Hubs without Programmer Effort Haichen Shen, Aruna Balasubramanian, Anthony LaMarca, David Wetherall 1.
Efficient Opportunistic Sensing using Mobile Collaborative Platform MOSDEN.
TRACE ANALYSIS AND MINING FOR SMART CITIES By G. Pan Zhejiang Univ., Hangzhou, China G. Qi ; W. Zhang ; S. Li ; Z. Wu ; L. T. Yang.
Chapter 6 Activity Recognition from Trajectory Data Yin Zhu, Vincent Zheng and Qiang Yang HKUST November 2011.
More Security and Programming Language Work on SmartPhones Karthik Dantu and Steve Ko.
Building Enterprise Applications Using Visual Studio®
MobileMiner: Mining Your Frequent Behavior Patterns On Your Phone
Harini Kolamunna Yining Hu Diego Perino Kanchana Thilakarathna
Ayon Chakraborty, Udit Gupta and Samir R. Das WINGS Lab
Context Sensing.
Vijay Srinivasan Thomas Phan
Case Study: Choosing an Exercise Mode in a Heart Rate Monitor
Presentation transcript:

Suman Nath Microsoft Research

Continuous Context-Aware Apps Continuous sensing of user’s context How much do I jog? Monitor indoor location Alert when at grocery shop Mute phone in meeting Custom message on driving Jog TrackerPhone BuddyGeo-ReminderBatphonePhone Buddy

Sensing Context is Expensive ContextSensorsSensing Energy (mJ) IsWalking, IsDriving, IsJogging, IsSitting Accelerometer (10 sec) AtHome, AtOfficeWiFi IsIndoorGPS + WiFi IsAloneMic (10 sec) InMeeting, IsWorking WiFi + Mic (10 sec) Three orders of magnitude difference

Sensing Context is Expensive Three orders of magnitude difference – Some apps limit how long to sense Our goal: push the limit

Our Approach Approach: Opportunistically infer expensive attributes from cheap attributes – Similar to ‘strength reduction’ in compiles Conjecture: Relationship of expensive and cheap attributes can be learnt automatically Intuition: Human activities constrained by physical constraints – Behavior invariants: Driving implies Not At Home ACE: Acquisitional Context Engine Low-energy continuous sensing middleware

ACE Big Picture Raw Sensor Data ACE App1App2App4App3 Get(attribute)

ACE Big Picture Raw Sensor Data App1App2App4 Running AtHomeInMeetingDrivingRunning Correlation Miner Driving   AtHome Running   InMeeting Correlation Miner Driving   AtHome Running   InMeeting App3 Get(attribute) Contexters Get(Driving) =True Sensing Inference Cache Driving Inference Cache Driving

ACE Big Picture Raw Sensor Data App1App2App4 Inference Cache Driving Inference Cache Driving Running AtHomeInMeetingDrivingRunning Correlation Miner Driving   AtHome Running   InMeeting Correlation Miner Driving   AtHome Running   InMeeting Hit App3 Get(Driving) Get(AtHome) =True =False Sensing Get(attribute) Contexters Inference Hit

ACE Big Picture Raw Sensor Data App1App2App4 Inference Cache Running Inference Cache Running AtHomeInMeetingDrivingRunning Speculative Sensing Correlation Miner Driving   AtHome Running   InMeeting Correlation Miner Driving   AtHome Running   InMeeting Hit App3 Get(Driving) Get(AtHome)Get(InMeeting) =True =False miss Sensing Get(attribute) Contexters Proxy sensing Inference Hit

ACE Big Picture Raw Sensor Data App1App2App4 Inference Cache Running Inference Cache Running AtHomeInMeetingDrivingRunning Speculative Sensing Rule Miner Driving   AtHome Running   InMeeting Rule Miner Driving   AtHome Running   InMeeting Hit App3 Get(Driving) Get(AtHome)Get(InMeeting) =True =False miss Sensing Get(attribute) Contexters Proxy sensing Inference Hit Automatic process No semantic meaning needed Easy to extend with new Contexters

Key Questions Feasibility: Do useful correlations exist and can they be efficiently learnt? System design: How to systematically exploit the correlations? Effectiveness: How much energy savings?

Disclaimers Not for apps requiring 100% accurate contexts – Experiments show ~4% inaccuracy Current prototype – Boolean attributes (categorical attributes) – Uses correlations at the same time E.g., Driving  Not at home Ignores temporal aspects of rules

Feasibility: Datasets Context Attributes Location: AtHome, InOffice, IsIndoor, Task: InMeeting, IsWorking, IsUsingApp, IsCalling, Transportation mode: IsWalking, IsBiking, IsDriving, IsSitting, Group: IsAlone 95 students and staffs at MIT Nokia 6600 phones, min/avg/max: 14/122/269 days 95 students and staffs at MIT Nokia 6600 phones, min/avg/max: 14/122/269 days 10 interns and researchers Android phones min/avg/max: 5/14/30 days 10 interns and researchers Android phones min/avg/max: 5/14/30 days MIT Reality Mining Dataset MSR Dataset …. 10:23:34 amAtHome 10:23:35 amWalking,Outdoor 10:23:36 amDriving,Outdoor 10:23:55 amWalking 10:23:59 amInOffice …. 10:23:34 amAtHome 10:23:35 amWalking,Outdoor 10:23:36 amDriving,Outdoor 10:23:55 amWalking 10:23:59 amInOffice ….

Mining Behavior Invariants …. 10:23:34 amAtHome 10:23:35 amWalking 10:23:36 amDriving 10:23:50 amDriving 10:23:55 amWalking 10:23:59 amInOffice …. 10:23:34 amAtHome 10:23:35 amWalking 10:23:36 amDriving 10:23:50 amDriving 10:23:55 amWalking 10:23:59 amInOffice …. … Driving  Not AtHome {Indoor, Alone, Not AtHome}  InOffice … Driving  Not AtHome {Indoor, Alone, Not AtHome}  InOffice … Rules = Patterns that almost always hold Rules may be person-specific We use association rule mining algorithms Streaming data Capture rare rules (Several hours on phone) Capture rare rules (Several hours on phone) Redundant rules (~700 per person) Redundant rules (~700 per person) Bootstrapping Challenges See the paper for details

Correlation Miner on Two Traces Useful correlations exist in our traces – Avg. ~44 non-redundant rules per person Errors can be kept reasonably low (~ 4%) – Take only rules with high confidence (~ 99%) – Frequent cross-validation (1 in 20)

Key Questions Feasibility: Are there useful rules? Can we learn them? System design: Systematically exploiting correlation – Inference Cache – Speculative Sensing Effectiveness: How much energy savings?

Inference Caching Cache  Alone  Walking  Jogging  Driving Get(Indoor) Indoor  Indoor InMeeting  Indoor InOffice  Indoor AtHome  Indoor Indoor InMeeting AtHomeInOffice OR Sitting  Alone  Driving  Walking  Jogging AND AND-OR Expression Tree Sitting AND  Alone  InMeeting  Driving AND  Walking AND  Jogging  Sitting       

Speculative Sensing Goal: speculatively sense a cheap attribute to determine value of an expensive attribute – Infer AtHome from IsRunning Challenge: – Choose the next attribute to sense If infers target attributes, save energy If not, waste energy – Goal: minimize expected cost Choose attributes with low c and high p  Cost c  Prob p

Speculative Sensing Problem: Select next attributes to sense that minimizes the expected total sensing cost NP Hard in general We provide: (see paper for details) – Dynamic programming : usable for <10 attributes – Heuristic: Fast, close to optimal

Evaluation Setup Effectiveness with MSR and Reality Mining traces Performance on Samsung Focus Win 7 phone How much do I jog? Alert when at grocery shop Mute phone in meeting Three apps Jog Tracker Phone Buddy Geo-Reminder Prototype on Windows Phone

Savings in Sensing Energy Sensing Energy only Sample once per 2 minutes ~4% inaccuracies 4x

End-to-end Latency

Conclusion Useful correlations exist across context attributes ACE uses two key ideas to exploit correlation – Inference caching – Speculative sensing Automatically avoids sensing as much as possible, without requiring semantic information Significant sensing energy savings (4.2x) at the cost of small inaccuracies (~4%)