Hierarchical Self Attention Based Autoencoder for Open-Set Human Activity Recognition

M Tanjid Hasan Tonmoy, Saif Mahmud, A K M Mahbubur Rahman, M Ashraful Amin, Amin Ahsan Ali
3/7/2021
cs.CVcs.LG
transformer-attention

Official code: saif-mahmud/hierarchical-attention-HAR (17 stars, Jupyter Notebook, GPL-3.0, last commit 2023-05-23).

Abstract

Wearable sensor based human activity recognition is a challenging problem due to difficulty in modeling spatial and temporal dependencies of sensor signals. Recognition models in closed-set assumption are forced to yield members of known activity classes as prediction.

Show full abstract

However, activity recognition models can encounter an unseen activity due to body-worn sensor malfunction or disability of the subject performing the activities. This problem can be addressed through modeling solution according to the assumption of open-set recognition. Hence, the proposed self attention based approach combines data hierarchically from different sensor placements across time to classify closed-set activities and it obtains notable performance improvement over state-of-the-art models on five publicly available datasets. The decoder in this autoencoder architecture incorporates self-attention based feature representations from encoder to detect unseen activity classes in open-set recognition setting. Furthermore, attention maps generated by the hierarchical model demonstrate explainable selection of features in activity recognition. We conduct extensive leave one subject out validation experiments that indicate significantly improved robustness to noise and subject specific variability in body-worn sensor signals. The source code is available at: github.com/saif-mahmud/hierarchical-attention-HAR

View on arXivView PDF

Code Implementations(1)

GPL-3.0

[PAKDD-2021] Hierarchical Self Attention Based Autoencoder for Open-Set Human Activity Recognition

176Jupyter Notebook, PythonMar 27, 20203 years agoGPL-3.0

Similar Papers

Cite this paper

@article{tonmoy2021hierarchical,
  title  = {Hierarchical Self Attention Based Autoencoder for Open-Set Human Activity Recognition},
  author = {M Tanjid Hasan Tonmoy and Saif Mahmud and A K M Mahbubur Rahman and M Ashraful Amin and Amin Ahsan Ali},
  year   = {2021},
  eprint = {2103.04279},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.04279}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.04279.svg)](https://codeofpaper.com/paper/2103.04279)

Discussion