Enhancing Occupancy Detection with Explainable AI: Leveraging SHAP and Large Language Models
The rapid growth of the field of Artificial Intelligence has increased the utilization of predictive machine learning models in the construction industry. While their capabilities are significant, they often perform in a black-box manner, raising the need for interpretability of these models. This work focuses on the problem of occupancy detection and proposes a generalized explainability approach for common model configurations trained on public occupancy datasets. The data are collected from buildings with multiple sensor modalities, including power meters and environmental sensors. The proposed methodology involves the interpretation of the model predictions via the SHapley Additive exPlanations (SHAP) method and the employment of a Large Language Model (LLM) to provide the reasoning behind the model predictions and the feature contribution in natural language. This work provides generalized prompt instructions along with example responses on multiple scenarios, as well as a discussion on the limitations, common issues that were overcome with minimal prompt-tuning, and the potential for future development of the proposed method.
Authors
- Athina Tsanousa (ORCID: https://orcid.org/0000-0001-6599-4446)
- Γεώργιος Μεδίτσκος (ORCID: https://orcid.org/0000-0003-4242-5245)
- Stefanos Vrochidis (ORCID: https://orcid.org/0000-0002-2505-9178)
- Ioannis Yiannis Kompatsiaris (ORCID: https://orcid.org/0000-0001-6447-9020)
- Dimitrios Kampelopoulos (ORCID: https://orcid.org/0000-0002-5839-4335)
- Konstantinos Papadopoulos (ORCID: https://orcid.org/0009-0001-4446-3870)
Institutions
- Aristotle University of Thessaloniki (GR)
- Information Technologies Institute (GR)
- Centre for Research and Technology Hellas (GR)
Publication Details
- Published
- 2025-06-16
- DOI
- https://doi.org/10.1109/ice/itmc65658.2025.11106581
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00