Leveraging Large Language Models for Explainable Activity Recognition in Smart Homes: A Critical Evaluation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Fiori, Michele, Civitarese, Gabriele, Choudhary, Priyankar, Bettini, Claudio
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915453642735616
author Fiori, Michele
Civitarese, Gabriele
Choudhary, Priyankar
Bettini, Claudio
author_facet Fiori, Michele
Civitarese, Gabriele
Choudhary, Priyankar
Bettini, Claudio
contents 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 paper 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_16622
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Leveraging Large Language Models for Explainable Activity Recognition in Smart Homes: A Critical Evaluation
Fiori, Michele
Civitarese, Gabriele
Choudhary, Priyankar
Bettini, Claudio
Computation and Language
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 paper 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.
title Leveraging Large Language Models for Explainable Activity Recognition in Smart Homes: A Critical Evaluation
topic Computation and Language
url https://arxiv.org/abs/2503.16622