<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>X (S. Tekkesinoglu);</journal-title>
      </journal-title-group>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Explanations Using LLMs with RAG</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sule Tekkesinoglu</string-name>
          <email>sule@robots.ox.ac.uk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lars Kunze</string-name>
          <email>lars@robots.ox.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Bristol Robotics Laboratory, University of the West of England</institution>
          ,
          <addr-line>Bristol</addr-line>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Oxford Robotics Institute, University of Oxford</institution>
          ,
          <addr-line>Oxford</addr-line>
          ,
          <country country="UK">UK</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>1938</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>As machine learning becomes increasingly integral to autonomous decision-making processes involving human interaction, the necessity of comprehending the model's outputs through conversational means increases. Most recently, foundation models are being explored for their potential as post hoc explainers, providing a pathway to elucidate the decision-making mechanisms of predictive models. In this work, we introduce traceable question-answering, leveraging an external knowledge repository to inform the responses of Large Language Models (LLMs) to user queries within a scene understanding task. This knowledge repository comprises contextual details regarding the model's output, containing highlevel features, feature importance, and alternative probabilities. We employ subtractive counterfactual reasoning to compute feature importance, a method that entails analysing output variations resulting from decomposing semantic features. Furthermore, to maintain a seamless conversational flow, we integrate four key characteristics - social, causal, selective, and contrastive - drawn from social science research on human explanations into a single-shot prompt, guiding the response generation process. Our evaluation demonstrates that explanations generated by the LLMs encompassed these elements, indicating its potential to bridge the gap between complex model outputs and natural language expressions.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>CEUR
ceur-ws.org</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>
        As we become increasingly reliant on AI applications in our daily lives, it becomes imperative
to interact with autonomous decision-making systems in human-understandable terms [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
Regulatory frameworks and standards are also evolving to require transparency and
accountability in AI-driven systems [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]. The technical necessity for explanations to facilitate model
debugging and rectifying potential ethical and legal risks arising from biases and errors has
been extensively discussed in the literature [
        <xref ref-type="bibr" rid="ref5 ref6 ref7">5, 6, 7</xref>
        ].
      </p>
      <p>
        The increasing demand for transparent and interpretable AI models has prompted the
exploration of various explanation methods, resulting in significant progress in both inherently
interpretable and post-hoc explainability methods [
        <xref ref-type="bibr" rid="ref10 ref8 ref9">8, 9, 10</xref>
        ]. While efective, these methods
struggle to provide explicit interpretability or intuitive explanations for non-technical users.
Consequently, there has been a concerted efort to integrate interpretability approaches with
Natural Language Processing (NLP) [
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ]. Recently, Large Language Models (LLMs) have
gained acclaim as post-hoc explainers, showcasing their potential to elucidate decisions made
by other predictive models. Despite their success, a persistent challenge for these models is
the occurrence of object hallucinations—instances where plausible yet incorrect outputs are
generated, such as featuring objects that do not exist in the images [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. This raises questions
about the fidelity of explanations to the underlying model. To address this issue, we propose a
traceable question-answering, which informs LLM responses through an external knowledge
source that provides insights into the model’s output. By utilizing this data, the LLM acts as
a reasoning engine to process the information rather than a source of information. Figure 1
provides a high-level depiction of this process.
      </p>
      <p>Additionally, to cultivate a seamless conversational experience, we incorporated key elements
derived from social science research on human explanations into the system prompt, directing
the response generation process. We present our vision for creating this integrated approach,
outlining each component, and illustrating its viability through a real-world dataset. This
integration has the potential to bridge the gap between intricate model outputs and user
comprehension towards advancing the development of human-understandable explanations.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Background</title>
      <sec id="sec-3-1">
        <title>2.1. Recent advances in image explanations</title>
        <p>
          The demand for transparent and interpretable AI models has led to exploring diverse explanation
methods for vision tasks [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]. Recent years have witnessed significant progress in both intrinsic
and post-hoc explainability methods. Gradient-based techniques, which analyse the gradients
of the model’s output with respect to its input features, have been extensively studied [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ].
While efective, these methods may fall short in providing intuitive explanations for
nonexperts. In another line of work, attention mechanisms are proposed by assigning weights to
diferent parts of the input data based on their relevance to the model’s decision [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. Similarly,
attention mechanisms may lack explicit interpretability, and some argue that attention alone is
insuficient. As a result, there have been concerted eforts to integrate these approaches with
Natural Language Processing (NLP) [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Long Short-Term Memory (LSTM) encoders have
been employed to extract features from video clips, with LSTM decoders generating descriptive
texts based on these features. While efective in image captioning, these methods provide
textual descriptions rather than visual explanations. Moreover, researchers have proposed
perturbation-based approaches—a model-agnostic method that perturbs input data and observes
changes in model predictions. Building on this research, we integrate semantic perturbation
analysis with pretrained language models, translating the results into the text modality for
enhanced explainability.
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>2.2. LLMs as post hoc explainers</title>
        <p>
          Recent strides in Large Language Models (LLMs), exemplified by GPT-4 (OpenAI), Bard (Google),
Claude-2 (Anthropic), and Llama-2 (Meta), mark a transformative era in Natural Language
Processing (NLP) research. These models have become pervasive across diverse applications,
ranging from machine translation and question-answering to text generation [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. Notably,
LLMs have recently gained attention as post hoc explainers, highlighting their potential to
elucidate the decisions made by other predictive models [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. Leveraging their in-context
learning capabilities by fine-tuning for specific tasks enhances their proficiency in generating
contextually relevant explanations [
          <xref ref-type="bibr" rid="ref12 ref19">12, 19</xref>
          ]. Despite their success, a persistent challenge for
these models is the occurrence of object hallucinations—instances where plausible yet incorrect
outputs are generated, featuring objects that do not exist in the images in vision-based tasks.
This issue raises questions about the faithfulness of explanations to the underlying model.
One way to address this is by recognizing the role of the semantic map layer in capturing
the meaning and context of the physical surroundings [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. By efectively encoding valuable
semantic information into LLMs, we can truthfully represent and comprehend the intricate
details of the model output within the language space.
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>2.3. Characteristics of explanations and XAI</title>
        <p>
          In the context of XAI, the audience for explanations is predominantly human; thus,
understanding what makes an explanation human-friendly is paramount. While accuracy is important,
the clarity and presentation of explanations are equally crucial in ensuring comprehensibility.
According to Miller [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ], current work on interpretability in machine learning relies solely
on researchers’ intuition regarding what constitutes an appropriate explanation for humans.
Miller’s survey highlights four major characteristics of explanations drawn from findings in
social science research on human explanation: explanations are social, causal, selective, and
contrastive [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]. In the following section, we briefly discuss these characteristics in relation to
XAI before demonstrating how we integrate them into our application.
        </p>
        <sec id="sec-3-3-1">
          <title>Explanations are social</title>
          <p>
            An explanation represents an interactive exchange between two roles: the explainer and the
explainee, and is governed by certain ‘rules’ [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ]. Interactive explanations in a dialogue structure
consist of three fundamental components: opening statements, clarification questions, and
closing statements [
            <xref ref-type="bibr" rid="ref22">22</xref>
            ]. As such, it should follow the basic rules of conversation, which are
captured by Grice’s conversational maxims [
            <xref ref-type="bibr" rid="ref23">23</xref>
            ]. These include principles such as quality,
quantity, relation, and manner, which can be understood as ‘only say what you believe’, ‘only
say as much as is necessary’, ‘only say what is relevant’, and ‘say it nicely’. Manner further
encompasses various sub-maxims, including avoiding unclear expression, eliminating ambiguity,
maintaining brevity to avoid unnecessary wordiness, and presenting information in an orderly
fashion.
          </p>
          <p>
            Moreover, explanatory agents employing anthropomorphic traits like politeness markers
(e.g., “Thank you!”), warm and friendly tones, and empathetic expressions (e.g., “I understand.”)
are pivotal for efective human interaction [
            <xref ref-type="bibr" rid="ref24">24</xref>
            ]. Theory of Mind also plays a crucial role in
social explanations.1 As an integral part of a dialogue, an explanatory agent should keep track
of what has already been explained, maintaining a simple mental model of others. This enables
intelligent agents to tailor explanations based on past interactions and evolving contexts.
          </p>
        </sec>
        <sec id="sec-3-3-2">
          <title>Explanations are causal</title>
          <p>
            Causal explanations aim to elucidate the cause-and-efect relationship underlying a decision.
When explaining a prediction made by a machine learning model, identifying the most influential
features can provide insight into the key causal connections to the prediction. This process,
also known as causal inference, starts with observations (e.g., what if a feature had a diferent
value) and selecting some of those causes as the explanation. Miller divides casual inference
into two parts: counterfactuals and abductive reasoning [
            <xref ref-type="bibr" rid="ref20">20</xref>
            ].
          </p>
          <p>
            The reasoner uses a model of hypothetical counterfactual cases to derive an explanation, such
as perturbing inputs, to see how they causally impact the prediction (See Section 3.1). Abductive
reasoning is inferring the causes from those observations to form the most probable explanation.
One can think of abductive reasoning as the following process: observing unexpected or
surprising events, generating one or more hypotheses about these events, judging the plausibility
of the hypotheses, and selecting the ‘best’ hypothesis as the explanation [
            <xref ref-type="bibr" rid="ref26">26</xref>
            ]. It is important
to note that new information (e.g., diferent feature perturbations) can alter the most likely
explanation.
          </p>
        </sec>
        <sec id="sec-3-3-3">
          <title>Explanations are selected</title>
          <p>
            Explanations are contextual by nature. While an event may have numerous causes, the recipient
of the explanation typically cares about only a specific subset relevant to the context [
            <xref ref-type="bibr" rid="ref27">27</xref>
            ]. The
explainer selects a subset based on various criteria called casual selection. Hilton [
            <xref ref-type="bibr" rid="ref28">28</xref>
            ] argues
that explanation selection is used for cognitive reasons since causal chains are often too large to
1Theory of mind refers to our ability to understand other people by attributing mental states to them, including
beliefs, desires, intentions, emotions, and thoughts that may difer from our own [
            <xref ref-type="bibr" rid="ref25">25</xref>
            ].
comprehend. The criteria people use for explanation selection include abnormality, relevancy,
and simplicity.
          </p>
          <p>
            Abnormality is a key criterion for explanation selection; as such, people select unusual causes
to explain events [
            <xref ref-type="bibr" rid="ref29">29</xref>
            ]. In machine learning interpretability, identifying abnormal events
corresponds to deviant or higher feature importance values. As pointed out within the conversational
maxims, relevancy also plays a role in explanation selection—only say what is necessary and
relevant. People select explanations to adhere to these maxims whilst persuading the explainee
to new information or viewpoints. Another strong criterion in explanation selection is
simplicity, which refers to those that cite fewer causes. People prefer uniquely suficient causes
that bring about the efect without any other causes, but there might be cases with multiple
suficient causes.
          </p>
        </sec>
        <sec id="sec-3-3-4">
          <title>Explanations are contrastive</title>
          <p>
            Studies have shown that people only request contrastive explanations, essentially ‘why’
questions framed to imply the diferences between two possible outcomes [
            <xref ref-type="bibr" rid="ref30">30</xref>
            ]. As a result,
explanations are typically ofered in relation to the cause of one event compared to another that did not
occur.
          </p>
          <p>
            Similarly, in the context of ML interpretability, people are not specifically interested in all
the factors that led to the prediction but instead in the factors that need to change so that the
prediction would also change. Explanations that present some contrast between the instance to
explain and a reference point (i.e., a hypothetical instance) are preferable because the cognitive
burden of complete explanations is too high. However, most existing work considers contrastive
questions but not contrastive explanations, providing two complete explanations individually.
This could be because the contrastiveness is application-dependent, given that a reference point
may not be apparent in all tasks [
            <xref ref-type="bibr" rid="ref31">31</xref>
            ]. For instance, in sentiment analysis or anomaly detection,
contrastive cases might not be as straightforward as other tasks, such as banking, e.g., loan
accepted vs rejected cases.
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>3. Materials and Method</title>
      <p>This section outlines the key elements of the traceable question-answering methodology. We
detail the proposed explainability approach for extracting feature importance and the prompting
technique to generate accurate and human-friendly explanations. Additionally, we provide an
application example illustrating how we establish a connection between the model output, the
explainability technique, and language models to produce natural language explanations in an
interactive format.</p>
      <sec id="sec-4-1">
        <title>3.1. Explanations through subtractive counterfactual reasoning</title>
        <p>
          Subtractive counterfactual reasoning is the process of removing an event to understand its causal
influence on an outcome [
          <xref ref-type="bibr" rid="ref32">32</xref>
          ]. Such reasoning is widely used as an XAI technique, exemplified by
occlusion analysis and feature importance attribution, built on the same foundation - quantifying
the variation in model output through systematic modifications of input components [
          <xref ref-type="bibr" rid="ref14 ref33 ref34 ref35">33, 14,
34, 35</xref>
          ]. There are distinctions in terms of how these methods remove features, elucidate model
behaviour, and summarize feature importance. Nonetheless, they provide valuable insights into
the relative significance of each feature influencing the decision-making process [
          <xref ref-type="bibr" rid="ref36 ref37 ref38">36, 37, 38</xref>
          ].
        </p>
        <p>This study proposes a decomposition-based approach to examine the output variations by
decomposing input values. By measuring such variations, we determine the degree of impact
on an outcome and reason about the importance of each feature value. As a function, the model
assigns a class label and prediction probability  ∶  →  () given input  . To measure the
efect of each input value, we observe the model’s prediction  for  without the knowledge
of event   =   , where   is the value of feature   . To explicitly represent the absence of
information, the feature value   is replaced with an undefined value, i.e., NaN (Not a Number).
NaN values are treated as invalid or masked elements and are not considered in the computation.
We attain an array containing probabilities for all perturbations resulting from decomposition.
In order to determine the importance of an individual feature   , we begin by identifying the 
and  values within this array, which establishes the decision boundaries for the given input.
Next, we compute the feature importance as the position of the probability– after decomposing
the feature– relative to the  and  probabilities. The computation is expressed as follows:
 (
 )
(1)
 ) =</p>
        <p>(| ∖ 
(| ∖ 
 )</p>
        <p>− (| ∖ 
− (| ∖ 
 )  )</p>
        <p>This approximates an importance value between zero and one for each input feature.
Considering that evaluating fractions has a higher cognitive load, the values are rounded to the nearest
integer to increase comprehensibility. Moreover, this analysis is carried out for the categories
following the main prediction simultaneously to generate explanations for the contrastive cases.</p>
      </sec>
      <sec id="sec-4-2">
        <title>3.2. Prompting for traceable question-answering with RAG</title>
        <p>
          Traceable question-answering, through a process known as Retrieval-Augmented Generation
(RAG), integrates external knowledge sources to furnish responses to user inquiries. This
method improves the performance of LLMs by referencing an external knowledge source prior
to generating a response (See Figure 1). This approach mitigates the problem of ‘hallucination’
and ensures factual consistency, particularly in scenarios where facts may evolve over time [
          <xref ref-type="bibr" rid="ref39">39</xref>
          ].
Depending on the specific implementation, RAG supports various file formats, including text,
PDF files, word documents, structured data (tables), and images.
        </p>
        <p>In our work, the knowledge repository contains tabular information about model output,
features, contrastive cases, and feature importance values obtained through the
decompositionbased explanation method described in Section 3.1. This information is saved as the output of
the explanation module as a .csv file. Then, the file, the system prompt (See Figure 3), and the
user input query are fed to the LLM model for response generation. The resulting responses
contextualise the feature importance grounded in the models’ inner workings, thereby rendering
the explanations traceable to the underlying model.</p>
        <p>Furthermore, our aim is to imbue LLM with the characteristics of explanations discussed in
Section 2.3 to foster a human-friendly interaction. Ideally, LLM-generated responses should
adhere to conversational norms, encompassing opening, clarification, and closing statements
while appropriately integrating social cues. The model is expected to deduce causal relationships
from the observations within the provided knowledge repository, selecting the most pertinent
causes to form an explanation and presenting it alongside a contrastive case. To accomplish
this goal, we devised a system prompt that provides explicit instructions to the model to
generate eficient responses to user queries. The system prompt includes a single-shot example
illustrating the desired interaction, potential user inquiries and outlining how the model can
efectively address them, enabling the language model to produce consistent and predictable
outcomes, as presented in Figure 3.</p>
      </sec>
      <sec id="sec-4-3">
        <title>3.3. Application example</title>
        <p>To demonstrate our approach to traceable question-answering, we selected a visual scene
understanding task. This involves scene classification, categorizing images based on their
content and inferring high-level semantic scenes from low-level visual features. Many critical
applications of scene classification include human-robot collaboration, autonomous driving,
and other autonomous physical systems that rely on semantic segmentation to inform
decisionmaking processes [40, 41, 42]. We experimented with the GoogleNet Places365 model designed
specifically for scene recognition and classification tasks [ 43]. The model is trained on the
Places365 dataset, containing more than 365 scene categories. We focus on semantic urban
scene understanding with the road segmentation dataset CamVid (Cambridge-driving Labelled
Video Database). The dataset helps to understand driving scenes, comprising images capturing
street-level views from urban driving scenarios. It includes manual annotations across 32 classes,
encompassing elements such as building, driveway, pavement, tree, trafic sign, car, pedestrian,
and bicyclist. The Deeplab v3+ deep learning model is trained on the CamVid dataset for
semantic segmentation [44]. Figure 2 shows the segmentation result for the example presented
in the next section. Since we utilized of-the-shelf models for illustration purposes, the emphasis
is not on these models’ performances.</p>
        <p>Semantic information plays a critical role in autonomous vehicle (AV) decision-making
processes, as it captures the meaning and context of the physical surroundings observed in the
road scene. This includes understanding the appearance of various elements such as buildings
and roads, identifying shapes such as cars and pedestrians, and recognizing spatial relationships
to contextualize the scene [45]. Particularly in unstructured of-road environments, the accurate
understanding of the surroundings concerning semantic classes such as trail, grass, or rock is
important for safe and deliberate navigation [46]. Moreover, semantic segmentation provides a
way to represent and comprehend the details of the environment in the language space. By
leveraging the labelled information within the image scene, we can semantically map the crucial
components based on their feature importance. This granularity enables a more insightful
analysis of feature importance, contributing to a nuanced understanding of the model’s
decisionmaking process. Such insights can be helpful for post-incident forensic analysis in case of
misreading a scene causing collisions or accidents. In this work, we suppose situations where
the user checks in with an AI assistant in an AV system in non-critical driving scenarios while
engaging in non-driving related tasks.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. Evaluation Results</title>
      <p>In this section, we present our experimental findings. We analyzed nine distinct scene classes —
parking lot, street, residential neighbourhood, crosswalk, highway, industrial area, gas station,
shopfront, and general store (outdoor)— across diferent scenarios (totalling 42), where the model
displayed varying degrees of confidence in its output. We evaluated the responses in terms of
sociability, causality, selectiveness, and contrastiveness generated by GPT-3.5 (gpt-3.5-turbo)
and GPT-4 (gpt-4-1106-preview) models.</p>
      <p>SYSTEM: You are an AI model designed to adapt to various scenarios in autonomous driving. You have
the details like predicted class, alternative predictions (contrastive cases), probabilities, feature
importance, and how certain factors afect predictions. When engaging with user queries, focus
on the specific question, provide concise explanations within a 50-word limit, and use friendly
language. Identify key causal connections and highlight abnormal values that significantly
contribute to the prediction, explaining their relevance in driving scenarios. Here’s an example of
how you could respond to user questions:
USER: The display panel just showed ‘residential neighbourhood’ on the screen. It didn’t seem pretty
confident.</p>
      <p>YOU (accessing relevant data): Hey there! It looks like we’re in a ‘residential neighbourhood’ right
now with a probability of 40 percent. This means we’re on a road surrounded by features like
driveways, sidewalks, trees, and cars, which are highly influential (with high importance values)
to this observation.</p>
      <p>USER: Cool! I am just curious, what happens if there was no sidewalk?</p>
      <sec id="sec-5-1">
        <title>YOU (accessing relevant data for feature impact on the predicted class and the contrastive case):</title>
        <p>If the environment looked more like a freeway with no sidewalks, the ‘residential neighbourhood’
would be less likely (drop to 20 percent); in contrast, it would increase the probability for ‘highway’
(alternative prediction) to 13 percent.</p>
        <p>USER: Interesting! Can you tell me how ‘residential neighbourhood’ and ‘highway’ difer in their
features?
YOU (comparing most important features): Sure! Both places have buildings and cars, but the
sidewalks and trees are strong clues for a neighbourhood.</p>
        <p>USER: How many cars are there?
YOU: I’m sorry, but I’m currently unable to provide the exact number of cars. However, based on the
detected features, we’re in a residential area where I should be extra cautious for pedestrians and
potentially slower speeds compared to major roads. Is that a suficient explanation?
USER: Yes, thanks!
YOU: You’re welcome! If you have any more questions or need assistance with anything else, feel free
to ask. Enjoy the ride!</p>
        <sec id="sec-5-1-1">
          <title>4.1. Sociability</title>
          <p>In examining the sociability within the responses, our initial focus centres on the overall tone of
the responses. We employed the Valence Aware Dictionary and Sentiment Reasoner (VADER) to
gauge the sentiment conveyed within the text, encompassing dimensions of positivity, negativity,
and neutrality. Sentiment scores for each response are aggregated to delineate overall sentiment
trends. Figure 5 illustrates a noticeable positive trendline by both models, indicating a prevalent
USER: The display panel just showed ‘parking lot’ on the screen.</p>
          <p>ChatXAI: Hey! It appears we’re in a ‘parking lot’ with a likelihood of 52%. Notably, cars have the
highest feature importance (10), which drastically reduces the probability to 17% if they’re absent.
That’s a key indicator for us to be mindful of our surroundings, especially of vehicles moving in
or out.</p>
          <p>USER: Cool! What could it be otherwise if it wasn’t a parking lot?
ChatXAI: If it weren’t a parking lot, the system suggests an ‘industrial area’ with a probability of 11%,
or a ‘motel’ at 9%, or even a ‘gas station’ at 6%. Each has a distinct pattern of features impacting
their likelihood.</p>
          <p>USER: Can you tell me how parking lot and industrial area difer in their features?
ChatXAI: Certainly! A ‘parking lot’ and an ‘industrial area’ difer mainly in buildings and poles, which
are more critical in an industrial context (with importance ratings of 10 and 4, respectively). Also,
the presence of driveways is a vital feature for an industrial area (importance 10) compared to a
parking lot.</p>
          <p>USER: Is there an empty space?
ChatXAI: I’m sorry, but I don’t currently have the ability to visually confirm the presence of an empty
space in real-time. My function is to assist with predictive analytics based on the features detected
in the driving scenarios. If you need help with anything else, feel free to ask!
USER: Ok, thanks!
ChatXAI: You’re welcome! If you have any more questions or need assistance with anything else, feel
free to ask. Safe travels!
inclination towards positivity in the sentiment expressed. A qualitative inspection of the
text reveals a prevalence of polite, helpful, and informative social cues across all responses,
supporting this observation. Consequently, the neutral sentiment score remains notably low,
underscoring the prevalence of emotional expression throughout the corpus. Exploring negative
sentiment scores unveils instances where the models acknowledge their limitations, particularly
when unable to retrieve answers from the external knowledge repository.</p>
          <p>Considering the three foundational phases of dialogue—opening, clarification, and closing
statements—next, we analyzed the indicators such as politeness markers and emotional
expressions within each phase. To facilitate this analysis, we created a distinct dictionary for
each phase and computed the term frequency of social cues present in each phase.2 Opening
statements include greetings such as ‘hey’ and ‘hello.’ Clarification statements are characterized
by social cues indicative of helpfulness, continued support, and awareness of its limitations,
2Term frequency is defined as the number of times a term occurs in the document over the total number of terms in
a document.
Positive</p>
          <p>Neutral</p>
          <p>Negative
including terms such as ‘absolutely’, ‘sorry’, ‘further’, ‘curious’, ‘questions’, ‘help’, ‘feel’, and
‘free’. Closing statements commonly conveyed sentiments of well-wishing or safety, with
phrases including terms such as ‘welcome’, ‘enjoy’, ‘safe’, ‘great’, ‘pleasant’, and ‘glad’.</p>
          <p>Figure 6 shows that both models utilize these terms fairly across the respective phases of
the dialogue. Our qualitative assessment of the responses further confirms the contextual
relevance of these terms, which align with conversational maxims (See Section 2.3). The higher
frequency value observed in closing statements can be attributed to their typically brief nature,
which encapsulates most of the social cue terms. Additionally, both models occasionally repeat
certain phrases in their responses, albeit with the application of a frequency and presence
penalty (0.3).3 In addition to analysing social cues, we examined part-of-speech (POS) pronouns
as social interaction markers, encompassing terms such as ‘I’, ‘you’, ‘we’, ‘my’, ‘our’, and
‘your.’ Quantitative analysis and qualitative evaluation of the results indicate that both models
adequately and appropriately applied POS pronouns.</p>
          <p>Opening</p>
          <p>Statement
Clarification</p>
          <p>Statement</p>
          <p>Closing
Statement</p>
          <p>PoS
Pronouns
0
3Frequency penalty discourages repetitive use of words or phrases, while presence penalty promotes diversity in the
generated text.
13
13
9
5
3
50 40 30 20 10 0
Figure 7: Frequency of causatGioPnT-3t.5erms observed.</p>
        </sec>
        <sec id="sec-5-1-2">
          <title>4.2. Expression of Causality</title>
          <p>To evaluate the expression of causality, we initially extracted responses indicating cause and
efect, primarily found within clarification statements. We then identified key terms related to
causality, such as ‘because’, ‘if’, ‘then’, ‘albeit’, ‘due’, ‘contribute’, ‘influence’, ‘afect’, ‘impact’,
and ‘efect’, and tallied their occurrences within each answer to measure the presence of causal
reasoning. In Figure 7, we compare the frequency of these terms used by two models in the
response set. Notably, ‘if’ emerges as the most frequent term used by both models, often utilized
for expressing counterfactual reasoning (e.g., ‘if it was not’, ‘if there is/were’), while ‘influence’
typically indicates the cause of a decision. Overall, GPT-4 demonstrated a higher frequency of
causality terms and showcased greater diversity in expression compared to GPT-3.5.</p>
          <p>Through the qualitative review, we examined existing patterns of dependency parsing
signifying causal relationships. Two primary grammatical structures emerged, suggesting cause-efect
relationships within the text. The first structure pertains to how the presence or absence of
certain features influences the likelihood of specific scenarios. The second structure involves
a cause-efect relationship between feature importance and probability, indicating that
features with higher importance scores exert a greater impact on probability. It is important to
acknowledge that while these grammatical structures and terms are widely used, their accuracy
is not always consistent across models. In the subsequent section, we will further evaluate the
selection and accuracy of inferred causal relationships.</p>
        </sec>
        <sec id="sec-5-1-3">
          <title>4.3. Selectiveness</title>
          <p>In this section, we evaluate whether the models efectively detect unusual values within the
provided knowledge repository, infer potential causes from those observations, and select
the most relevant ones to construct an explanation. Our evaluation encompasses analysing
responses across the number of causes given, graded selection, and sort order to assess whether
expected causes are addressed correctly. First, we specified the maximum number of uniquely
suficient causes for each case, which are feature importance values &gt;5. The number of causes
varies across scenarios; some exhibit only a single highly important feature &gt;5, while others
might involve multiple high-importance features with varying degrees of significance. Graded
selection is crucial for discerning important values such that the language model must prioritize
the most relevant causes when encountered with multiple features of comparable importance
levels. Additionally, graded selection entails disregarding features with lower importance
scores (&lt;5). Finally, the sort order concerns the sequence of selected causes, which should
follow a hierarchy from the most significant and relevant features to those of lesser importance.
Thereafter, responses are categorized as fulfilled, partial, subpar, or unfulfilled according to their
arrangement with our specifications.</p>
          <p>The findings presented in Table 2 indicate that GPT-4 outperformed GPT-3.5 in all categories.
Notably, GPT-4 had a much higher success rate (76%) than GPT-3.5 (24%) in identifying the
most relevant cause (fulfilled). Additionally, GPT-4 had a lower rate of subpar and unfulfilled
responses. GPT-3.5 referenced features not present in the knowledge source as potential causes
in two instances. These results suggest that GPT-4 is more accurate and selective than GPT-3.5
in identifying the most relevant cause(s) from a set of possible causes.</p>
          <p>Furthermore, an additional criterion for assessing explanation selection is simplicity, which
involves utilizing concise language, avoiding technical terminology, and referencing fewer
causes. Table 3 evaluates responses by comparing three metrics: the frequency of technical
jargon, response length, and the number of causes cited. Lower values across all three metrics
signify simpler responses.</p>
          <p>To measure the term frequency of technical jargon, we compiled a list of technical terms in the
responses and calculated their frequency within the generated explanations. The list contains
terms such as ‘prediction’, ‘feature importance’, ‘score’, ‘contrastive cases’, and ‘confidence’,
which may not be easily comprehensible to all users. Table 3 indicates that GPT-3.5 exhibits a
slightly higher term frequency (0.0162) compared to GPT-4 (0.0157), suggesting that GPT-3.5
utilizes technical jargon marginally more frequently. The length metric refers to the median
lengths of the responses generated by each model, which are quite similar (45 tokens for GPT-3.5
and 44 tokens for GPT-4). In terms of the number of causes cited, GPT-4 cites fewer causes
(median of 2) than GPT-3.5 (median of 3), suggesting that GPT-4’s responses tend to be simpler
in terms of causal reasoning. Overall, the results suggest that GPT-4 generates simpler responses
than GPT-3.5 across all three assessed metrics.</p>
          <p>Regarding the out-of-scope questions posed, such as the number of cars or pedestrians, the
intent was to assess whether the model would fabricate an answer. Both models have expressed
their inability to provide such information. This demonstrated an awareness of their limitations
rather than attempting to generate a response.</p>
        </sec>
        <sec id="sec-5-1-4">
          <title>4.4. Expression of Contrastiveness</title>
          <p>Ideally, initial explanations should include a contrast with an alternative case to justify the
output. Then the user would investigate it further if desired. In our experiment, we observed
that in most cases, models, particularly with GPT3.5, failed to mention alternative scenarios
unless explicitly prompted (e.g., inquiries such as “What could it be otherwise if it wasn’t
X?” or “How does X difer from other options?”). Nevertheless, to measure the presence of
contrastiveness across models, we analysed the occurrence of contrastive terms and comparative
phrases within the generated responses. We compiled a dictionary consisting of terms such
as ‘distinguish’, ‘diferent’, ‘contrast’, ‘compared to’, ‘in contrast’, ‘while’, ‘both’, ‘on the other
hand’, ‘whereas’, and ‘conversely’, which introduce contrasting explanations. Figure 8 shows
that ‘distinguish’ is the most frequently used term by GPT-3.5, whereas ‘diferent’ predominates
in GPT-4’s responses. Other frequently encountered terms include ‘compared to’, ‘contrast’,
and ‘diferentiate.’ Overall, the results suggest that GPT-4 employs a wider array of contrastive
terms than GPT-3.5 in its responses. Our qualitative observations further confirm that while
GPT-3.5 tends to adhere to one type of contrastive explanation, GPT-4 explores diverse ways to
express such contrasts.</p>
          <p>18
16</p>
          <p>Although both models frequently employ these terms, indicating the generation of alternative
viewpoints in their responses, the efectiveness of contrastive explanations varies considerably.
Our qualitative review found that well-developed contrasting explanations included alternative
scenarios with counterfactuals to strengthen the case. Conversely, weakly constructed
contrastive explanations failed to explore ‘what if’ scenarios to elucidate the disparity between the
two situations under comparison.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Conclusion</title>
      <p>This study contributes to advancing post-hoc explainability by proposing a traceable
questionanswering approach. By integrating LLMs with the decomposition-based explainability
technique, we generate natural language explanations in an interactive format. Our approach
promotes transparency and interpretability in scene-understanding tasks by fusing LLMs with
semantic feature importance. The proposed approach has the potential for application across
various domains, ofering comprehensible explanations for decision-making processes,
including critical areas such as medical applications. While this is a promising development, there
are still areas for further exploration and improvement. One area that requires attention is the
overuse of social cues by LLMs. While polite and helpful phrases can enhance user experience,
their misuse can become vexing over time. It is important to evaluate such interactions through
human subject studies to understand user perceptions of the explanations provided by the
LLM. Future research could also explore dialogue management strategies to address issues
related to interaction and personalization. On another note, the dynamic nature of the external
knowledge source ofers the potential for further expansion with additional observations. This
not only ensures that the system remains relevant and up to date but also allows the system to
answer diferent types of questions. Additionally, incorporating multimodal elements, such as
combining text with visual explanations, can enhance the efectiveness of the responses (e.g.,
highlighting the specific elements contributing to the prediction). Another consideration is the
estimation of feature importance values, which are subject to perturbations and computational
processes. It is important to assess and reconcile diferences in feature importance across
algorithms to ensure stability and consistency.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work was supported by the Wallenberg AI, Autonomous Systems and Software Program
(WASP), funded by the Knut and Alice Wallenberg Foundation.
generation for large language models: A survey, arXiv preprint arXiv:2312.10997 (2023).
[40] B. Li, S. Liu, W. Xu, W. Qiu, Real-time object detection and semantic segmentation for
autonomous driving, in: MIPPR 2017: Automatic Target Recognition and Navigation,
volume 10608, SPIE, 2018, pp. 167–174.
[41] I. R. Rodrigues, G. Barbosa, A. Oliveira Filho, C. Cani, M. Dantas, D. H. Sadok, J. Kelner, R. S.</p>
      <p>Souza, M. V. Marquezini, S. Lins, Modeling and assessing an intelligent system for safety
in human-robot collaboration using deep and machine learning techniques, Multimedia
Tools and Applications (2021) 1–27.
[42] Z. Wang, L. Wei, L. Wang, Y. Gao, W. Chen, D. Shen, Hierarchical vertex regression-based
segmentation of head and neck ct images for radiotherapy planning, IEEE Transactions
on Image Processing 27 (2017) 923–937.
[43] B. Zhou, A. Lapedriza, A. Khosla, A. Oliva, A. Torralba, Places: A 10 million image database
for scene recognition, IEEE Transactions on Pattern Analysis and Machine Intelligence
(2017).
[44] L.-C. Chen, Y. Zhu, G. Papandreou, F. Schrof, H. Adam, Encoder-decoder with atrous
separable convolution for semantic image segmentation, in: Proceedings of the European
conference on computer vision (ECCV), 2018, pp. 801–818.
[45] S. Hao, Y. Zhou, Y. Guo, A brief survey on semantic segmentation with deep learning,</p>
      <p>Neurocomputing 406 (2020) 302–321.
[46] B. Li, Y. Shi, Z. Qi, Z. Chen, A survey on semantic segmentation, in: 2018 IEEE International
Conference on Data Mining Workshops (ICDMW), IEEE, 2018, pp. 1233–1240.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A. B.</given-names>
            <surname>Arrieta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Díaz-Rodríguez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. Del</given-names>
            <surname>Ser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bennetot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Tabik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Barbado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>García</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gil-López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Molina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Benjamins</surname>
          </string-name>
          , et al.,
          <article-title>Explainable artificial intelligence (xai): Concepts, taxonomies, opportunities and challenges toward responsible ai</article-title>
          ,
          <source>Information fusion 58</source>
          (
          <year>2020</year>
          )
          <fpage>82</fpage>
          -
          <lpage>115</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Kaur</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Uslu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. J.</given-names>
            <surname>Rittichier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Durresi</surname>
          </string-name>
          ,
          <article-title>Trustworthy artificial intelligence: a review, ACM computing surveys (CSUR) 55 (</article-title>
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>38</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>I. Varošanec</surname>
          </string-name>
          ,
          <article-title>On the path to the future: mapping the notion of transparency in the eu regulatory framework for ai</article-title>
          ,
          <source>International Review of Law, Computers &amp; Technology</source>
          <volume>36</volume>
          (
          <year>2022</year>
          )
          <fpage>95</fpage>
          -
          <lpage>117</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L.</given-names>
            <surname>Nannini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Balayn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. L.</given-names>
            <surname>Smith</surname>
          </string-name>
          ,
          <article-title>Explainability in ai policies: a critical review of communications, reports, regulations, and standards in the eu, us, and uk</article-title>
          ,
          <source>in: Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency</source>
          ,
          <year>2023</year>
          , pp.
          <fpage>1198</fpage>
          -
          <lpage>1212</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>F.</given-names>
            <surname>Doshi-Velez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <article-title>Towards a rigorous science of interpretable machine learning</article-title>
          ,
          <source>arXiv preprint arXiv:1702.08608</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>V.</given-names>
            <surname>Hassija</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Chamola</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mahapatra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Singal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Goel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Scardapane</surname>
          </string-name>
          , I. Spinelli,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mahmud</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hussain</surname>
          </string-name>
          ,
          <article-title>Interpreting black-box models: a review on explainable artificial intelligence</article-title>
          ,
          <source>Cognitive Computation 16</source>
          (
          <year>2024</year>
          )
          <fpage>45</fpage>
          -
          <lpage>74</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D.</given-names>
            <surname>Vale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>El-Sharif</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ali</surname>
          </string-name>
          ,
          <article-title>Explainable artificial intelligence (xai) post-hoc explainability methods: Risks and limitations in non-discrimination law</article-title>
          ,
          <source>AI and Ethics</source>
          <volume>2</volume>
          (
          <year>2022</year>
          )
          <fpage>815</fpage>
          -
          <lpage>826</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>D.</given-names>
            <surname>Slack</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hilgard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Lakkaraju</surname>
          </string-name>
          ,
          <article-title>Reliable post hoc explanations: Modeling uncertainty in explainability</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>34</volume>
          (
          <year>2021</year>
          )
          <fpage>9391</fpage>
          -
          <lpage>9404</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Madsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Reddy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chandar</surname>
          </string-name>
          ,
          <article-title>Post-hoc interpretability for neural nlp: A survey</article-title>
          ,
          <source>ACM Computing Surveys</source>
          <volume>55</volume>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>P.</given-names>
            <surname>Linardatos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Papastefanopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kotsiantis</surname>
          </string-name>
          ,
          <article-title>Explainable ai: A review of machine learning interpretability methods</article-title>
          ,
          <source>Entropy</source>
          <volume>23</volume>
          (
          <year>2020</year>
          )
          <fpage>18</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>E.</given-names>
            <surname>Cambria</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Malandri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Mercorio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mezzanzanica</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Nobani</surname>
          </string-name>
          ,
          <article-title>A survey on xai and natural language explanations</article-title>
          ,
          <source>Information Processing &amp; Management</source>
          <volume>60</volume>
          (
          <year>2023</year>
          )
          <fpage>103111</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>L.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Sinavski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hünermann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Karnsund</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. J.</given-names>
            <surname>Willmott</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Birch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Maund</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Shotton</surname>
          </string-name>
          ,
          <article-title>Driving with llms: Fusing object-level vector modality for explainable autonomous driving</article-title>
          ,
          <source>arXiv preprint arXiv:2310</source>
          .
          <year>01957</year>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>C.</given-names>
            <surname>Cui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Ma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Cao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Ye</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Liang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.-D. Liao</surname>
          </string-name>
          , et al.,
          <article-title>A survey on multimodal large language models for autonomous driving</article-title>
          ,
          <source>in: Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision</source>
          ,
          <year>2024</year>
          , pp.
          <fpage>958</fpage>
          -
          <lpage>979</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>M. D. Zeiler</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Fergus</surname>
          </string-name>
          ,
          <article-title>Visualizing and understanding convolutional networks</article-title>
          ,
          <source>in: Computer Vision-ECCV</source>
          <year>2014</year>
          : 13th European Conference, Zurich, Switzerland, September 6-
          <issue>12</issue>
          ,
          <year>2014</year>
          , Proceedings,
          <source>Part I 13</source>
          , Springer,
          <year>2014</year>
          , pp.
          <fpage>818</fpage>
          -
          <lpage>833</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>R. R.</given-names>
            <surname>Selvaraju</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Cogswell</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Das</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Vedantam</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Parikh</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Batra</surname>
          </string-name>
          , Grad-cam:
          <article-title>Visual explanations from deep networks via gradient-based localization</article-title>
          ,
          <source>in: Proceedings of the IEEE International Conference on Computer Vision</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>618</fpage>
          -
          <lpage>626</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bahdanau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Cho</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y. Bengio,</surname>
          </string-name>
          <article-title>Neural machine translation by jointly learning to align and translate</article-title>
          ,
          <source>arXiv preprint arXiv:1409.0473</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M. U.</given-names>
            <surname>Hadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Qureshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Shah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Irfan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zafar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. B.</given-names>
            <surname>Shaikh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Akhtar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Mirjalili</surname>
          </string-name>
          , et al.,
          <article-title>A survey on large language models: Applications, challenges, limitations, and practical usage</article-title>
          , Authorea
          <string-name>
            <surname>Preprints</surname>
          </string-name>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>N.</given-names>
            <surname>Kroeger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Krishna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Agarwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Lakkaraju</surname>
          </string-name>
          ,
          <article-title>Are large language models post hoc explainers?</article-title>
          ,
          <source>arXiv preprint arXiv:2310.05797</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>M.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Han</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yin</surname>
          </string-name>
          ,
          <article-title>Fine-tuning large language model based explainable recommendation with explainable quality reward</article-title>
          ,
          <source>in: Proceedings of the AAAI Conference on Artificial Intelligence</source>
          , volume
          <volume>38</volume>
          ,
          <year>2024</year>
          , pp.
          <fpage>9250</fpage>
          -
          <lpage>9259</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>T.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <article-title>Explanation in artificial intelligence: Insights from the social sciences</article-title>
          ,
          <source>Artificial intelligence 267</source>
          (
          <year>2019</year>
          )
          <fpage>1</fpage>
          -
          <lpage>38</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>D. J.</given-names>
            <surname>Hilton</surname>
          </string-name>
          ,
          <article-title>Conversational processes and causal explanation</article-title>
          .,
          <source>Psychological Bulletin</source>
          <volume>107</volume>
          (
          <year>1990</year>
          )
          <fpage>65</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>A.</given-names>
            <surname>Cawsey</surname>
          </string-name>
          , Planning interactive explanations,
          <source>International Journal of Man-Machine Studies</source>
          <volume>38</volume>
          (
          <year>1993</year>
          )
          <fpage>169</fpage>
          -
          <lpage>199</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>H. P.</given-names>
            <surname>Grice</surname>
          </string-name>
          ,
          <article-title>Logic and conversation</article-title>
          , in: Speech acts, Brill,
          <year>1975</year>
          , pp.
          <fpage>41</fpage>
          -
          <lpage>58</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>J.</given-names>
            <surname>Feine</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Gnewuch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Morana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Maedche</surname>
          </string-name>
          ,
          <article-title>A taxonomy of social cues for conversational agents</article-title>
          ,
          <source>International Journal of Human-Computer Studies</source>
          <volume>132</volume>
          (
          <year>2019</year>
          )
          <fpage>138</fpage>
          -
          <lpage>161</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>I. A.</given-names>
            <surname>Apperly</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Butterfill</surname>
          </string-name>
          ,
          <article-title>Do humans have two systems to track beliefs and belief-like states?</article-title>
          ,
          <source>Psychological review 116</source>
          (
          <year>2009</year>
          )
          <fpage>953</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>R. R.</given-names>
            <surname>Hofman</surname>
          </string-name>
          , G. Klein,
          <article-title>Explaining explanation, part 1: theoretical foundations</article-title>
          ,
          <source>IEEE Intelligent Systems</source>
          <volume>32</volume>
          (
          <year>2017</year>
          )
          <fpage>68</fpage>
          -
          <lpage>73</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>D. V.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Pereira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. S.</given-names>
            <surname>Cardoso</surname>
          </string-name>
          ,
          <article-title>Machine learning interpretability: A survey on methods and metrics</article-title>
          ,
          <source>Electronics</source>
          <volume>8</volume>
          (
          <year>2019</year>
          )
          <fpage>832</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>D.</given-names>
            <surname>Hilton</surname>
          </string-name>
          ,
          <article-title>Social attribution and explanation</article-title>
          , Oxford Academic (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>D.</given-names>
            <surname>Kahneman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Tversky</surname>
          </string-name>
          , The simulation heuristic,
          <source>National Technical Information Service</source>
          ,
          <year>1981</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lipton</surname>
          </string-name>
          , Contrastive explanation,
          <source>Royal Institute of Philosophy Supplements</source>
          <volume>27</volume>
          (
          <year>1990</year>
          )
          <fpage>247</fpage>
          -
          <lpage>266</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>C.</given-names>
            <surname>Molnar</surname>
          </string-name>
          ,
          <source>Interpretable machine learning</source>
          .
          <year>2019</year>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <given-names>K.</given-names>
            <surname>Epstude</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. J.</given-names>
            <surname>Roese</surname>
          </string-name>
          ,
          <article-title>The functional theory of counterfactual thinking, Personality and social psychology review 12 (</article-title>
          <year>2008</year>
          )
          <fpage>168</fpage>
          -
          <lpage>192</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>S.</given-names>
            <surname>Anjomshoae</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Omeiza</surname>
          </string-name>
          , L. Jiang,
          <article-title>Context-based image explanations for deep neural networks</article-title>
          ,
          <source>Image and Vision Computing</source>
          <volume>116</volume>
          (
          <year>2021</year>
          )
          <fpage>104310</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ivanovs</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kadikis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Ozols</surname>
          </string-name>
          ,
          <article-title>Perturbation-based methods for explaining deep neural networks: A survey</article-title>
          ,
          <source>Pattern Recognition Letters</source>
          <volume>150</volume>
          (
          <year>2021</year>
          )
          <fpage>228</fpage>
          -
          <lpage>234</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <given-names>M.</given-names>
            <surname>Robnik-Šikonja</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bohanec</surname>
          </string-name>
          ,
          <article-title>Perturbation-based explanations of prediction models, Human and Machine Learning: Visible, Explainable, Trustworthy and Transparent (</article-title>
          <year>2018</year>
          )
          <fpage>159</fpage>
          -
          <lpage>175</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <given-names>I.</given-names>
            <surname>Covert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lundberg</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.-I. Lee</surname>
          </string-name>
          ,
          <article-title>Explaining by removing: A unified framework for model explanation</article-title>
          ,
          <source>Journal of Machine Learning Research</source>
          <volume>22</volume>
          (
          <year>2021</year>
          )
          <fpage>1</fpage>
          -
          <lpage>90</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <string-name>
            <given-names>D.</given-names>
            <surname>Omeiza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Anjomshoae</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Webb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Jirotka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Kunze</surname>
          </string-name>
          ,
          <article-title>From spoken thoughts to automated driving commentary: Predicting and explaining intelligent vehicles' actions, in: 2022 IEEE Intelligent Vehicles Symposium (IV)</article-title>
          , IEEE,
          <year>2022</year>
          , pp.
          <fpage>1040</fpage>
          -
          <lpage>1047</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <given-names>S.</given-names>
            <surname>Anjomshoae</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Främling</surname>
          </string-name>
          ,
          <article-title>Visual explanations for dnns with contextual importance, in: Explainable and Transparent AI</article-title>
          and
          <string-name>
            <surname>Multi-Agent</surname>
            <given-names>Systems</given-names>
          </string-name>
          : Third International Workshop, EXTRAAMAS 2021,
          <string-name>
            <given-names>Virtual</given-names>
            <surname>Event</surname>
          </string-name>
          , May 3-
          <issue>7</issue>
          ,
          <year>2021</year>
          ,
          <source>Revised Selected Papers 3</source>
          , Springer,
          <year>2021</year>
          , pp.
          <fpage>83</fpage>
          -
          <lpage>96</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [39]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Jia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Dai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          , Retrieval-augmented
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>