SemNet: Learning semantic attributes for human activity recognition with deep belief networks

Shanmuga Venkatachalam, Harideep Nair, Ming Zeng, Cathy Tan, Ole J. Mengshoel, John Paul Shen

TL;DR

This paper introduces SemNet, a novel deep learning approach using sparse Deep Belief Networks (DBNs) to automatically learn "semantic features" for human activity recognition (HAR). This method bypasses the need for manual feature engineering, which is time-consuming and not scalable, and demonstrates that these learned features correlate well with human-defined attributes, improving HAR accuracy.

What Problem Does This Paper Address?

Human Activity Recognition (HAR) is crucial for mobile computing and the Internet of Things (IoT), enabling context-aware applications. Traditional HAR methods often rely on manually defined "semantic features" – abstract representations of body movements (e.g., "arm up," "arm down"). While effective, this manual approach is a bottleneck: it requires significant domain expertise, is time-consuming, and struggles to adapt to new activities or sensor data. This limits scalability and the ability to recognize previously unseen activities. The paper aims to overcome this by developing a machine learning method that can automatically discover these semantic features.

Methods

The core of SemNet is a Deep Belief Network (DBN) enhanced with heterogeneous sparsity. DBNs are a type of deep neural network known for learning hierarchical representations of data. To make these learned features more meaningful and robust, the authors introduce sparsity in two ways:

  • Dropout: Applied to the first hidden layer, this technique randomly "drops out" (ignores) a subset of neurons during training, preventing overfitting and encouraging redundancy in feature learning.
  • Indian Buffet Process (IBP): Applied to the second hidden layer, IBP is a Bayesian non-parametric method that encourages sparsity by generating a binary indicator vector. This helps to group similar features and learn more discriminative representations.

By combining these sparsity techniques, the authors create a Heterogeneous Sparse DBN (HSparseDBN). The learned features from the final hidden layer are then used for activity classification. The paper also explores the semantic interpretability of these learned features by calculating their correlation with manually defined semantic attributes.

Datasets

The paper utilizes two datasets for evaluation:

  • Exercise Activity Dataset: This dataset contains accelerometer and gyroscope data from 10 exercise activities performed by 20 subjects using multiple sensor-enabled devices. It was used for training and evaluating the SemNet (HSparseDBN) approach and comparing it with baseline methods.
  • Opportunity Human Activity Recognition Dataset: This dataset focuses on regular day-to-day household activities and was used to demonstrate the broader applicability of semantic attribute interpretation to a different deep learning model (Deep Convolutional LSTM).

Key Insights and Ideas

  • Automatic Semantic Feature Learning: The most significant insight is that deep learning models, specifically sparse DBNs, can automatically learn meaningful semantic features for HAR without human intervention. This bypasses the costly and time-consuming manual feature engineering process.
  • Sparsity for Robustness and Interpretability: The combination of dropout and IBP (heterogeneous sparsity) proves crucial. It not only improves generalization and accuracy but also helps in learning features that are more interpretable and correlate better with human-defined semantic concepts.
  • Semantic Meaning in Deep Features: The paper provides empirical evidence that the features learned by deep networks are not just abstract patterns but can indeed capture human-understandable semantic concepts related to body movements.
  • Generality of Semantic Interpretation: The success of semantic feature learning is demonstrated not only with DBNs but also with a Deep Convolutional LSTM on a different dataset, suggesting that this principle is broadly applicable across various deep learning architectures for HAR.

Key Results

  • Improved Accuracy: The proposed HSparseDBN method, when combined with statistical features, achieved the highest accuracy of 85.72% on the Exercise Activity dataset, outperforming baseline methods like statistical features alone (77.30%) and dropout-based DBN (81.56%).
  • Correlation with Human Attributes: Figures 4 and 5 visually demonstrate that learned features from both dropout DBN and HSparseDBN exhibit high correlation scores with manually defined semantic attributes (e.g., "ArmUp," "ArmDown"). HSparseDBN showed particularly strong correlations.
  • Domain Adaptability: The study showed that the HSparseDBN + statistical features combination consistently outperformed statistical features alone in leave-one-out cross-validation tests, indicating better generalization across different users.
  • Generalizability: Experiments with a Deep Convolutional LSTM on the Opportunity dataset also showed that learned hidden layer nodes had high correlations with semantic attributes, reinforcing the idea that deep learning models can capture semantic interpretations.

Limitations and Future Work

  • Limitations: The paper acknowledges that while HSparseDBN improves accuracy, it doesn't capture all features, hence the benefit of combining it with statistical features. The interpretability of learned features is assessed through correlation with pre-defined attributes, which still relies on some human input, albeit for evaluation rather than feature generation.
  • Future Work: The authors suggest testing the proposed method on more diverse datasets, exploring the inference process of semantic topics more deeply, and investigating the efficacy of Recurrent Neural Networks (RNNs) and variational autoencoders (VAEs) for learning features with semantic meanings. They also plan to leverage learned encoder outputs from VAEs to extract semantic correlations.

Summary updated

BibTeX
@inproceedings{venkatachalam2022semnet,
  author = {Shanmuga Venkatachalam and Harideep Nair and Ming Zeng and Cathy Tan and Ole J. Mengshoel and John Paul Shen},
  title = {{SemNet: Learning semantic attributes for human activity recognition with deep belief networks}},
  booktitle = {Frontiers Big Data},
  year = {2022},
  url = {https://openreview.net/forum?id=QIbn5NOKcw},
}
Figure