[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-84726-en":3,"doc-seo-84726-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},84726,549758252649,"Ivy","https://ap-avatar.wpscdn.com/avatar/8000253669c5317157?_k=1778319167496531819",8,"Research & Report","An End-to-End Explainable AI Framework with Automated LLM-Based Natural Language Explanation Generation for Energy Systems","Explainable AI (XAI) enables machine learning deployed in high-stakes domains by improving transparency, trust, and accountability where black-box models remain difficult to interpret. The framework combines prediction, explanation generation, evaluation, and automatic conversion of XAI outputs into natural language for non-technical stakeholders. Tabular preprocessing and deep neural networks support both classification and regression, using LIME and SHAP for local and global explanations, evaluated via fidelity and stability, then reformulated as structured inputs to an LLM. Experiments on power fault detection and building energy labeling show strong accuracy and near-perfect explanation quality.","An End-to-End Explainable AI Framework with Automated LLM-Based Natural Language Explanation Generation for Energy Systems  \nVenkata Sesha Sai Raj Nanduri1, Akthar Hussain2 and Van-Hai Bui 1,*  \n1 Department of Computer and Information Science, University of Michigan-Dearborn, 4901 Evergreen Rd, Dearborn, MI 48128, USA  \n2 Department of Electrical and Computer Engineering, Laval University, 2325 Rue de l’Université, Québec, QC G1V 0A6, Canada  \nAbstract  \nExplainable AI (XAI) is important for deploying machine learning systems in domains where stakes are very high and where transparency, trust and accountability are critical. Although black box models like deep neural networks often perform with high efficiency, interpreting their decisions remains a difficult task. This paper proposes a reusable end-to-end XAI framework that is the combination of prediction, explanation generation, evaluation and converting these explanations into natural language text of explanation which can be easily understood by the non-technical stakeholders as well. This framework initially preprocesses tabular datasets using standardized feature transformation techniques and trains deep neural network for both classification and regression tasks. Local and global explanations are generated using XAI algorithms like Local Interpretable Model-agnostic Explanation (LIME) and SHapley Additive exPlanations (SHAP) respectively. To evaluate these explanations, we use metrics like fidelity and stability to know how accurately and consistently explanations reflect the model behavior. The generated explanation includes feature importance scores, prediction specific attributes. These are then transformed into a structured input to the Large Language Model (LLM), which generates a natural language explanation through which everyone can understand the explanations generated by XAI algorithms. This framework is tested on power system fault dataset detection dataset and building energy labels dataset. The experimented results demonstrate the effectiveness of the proposed approach across both classification and regression tasks. For fault detection, the neural network model achieved 99% accuracy with ROC-AUC score of 1.00. For building energy prediction, model achieves R2 score of 0.67. Furthermore, fidelity and stability also stays at the top with a nearly perfect score which makes the model very reliable. These findings says that the proposed approach produces a stable and faithful explanations while improving the interpretability of black box model to everyone with the help of LLMs. This framework provides a model agnostic solution for enhancing transparency in both classification and regression tasks.  \nKeywords: Explainable AI; Large language model; LIME; Neural networks; SHAP  \n1. Introduction  \nArtificial Intelligence (AI) and Machine Learning (ML) have become the integral part across numerous application domains, including healthcare, finance, transportation and energy systems etc. Their ability to automatically learn the complex patterns from huge datasets has enabled significant improvements in performance and decision-making. However, as AI systems are most frequently used in  \nthe high-stakes domains where decisions directly affect the lives of people, the ability to understand and justify their predictions has become equally important. This growing demand has led to the rapid development of Explainable Artificial Intelligence (XAI), which aims to make machine learning models more transparent, interpretable and trustworthy while preserving the performance [1 – 3] .  \nAmong the ML techniques, deep neural networks are good at solving difficult problems because of their ability to learn highly nonlinear relationships from huge amount of data. Consequently, they have been widely adopted for applications such as power system fault diagnosis, computer vision, natural language processing and energy prediction where accurate and interpretable predictions are esse","cbCaim14SHrYXMEg","https://ap.wps.com/l/cbCaim14SHrYXMEg","pdf",2491320,2,1,25,"English","en",105,"# 1. Introduction\n## 1.1 Background: XAI and Black-Box Challenges\n## 1.2 Post-hoc Explanation Methods (LIME and SHAP)\n## 1.3 Alternative Explainability Techniques","[{\"question\":\"What is the main goal of the proposed XAI framework?\",\"answer\":\"The framework aims to generate explanation text in natural language by combining end-to-end prediction, XAI explanation generation, and evaluation, then converting explanations for non-technical stakeholders using an LLM.\"},{\"question\":\"How are local and global explanations produced in the framework?\",\"answer\":\"Local explanations are generated using LIME, while global explanations are generated using SHAP to describe overall model behavior.\"},{\"question\":\"What metrics are used to evaluate whether explanations are faithful and consistent?\",\"answer\":\"Explanations are evaluated using fidelity and stability metrics to assess how accurately and consistently they reflect model behavior.\"}]",1784197871,63,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"an-end-to-end-explainable-ai-framework-with-automated-llm-based-natural-language-explanation-generation-for-energy-systems","",{"@graph":36,"@context":85},[37,53,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,47,50],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":20},"https://docshare.wps.com/document/","Document",{"item":48,"name":12,"@type":43,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":43,"position":52},"https://docshare.wps.com/document/an-end-to-end-explainable-ai-framework-with-automated-llm-based-natural-language-explanation-generation-for-energy-systems/84726/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":24,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-23","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is the main goal of the proposed XAI framework?","Question",{"text":75,"@type":76},"The framework aims to generate explanation text in natural language by combining end-to-end prediction, XAI explanation generation, and evaluation, then converting explanations for non-technical stakeholders using an LLM.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How are local and global explanations produced in the framework?",{"text":80,"@type":76},"Local explanations are generated using LIME, while global explanations are generated using SHAP to describe overall model behavior.",{"name":82,"@type":73,"acceptedAnswer":83},"What metrics are used to evaluate whether explanations are faithful and consistent?",{"text":84,"@type":76},"Explanations are evaluated using fidelity and stability metrics to assess how accurately and consistently they reflect model behavior.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]