TEMPLATE DESIGN © 2008 www.PosterPresentations.com Detecting User Activities Using the Accelerometer on Android Smartphones Sauvik Das, Supervisor: Adrian.

Slides:



Advertisements
Similar presentations
Data Mining Classification: Alternative Techniques
Advertisements

Using Mobile Phones to Determine Transportation Modes Sasank Reddy, Min Mun, Jeff Burke, D. Estrin, M. Hansen, M. Srivastava TOSN 2010.
Presented by: Tom Staley. About Paper by Emiliano Miluzzo Alexander Varshavsky Suhrid Balakrishnan Romit Roy Choudhury Originally presented at MobiSys2012,
Bayesian Decision Theory
Callers in Tall Buildings Wonsang Song Jae Woo Lee Byung Suk Lee Henning Schulzrinne.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Acquiring traces from random walks Project final presentation By: Yaniv Sabo Aviad Hasnis Supervisor: Daniel Vainsencher.
Image classification Given the bag-of-features representations of images from different classes, how do we learn a model for distinguishing them?
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Applications of Wavelet Transform and Artificial Neural Network in Digital Signal Detection for Indoor Optical Wireless Communication Sujan Rajbhandari.
A Wrapper-Based Approach to Image Segmentation and Classification Michael E. Farmer, Member, IEEE, and Anil K. Jain, Fellow, IEEE.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Image Enhancement.
Chapter 4 (part 2): Non-Parametric Classification
Pattern Recognition. Introduction. Definitions.. Recognition process. Recognition process relates input signal to the stored concepts about the object.
Bayesian Classification with a brief introduction to pattern recognition Modified from slides by Michael L. Raymer, Ph.D.
CS 2750 Project Report Jason D. Bakos. Project Goals Data Sensor readings from 11 different people walking in a controlled environment An accelerometer.
Chapter One Characteristics of Instrumentation بسم الله الرحمن الرحيم.
Inputs to Signal Generation.vi: -Initial Distance (m) -Velocity (m/s) -Chirp Duration (s) -Sampling Info (Sampling Frequency, Window Size) -Original Signal.
Understanding Android Security Yinshu Wu William Enck, Machigar Ongtang, and PatrickMcDaniel Pennsylvania State University.
SoundSense: Scalable Sound Sensing for People-Centric Application on Mobile Phones Hon Lu, Wei Pan, Nocholas D. lane, Tanzeem Choudhury and Andrew T. Campbell.
TEMPLATE DESIGN © The Applications and Dangers of Accelerometers By Michael Murphy Supervisor: Adrian Perrig and CyLab.
Extracting Places and Activities from GPS Traces Using Hierarchical Conditional Random Fields Yong-Joong Kim Dept. of Computer Science Yonsei.
1 Template-Based Classification Method for Chinese Character Recognition Presenter: Tienwei Tsai Department of Informaiton Management, Chihlee Institute.
SoundSense by Andrius Andrijauskas. Introduction  Today’s mobile phones come with various embedded sensors such as GPS, WiFi, compass, etc.  Arguably,
Inferno : Side-channel Attacks for Mobile Web Browsers Manuel Philipose, Matthew Halpern, Pavel Lifshits, Mark Silberstein, Mohit Tiwari Background and.
SurroundSense: Mobile Phone Localization via Ambience Fingerprinting Martin Azizyan, Ionut Constandache, Romit Roy Choudhury Mobicom 2009.
1 An Efficient Classification Approach Based on Grid Code Transformation and Mask-Matching Method Presenter: Yo-Ping Huang Tatung University.
Data mining and machine learning A brief introduction.
Pattern Recognition: Baysian Decision Theory Charles Tappert Seidenberg School of CSIS, Pace University.
Presented by Tienwei Tsai July, 2005
Perception Introduction Pattern Recognition Image Formation
COMMON EVALUATION FINAL PROJECT Vira Oleksyuk ECE 8110: Introduction to machine Learning and Pattern Recognition.
Human Activity Recognition Using Accelerometer on Smartphones
Abstract: Accelerometers As part of the smartphone philosophy, every phone has a wide variety of sensors available to the user. Sensors include light and.
Overview of Supervised Learning Overview of Supervised Learning2 Outline Linear Regression and Nearest Neighbors method Statistical Decision.
Experimental Results ■ Observations:  Overall detection accuracy increases as the length of observation window increases.  An observation window of 100.
Classifiers Given a feature representation for images, how do we learn a model for distinguishing features from different classes? Zebra Non-zebra Decision.
Pattern Recognition April 19, 2007 Suggested Reading: Horn Chapter 14.
TUH EEG Corpus Data Analysis 38,437 files from the Corpus were analyzed. 3,738 of these EEGs do not contain the proper channel assignments specified in.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Advanced Analytics on Hadoop Spring 2014 WPI, Mohamed Eltabakh 1.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Sensors in android. App being more applicable Keeping track of your heart beat while jogging. Pointing the phone camera towards the night sky to know.
Chapter 20 Classification and Estimation Classification – Feature selection Good feature have four characteristics: –Discrimination. Features.
Fast Query-Optimized Kernel Machine Classification Via Incremental Approximate Nearest Support Vectors by Dennis DeCoste and Dominic Mazzoni International.
CSSE463: Image Recognition Day 11 Due: Due: Written assignment 1 tomorrow, 4:00 pm Written assignment 1 tomorrow, 4:00 pm Start thinking about term project.
Computer Science 1 Using Clustering Information for Sensor Network Localization Haowen Chan, Mark Luk, and Adrian Perrig Carnegie Mellon University
Turning a Mobile Device into a Mouse in the Air
Saisakul Chernbumroong, Shuang Cang, Anthony Atkins, Hongnian Yu Expert Systems with Applications 40 (2013) 1662–1674 Elderly activities recognition and.
Frank Bergschneider February 21, 2014 Presented to National Instruments.
Mustafa Gokce Baydogan, George Runger and Eugene Tuv INFORMS Annual Meeting 2011, Charlotte A Bag-of-Features Framework for Time Series Classification.
CPE 490/590 – Smartphone Development
CHAPTER 8 Sensors and Camera. Chapter objectives: Understand Motion Sensors, Environmental Sensors and Positional Sensors Learn how to acquire measurement.
Data statistics and transformation revision Michael J. Watts
Keystroke Biometric Studies with Short Numeric Input on Smartphones
My Tiny Ping-Pong Helper
The break signal in climate records: Random walk or random deviations
Walking Speed Detection from 5G Prototype System
Mobile Handset Sensors
Mobile Sensor-Based Biometrics Using Common Daily Activities
Keystroke Biometric Studies with Short Numeric Input on Smartphones
Keystroke Biometric Studies with Short Numeric Input on Smartphones
MMSE Optimal Design: The Least Squares method
Anindya Maiti, Murtuza Jadliwala, Jibo He Igor Bilogrevic
Gait Identification Using Accelerometer on Mobile Phone
Activity Recognition Classification in Action
Keystroke Biometric Studies with Short Numeric Input on Smartphones
Presentation transcript:

TEMPLATE DESIGN © Detecting User Activities Using the Accelerometer on Android Smartphones Sauvik Das, Supervisor: Adrian Perrig Carnegie Mellon University | TRUST-REU The Android Framework The Android platform is an open platform for mobile devices consisting of an operating system, applications and middleware Android gives users the opportunity to build and publish their own applications by providing an open development environment. Android treats all applications (native and third-party) as equals. Therefore, having such an open development environment requires security measures to be taken in order to protect the integrity of the Android platform and the privacy of its users. Android Sensors Manifest Permissions Android’s primary means of notifying users of security risks of an application is via the use of Permissions. Permissions must be stated in the AndroidManifest.xml However, use of the accelerometer sensor is not required to be stated in the AndroidManifest.xml file. What can be found out from the Accelerometer? Restating the Problem We primarily focused on the Activity Recognition project Signal Processing First we combined the Acceleration magnitudes from the individual axes into one acceleration vector: Next, we had to reduce noise; Two major sources of noise: Data Linearization Data Linearization was the remedy to irregular sampling rates. Pick a desired regular sampling rate, and then interpolate the holes of the data. Before smoothing, data linearization should not significantly alter the shape of the curve. Smoothing Additional noise was reduced or eliminated via 5-point smoothing. 5-point smoothing modifies each point to be the average of its 4 nearest neighbors. 1-5 iterations of smoothing were tested. 3 iterations yielded the best results. Feature Extraction Classification Results & Conclusions Feature Extraction is the process of extracting key “features” from a signal. What distinguishes running from walking from jumping in the figure below? Features were extracted from every sample window of 512 samples. The following features were used: 1.The Fundamental Frequencies: The average of the three dominant frequencies of the signal over the sample window. This was found via a Discrete Fourier Transformation. 2.Average Acceleration: The arithmetic mean of the acceleration magnitudes over the sample window. 3.Max Amplitude: The maximum acceleration value of the signal in the sample window. 4.Min Amplitude: The minimum acceleration value of the signal in the sample window. Classification is the process of labeling unknown patterns based on the knowledge of known patterns of data. Two different classifiers were used: K-Nearest Neighbor: Based on the shortest euclidean distance between the unknown and known data’s feature vector Naïve Bayes: Assumes the absence of one feature does not disqualify a candidate (e.g., an object which is red and round is an apple, even if is not known to be a fruit) The Android has several sensors available: Accelerometer Orientation Ambient Light Proximity Magnetic Force Use of these sensors does not require direct user permission! Activity Recognition Keystroke Detection Path Detection Inputs: -X acceleration -Y acceleration -Z acceleration Desired Outputs: -Physical Activities (e.g., Running, Walking) -Approximate time spans -Quick detection of changes 1. Irregular Sampling Rate: Samples were collected irregularly because of the implementation of the sampling mechanism in Android 2. Random Noise: Introduced from any number of sources (e.g., bumps on the road, screen taps). Before LinearizationAfter Linearization Before SmoothingAfter Smoothing Objective To expose the Accelerometer as a security vulnerability on the Android framework. Given individual calibration, 1-Nearest-Neighbor resulted in 93% accuracy in distinguishing between: Running, Walking, Jumping, Idle, and Phone detached from user. Climbing Stairs and Descending Stairs was confused with Walking, but always distinguished from other activities. From preliminary tests, Naïve Bayes could result in similar results without individual calibration! Conclusion: Clearly, basic activities such as Running, Jumping, and Idle can be discerned with considerable accuracy – and much more is possible with further testing. Given that users can be oblivious to an application’s use of sensors, this is a significant security vulnerability!