Semantic Loss: A New Neuro-Symbolic Approach for Context-Aware Human Activity Recognition

被引:2
作者
Arrotta, Luca [1 ]
Civitarese, Gabriele [1 ]
Bettini, Claudio [1 ]
机构
[1] Univ Milan, Via Celoria 18, Milan, Italy
来源
PROCEEDINGS OF THE ACM ON INTERACTIVE MOBILE WEARABLE AND UBIQUITOUS TECHNOLOGIES-IMWUT | 2023年 / 7卷 / 04期
关键词
human activity recognition; neuro-symbolic; knowledge infusion; context-awareness; knowledge-based reasoning; DATA-DRIVEN; NETWORKS; SYSTEMS; MODEL;
D O I
10.1145/3631407
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Deep Learning models are a standard solution for sensor-based Human Activity Recognition (HAR), but their deployment is often limited by labeled data scarcity and models' opacity. Neuro-Symbolic AI (NeSy) provides an interesting research direction to mitigate these issues by infusing knowledge about context information into HAR deep learning classifiers. However, existing NeSy methods for context-aware HAR require computationally expensive symbolic reasoners during classification, making them less suitable for deployment on resource-constrained devices (e.g., mobile devices). Additionally, NeSy approaches for context-aware HAR have never been evaluated on in-the-wild datasets, and their generalization capabilities in real-world scenarios are questionable. In this work, we propose a novel approach based on a semantic loss function that infuses knowledge constraints in the HAR model during the training phase, avoiding symbolic reasoning during classification. Our results on scripted and in-the-wild datasets show the impact of different semantic loss functions in outperforming a purely data-driven model. We also compare our solution with existing NeSy methods and analyze each approach's strengths and weaknesses. Our semantic loss remains the only NeSy solution that can be deployed as a single DNN without the need for symbolic reasoning modules, reaching recognition rates close (and better in some cases) to existing approaches.
引用
收藏
页数:29
相关论文
共 63 条
[1]   Activity Recognition with Evolving Data Streams: A Review [J].
Abdallah, Zahraa S. ;
Gaber, Mohamed Medhat ;
Srinivasan, Bala ;
Krishnaswamy, Shonali .
ACM COMPUTING SURVEYS, 2018, 51 (04)
[2]   Using LUPI to Improve Complex Activity Recognition [J].
Adachi, Kohei ;
Lago, Paula ;
Hattori, Yuichi ;
Inoue, Sozo .
SENSOR- AND VIDEO-BASED ACTIVITY AND BEHAVIOR COMPUTING, ABC 2021, 2022, 291 :39-55
[3]   A Lightweight Deep Learning Model for Human Activity Recognition on Edge Devices [J].
Agarwal, Preeti ;
Alam, Mansaf .
INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND DATA SCIENCE, 2020, 167 :2364-2373
[4]  
Ahmed Kareem, 2022, ADV NEUR IN
[5]  
[Anonymous], 2020, ADV NEUR IN
[6]  
Arrotta Luca, 2023, 2023 24th IEEE International Conference on Mobile Data Management (MDM), P346, DOI 10.1109/MDM58254.2023.00063
[7]   Probabilistic knowledge infusion through symbolic features for context-aware activity recognition [J].
Arrotta, Luca ;
Civitarese, Gabriele ;
Bettini, Claudio .
PERVASIVE AND MOBILE COMPUTING, 2023, 91
[8]  
Arrotta L, 2022, 2022 IEEE INTERNATIONAL CONFERENCE ON SMART COMPUTING (SMARTCOMP 2022), P1, DOI [10.1109/SMARTCOMP55677.2022.00016, 10.1109/DSAA54385.2022.10032345]
[9]   Context-Aware Human Activity Recognition (CAHAR) in-the-Wild Using Smartphone Accelerometer [J].
Asim, Yusra ;
Azam, Muhammad Awais ;
Ehatisham-ul-Haq, Muhammad ;
Naeem, Usman ;
Khalid, Asra .
IEEE SENSORS JOURNAL, 2020, 20 (08) :4361-4371
[10]  
Atzmueller M, 2018, 2018 IEEE INTERNATIONAL CONFERENCE ON FUTURE IOT TECHNOLOGIES (FUTURE IOT)