← Latest papers
⚡ electrical engineering

An End-to-End Explainable AI Framework with Automated LLM-Based Natural Language Explanation Generation for Energy Systems

This paper proposes an end-to-end Explainable AI framework that integrates deep learning models with LIME and SHAP algorithms to generate and evaluate feature-based explanations, which are then converted into natural language by Large Language Models to enhance interpretability for non-technical stakeholders in energy systems.

Original authors: Venkata Sesha Sai Raj Nanduri, Akthar Hussain, Van-Hai Bui

Published 2026-07-07
📖 5 min read🧠 Deep dive

Original authors: Venkata Sesha Sai Raj Nanduri, Akthar Hussain, Van-Hai Bui

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a super-smart robot chef (a Neural Network) that can predict two things with incredible accuracy:

  1. Is the power grid about to have a short circuit? (Fault Detection)
  2. How much electricity will a specific building use? (Energy Prediction)

The problem is, this robot chef is a "black box." It gives you the answer, but it won't tell you why it thinks that. It's like ordering a meal and getting a delicious dish, but the chef refuses to tell you what ingredients went into it. In high-stakes jobs like fixing power grids or managing city energy, we can't just trust the answer; we need to know the reasoning.

This paper introduces a new framework (a step-by-step recipe) to fix that. It acts like a translator that takes the robot's secret thoughts and turns them into a simple story anyone can understand.

Here is how the framework works, broken down into simple steps:

1. The Robot Chef (The Prediction)

First, the system trains a "black box" robot (a Neural Network) on data.

  • For Power Grids: It learns to spot faults in electrical wires with 99% accuracy. It's almost perfect.
  • For Buildings: It learns to guess how much energy a building will use. It gets about 67% of the details right, which is good, but not as perfect as the power grid task because buildings are messy and unpredictable.

2. The Detective (LIME and SHAP)

Once the robot makes a guess, the system sends in two "detectives" to figure out why:

  • Detective LIME (Local): This detective looks at one specific case at a time. They ask, "If we changed just this one thing (like the voltage), would the robot change its mind?" They create a simple, local map for that single prediction.
  • Detective SHAP (Global & Local): This detective looks at the big picture and the specific case. They use a game theory concept (like splitting a prize money fairly) to say exactly how much each ingredient (feature) contributed to the final result.

The Catch: These detectives speak a very technical language full of numbers and charts. A regular person (like a city planner or an electrician) might look at their report and say, "I have no idea what this means."

3. The Translator (The Large Language Model)

This is the paper's biggest innovation. The system takes the technical reports from the detectives and feeds them into a Large Language Model (LLM)—basically, a very advanced AI that is great at writing and talking.

The LLM acts as a translator. It takes the complex charts and numbers and writes a short, 5-point summary in plain English.

  • Instead of saying: "Feature XX has a SHAP value of 0.13,"
  • The LLM says: "The main reason the robot thinks there is a fault is that the voltage in Phase A is too high."

4. The Quality Check (Fidelity and Stability)

Before showing you the translation, the system checks if the detectives are doing a good job.

  • Fidelity: Does the detective's story actually match what the robot was thinking? (The paper says yes, the stories are very accurate).
  • Stability: If you change the input just a tiny bit (like a tiny fluctuation in voltage), does the detective's story change wildly, or stay the same?
    • Power Grid Results: The stories were rock-solid stable. Even with tiny changes, the explanation stayed the same.
    • Building Energy Results: The stories were a bit wobbly. Because buildings are so complex, tiny changes in the data sometimes made the explanation jump around.

What Did They Find?

The paper tested this "Robot + Detectives + Translator" team on two real-world datasets:

  1. Power System Faults:

    • The robot was 99% accurate.
    • The explanations were perfectly stable and faithful.
    • Verdict: This system is ready to help humans trust the robot when fixing dangerous power lines.
  2. Building Energy:

    • The robot was okay at predicting energy use (better than random guessing, but not perfect).
    • The explanations showed that Building Type (e.g., Residential vs. Commercial) and Size were the most important factors.
    • Verdict: The system works, but because buildings are so complicated, the explanations are a little less stable than the power grid ones.

The Bottom Line

This paper didn't just build a better robot; it built a bridge between the robot's brain and human understanding. It proves that you can have a super-smart, complex AI model and still explain its decisions in simple language using a "translator" AI.

  • For Power Grids: It's a perfect match—high accuracy, high trust.
  • For Buildings: It's a helpful tool, though the complexity of buildings makes the explanations a little trickier to keep consistent.

The authors conclude that this "End-to-End" framework makes AI transparent, allowing non-experts to understand why a machine made a decision, which is crucial for safety and trust in important industries.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →