ArticleslgStudy

engineering

Explainable artificial intelligence

Explainable artificial intelligence is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Explainable artificial intelligence rather than just read about it. In short: Within artificial intelligence (AI), explainable AI (XAI), generally overlapping with interpretable AI, interpretable machine learning and explainable machine learning (XML), is a field of research that explores methods that provide humans with the ability to exercise intellectual oversight over AI algorithms. The main focus is on the reasoning behind the decisions or predictions made by the AI algorithms, to make t…

Explainable artificial intelligence — main illustration
Explainable artificial intelligence — illustration

Key takeaways

  • Explainable artificial intelligence belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Explainable artificial intelligence to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Explainable artificial intelligence from memory before moving on to harder problems.

Reference excerpt

Within artificial intelligence (AI), explainable AI (XAI), generally overlapping with interpretable AI, interpretable machine learning and explainable machine learning (XML), is a field of research that explores methods that provide humans with the ability to exercise intellectual oversight over AI algorithms. The main focus is on the reasoning behind the decisions or predictions made by the AI algorithms, to make them more understandable and transparent. This addresses the need for users to know the safety of the algorithms and scrutinize the automated decision-making in applications. XAI counters the "black box" tendency of machine learning, where even the AI's designers cannot explain why it arrived at a specific decision. XAI seeks to help users of AI-powered systems perform more effectively by improving their understanding of how those systems reason. XAI may be an implementation of the social right to explanation. Even if there is no such legal right or regulatory requirement, XAI can improve the user experience of a product or service by helping end users trust that the AI is making good decisions. XAI aims to explain what has been done, what is being done, what will be done next, and what information these actions are based on. This makes it possible to confirm and challenge existing knowledge, and generate new assumptions.

Background Machine learning (ML) algorithms used in AI can be categorized as white-box or black-box. White-box models provide results that are understandable to experts in the domain. Black-box models, on the other hand, are extremely hard to explain and may not be understood even by domain experts. XAI algorithms follow the three principles of transparency, interpretability, and explainability.

A model is transparent "if the processes that extract model parameters from training data and generate labels from testing data can be described and motivated by the approach designer." Interpretability describes the possibility of comprehending the ML model and presenting the underlying basis for decision-making in a way that is understandable to humans. Explainability is a concept that is recognized as important, but a consensus definition is not yet available; one possibility is "the collection of features of the interpretable domain that have contributed, for a given example, to producing a decision (e.g., classification or regression)". In summary, interpretability refers to the user's ability to understand model outputs, while model transparency includes simulatability (reproducibility of predictions), decomposability (intuitive explanations for parameters), and algorithmic transparency (explaining how algorithms work). Model functionality focuses on textual descriptions, visualization, and local explanations, which clarify specific outputs or instances rather than entire models. All these concepts aim to enhance the comprehensibility and usability of AI systems. If algorithms fulfill these principles, they provide a basis for justifying decisions, tracking them and thereby verifying them, improving the algorithms, and exploring new facts. Sometimes it is also possible to achieve a high-accuracy result with white-box ML algorithms. These algorithms have an interpretable structure that can be used to explain predictions. Concept Bottleneck Models, which use concept-level abstractions to explain model reasoning, are examples of this and can be applied in both image and text prediction tasks. This is especially important in domains like medicine, defense, finance, and law, where it is crucial to understand decisions and build trust in the algorithms. Many researchers argue that, at least for supervised machine learning, the way forward is symbolic regression, where the algorithm searches the space of mathematical expressions to find the model that best fits a given dataset. AI systems optimize behavior to satisfy a mathematically specified goal system chosen by the system designers, such as the command "maximize the accuracy of assessing how positive film reviews are in the training dataset." The AI may learn useful general rules from the training set, such as "reviews containing the word 'horrible' are likely to be negative." However, it may also learn inappropriate rules, such as "reviews containing 'Daniel Day-Lewis' are usually positive"; such rules may be undesirable if they are likely to fail to generalize outside the training set, or if people consider the rule to be "cheating" or "unfair." A human can audit rules in an XAI to get an idea of how likely the system is to generalize to future real-world data outside the test set.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Explainable artificial intelligence

Start with the simplest possible case. Write down what Explainable artificial intelligence claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Explainable artificial intelligence before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Explainable artificial intelligence ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Explainable artificial intelligence

In research
Explainable artificial intelligence appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Explainable artificial intelligence in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Explainable artificial intelligence is common in secondary-school and first-year university syllabi. It links to neighbouring topics Artificial intelligence, Artificial intelligence engineering, Quality control tools, so understanding it makes those chapters shorter.
In everyday life
Look for Explainable artificial intelligence outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Explainable artificial intelligence” →

How to study Explainable artificial intelligence in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Explainable artificial intelligence means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Explainable artificial intelligence out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Explainable artificial intelligence in simple terms?

Within artificial intelligence (AI), explainable AI (XAI), generally overlapping with interpretable AI, interpretable machine learning and explainable machine learning (XML), is a field of research that explores methods that provide humans with the ability to exercise intellectual oversight over AI…

Why does Explainable artificial intelligence matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Explainable artificial intelligence?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Explainable artificial intelligence.

Tags

  • Artificial intelligence
  • Artificial intelligence engineering
  • Quality control tools

Keep exploring