Activity and Subject Detection for UCI HAR Dataset with & without missing Sensor Data
Debashish Saha, Piyush Malik, Adrika Saha · 2025
Read Activity and Subject Detection for UCI HAR Dataset with & without missing Sensor Data by Debashish Saha, Piyush Malik, Adrika Saha (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-06730.txt.
Introduction
Debashish Saha, Piyush Malik, and Adrika Saha present a 2025 paper on recognizing both an activity and the person doing it from wearable sensor data. Most activity systems name the action only, yet knowing who is moving matters for personal and context-aware services. Missing sensor readings, common when hardware fails, are another blind spot the authors tackle.
Their lightweight recurrent model was tested on a standard public dataset of phone and watch motion data. It sorted six activities with about ninety-four percent accuracy, near the known benchmark, and picked the right person among thirty with about eighty percent. The model also faced runs with sensor data removed.
Catalog record
| CREATOR | Debashish Saha, Piyush Malik, Adrika Saha |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 22 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2505-06730
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Activity and Subject Detection for UCI HAR Dataset with & without missing Sensor Data Debashish Saha, Piyush Malik, Adrika Saha Abstract Current studies in Human Activity Recognition (HAR) primarily focus on the classification of activities through sensor data, while there is not much emphasis placed on recognizing the individuals performing these activities. This type of classification is very important for developing personalized and context-sensitive applications. Additionally, the issue of missing sensor data, which often occurs in practical situations due to hardware malfunctions, has not been explored yet. This paper seeks to fill these voids by introducing a lightweight LSTM-based model that can be used to classify both activities and subjects. The proposed model was used to classify the HAR dataset by UCI [ 1 ] , achieving an accuracy of 93.89% in activity recognition (across six activities), nearing the 96.67% benchmark, and an accuracy of 80.19% in subject recognition (involving 30 subjects), thereby establishing a new baseline for this area of research. We then simulate the absence of sensor data to mirror real-world scenarios and incorporate imputation techniques, both with and without Principal Component Analysis (PCA), to restore incomplete datasets. We found that K-Nearest Neighbors (KNN) imputation performs the best for filling the missing sensor data without PCA because the use of PCA resulted in slightly lower accuracy. These results demonstrate how well the framework handles missing sensor data, which is a major step forward in using the Human Activity Recognition dataset for reliable classification tasks. I Introduction Human Activity Recognition (HAR) has become a significant research area within the field of ambient and context-aware computing. Because of its many uses, such as healthcare monitoring, abnormal behavior detection, human–computer interaction, and assistive technologies to improve the quality of life for senior citizens, the ability to recognize daily activities is becoming more and more important in our everyday life. HAR frameworks use information gathered from several sensors to make it easier to detect, identify, and categorize particular human movements or activities. The two main categories of HAR are wearable sensor-based and vision-based techniques. There are many challenges in using video sequences for human activity recognition, including privacy concerns, high computational complexity, and limited pervasiveness, which makes it difficult to capture full-body movements while moving around [ 2 ] . All of these concerns make it difficult to use vision-based sensors in practical situations. On the other hand, wearable sensors and the inertial sensors included in our everyday smart gadgets provide a more useful and discrete way to gather information about human activities. These sensors require little to no installation work and are small, easy to use, economical, and energy-efficient. For HAR tasks, gadgets like smartphones and smartwatches with sensors like compasses, gyroscopes, magnetometers, and accelerometers have become quite practical [ 3 ] . It is still very difficult to generalize HAR models to different activities and sensor configurations. Because various people do the same action differently and because different people repeat the same activity at different times, activity signal patterns are very different. Recognizing the subject from the signal data is a difficult and complex undertaking since overlapping signal patterns between different activities make the classification procedure even more difficult. Although deep learning-based Human Activity Recognition (HAR) has made great strides, current datasets and studies mostly focuses on activity classification rather than individual identification of the performers of those activities. This leaves a need for creating models capable of doing subject recognition, which could allow for more customized and context-aware applications. Furthermore, little study has been done on the problem of missing sensor data, a common occurrence in real-world settings because of hardware constraints, climatic conditions, or communication faults causing sensor failures. Missing data greatly affects the accuracy and dependability of the models, hence there is a need for managing insufficient sensor data. This work advances HAR research by suggesting a strong and scalable LSTM-based method able to provide dependable performance for both activity and subject recognition, even under missing sensor data. II Related Work HAR datasets have seen significant progress, especially in the area of deep learning-based activity classification. For example, Ronao and Cho’s study [ 4 ] showed that Deep Convolutional and LSTM Recurrent Neural Networks may be used to recognize activities, with a 95.75% accuracy rate on the UCI HAR dataset. A model based on Collaborative Edge Learning (CELearning) was also presented by Xu, Tang, Jin and Pan [ 5 ] , and it attained an even better accuracy of 96.67% . These techniques demonstrate the effectiveness of multilayered deep learning models. On the other hand, there is still much to learn about the field of subject recognition with HAR datasets. As of right now, there isn’t a commonly used model or benchmark for subject classification utilizing the UCI HAR dataset. This disparity highlights the need for additional study in this field, especially for applications that call for context-aware algorithms and individualized insights. Furthermore, one of the most important challenges for enhancing the resilience and dependability of HAR systems in practical contexts is dealing with missing sensor data. A unique method for improving activity detection without specifically recovering lost data was proposed by Hossain et al. [ 6 ] . Their approach boosted recognition accuracy by learning to handle partial datasets efficiently through the introduction of unpredictable missing data patterns throughout the training process. In a similar vein, Xaviar et al. [ 7 ] created the Centaur multimodal fusion model, which used self-attention mechanisms to capture cross-sensor correlations and a denoising autoencoder in conjunction with convolutional layers to clean noisy data. The Centaur model maintained strong performance in HAR tasks despite noise and repeated missing data across various sensor modalities. These experiments demonstrate some progress in handling incomplete data and activity recognition. Approaches that can handle both activity and subject detection are still needed, particularly in situations where data is missing. To address these issues we have created a lightweight LSTM-based system that can used to classify either subjects or activities; and incorporate strong imputation techniques for handling imperfect sensor data. III Methodology Our proposed framework uses the UCI Human Activity Recognition (HAR) dataset, which consists of data from 30 participants performing six different activities: WALKING, WALKING_UPSTAIRS, WALKING_DOWNSTAIRS, SITTING, LAYING, STANDING . Our goal is to create a model that can be used to train a classifier either for activity or the subject, even in the presence of missing sensor data. The framework integrates three main components: • Establish baseline accuracy with and without missing data using Long Short-Term Memory (LSTM) networks. • Imputation techniques to handle missing sensor data, utilizing either a Univariate Imputer ( SimpleImputer ) or a K-Nearest Neighbors Imputer ( KNNImputer ). • Dimensionality reduction using Principal Component Analysis (PCA) to simplify the data while retaining essential information. III-A LSTM Framework We construct a simple Long Short-Term Memory (LSTM) network, as shown in Fig. 1 , to serve as the baseline model. The network is defined as follows: Let the input sensor data sequence be represented as X=[x_{1},x_{2},\dots,x_{T}] , where x_{t}\in\mathbb{R}^{d} is the sensor data at time t , with d features. The Long Short-Term Memory (LSTM) processes this sequence by iteratively updating the hidden state h_{t} and cell state c_{t} at each time