Convolutional Neural Networks for Human Activity Recognition Using Mobile Sensors

Convolutional Neural Networks for Human Activity Recognition Using Mobile Sensors

WK,QWHUQDWLRQDO&RQIHUHQFHRQ0RELOH&RPSXWLQJ$SSOLFDWLRQVDQG6HUYLFHV 0REL&$6( Convolutional Neural Networks for Human Activity Recognition using Mobile Sensors Ming Zeng, Le T. Nguyen, Bo Yu, Ole J. Mengshoel, Jiang Zhu, Pang Wu, Joy Zhang Department of Electrical and Computer Engineering Carnegie Mellon University Moffett Field, CA, USA Email: {zeng, le.nguyen, bo.yu, ole.mengshoel, jiang.zhu, pang.wu, joy.zhang}@sv.cmu.edu Abstract—A variety of real-life mobile sensing applications are requires domain knowledge [23]. This problem is not unique to becoming available, especially in the life-logging, fitness tracking activity recognition. It has been well-studied in other research and health monitoring domains. These applications use mobile areas such as image recognition [22], where different types sensors embedded in smart phones to recognize human activities of features need to be extracted when trying to recognize a in order to get a better understanding of human behavior. While handwriting as opposed to recognizing faces. In recent years, progress has been made, human activity recognition remains due to advances of the processing capabilities, a large amount a challenging task. This is partly due to the broad range of human activities as well as the rich variation in how a given of Deep Learning (DL) techniques have been developed and activity can be performed. Using features that clearly separate successful applied in recognition tasks [2], [28]. These tech- between activities is crucial. In this paper, we propose an niques allow an automatic extraction of features without any approach to automatically extract discriminative features for domain knowledge. activity recognition. Specifically, we develop a method based on Convolutional Neural Networks (CNN), which can capture In this work, we propose an approach based on Convolu- local dependency and scale invariance of a signal as it has been tional Neural Networks (CNN) [2] to recognize activities in shown in speech recognition and image recognition domains. various application domains. There are two key advantages In addition, a modified weight sharing technique, called partial when applying CNN to AR: weight sharing, is proposed and applied to accelerometer signals to get further improvements. The experimental results on three • Local Dependency: CNN captures local dependencies public datasets, Skoda (assembly line activities), Opportunity of an activity signals. In image recognition tasks, the (activities in kitchen), Actitracker (jogging, walking, etc.), indicate nearby pixels typically have strong relationship with that our novel CNN-based approach is practical and achieves each other. Similarly, in AR given an activity the higher accuracy than existing state-of-the-art methods. nearby acceleration readings are likely to be corre- Keywords—Activity Recognition, Deep Learning, Convolutional lated. Neural Network • Scale Invariance: CNN preserves feature scale invari- ant. In image recognition, the training images might I. INTRODUCTION have different scales. In AR, a person may walk with In the recent years, the rapid spread of mobile devices different paces (e.g., with different motion intensity). with sensing capabilities has created a huge demand for human activity recognition (AR). Applications that can benefit We summarize the key contributions of this work as from AR include daily lifelogging, healthcare, senior care, follows: personal fitness, etc. [7], [32], [31], [9]. As a result, many approaches were proposed for the recognition of a wide range • We propose an approach based on CNN to extract hu- of activities [8], [15], [10], [23]. man activity features without any domain knowledge. Feature extraction is one of the key steps in AR, since it • The proposed approach can capture the local depen- can capture relevant information to differentiate among various dencies and scale-invariant features of activity signals. activities. The accuracy of AR approaches greatly depends Thus, variations of the same activity can be effectively on features extracted from raw signals such as accelerometer captured through the extracted features. readings [34]. Many existing AR approaches often rely on • statistical features such as mean, variance, entropy or corre- We present the experimental results on three public lation coefficients [3]. Feature extraction is proposed from the datasets collected in different domains. The results frequency domain using FFT [17]. Prior works have shown that shown that the proposed approach outperforms the some of these heuristically-defined features perform well in state-of-the-art methods. recognizing one activity, but badly for others [15]. Therefore, given an application scenario and a set of target activities, The rest of this paper is organized as follows: Section 2 one can select a subset of features to optimize the activity presents related work; Section 3 describes our CNN-based recognition performance [34], [15]. method for activity recognition and improvement; Section 4 presents our experimental results to demonstrate its applica- Designing hand-crafted features in a specific application tions. Finally, we conclude the study in Section 5. k,&67 '2,LFVWPRELFDVH II. RELATED WORK B. Deep Learning for Feature Learning A. Feature Extraction for Activity Recognition Although PCA can learn features in an unsupervised man- ner, its linear combination of raw features does not have AR can be consider as a classification problem, where the sufficient capability to model complex non-linear dependen- input are time series signals and the output is an activity class cies [4]. Therefore, deep neural networks (DNN)1 have been label. Fig 1 shows the activity recognition process, which is proposed to extract more meaningful features [23]. The one divided into training phase and classification phase. In the key difference between traditional neural networks and deep training phase, we extract features from the raw time series neural networks is that DNNs can have many layers in the data. These features are then used to train a classification networks while traditional neural networks contain three layers model. In the classification phase, we first extract features from at most. A key advantage of DNN is its representation of input unseen raw data and then use the trained prediction model to features. DNN can model diverse activities with much less predict an activity label. training data, it can share similar portions of the input space with some hidden units, while keeping other units sensitive to a subset of the input features that are significant to recognition. DNN in recent made many breakthroughs in many research areas. The deep architectures can represent complex function compactly, which have been shown to outperform state-of-the- art machine learning algorithms in many applications (such as face detection, speech recognition.) [4]. Fig 2 compares a DNN model with existing approaches. A statistic feature model can be considered as a model of depth 1, where the output nodes represent pre-defined function such as mean, variance, etc. PCA can be also considered as a model with depth 1, where the output nodes represents the k principal components outputted as a linear combination of the input data. DNN is a model with a a depth of n layers, where the complex dependencies of the input data can be captured through hidden layers with non-linear mapping in layers. Fig. 1. Feature extraction is one of the key components of activity recognition. Feature extraction for AR is an important task, which has been studied for many years. Statistical features such as mean, standard deviation, entropy and correlation coefficients, etc. are the most widely used hand-crafted features in AR [8]. Fourier transform and wavelet transform [27] are another two commonly used hand-crafted features, while discrete cosine transform (DCT) have also been applied with promising re- sults [11], as well as auto-regressive model coefficients [12]. Recently, time-delay embeddings [10] have been applied for Fig. 2. (a): statistical feature computation, (b): PCA model, (c): DNN model activity recognition. It adopts nonlinear time series analysis to The Restricted Bozltman Machine (RBM), a particular extract features from time series and shows a significant im- form of log-linear Markov Random Field (MRF) [13], was provement on periodic activities recognition (cycling involves proposed as a DNN technique to extract features for AR [23]. It a periodic, roughly two-dimensional leg movement). However, employed Gaussian visible units for the first level and trained the features from time-delay embedding are less suitable for the network in a supervised manner. Another DNN model, non-periodic activities. Shift-Invariant Sparse Coding [29], [5] was used to perform In the recent years, some approaches such as principal com- unsupervised learning to train an autoencoder network. ponent analysis (PCA) [11] or restricted Boltzmann machine However, RBM [23] and Sparse Coding [29], [5] are fully (RBM) [23] were applied to adapt the feature extraction to connected DNN models (as shown in Fig 2(c)). Therefore, they the dataset, i.e. the mapping from raw signals to features is do not capture local dependencies of the time series signals [1]. not predefined, but rather automatically learned from the train- Convolution Neural Network (CNN) [20] consists of one or ing dataset. PCA is a well-established technique to discover more pairs of convolution and pooling layers2. The small local compact and meaningful representations

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us