<!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 />
    <article-meta>
      <title-group>
        <article-title>ming for XAI: A technical perspective1</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Laura State</string-name>
          <email>laura.state@di.unipi.it</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>Department of Computer Science, University of Pisa</institution>
          ,
          <addr-line>Largo B. Pontecorvo, 3, 56127 Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Scuola Normale Superiore</institution>
          ,
          <addr-line>Piazza dei Cavalieri, 7, 56126 Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <abstract>
        <p>Our world is increasingly shaped by Artificial Intelligence systems, from search engines over automated hiring algorithms to self-driving cars. Being also used in high-stake decisions, their impact on the life of individuals is huge. Thus it becomes exceedingly important to sceptically review their limitations. One alarming problem is their uptake and reinforcement of existing social biases, as found in many diferent domains (criminal justice, facial recognition, credit scoring etc). It is complemented by the inherent opaqueness of the most accurate AI systems, making it impossible to understand details of their internal workings. The field of Explainable Artificial Intelligence is trying to address these problems. However, there are several challenges in the field, and we will start this work by pointing them out. We put forward a set of technical pathways, drawing from Logic Programming. Specifically, we propose using Constraint Logic Programming to construct explanations that incorporate prior knowledge, as well as Meta-Reasoning to track model and explanation changes over time.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Artificial Intelligence (AI) systems have a huge impact
on our lives. As much as they positively shape the world,
for example by supporting scientific discoveries, they
bring responsibility, specifically when applied to social
data. As shown in many application contexts, they are
susceptible to social biases. Even more, they have the
potential to increase and systematise the harm done to
already marginalised societal groups.</p>
      <p>An example is commercial facial recognition systems,
found to be negatively biased against darker-skinned
females (error rate up to 34.7% compared to 0.8% for
lighterskinned males) [1]. Next to important questions about
bias and ethical values of AI systems, we need to discuss
their accountability, as the tragic case of the Uber car
overrunning a pedestrian suggests [2].</p>
      <p>One main challenge we thereby face is the opaqueness of
these systems. As their internal logic is not
understandable to humans, they are considered Black Boxes.
struct explanations for Black Boxes, which help us to
address above questions. It thereby builds upon the field
of Explainable Artificial Intelligence (XAI) or equivalently
After surveying the field of XAI, we pose the following
challenges, which are forming the base of the proposal:
1. A canonical definition of an explanation and its
2. Prior knowledge is not exploited in the
explanadesiderata is missing
tion process
reasoning, and reasoning under constraints [3] [4] [5].</p>
      <sec id="sec-1-1">
        <title>Running Example</title>
        <sec id="sec-1-1-1">
          <title>A loan application scenario, including an applicant with specific features such as age, reduces to a binary classification problem (grant/deny loan). It is a relevant, real-world example [6] [7] [8].</title>
        </sec>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>2.1. Explainable Artificial Intelligence
The field of XAI can be described along 3 main
dimensions [9] [10]. First, we distinguish between
constructing Transparent/White Box (WB) models, and (post-hoc)
explanations for Black Boxes (BB). WB are based on
inherently interpretable approaches such as linear models,
decision trees, or rule lists/sets. BB describe a wide set
of models, all of them being not interpretable, or not
accessible. Second, explanations for BB models are either</p>
      <sec id="sec-2-1">
        <title>1Original Contribution.</title>
        <p>This work is putting forward a proposal on how to con- and the loan amount asked for. The algorithmic decision
present in understandable terms to a human” 2 [16].</p>
        <sec id="sec-2-1-1">
          <title>Explanation to whom?</title>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>The receiver of an explana</title>
        <p>tion is a specific person, in most cases a
lay user [14].</p>
        <p>What constitutes an explanation that manages to
transport its content well, can be learnt from literature in
the Social Sciences. Main points are that explanations
should be social/interactive, contrastive, selective, and
that probabilities do not matter much [17] [18].</p>
        <sec id="sec-2-2-1">
          <title>Explanation of what?</title>
          <p>Not only does the audience of
the explanation matter, but also its specific purpose,
defining further form and content. Purposes can be loosely
grouped into the following: moral/ethical [19] [20], [21],
(1) including safety concerns [16] and eforts to increase
trust in the user [11], legal motivations [6], or
understanding/debugging [20] [22] [16].
els only). E.g. LIME is model-agnostic, TREEPAN in its
original form model-specific.</p>
          <p>This concept focuses on local (first), model-agnostic
explanation methods for Black Boxes.
2.2. Counterfactuals
Counterfactuals (CF) give an answer to ”what-if”
questions. Conceptually, they highlight the smallest feature
changes that are necessary to alter the (undesired)
prediction. A common approach to generate CF is the following
optimisation problem. Denoting the CF by  ′, the
original (factual) data point by  , the prediction of the CF as
  ( ′) and the new (desired) prediction as  ′, it reads</p>
          <p>min max (  ( ′) −  ′)2 + (, 
′
)
 denotes a tuning parameter. The distance (., .) needs
to be chosen carefully, a standard choice is the Manhattan
Distance weighted by the Median Absolute Deviation.</p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>The approach was first put forward in [ 6].</title>
        <p>2.3. Logic Programming
Relevant approaches are: Constraint Logic Programming
and Meta-Reasoning. Both build on Logic Programs (LP),
bringing forward the following advantages as
declarative paradigms: a strict separation of knowledge and
inference, no encoded directionalities, as well as
interpretability and verifiability [ 3] [4] [5].</p>
        <sec id="sec-2-3-1">
          <title>Constraint Logic Programming (CLP)</title>
        </sec>
      </sec>
      <sec id="sec-2-4">
        <title>Augmenting</title>
        <p>LP by constraints to solve optimisation problems. They
are classified based on constraint type: (non-) linear, by
the number of involved variables (arity), by preference,
or by domain: e.g. integer on finite domains [ 4] [5].</p>
        <sec id="sec-2-4-1">
          <title>Meta-Reasoning</title>
          <p>Enables reasoning over LP, and
integration of knowledge. Standard Meta-Reasoning
approaches such as meta-interpreters [5] can be augmented
by theories and operators over the programs [13].</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Main Challenges</title>
      <p>3.1. Defining Explanations
A canonical definition of explanations and its desiderata
in the domain of XAI is missing, see also [14] [15]. We
don’t attempt to do so, but rather want to point to the
following facets:
local or global. Local approaches focus on single data</p>
      <sec id="sec-3-1">
        <title>Explanation or Interpretation?</title>
        <sec id="sec-3-1-1">
          <title>Explanations are</title>
          <p>points, e.g. LIME [11], global on the level of the whole
closely related to interpretability but a distinct concept:
model by fitting an interpretable surrogate, e.g. TREPAN
interpretability is a (passive) property, whereas an
ex[12]. An approach that bridges the gap is GLocalX [8]. planation, or explainability is about an interaction, or
Third, explanations can be model-agnostic (applicable to
an exchange of information. For interpretability, the
folany model) or model-specific (applicable to certain mod- lowing definition is adopted “the ability to explain or to
3.2. Prior Knowledge
Prior knowledge is rarely incorporated into the
explanation process. An example where this matters is the
generation of CF, including some advice to change the
(unfavourable) outcome. Prior knowledge that needs to
be considered can be a real-world constraint, or a
userbased preference. Exemplary approaches put forward
are [23] [24]. The term real-world constraints is used in
our work to refer to the subset of constraints that encode
knowledge about the world.
cation scenario. Consider the following 3
These considerations are also relevant in our loan
appli</p>
          <p>A p p l i c a n t
F a c t u a l
C F
 = 45 ∧  =  ∧  = 10
 &gt; 40 ∧  =  ∧  &gt; 5
 ≤ 40 ∧  =  ∧  ≤ 5
The CF suggests to the applicant to decrease the age and
the loan amount, while the feature ”job” stays constant.</p>
          <p>While decreasing the age is invalidating a real-world
constraint, decreasing the loan amount could also be
impossible for the applicant, depending on the intended use
of the loan (user-based constraint).
3.3. Changing Models
Explanations do not take into account that a model (and
thus the explanation) can change over time. However,
2Emphasis added.</p>
          <p>3Adapted from LORE [25]. The form is the same, content is
changed. LORE provides each a local factual and a counterfactual
rule as explanation.
this is not realistic in deployment. The model can change
if the training data distribution shifts, e.g. by new
incoming data points, and retraining, or by adjustments at the
model itself, e.g. following a new regulation.
Explanations need, therefore, to be extended by a time dimension.</p>
          <p>In the loan application scenario, it would be important
to see which parts of an explanation change over time,
specifically if we want to provide counterfactuals as
actionable advice. As pointed out by [26], the danger is
that although recommendations are followed, the model
does not alter its prediction because it changed as well.
sation problem over the distance between the factual and
the CF 4, subject to the following constraints 5:
• the prediction is opposite to the factual prediction</p>
          <p>(binary decision problem)
• restricting the domain/range
• restricting feasibility (immutable/actionable),
in</p>
          <p>cluding encoding relations/monotonicity
• enforcing diversity/sparsity
Whereas the first constraint is absolutely necessary,
others depend on the use-case of the CF. When focusing
on understanding/debugging the model, no other
con3.4. Customisation + Evaluation straints, or a restricted set (e.g. domain/range) sufices.
Customisation Explanations are, in their final version, This also holds, if we want to learn about bias in the
deuser-specific and thus need to be adapted to the audience cision pipeline. If we are rather interested in actionable
[14]. This goes together with the specific purpose of the advice, the full set of the posed constraints can be used.
explanation (see 3.1). Real-world constraints are mandatory in these cases,
othConsider the loan application scenario. The bank clerk ers depend on the person that is subject to the decision.
who is in charge of communicating the loan decision The first constraint is mandatory, but hardest to encode,
needs similar information to the applicant. For example, as we cannot call the BB from within the logic program.
both might be interested in advice on how to change an A possible solution connects our idea to LORE [25]. This
undesired outcome (purpose: moral/ethical, legal). How- method provides local explanations as of logic rules. The
ever, the manager of the bank is not interested in receiv- rules are read from a decision tree, which is grown on
ing explanations in such details, but rather in summary the local neighbourhood around the instance that is in
statistics, or general information about how decisions focus. Using the split criteria put forward by the tree, we
were derived (purpose: understanding). Still, explana- can construct regions which hold possible CF, and use
tions could be generated under the same framework, e.g. these as inputs for the optimisation problem.
local explanations by LORE [25], an aggregation by GLo- For other types of constraints, we provide exemplary
calX [8], building upon the former. implementations, based on Prolog/Eclipse [28] [29]. A
CF feature is denoted by subscript CF, the original by F.</p>
          <p>Evaluation Alarmingly little has been done in this
ifeld yet: considering the case of CF explanations, a recent Range Constraints Restricting the numerical range
survey found that only 21% of the approaches are vali- itno oanceoonrsbtaontht (dliirneect1i/o2n)s., Abynoabthsoerluoteptniuomnb(leirnseo3r)raellalotiwves
dated with human subject experiments [27]. However, the variable to take only very specific values. In the loan
the call for evaluations based on this type of experiments application scenario, this could be the total loan duration,
is not new, and holds for the whole field [ 16]. If com- encoded in months, allowed to change in multiples of
putational evaluation is preferred, attention needs to be three (quarterly).
drawn to carefully validate the proxy variables that are
used to simulate human behaviour [27]. 1| age_CF #&gt;= 0.</p>
          <p>In our loan application scenario, an ideal evaluation 2| initial_payment_CF #&lt;= 0.2 * loan_amount.
would involve human subject experiments with the ap- 3| (loan_duration_CF mod 3) #= 0.
plicant, the bank clerk, and the manager separately.</p>
          <p>To compute CF that incorporate prior knowledge, we 4Optimal encoding of distance is an open problem. As a start,
revisit CLP. The CF generation is encoded as an optimi- (a combination of) the  1,  2 or   norm can be used.
5Loosely based on [7].</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. The (technical) path forward</title>
      <p>In this section, we put forward concrete ideas to address
two of the above challenges (3.2 and 3.3). It is out of scope
of this proposal to answer to the full set of challenges.
4.1. Prior Knowledge
Feasibility Constraints Immutable features (line 1),
actionable depending on its previous value such as age
in our scenario (line 2) or depending on the change of
another feature. In our scenario, this could be the first
instalment to be paid, that needs to increase if the total
loan amount (now a variable) does (line 3-7).</p>
      <p>1|
2|
3|
birthplace_CF #= birthplace_F.
age_CF #&gt;= age_F.
dependency(loan_amount_CF, loan_amount_F,
4|
5|
6|
7|
instalment_CF, instalment_F)
:((loan_amount_CF - loan_amount_F) #&gt; 0
-&gt; instalment_CF #&gt; instalment_F
; instalment_CF #&gt;= instalment_F).</p>
      <p>Our approach is inspired by (1) [24] [30] (using SAT/
causal framework) and (2) [23] [31] [32] [33] (using ILP/
MILP). However, there are two main points that
distinguishes the approach put forward: first, the focus is
clearly on creating explanations for any BB. Approaches
(1) are generally agnostic, but the model internals need
to be known, in (2) only linear or additive models are
considered. Second, to the best of our knowledge, this is
the first approach using LP to generate CF.
4.2. Changing Models
18| lowincome(applicant) :- theory(fact_t1).
19| theory(fact_t2).
20| savings(applicant) :- theory(fact_t2).</p>
      <p>21| highincome(applicant) :- theory(fact_t2).</p>
      <p>According to the rules and facts at 1 , the applicant will
not receive a loan (deny). The following changes can
be advised, based on information available at 1 , e.g. by
generating a CF: to increase the income (line 2/3), or to
buy a car (line 4/5). Whereas increasing the income will
change the prediction at 2 (line 9/10), buying a car will
not, as we observe a change in this rule (line 11/12). We
update the facts at 2 according to the first advice and
check this outcome by posing the following query, which
returns P e r s o n = a p p l i c a n t .</p>
      <p>1| cf_condition(Person)
:2| solve(deny(Person), union(rule_t1, fact_t1)),
3| solve(grant(Person), union(rule_t2, fact_t2)).</p>
      <p>This problem can be addressed by Meta-Reasoning. The
standard meta-interpreter is extended by theories [13].</p>
      <p>We introduce the meta-interpreter (line 1-8). Also, we
will need the union operator (line 9-14) 6.</p>
      <p>Although we presented only a toy example, that is
restricted in applicability, we could demonstrate the
importance of reasoning over time. As a possible next step, we
1| solve(true, _). propose integrating [25] or [8], and reasoning directly
2| solve((G1,G2), T) :- solve(G1, T), solve(G2, T). over the extracted BB explanations.
3| solve(A, T) :- clause_in_th(A, B, T),
4| solve(B, T).
5| clause_in_th(A, B, T) :- 5. Conclusion
6| clause(A, (theory(T), B)).
7| clause_in_th(A, true, T)
:8| clause(A, theory(T)).
9| solve(A, union(T1, T2))
:10| clause_in_th(A, B, T1),
11| solve(B, union(T1, T2)).
12| solve(A, union(T1, T2))
:13| clause_in_th(A, B, T2),
14| solve(B, union(T1, T2)).</p>
      <p>Now, let us look at a simple toy example. We specify
two diferent time points ( 1/2 ), each defined by a set
of rules (line 1-15) and facts (line 16-21), mirroring the
change of the model/applicant over time.</p>
      <p>1| theory(rule_t1).
2| grant(Person) :- theory(rule_t1),
3| highincome(Person), savings(Person).
4| grant(Person) :- theory(rule_t1),
5| car(Person), savings(Person).
6| deny(Person) :- theory(rule_t1),
7| lowincome(Person), savings(Person).
8| theory(rule_t2).
9| grant(Person) :- theory(rule_t2),
10| highincome(Person), savings(Person).
11| grant(Person) :- theory(rule_t2),
12| car(Person), highincome(Person).
13| deny(Person) :- theory(rule_t2),
15| lowincome(Person), savings(Person).
16| theory(fact_t1).
17| savings(applicant) :- theory(fact_t1).</p>
      <sec id="sec-4-1">
        <title>6Code contributed by F. Turini.</title>
        <p>This paper presented two concrete ideas that apply LP
to address challenges in XAI. Specifically, we proposed a
CLP-based approach to generate CF that can incorporate
prior knowledge, and a Meta-Reasoning approach to
account for changes in models and explanations.
As such, they can be seen as one answer to the GDPR,
to provide ”meaningful information about the logic
involved” [34] to any person under an automated decision.
To summarise, we want to point out two aspects of the
ifeld of XAI: first, it is a highly interdisciplinary endeavour
that will only manage to address the challenges of AI, and
its own, by calling to participation scholars from
Computer Science, Social Sciences, Law and others. Second,
explanations are always context-dependent, addressing a
specific problem, user group, and purpose. This needs
to be considered when they are constructed, used, and
evaluated.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>I want to thank my supervisors Salvatore Ruggieri and
Franco Turini for many fruitful discussions and advice.
This work is supported by the project “NoBias - Artificial
Intelligence without Bias,” which has received funding
from the European Union’s Horizon 2020 research and
innovation programme, under the Marie
SkłodowskaCurie (Innovative Training Network) grant agreement
no. 860630.
DACE: distribution-aware counterfactual
explanation by mixed-integer linear optimization, in: IJCAI,
ijcai.org, 2020, pp. 2855–2862.
[33] Z. Cui, W. Chen, Y. He, Y. Chen, Optimal action
extraction for random forests and boosted trees, in:
KDD, ACM, 2015, pp. 179–188.
[34] European Union, General data
protection regulation, 2016. URL: https://gdpr.eu/
article-15-right-of-access/.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <source>behavioural sciences, CoRR abs/1712</source>
          .00547 (
          <year>2017</year>
          ). [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Buolamwini</surname>
          </string-name>
          , T. Gebru, Gender shades: Intersec- [18]
          <string-name>
            <given-names>T.</given-names>
            <surname>Miller</surname>
          </string-name>
          , Explanation in artificial intelligence: In-
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>tional accuracy disparities in commercial gender sights from the social sciences</article-title>
          ,
          <source>Artif. Intell. 267</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          classification, in: FAT, volume
          <volume>81</volume>
          of Proceedings of (
          <year>2019</year>
          )
          <fpage>1</fpage>
          -
          <lpage>38</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <source>Machine Learning Research, PMLR</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>77</fpage>
          -
          <lpage>91</lpage>
          . [19]
          <string-name>
            <given-names>E.</given-names>
            <surname>Ntoutsi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Fafalios</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Gadiraju</surname>
          </string-name>
          , V. Iosi[2]
          <string-name>
            <given-names>BBC</given-names>
            <surname>News</surname>
          </string-name>
          ,
          <article-title>Tech, Uber's self-driving operator ifdis</article-title>
          , W. Nejdl,
          <string-name>
            <given-names>M.</given-names>
            <surname>Vidal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ruggieri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Turini</surname>
          </string-name>
          ,
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <source>charged over fatal crash</source>
          ,
          <year>2020</year>
          . URL: https://www. S. Papadopoulos,
          <string-name>
            <given-names>E.</given-names>
            <surname>Krasanakis</surname>
          </string-name>
          , I. Kompatsiaris,
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          bbc.com/news/technology-54175359. K.
          <string-name>
            <surname>Kinder-Kurlanda</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Wagner</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Karimi</surname>
            , M. Fer[3]
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Cropper</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Dumancic</surname>
            , Inductive logic pro- nández, H. Alani,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Berendt</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Kruegel</surname>
          </string-name>
          , C. Heinze,
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <article-title>gramming at 30: a new introduction, CoRR K</article-title>
          . Broelemann, G. Kasneci,
          <string-name>
            <given-names>T.</given-names>
            <surname>Tiropanis</surname>
          </string-name>
          , S. Staab,
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          abs/
          <year>2008</year>
          .07912 (
          <year>2020</year>
          ).
          <source>Bias in data-driven artificial intelligence systems</source>
          [4]
          <string-name>
            <given-names>S. J.</given-names>
            <surname>Russell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Norvig</surname>
          </string-name>
          , Artificial Intelligence:
          <article-title>A - an introductory survey</article-title>
          ,
          <source>Wiley Interdiscip. Rev.</source>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>Modern</given-names>
            <surname>Approach</surname>
          </string-name>
          , 2 ed.,
          <source>Pearson Education</source>
          ,
          <year>2003</year>
          .
          <string-name>
            <given-names>Data</given-names>
            <surname>Min</surname>
          </string-name>
          .
          <source>Knowl. Discov</source>
          .
          <volume>10</volume>
          (
          <year>2020</year>
          ). [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>Apt</surname>
          </string-name>
          ,
          <article-title>From logic programming to Prolog</article-title>
          , Prentice [20]
          <string-name>
            <given-names>D.</given-names>
            <surname>Pedreschi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Giannotti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Guidotti</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Monreale,
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Hall</surname>
          </string-name>
          , London New York,
          <year>1997</year>
          .
          <string-name>
            <given-names>S.</given-names>
            <surname>Ruggieri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Turini</surname>
          </string-name>
          , Meaningful explanations of [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Wachter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. D.</given-names>
            <surname>Mittelstadt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Russell</surname>
          </string-name>
          ,
          <article-title>Coun- black box AI decision systems</article-title>
          , in: AAAI, AAAI
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <article-title>terfactual explanations without opening the black</article-title>
          Press,
          <year>2019</year>
          , pp.
          <fpage>9780</fpage>
          -
          <lpage>9784</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <source>box: Automated decisions and the GDPR</source>
          , CoRR [21]
          <string-name>
            <surname>M. J. Kusner</surname>
            ,
            <given-names>J. R.</given-names>
          </string-name>
          <string-name>
            <surname>Loftus</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Russell</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Silva</surname>
          </string-name>
          , Coun-
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <source>abs/1711</source>
          .00399 (
          <year>2017</year>
          ).
          <article-title>terfactual fairness</article-title>
          ,
          <source>in: NIPS</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>4066</fpage>
          -
          <lpage>4076</lpage>
          . [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Karimi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Barthe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Schölkopf</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Valera</surname>
          </string-name>
          , [22]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lertvittayakumjorn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Specia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Toni</surname>
          </string-name>
          , FIND:
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <article-title>formulations, solutions, and prospects, CoRR in: EMNLP (1), Association for Computational Lin-</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          abs/
          <year>2010</year>
          .04050 (
          <year>2020</year>
          ). guistics,
          <year>2020</year>
          , pp.
          <fpage>332</fpage>
          -
          <lpage>348</lpage>
          . [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Setzu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Guidotti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Monreale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Turini</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
            Pe- [23]
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Ustun</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Spangher</surname>
          </string-name>
          , Y. Liu, Actionable recourse
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>dreschi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Giannotti</surname>
          </string-name>
          ,
          <article-title>Glocalx - from local to global in linear classification</article-title>
          , in: FAT, ACM,
          <year>2019</year>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <article-title>explanations of black box AI models</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>10</volume>
          -
          <fpage>19</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <volume>294</volume>
          (
          <year>2021</year>
          )
          <fpage>103457</fpage>
          . [24]
          <string-name>
            <given-names>A.</given-names>
            <surname>Karimi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Barthe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Balle</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Valera</surname>
          </string-name>
          , Model[9]
          <string-name>
            <given-names>R.</given-names>
            <surname>Guidotti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Monreale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ruggieri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Turini</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          <article-title>Gi- agnostic counterfactual explanations for conse-</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <surname>annotti</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Pedreschi</surname>
          </string-name>
          ,
          <article-title>A survey of methods for ex- quential decisions</article-title>
          ,
          <source>in: AISTATS</source>
          , volume
          <volume>108</volume>
          of
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <article-title>plaining black box models</article-title>
          ,
          <source>ACM Comput. Surv. 51 Proceedings of Machine Learning Research</source>
          , PMLR,
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          (
          <year>2019</year>
          )
          <volume>93</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>93</lpage>
          :
          <fpage>42</fpage>
          .
          <year>2020</year>
          , pp.
          <fpage>895</fpage>
          -
          <lpage>905</lpage>
          . [10]
          <string-name>
            <given-names>C.</given-names>
            <surname>Molnar</surname>
          </string-name>
          ,
          <string-name>
            <surname>Interpretable Machine</surname>
            Learn- [25]
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Guidotti</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Monreale</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Ruggieri</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Pedreschi</surname>
          </string-name>
          ,
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <surname>ing</surname>
          </string-name>
          ,
          <year>2019</year>
          . https://christophm.github.io/ F. Turini,
          <string-name>
            <given-names>F.</given-names>
            <surname>Giannotti</surname>
          </string-name>
          ,
          <article-title>Local rule-based expla-</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <article-title>interpretable-ml-book/. nations of black box decision systems</article-title>
          , CoRR [11]
          <string-name>
            <given-names>M. T.</given-names>
            <surname>Ribeiro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Guestrin</surname>
          </string-name>
          , ”why should abs/
          <year>1805</year>
          .10820 (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <article-title>I trust you?”: Explaining the predictions</article-title>
          of any [26]
          <string-name>
            <given-names>S.</given-names>
            <surname>Barocas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. D.</given-names>
            <surname>Selbst</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Raghavan</surname>
          </string-name>
          , The hidden
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          classifier, in: KDD, ACM,
          <year>2016</year>
          , pp.
          <fpage>1135</fpage>
          -
          <lpage>1144</lpage>
          . assumptions behind counterfactual explanations [12]
          <string-name>
            <given-names>M. W.</given-names>
            <surname>Craven</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. W.</given-names>
            <surname>Shavlik</surname>
          </string-name>
          ,
          <article-title>Extracting tree- and principal reasons</article-title>
          , in: FAT*, ACM,
          <year>2020</year>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          <article-title>structured representations of trained networks</article-title>
          , in:
          <fpage>80</fpage>
          -
          <lpage>89</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <surname>NIPS</surname>
          </string-name>
          , MIT Press,
          <year>1995</year>
          , pp.
          <fpage>24</fpage>
          -
          <lpage>30</lpage>
          . [27]
          <string-name>
            <given-names>M. T.</given-names>
            <surname>Keane</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Kenny</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Delaney</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Smyth</surname>
          </string-name>
          , [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Brogi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Mancarella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Pedreschi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Turini</surname>
          </string-name>
          ,
          <article-title>The- If only we had better counterfactual explanations:</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <source>Workshop on Construction of Logic Programs</source>
          , Wi- terfactual XAI techniques,
          <source>CoRR abs/2103.01035</source>
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          <string-name>
            <surname>ley</surname>
          </string-name>
          ,
          <year>1991</year>
          , pp.
          <fpage>241</fpage>
          -
          <lpage>250</lpage>
          . (
          <year>2021</year>
          ). [14]
          <string-name>
            <given-names>B. D.</given-names>
            <surname>Mittelstadt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Russell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Wachter</surname>
          </string-name>
          , Explain- [28]
          <string-name>
            <given-names>SWI</given-names>
            <surname>Prolog</surname>
          </string-name>
          ,
          <string-name>
            <surname>Website</surname>
          </string-name>
          swi-prolog,
          <year>2021</year>
          . URL: https:
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          <article-title>ing explanations in AI</article-title>
          , in: FAT, ACM,
          <year>2019</year>
          , pp. //www.swi-prolog.org/.
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          279-
          <fpage>288</fpage>
          . [29]
          <string-name>
            <surname>Eclipse</surname>
          </string-name>
          , Website eclipse,
          <year>2021</year>
          . URL: https:// [15]
          <string-name>
            <given-names>Z. C.</given-names>
            <surname>Lipton</surname>
          </string-name>
          ,
          <article-title>The mythos of model interpretability, eclipseclp</article-title>
          .org/.
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          <string-name>
            <surname>Commun. ACM</surname>
          </string-name>
          61 (
          <year>2018</year>
          )
          <fpage>36</fpage>
          -
          <lpage>43</lpage>
          . [30]
          <string-name>
            <given-names>A.</given-names>
            <surname>Karimi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Schölkopf</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Valera</surname>
          </string-name>
          , Algorithmic re[16]
          <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 sci- course: from counterfactual explanations to inter-</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          <source>ence of interpretable machine learning</source>
          ,
          <year>2017</year>
          . ventions, in: FAccT, ACM,
          <year>2021</year>
          , pp.
          <fpage>353</fpage>
          -
          <lpage>362</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          <article-title>a r X i v : 1 7 0 2 . 0 8 6 0 8</article-title>
          . [31]
          <string-name>
            <given-names>C.</given-names>
            <surname>Russell</surname>
          </string-name>
          ,
          <article-title>Eficient search for diverse coherent</article-title>
          [17]
          <string-name>
            <given-names>T.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Howe</surname>
          </string-name>
          , L. Sonenberg,
          <string-name>
            <surname>Explainable</surname>
            <given-names>AI</given-names>
          </string-name>
          : explanations, in: FAT, ACM,
          <year>2019</year>
          , pp.
          <fpage>20</fpage>
          -
          <lpage>28</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          <article-title>beware of inmates running the asylum or</article-title>
          : How [32]
          <string-name>
            <given-names>K.</given-names>
            <surname>Kanamori</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Takagi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Kobayashi</surname>
          </string-name>
          , H. Arimura,
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>