<!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>
      <article-id pub-id-type="doi">10.1145/1235</article-id>
      <title-group>
        <article-title>The design and validation of an intuitive confidence measure</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jasper van der Waa</string-name>
          <email>jasper.vanderwaa@tno.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jurriaan van Diggelen</string-name>
          <email>jurriaan.vandiggelen@tno.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mark Neerincx</string-name>
          <email>mark.neerincx@tno.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>TNO</institution>
          ,
          <addr-line>Soesterberg</addr-line>
          ,
          <country country="NL">the Netherlands</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <abstract>
        <p>Explainable AI becomes increasingly important as the use of intelligent systems becomes more widespread in high-risk domains. In these domains it is important that the user knows to which degree the system's decisions can be trusted. To facilitate this, we present the Intuitive Confidence Measure (ICM): A lazy learning meta-model that can predict how likely a given decision is correct. ICM is intended to be easy to understand which we validated in an experiment. We compared ICM with two different methods of computing confidence measures: The numerical output of the model and an actively learned metamodel. The validation was performed using a smart assistant for maritime professionals. Results show that ICM is easier to understand but that each user is unique in its desires for explanations. This user studies with domain experts shows what users need in their explanations and that personalization is crucial.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        INTRODUCTION
The number of intelligent systems is increasing rapidly due
to recent developments in Artificial Intelligence (AI) and
Machine Learning (ML). The applications of intelligent systems
begin to spread to high-risk domains, for example in medical
diagnoses [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], maritime automation [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] and cybersecurity [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
The need for transparancy and explanations towards end users
is becoming a neccessity [
        <xref ref-type="bibr" rid="ref4 ref8">8, 4</xref>
        ]. This self-explaining capability
of intelligent systems allow these to become more effective
tools that allow their users to establish an appriopriate level
      </p>
      <p>
        The proposed Intuitive Confidence Measure (ICM), is a
casebased machine learning model that can predict how likely a
given model output is correct in (semi-)supervised learning
tasks. ICM is a meta-model that is stacked on top and
independent of its underlying ML model. The intuitive idea behind
ICM is that it uses past situations and any incorrect or correct
outputs in those situations to compute the probability that a
given output in some situation is correct. A high confidence
is given when the current situation and output is similar to
situations in which that output proved to be correct. Since
ICM is a case-based or lazy-learning algorithm it allows each
outputted confidence to be traced back to items in a data set or
memory [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. For example, the confidence in some output is
low because this output is similar to past outputs that proved
to be incorrect that were given in very similar situations. This
is opposed to a confidence measure that uses active learning
where a (possibly large) set of parameters describe learned
knowledge that are difficult to explain or understand [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
Other approaches to estimate a confidence value exist. Several
machine learning model types can already provide a
probabilistic output such as neural networks with soft-max output
layers. However, these confidence estimations can be
inaccurate as these models can learn to be very confident in an
incorrect output, as a trade-off for general improvement on the
overall dataset [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Other approaches may not prove to be
model agnostic. For example the usage of dropout in neural
networks [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        To test if ICM is indeed easy to understand, we performed an
experiment where we compared ICM as a lazy learned
metamodel to two different types of certainty or confidence
measures: The numerical output of the underlying model itself and
an actively learned meta-model approach. We claim that ICM
is prefered over these two types because 1) the numerical
output of the underlying model is not always available, transparant
or accurate [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and 2) an actively learned meta-model has no
clear connection between its outputted confidence and used
data [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. ICM on the other hand is a meta-model and as such
independent of the workings of the underlying model except
for its outputs and ICM’s confidence values are directly related
to its training set due to lazy learning.
      </p>
      <p>
        The experiment was performed within a maritime use case for
computer-controlled propulsion, we refer to our earlier paper
for a detailed description [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. Participants had no
knowledge about ML and worked in a high-risk maritime domain
with extreme responsibilities. In our experiment we simulated
the operator’s working environment and presented the
participant with classification outputs accomponied by a confidence
value. Later we interviewed the operators about their
experiences and presented them with the three measure types we
identified earlier; 1) a numerical model output, 2) an actively
learned meta-model and 3), our method, a lazily learned
metamodel. We tested the participant’s understanding of each of
the measures to validate whether ICM, and lazy learned
measures in general, are indeed easier to understand and as such
prefered over numerical model outputs and actively learned
meta-models.
      </p>
      <p>
        The experiment showed that ICM is indeed easier to
understand but each operator had various wishes of when, and even
if, a confidence value should be presented and all
overestimated their own understanding of complex ML methods. XAI
experiments with expert users such as these offer valuable
insights in what kind of explanations are required and when.
INTUITIVE CONFIDENCE MEASURE
ICM computes the probability that the given output is correct.
It does this by weighing the difference of that output with
the ground truths of a set of known past datapoints with the
similarity of the current datapoint with those past data points.
We visualized this in Figure 1 for a simple example where
Euclidean distance can be used as the similarity measure. This
figure illustrates the intutive idea that when a situation and
output is similar to past situations in which different outputs
proved to be correct, confidence will be low. The more similar
situations there are with a different and correct output, the
lower the confidence. If there are no similar situations, the
confidence will be unknown or uniform, depending on the
choice of presentation to the user. In the following paragraphs
we only explain the vital technical details of ICM, we refer to
earlier work for a more technical description and discussion
of its advantages and disadvantages [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
      </p>
      <p>ICM is based on the following three equations, with x as
an arbitrary data point, M an arbitrary data set, d the used
similarity function, s as the standard deviation used for the
exponential weighting and M(T = A(x)) to select all data
points in M with the same groundtruth T as the output of
model A for x;</p>
      <p>C(xjs ; M) =
åxi2M(T =A(x)) exp
åxi2M exp
d(xjxi)2</p>
      <p>
        2s2
d(xjxi)2
2s2
(1)
The memory or dataset M is sequentially sampled according
to three aspects from the trainset or during actual usage of the
system. This strategy prefers data points with 1) a ground truth
least common in the memory, 2) datapoints that are some time
apart to mitigate temporal dependencies and 3) datapoints that
are relatively dissimilar to the datapoints inside the memory.
We refer to the original paper of ICM for a detailed description
[
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. This memory is restricted to a fixed size, k, to prevent
extreme computational costs. The number of computations
increases exponentially with each added data point and to store
all data would quickly become unfeasibly for real world cases
where the model A and ICM may run for indefinite time.
ICM has several properties in common with other lazy learning
techniques such as k-Nearest Neighbours (k-NN). In specific
ICM is very similar to the weighted k-NN algorithm with
an exponential weighting scheme where the normalization
garantuees that all weights sum to one. ICM becomes an
instance of weighted k-NN for non-linear regression with the
model’s groundtruth as the dependent variable, the memory M
to mitigate computation cost and an arbitrary distance function
d.
      </p>
      <p>
        EXPERIMENT
In a small experiment we compared the understanding of three
instances of different types of confidence measures by
endusers 1) ICM as a lazily learned meta-models, 2) the approach
by Park et al. as actively learned meta-models [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] and 3)
the soft-max output as a numerical output of the actual model.
The experiment was done based on a recent study with a
virtual smart assistant that supports an operator on a ship
with situation predictions to aid in his/her monitoring task
[
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. We simulated the operator’s work environment and the
virtual smart assistant and provided realistic scenarios and
responses from the assistant including a confidence value for
any made predictions. This simulation was used to introduce
the participants with the assistant and the numerical confidence
values it could provide.
      </p>
      <p>This simulated work environment was followed by an
interview during which they received increasingly more
information about the three confidence measures. The goal of the
interview was to test how well and how quickly the
participant understood each of the three confidence measures. The
interview went through several stages;
1. First stage
(a) Brief textual explanations of each measure and
opportunity for the participant to rate his/her understanding
of the measure.
(b) Per measurement a moment for the participant to ask
questions to allow the supervisor to rate how well the
participant understands the examples.
(c) An explanation by the participant for each measure in
their own words to rate by a ML expert.
2. Second stage
(a) Three concrete examples, both visual and textual, for
each measure to illustrate its mechanisms where the
participant could rate his/her level of understanding for
each set of examples.1
(b) Per set of examples a moment to ask questions to the
supervisor, to allow the supervisor to rate how well the
participant understands the examples.
(c) An explanation by the participant for each example in
their own words to rate by a ML expert.
(d) The participant’s final preference for one of the three
confidence measures and an explanation of a given
confidence. A ML expert checked whether this
explanation overlaps with one of the three measures.</p>
      <p>Results
The results of the five participants are shown in table 2. All
were experts and potential end-users in the maritime use case.
The two users saw no use for a confidence measure believed
that predictions should always be correct or otherwise not
presented at all. All participants believed that they had some
basic to advanced comprehension of each measure and its
set of examples, however the experiment supervisor and ML
expert disagreed with this for both the ‘numerical’ and ‘active
learning meta-model’ measures.</p>
      <p>Both the supervisor and the ML expert concluded that most
participants had some degree of understanding for ICM. Only
one participant was not able to comprehend the textual
explanation but the understanding of ICM was on average rated
higher than that of the ‘numerical’ and ‘active learning
metamodel’ measures, by both the supervisor and ML expert.
The explanations about the numerical output were lacking
because participants had trouble comprehending that a model
could learn knowledge and represent it in parameters. They
had less difficulty for ICM because its outputs related clearly
1The textual descriptions and examples can be requested by e-mail.
to past situations. The explanations from the participants
regarding the ‘meta-model’ measure were the most inaccurate.
Nearly all participants had the tendency to see this measure
as a combination of ICM and a probabilistic output. This was
also the reason why three out five participants tended to prefer
this measure in the end, even though their own explanations of
the confidence values resembled the approach used by ICM.
CONCLUSION
In the introduction we stated that XAI methods should not only
be developed but also validated in experiments. We mentioned
that XAI methods should be transparant by themselves such
that the user can understand where the explanation comes from
and why it is given.</p>
      <p>The Intuitive Confidence Measure (ICM) was developed as
a method to provide a confidence value alongside a machine
learning model’s output. It uses lazy-learning and intuitive
ideas to keep the method relatively simple with clear
connections between input and output. We performed a limited
usability study with qualitative interviews. These interviews
indicated that ICM is relatively simple to explain compared to
other confidence measures based on model output (e.g. values
from a softmax function) or values from meta-models based
on active learning.</p>
      <p>The results showed that in a group of similar end-users, there
were mixed opinions about the necessity of a confidence
measure and how it should be presented. However, most
participants thought of ICM as an easy to understand measure and
could recall the workings of ICM accurately. Most of the
participants were even able to identify advantages and
disadvantages of ICM in specific situations, showing a deeper
understanding. Future work will focus on a larger study to test
the intuitiveness of ICM, technical improvements to ICM to
mitigate disadvantages and way on how to generate confidence
explanations.</p>
      <p>The development of new XAI methods for high-risk domains
is important, but their validation in experiments with domain
experts is equally important. Like the one presented in this
paper, experiments and usability studies with domain experts
can help shape the field of XAI.
ACKNOWLEDGEMENTS
This study was performed as part of the the Early Research
Program Adaptive Maritime Automation (ERP AMA) within
TNO, an independent research organisation in the Netherlands.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Saleema</given-names>
            <surname>Amershi</surname>
          </string-name>
          , Maya Cakmak, William Bradley Knox, and
          <string-name>
            <given-names>Todd</given-names>
            <surname>Kulesza</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Power to the people: The role of humans in interactive machine learning</article-title>
          .
          <source>AI Magazine</source>
          <volume>35</volume>
          ,
          <issue>4</issue>
          (
          <year>2014</year>
          ),
          <fpage>105</fpage>
          -
          <lpage>120</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Christopher</surname>
            <given-names>G</given-names>
          </string-name>
          . Atkeson,
          <string-name>
            <given-names>Andrew W.</given-names>
            <surname>Moore</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Stefan</given-names>
            <surname>Schaal</surname>
          </string-name>
          .
          <year>1997</year>
          .
          <article-title>Locally weighted learning for control</article-title>
          .
          <source>In Lazy learning</source>
          . Springer,
          <fpage>75</fpage>
          -
          <lpage>113</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Arnaud</given-names>
            <surname>Belard</surname>
          </string-name>
          , Timothy Buchman, Jonathan Forsberg,
          <string-name>
            <surname>Benjamin K. Potter</surname>
            ,
            <given-names>Christopher J.</given-names>
          </string-name>
          <string-name>
            <surname>Dente</surname>
            , Allan Kirk, and
            <given-names>Eric</given-names>
          </string-name>
          <string-name>
            <surname>Elster</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Precision diagnosis: a view of the clinical decision support systems (CDSS) landscape through the lens of critical care</article-title>
          .
          <source>Journal of clinical monitoring and computing 31</source>
          ,
          <issue>2</issue>
          (
          <year>2017</year>
          ),
          <fpage>261</fpage>
          -
          <lpage>271</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Jordi</given-names>
            <surname>Bieger</surname>
          </string-name>
          ,
          <string-name>
            <surname>Kristinn R. Thórisson</surname>
            , and
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Steunebrink</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Evaluating understanding</article-title>
          .
          <source>In IJCAI Workshop on Evaluating General-Purpose AI.</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Alan</given-names>
            <surname>Cooper</surname>
          </string-name>
          , Robert Reimann, David Cronin,
          <string-name>
            <given-names>and Christopher</given-names>
            <surname>Noessel</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>About face: the essentials of interaction design</article-title>
          . John Wiley &amp; Sons.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Sumeet</given-names>
            <surname>Dua</surname>
          </string-name>
          and
          <string-name>
            <given-names>Xian</given-names>
            <surname>Du</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Data mining and machine learning in cybersecurity</article-title>
          . CRC press.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Yarin</given-names>
            <surname>Gal</surname>
          </string-name>
          and
          <string-name>
            <given-names>Zoubin</given-names>
            <surname>Ghahramani</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Dropout as a Bayesian approximation: Representing model uncertainty in deep learning</article-title>
          .
          <source>In Int. Conf. on Machine Learning</source>
          .
          <fpage>1050</fpage>
          -
          <lpage>1059</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>David</given-names>
            <surname>Gunning</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Explainable artificial intelligence (xai)</article-title>
          .
          <source>Defense Advanced Research Projects Agency</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Bradley</given-names>
            <surname>Hayes</surname>
          </string-name>
          and
          <string-name>
            <given-names>Julie A.</given-names>
            <surname>Shah</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Improving Robot Controller Transparency Through Autonomous Policy Explanation</article-title>
          .
          <source>In Proc. of the 2017 ACM/IEEE Int. conf. on HRI. ACM</source>
          ,
          <volume>303</volume>
          -
          <fpage>312</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. Pang Wei Koh and
          <string-name>
            <given-names>Percy</given-names>
            <surname>Liang</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Understanding Black-box Predictions via Influence Functions</article-title>
          .
          <source>arXiv preprint arXiv:1703.04730</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>Scott</given-names>
            <surname>Lundberg</surname>
          </string-name>
          and
          <string-name>
            <surname>Su-In Lee</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>An unexpected unity among methods for interpreting model predictions</article-title>
          .
          <source>arXiv:1611.07478 [cs] (Nov</source>
          .
          <year>2016</year>
          ). arXiv:
          <volume>1611</volume>
          .
          <fpage>07478</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Tim</given-names>
            <surname>Miller</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Explanation in artificial intelligence: Insights from the social sciences</article-title>
          .
          <source>arXiv preprint arXiv:1706.07269</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Tim</surname>
            <given-names>Miller</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Piers</given-names>
            <surname>Howe</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Liz</given-names>
            <surname>Sonenberg</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <string-name>
            <surname>Explainable</surname>
            <given-names>AI</given-names>
          </string-name>
          :
          <article-title>Beware of Inmates Running the Asylum</article-title>
          .
          <source>In IJCAI-17 Workshop on Explainable AI (XAI)</source>
          .
          <volume>36</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Anh</surname>
            <given-names>Nguyen</given-names>
          </string-name>
          , Jason Yosinski, and
          <string-name>
            <given-names>Jeff</given-names>
            <surname>Clune</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Deep neural networks are easily fooled: High confidence predictions for unrecognizable images</article-title>
          .
          <source>In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition</source>
          .
          <fpage>427</fpage>
          -
          <lpage>436</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Chris</surname>
            <given-names>Olah</given-names>
          </string-name>
          , Alexander Mordvintsev, and
          <string-name>
            <given-names>Ludwig</given-names>
            <surname>Schubert</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <source>Feature Visualization. Distill</source>
          <volume>2</volume>
          ,
          <issue>11</issue>
          (
          <year>2017</year>
          ),
          <year>e7</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>No-Wook</surname>
            <given-names>Park</given-names>
          </string-name>
          , Phaedon C. Kyriakidis, and
          <string-name>
            <surname>Suk-Young Hong</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Spatial estimation of classification accuracy using indicator kriging with an image-derived ambiguity index</article-title>
          .
          <source>Remote Sensing</source>
          <volume>8</volume>
          ,
          <issue>4</issue>
          (
          <year>2016</year>
          ),
          <fpage>320</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17. Jasper van der Waa, Jurriaan van Diggelen, and
          <string-name>
            <given-names>Mark</given-names>
            <surname>Neerincx</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>ICM: An intuitive model independent and accurate certainty measure for machine learning</article-title>
          .
          <source>In Proc. of the Int. Conf. on Agents and Artificial Intelligence.</source>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. Jurriaan van Diggelen, Hans van den Broek, Jan Maarten Schraagen, and Jasper van der Waa.
          <year>2017</year>
          .
          <article-title>An Intelligent Operator Support System for Dynamic Positioning</article-title>
          .
          <source>In Int. Conf. on Applied Human Factors and Ergonomics</source>
          . Springer,
          <fpage>48</fpage>
          -
          <lpage>59</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>