<!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>Towards Using Case-Based Explanations as a Knowledge Foundation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jakob Michael Schoenborn</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>schoenb@uni-hildesheim.de</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Computer Science, Intelligent Information Systems Lab University of Hildesheim</institution>
          ,
          <addr-line>Samelsonplatz 1, 31141 Hildesheim, Germany https://</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Klaus-Dieter Altho↵</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Due to the GDPR, the need of explanation-aware systems is rising. To include a component which can explain the decisions made by a given system is often not feasible or requires at least a lot of e↵ort. On top, the user acceptance of decisions made by artificial intelligence agents is more sceptical than welcoming. Therefore, plausible explanations have to be generated for each decision made so that the user can develop trust in the decision making process. This is important for knowledge management as well, since knowledge needs also to be trusted - otherwise the knowledge would not be reused and is therefore without value. This should be prevented by building an explanation-aware system. To guarantee the improvement of value, the incoming input from a user needs to be sanitized before stored in the case-base. The process of how knowledge can be extracted and then furthermore be used and trusted will be further investigated. The future aim is to build up a distributed case-based reasoning system which explains its own building process so that a given knowledge engineer can guide the way in which the system is building up and adjust it to his needs.</p>
      </abstract>
      <kwd-group>
        <kwd>Knowledge Management and Maintenance</kwd>
        <kwd>Case-Based Reasoning</kwd>
        <kwd>Trusted Knowledge</kwd>
        <kwd>Explanations</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction and motivation</title>
      <p>
        Whenever a person encounters a new situation, this person tries to reuse
knowledge from past situations that encountered before. This is done by trying to
remember every case, which inherits a high similarity and therefore could be
applicable. It might be required that a few adaptations will have to be made to
reuse the existing knowledge. The person then evaluates if the past solution can
also be applied to this new problem [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        Everyone is going through this process multiple times per day, mostly
unconsciously. Judges try to remember similar cases to judge the current, new case.
Teachers try to express similar explanations to a current problem of a student
to make their teaching material more clear. Administrates of a company try to
remember the application procedure of two candidates to compare them. The
memory is managing experiences and infers knowledge out of the stored
experiences. During daily decisions a person is taking, erroneous remembering can
occur but does not lead to vast disasters. But “the imperfect nature of
memory ” leads to multiple false remembering, as highlighted by Gonsalves [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] among
many others. But when a decision is made only by knowledge used from recently
memorized cases and has an greater influence on other people, this is where
explanations should support the given memory, i. e. by referring to evidence.
Binns et al researched the perception of justice in algorithmic decisions while
the “...aim was to find explanation styles which could plausibly meet or exceed the
regulatory requirements regarding transparency of automated decisions, in
particular the requirement that organisations provide ‘meaningful information about
the logic involved’ in an automated decision“ [5, p. 4.] which is an important step
towards the GDPR 15.1.(h).
      </p>
      <p>
        Explanations build up on knowledge. One might argue that explanations
would su↵er from the same problematic as described above. The proposed
approach is to build up a system from scratch to prevent arguing on basis of an
erroneous knowledge foundation. Otherwise, given there is a case-based reasoning
system which shall be modified to express an explanation: It has to be
determined, in which way the explanation will be provided. There are at least three
di↵erent types of explanations: textual (templates, reports, ...), semantic
relations (cause-e↵ect, is-part-of, ...), and graphical representations (plots, graphs,
...). The transformation from the given state to an actual explanation has to
be revised by the knowledge engineer inhibiting the technical knowledge and
an expert inhibiting the domain knowledge. When revising the existing
knowledge, the view should not be only limited on cases (as evaluated by Leake and
Wilson [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and suggested by Smyth [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]). Instead, additional components which
also take e↵ect in generating an explanation (i. e. adaptation rules and the used
similarity measure) should be manipulated and then the di↵erent output of
explanations has to be observed. How does the explanation change and is it still a
valid explanation given the current situation? While building up the case base,
it is important to keep in mind where the cases (and their inherited knowledge)
were coming from. The long-term goal of the idea aims to be valid for any given
domain, since there are multiple new domains showing up, trying to incorporate
the usage of case-based reasoning (i. e. phishing detection [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], real-time strategy
games [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], and mood detection [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] to name a few). This seems to be a
promising connection point to build up on explanations parallel to establish the CBR
system.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Application domain: aviation</title>
      <p>
        In the following, the aviation domain is the domain to be considered and the
system is supposed to support an intern knowledge engineer with the knowledge
management when creating a maintenance routine for a new type of air plane.
This domain is chosen, because it is a very technical domain with a lot of
structured information in form of attribute-value pairs, taxonomies and ontologies.
The complexity of the aviation domain comes with “the hundreds of components
(e.g. Ventilation Control), which consists of dozens of systems (e.g. Air
Conditioning), which contains dozen of individual parts(e.g. Cabin Air Filter)” [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]
called Line Replaceable Units. Using appropriate vocabulary and similarity
measures, these information can be stored as cases and thus be used by a CBR
system. To generate an explanation there needs to be at least some knowledge.
Rule-based and model-based knowledge can be retrieved from the given LRUs as
a baseline for an explanation-aware system. Using this way, physical impossible
combinations of components can be excluded and a proper explanation generated
on why they are not possible. Having a first set of core functionality, the more
challenging part has to be considered: When should which knowledge be added
to the system and especially: Why? The motivation in general to split up the
development of the explanation-aware CBR system can be viewed similar to the
motivation of software product line engineering: Reduction of development costs,
enhancement of quality, and customers get products adapted to their needs and
wishes [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. A product line can here be the introduction of a new air plane type to
the air plane fleet. Since there cannot be any practical experience when building
a new air plane type, it is crucial for a cost-e↵ective introduction to exclude as
many failure risks as possible. This is the entry point for an explanation-aware
CBR system.
      </p>
      <p>
        As stated above, the core functionality and knowledge containers need to be
expanded so that valid and trustworthy explanations can be o↵ered. Additional
sources of knowledge are free texts of aircraft incidents and reports written by
maintenance technicians or other sta↵ members. To retrieve the knowledge out of
free texts, the framework FEATURE-TAK has been developed - a Framework for
Extraction, Analysis, and Transformation of Unstructured - Textual Aircraft
Knowledge which combines several methods from natural language processing
and CBR [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. This framework consists of five layers to store domain specific
informations like abbreviations and technical phrases which can be accessed by
other components (i. e. software agents). The workflow is processed by multiple,
distributed agents and coordinated by a central supervisor agent. To support
the knowledge engineer, eight tasks are completed automatically ranging from
phrase and keyword extraction, identifying synonyms and hypernyms to a
similarity assessment and sensitivity analysis1. The knowledge engineer will then be
o↵ered a suggestion to add the retrieved knowledge, but without an explanation
why the framework has come to this decision. Either way, the knowledge engineer
has to do a consistency check and stored feedback on the process instance. This
1 for a detailed description of the tasks, refer to [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]
could be supported by a process on evaluating the current state of knowledge
and whether this retrieved piece of knowledge has actually a positive e↵ect on
the system if stored in the case base.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Building an explanation-aware CBR system</title>
      <p>
        When building up the knowledge foundation from scratch and the goal is to
build up an case-based explanation system which can also explain its own
building process, the system needs to gather initial knowledge to express at least a
basic explanation. One possibility to determine a domain-accurate case
structure is using reports of experts (here: maintenance engineers free text reports)
with statements on their domain and comparing these to extracted text results
- filtering out keywords to use them as case attributes. Another possibility is to
retrieve basic knowledge by crawling through networking/communities, FAQs or
Wikis. Even if there are networking communities where it might be possible to
deploy an automated web-crawler and build up a knowledge base, legal concerns
has to be respected as the GDPR restricts the usage of data gained by mentioned
web-crawlers without the creators permission in Europe [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Since automatically
generated information is not guaranteed to be valid, a knowledge engineer has to
add the suggested knowledge to the case base carefully. Whenever new knowledge
will be suggested to the knowledge engineer, the system should try to generate
an explanation on why this piece of knowledge should be added and, especially,
on basis of which evidence this piece of knowledge has been retrieved. Then the
evidence should be tied to the saved case as attribute of the case. Because the
evidence might become outdated, maintenance processes should be called on a
regular basis. Depending on the applied domain, evidence might become faster
outdated than in other domains (e. g. laws usually do not change rapidly, while
a person learning to play chess has a rapid changing state of knowledge). The
idea on outdated knowledge and actual mechanisms to counter this issue was
originally presented by T. Roth-Berghofer. His SIAM methodology extends the
CBR cycle by adding two more steps, review and restore, which are triggered
after the retain step [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] (here: after the knowledge engineer includes and
accepted case with its explanation). He distinguishes between an application phase
(retrieve, reuse, revise) and a maintenance phase (retain, review, restore). This
is important for the maintenance, because in the original CBR cycle was no
way to maintain the knowledge when the environment changes [
        <xref ref-type="bibr" rid="ref12 ref4">4, 12</xref>
        ]. This is
especially important for explanations when they are building up on the current
knowledge and it is crucial to be able to review the current state of knowledge
(as the added review-step does).
      </p>
      <p>Using explanations to improve the communication between the system and
the maintenance engineer, certain use cases on when an explanation is actually
needed have to be determined. Usually, in the maintenance area, explanations
are further informations on why a given fault has occurred - they are error-based.
The first part of the explanation is actually given by the error message itself.
The addition of using CBR would be an explanation on what this error
actually “means” in a semantic way and additionally to provide a possible solution.
Therefore, an error-based explanation could be structured in the following way:
8&gt; error cause
&lt;
error-based explanation = semantical consequence</p>
      <p>
        &gt;: possible solution
Nevertheless, to find the root cause for an occurred fault is dicult to reproduce
since it can be caused by a single part, the interaction between parts, or even
the communication infrastructure between these parts [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Thus, the knowledge
engineer has to manually replace the LRU which is accused to be the most
probable reason for a given fault. Currently, this is based on the best-guess of
the technician who might need guidance through using error-based explanation.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>This work presented a brief overview on the establishment of explanations as
a support to knowledge engineers in the aviation domain. Due to the high risk
nature of the aviation domain where a false-positive has a critical impact, the
bottom-up approach has been chosen. Thus, existing knowledge has to be
reviewed and will only be added to knowledge containers, if it has been validated
and has been connected with evidence. The approach was to build up
errorbased explanations for a faster identification of fault-evoking LRUs and thus to
reduce the overall maintenance time or an air plane. Since there are very few
similar approaches, this preliminary approach concludes with multiple questions
unanswered, e.g. how exactly a proper case structure should be structured to
incorporate explanations in the maintenance process, when an explanation is
actually desired, and how to o↵er unquestionable explanations.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Aamodt</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Plaza</surname>
          </string-name>
          , E.:
          <article-title>Case-based reasoning; Foundational issues, methodological variations, and system approaches</article-title>
          .
          <source>AI Communications</source>
          .
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Abutair</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Belghith</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Using Case-Based Reasoning for Phishing Detection</article-title>
          . Computer Science Department, College of Computer and Information Sciences, King Saud University, Riyadh, Saudi Arabia,
          <year>Oct 2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Adebayo</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Adekoya</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ekwonna</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Temperament and Mood Detection Using Case-Based Reasoning</article-title>
          .
          <source>International Journal of Intelligent Systems and Applications</source>
          . 6. DOI:
          <volume>10</volume>
          .5815/ijisa.
          <year>2014</year>
          .
          <volume>03</volume>
          .05.
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Altho↵,
          <string-name>
            <surname>K.-D.</surname>
          </string-name>
          ,
          <string-name>
            <surname>Wess</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Trapho¨ner, R.:
          <article-title>INRECA - A Seamless Integration of Induction and Case-Based Reasoning for Decision Support Tasks</article-title>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Binns</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          et al.:
          <article-title>'It's Reducing a Human Being to a Percentage': Perceptions of Justice in Algorithmic Decisions</article-title>
          .
          <source>In Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems (CHI '18)</source>
          . ACM, New York, NY, USA, Paper
          <volume>377</volume>
          , 14 pages. DOI: https://doi.org/10.1145/3173574.3173951.
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Goodman</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flaxman</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>EU regulations on algorithmic decision-making and a “right to explanation”</article-title>
          .
          <source>AI Magazine</source>
          .
          <volume>38</volume>
          . 10.1609/aimag.v38i3.
          <fpage>2741</fpage>
          .
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Gonsalves</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reber</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gittelman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Neural Evidence That Vivid Imagining Can Lead to False Remembering</article-title>
          .
          <source>Sage Journals</source>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Pohl</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , Bo¨ckle, G., and
          <string-name>
            <surname>van der Linden</surname>
          </string-name>
          , F.:
          <source>Software Product Line Engineering: Foundations, Principles and Techniques</source>
          . Springer-Verlag, Berlin, Heidelberg.
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Leake</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , Wilson,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>How Many Cases Do You Need? Assessing and Predicting Case-Base Coverage</article-title>
          . In: Ram A.,
          <source>Wiratunga N. (eds) Case-Based Reasoning Research and Development. ICCBR 2011. Lecture Notes in Computer Science</source>
          , vol
          <volume>6880</volume>
          . Springer, Berlin, Heidelberg,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Reuss</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , et al.:
          <article-title>FEATURE-TAK - Framework for Extraction, Analysis, and Transformation of Unstructured Textual Aircraft Knowledge</article-title>
          .
          <source>In: Case-Based Reasoning Research and Development</source>
          , Springer International Publishing, Pages
          <fpage>327</fpage>
          -
          <lpage>341</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Reuss</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , et al.:
          <article-title>Knowledge Engineering for Decision Support on Diagnosis and Maintenance in the Aircraft Domain</article-title>
          .
          <source>In: Advances in Intelligent Systems and Computing</source>
          , p.
          <fpage>173</fpage>
          -
          <lpage>196</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Roth-Berghofer</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Knowledge maintenance of case-based reasoning systems: the SIAM methodology</article-title>
          . IOS Press.
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Smyth</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Case-base maintenance</article-title>
          .
          <source>In: Pasqual del Pobil A</source>
          .,
          <string-name>
            <surname>Mira</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ali</surname>
            <given-names>M</given-names>
          </string-name>
          .
          <source>(eds) Tasks and Methods in Applied Artificial Intelligence. IEA/AIE 1998. Lecture Notes in Computer Science (Lecture Notes in Artificial Intelligence)</source>
          , vol
          <volume>1416</volume>
          . Springer, Berlin, Heidelberg.
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Stalnaker</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Knowledge, Belief and Counterfactual Reasoning in Games</article-title>
          . In: Arlo´
          <string-name>
            <surname>- Costa</surname>
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hendricks</surname>
            <given-names>V</given-names>
          </string-name>
          .,
          <string-name>
            <surname>van Benthem</surname>
            <given-names>J</given-names>
          </string-name>
          . (eds) Readings in Formal Epistemology. Springer Graduate Texts in Philosophy, vol
          <volume>1</volume>
          . Springer, Cham,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>