Manuscript Offprint

arXiv:2609.11860

Explainability Assistant: A Conversational XAI Interface for Interpreting Energy Consumption Models

Rodion Krjutškov, Eduard Barbu, Nikos Sakkas, Sofia Yfanti

Rodion Krjutškov

Nupp Software

Tallinn, Estonia

rodionnupp.dev

Eduard Barbu [ORCID]

Institute of Computer Science

University of Tartu

Tartu, Estonia

eduard.barbuut.ee

Nikos Sakkas

Apintech Ltd

POLIS-21 Group

Cyprus

sakkasapintech.com

Sofia Yfanti

Department of Mechanical Engineering

Hellenic Mediterranean University

Heraklion, Greece

sifantihmu.gr

September 11, 2026

ABSTRACT

Energy consumption forecasting relies on increasingly complex machine learning (ML) models, such as Genetic Programming-based symbolic regressors, whose predictions can be difficult for facility managers and building operators to interpret. Explainable Artificial Intelligence (XAI) techniques address this opacity, but traditional XAI dashboards require substantial technical expertise and provide limited flexibility for dynamic, context-aware inquiry. Conversational XAI systems offer a promising alternative; however, previous approaches, such as TalkToModel, were constrained by rigid custom grammars and achieved only 76.8% intent-parsing accuracy. This paper introduces the Explainability Assistant, an open-source conversational XAI system that leverages the function-calling capabilities of modern Large Language Models (LLMs) to overcome these limitations. The system achieves 94% intent-parsing accuracy, supports flexible natural language interaction, and adapts to different ML problem types without task-specific fine-tuning. We present the system's architecture and report results from a comparative evaluation conducted with energy domain specialists, contrasting the Explainability Assistant with a traditional XAI dashboard. The evaluation suggests improved usability and consistent task accuracy, with all experts unanimously preferring the conversational interface for practical use.

Keywords Explainable AI · Conversational AI · Energy Consumption Forecasting · Large Language Models · Function Calling

1 Introduction

ML models are increasingly deployed in high-stakes domains such as energy management, healthcare, and finance, where understanding model predictions is critical for trust and accountability [1,2][1,2]. In building energy systems, for example, facility managers rely on consumption forecasts produced by complex models, yet have limited means to verify why a particular prediction was made. Post-hoc explainability techniques, such as LIME [1][1] and SHAP [2][2], as well as counterfactual explanations [3][3], have emerged as popular tools to address this opacity. However, practitioners struggle to select appropriate explanation methods, interpret their outputs, and answer follow-up questions during model analysis [4][4].

Traditional explainability interfaces, such as point-and-click dashboards, require users to possess substantial technical expertise and often fail to support flexible, iterative exploration. This is particularly limiting in applied settings such as building energy management, where the end users are facility managers and engineers rather than data scientists. Natural language dialogue systems offer a promising alternative, enabling open-ended and accessible interactions that allow users to ask questions, explore model behavior dynamically, and receive contextually relevant explanations without needing to understand the underlying technical machinery.

Building on the foundations of TalkToModel [5], a conversational system that translates user utterances into executable operations for explainability, we introduce the Explainability Assistant (EA), an enhanced dialogue-based system for understanding ML models. The Explainability Assistant addresses key limitations of TalkToModel by leveraging recent advances in LLMs with function-calling capabilities, enabling more accurate natural language understanding, improved architectural modularity, and broader applicability across diverse use cases.

We evaluate the Explainability Assistant in energy consumption forecasting and demonstrate that it achieves significantly higher parsing accuracy (up to 94%), surpassing the 76.8% accuracy reported for previous grammar-based approaches. Through evaluation using both automatic metrics and stakeholder feedback, we show that the system supports diverse explainability tasks, including feature importance analysis, counterfactual reasoning, ML model error analysis, and what-if queries.

Our contributions are threefold:

  1. A conversational architecture that integrates modern LLMs for natural language understanding in explainability contexts.

  2. A lightweight, modular system design that separates concerns and enables flexible deployment.

  3. Empirical evidence that dialogue-based interfaces can support improved model understanding for domain experts and ML practitioners.

The rest of the paper is organized as follows. Section 2 reviews relevant work in explainability and conversational interfaces. Section 3 presents the architecture and XAI tools underlying the Explainability Assistant. Section 4 reports results from the parsing evaluation and the expert validation with energy domain specialists. Section 5 concludes the paper.

We provide all materials required to assess the system: a live demo, a video walkthrough of the system, the gold parse datasets, the source code (front-end and back-end), and the full expert validation questionnaire. All links are collected in Appendix B.

References (22)