{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,14]],"date-time":"2026-11-14T12:39:57Z","timestamp":1794659997915,"version":"4.9.1"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"4","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Internet Things"],"published-print":{"date-parts":[[2025,11,30]]},"abstract":"<jats:p>Explainable Artificial Intelligence (XAI) aims to uncover the inner reasoning of machine learning models. In IoT systems, XAI improves the transparency of models processing sensor data from multiple heterogeneous devices, ensuring end-users understand and trust their outputs. Among the many applications, XAI has also been applied to sensor-based Activities of Daily Living (ADLs) recognition in smart homes. Existing approaches highlight which sensor events are most important for each predicted activity, using simple rules to convert these events into natural language explanations for non-expert users. However, these methods produce rigid explanations lacking natural language flexibility and are not scalable. With the recent rise of Large Language Models (LLMs), it is worth exploring whether they can enhance explanation generation, considering their proven knowledge of human activities. This article investigates potential approaches to combine XAI and LLMs for sensor-based ADL recognition. We evaluate if LLMs can be used: (a) as explainable zero-shot ADL recognition models, avoiding costly labeled data collection, and (b) to automate the generation of explanations for existing data-driven XAI approaches when training data is available and the goal is higher recognition rates. Our critical evaluation provides insights into the benefits and challenges of using LLMs for explainable ADL recognition.<\/jats:p>","DOI":"10.1145\/3766900","type":"journal-article","created":{"date-parts":[[2025,9,8]],"date-time":"2025-09-08T12:42:19Z","timestamp":1757335339000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":13,"title":["Leveraging Large Language Models for Explainable Activity Recognition in Smart Homes: A Critical Evaluation"],"prefix":"10.1145","volume":"6","author":[{"ORCID":"https:\/\/orcid.org\/0009-0000-2462-3075","authenticated-orcid":false,"given":"Michele","family":"Fiori","sequence":"first","affiliation":[{"name":"University of Milan","place":["Milan, Italy"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8247-2524","authenticated-orcid":false,"given":"Gabriele","family":"Civitarese","sequence":"additional","affiliation":[{"name":"Computer Science, Universit\uc3a0 degli Studi di Milano","place":["Milano, Italy"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2688-7415","authenticated-orcid":false,"given":"Priyankar","family":"Choudhary","sequence":"additional","affiliation":[{"name":"University of Milan","place":["Milan, Italy"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1727-7650","authenticated-orcid":false,"given":"Claudio","family":"Bettini","sequence":"additional","affiliation":[{"name":"University of Milan","place":["Milan, Italy"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,11,18]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"Marah Abdin Sam Ade Jacobs Ammar Ahmad Awan Jyoti Aneja Ahmed Awadallah Hany Awadalla Nguyen Bach Amit Bahree Arash Bakhtiari Harkirat Behl et\u00a0al. 2024. Phi-3 technical report: A highly capable language model locally on your phone. arXiv preprint arXiv:2404.14219 (2024)."},{"key":"e_1_3_2_3_2","unstructured":"Tarek Ali and Panos Kostakos. 2023. HuntGPT: Integrating machine learning-based anomaly detection and explainable AI with large language models (LLMs). arXiv preprint arXiv:2309.16021 (2023)."},{"key":"e_1_3_2_4_2","first-page":"451","volume-title":"Proceedings of the Mobiquitous 2021","author":"Arrotta Luca","year":"2021","unstructured":"Luca Arrotta, Claudio Bettini, and Gabriele Civitarese. 2021. The marble dataset: Multi-inhabitant activities of daily living combining wearable and environmental sensors data. In Proceedings of the Mobiquitous 2021. Springer, 451\u2013468."},{"key":"e_1_3_2_5_2","doi-asserted-by":"crossref","unstructured":"Luca Arrotta Claudio Bettini Gabriele Civitarese and Michele Fiori. 2024. ContextGPT: Infusing LLMs knowledge into neuro-symbolic activity recognition models. In Proceedings of the 2024 IEEE International Conference on Smart Computing (SMARTCOMP).","DOI":"10.1109\/SMARTCOMP61445.2024.00029"},{"issue":"1","key":"e_1_3_2_6_2","first-page":"1","article-title":"Dexar: Deep explainable sensor-based activity recognition in smart-home environments","volume":"6","author":"Arrotta Luca","year":"2022","unstructured":"Luca Arrotta, Gabriele Civitarese, and Claudio Bettini. 2022. Dexar: Deep explainable sensor-based activity recognition in smart-home environments. PACM IMWUT 6, 1 (2022), 1\u201330.","journal-title":"PACM IMWUT"},{"key":"e_1_3_2_7_2","first-page":"375","volume-title":"Proceedings of the International Conference on Mobile and Ubiquitous Systems: Computing, Networking, and Services","author":"Arrotta Luca","year":"2023","unstructured":"Luca Arrotta, Gabriele Civitarese, and Claudio Bettini. 2023. SelfAct: Personalized activity recognition based on self-supervised and active learning. In Proceedings of the International Conference on Mobile and Ubiquitous Systems: Computing, Networking, and Services. Springer, 375\u2013391."},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/DSAA54385.2022.10032345"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1109\/JSEN.2022.3161797"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-21671-3_9"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/PerComWorkshops65533.2025.00108"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.3390\/electronics10202498"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/3699747"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICPADS63350.2024.00085"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1109\/THMS.2016.2641679"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3725856"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1109\/ABC61795.2024.10651718"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1109\/MC.2012.328"},{"key":"e_1_3_2_19_2","volume-title":"Proceedings of the CHI Workshop on Developing Shared Home Behavior Datasets to Advance HCI and Ubiquitous Computing Research","author":"Cook Diane J.","year":"2009","unstructured":"Diane J. Cook, Maureen Schmitter-Edgecombe, Aaron Crandall, Chad Sanders, and Brian Thomas. 2009. Collecting and disseminating smart home sensor data in the CASAS project. In Proceedings of the CHI Workshop on Developing Shared Home Behavior Datasets to Advance HCI and Ubiquitous Computing Research."},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3561533"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/3675094.3679000"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-77571-0_17"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICASSP48485.2024.10446819"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.3389\/fnagi.2024.1375131"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v39i1.32004"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10676-024-09775-5"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/3550294"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","unstructured":"Aritra Hota Soumyajit Chatterjee and Sandip Chakraborty. 2024. Evaluating large language models as virtual annotators for time-series physical sensing data. ACM Trans. Intell. Syst. Technol. (Sept. 2024). DOI:10.1145\/3696461","DOI":"10.1145\/3696461"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","unstructured":"Lei Huang Weijiang Yu Weitao Ma Weihong Zhong Zhangyin Feng Haotian Wang Qianglong Chen Weihua Peng Xiaocheng Feng Bing Qin and Ting Liu. 2025. A survey on hallucination in large language models: Principles taxonomy challenges and open questions. ACM Trans. Inf. Syst. 43 2 Article 42 (Jan. 2025) 55 pages. DOI:10.1145\/3703155","DOI":"10.1145\/3703155"},{"issue":"1","key":"e_1_3_2_30_2","first-page":"1","article-title":"X-char: A concept-based explainable complex human activity recognition model","volume":"7","author":"Jeyakumar Jeya Vikranth","year":"2023","unstructured":"Jeya Vikranth Jeyakumar, Ankur Sarker, Luis Antonio Garcia, and Mani Srivastava. 2023. X-char: A concept-based explainable complex human activity recognition model. PACM IMWUT 7, 1 (2023), 1\u201328.","journal-title":"PACM IMWUT"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","unstructured":"Sijie Ji Xinzhe Zheng and Chenshu Wu. 2024. HARGPT: Are LLMs zero-shot human activity recognizers? In 2024 IEEE International Workshop on Foundation Models for Cyber-Physical Systems & Internet of Things (FMSys). 38\u201343. DOI:10.1109\/FMSys62467.2024.00011","DOI":"10.1109\/FMSys62467.2024.00011"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","unstructured":"Aobo Kong Shiwan Zhao Hao Chen Qicheng Li Yong Qin Ruiqi Sun Xin Zhou Enzhi Wang and Xiaohang Dong. 2024. Better zero-shot reasoning with role-play prompting. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) Kevin Duh Helena Gomez and Steven Bethard (Eds.). Association for Computational Linguistics Mexico City Mexico 4099\u20134113. DOI:10.18653\/v1\/2024.naacl-long.228","DOI":"10.18653\/v1\/2024.naacl-long.228"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3678545"},{"key":"e_1_3_2_34_2","unstructured":"Zechen Li Shohreh Deldari Linyao Chen Hao Xue and Flora D. Salim. 2024. Sensorllm: Aligning large language models with motion sensors for human activity recognition. arXiv preprint arXiv:2410.10624 (2024)."},{"key":"e_1_3_2_35_2","unstructured":"Xin Liu Daniel McDuff Geza Kovacs Isaac Galatzer-Levy Jacob Sunshine Jiening Zhan Ming-Zher Poh Shun Liao Paolo Di Achille and Shwetak Patel. 2023. Large language models are few-shot health learners. arXiv preprint arXiv:2305.15525 (2023)."},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1109\/JBHI.2018.2834317"},{"key":"e_1_3_2_37_2","unstructured":"Philip Mavrepis Georgios Makridis Georgios Fatouros Vasileios Koukos Maria Margarita Separdani and Dimosthenis Kyriazis. 2024. XAI for all: Can large language models simplify explainable AI?arXiv preprint arXiv:2401.13110 (2024)."},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3387166"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/3594739.3610745"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.3390\/s130505460"},{"key":"e_1_3_2_41_2","first-page":"1135","volume-title":"Proceedings of the SIGKDD 2016","author":"Ribeiro Marco Tulio","year":"2016","unstructured":"Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2016. \u201cWhy should i trust you?\u201d Explaining the predictions of any classifier. In Proceedings of the SIGKDD 2016. 1135\u20131144."},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1038\/s42256-019-0048-x"},{"key":"e_1_3_2_43_2","first-page":"4765","article-title":"A unified approach to interpreting model predictions","volume":"30","author":"Scott M.","year":"2017","unstructured":"M. Scott, Lee Su-In, et\u00a0al. 2017. A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems 30 (2017), 4765\u20134774.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1109\/PerComWorkshops65533.2025.00061"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.neucom.2020.10.056"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3448112"},{"key":"e_1_3_2_47_2","doi-asserted-by":"crossref","unstructured":"Megha Thukral Sourish Gunesh Dhekane Shruthi K. Hiremath Harish Haresamudram and Thomas Ploetz. 2025. Layout-agnostic human activity recognition in smart homes through textual descriptions of sensor triggers (TDOST). In Proceedings of the ACM on Interactive Mobile Wearable and Ubiquitous Technologies 9 1 (2025) 1\u201338.","DOI":"10.1145\/3712278"},{"key":"e_1_3_2_48_2","unstructured":"Jason Wei Xuezhi Wang Dale Schuurmans Maarten Bosma Brian Ichter Fei Xia Ed Chi Quoc V. Le and Denny Zhou. 2022. Chain-of-thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems 35 (2022) 24824\u201324837."},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","DOI":"10.1145\/3301275.3302317"},{"key":"e_1_3_2_50_2","unstructured":"Qingxin Xia Takuya Maekawa and Takahiro Hara. 2023. Unsupervised human activity recognition through two-stage prompting with ChatGPT. arXiv preprint arXiv:2306.02140 (2023)."},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3639372"},{"key":"e_1_3_2_52_2","unstructured":"Yunjiao Zhou Jianfei Yang Han Zou and Lihua Xie. 2023. TENT: Connect language models with IoT sensors for zero-shot activity recognition. arXiv preprint arXiv:2311.08245 (2023)."},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/IJCNN54540.2023.10191464"}],"container-title":["ACM Transactions on Internet of Things"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3766900","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,11,18]],"date-time":"2025-11-18T21:23:18Z","timestamp":1763500998000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3766900"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,11,18]]},"references-count":52,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2025,11,30]]}},"alternative-id":["10.1145\/3766900"],"URL":"https:\/\/doi.org\/10.1145\/3766900","relation":{},"ISSN":["2691-1914","2577-6207"],"issn-type":[{"value":"2691-1914","type":"print"},{"value":"2577-6207","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,11,18]]},"assertion":[{"value":"2025-03-07","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-18","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-11-18","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}