<!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>Generating Pseudo-Natural Language Explanations for Goal Selection?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Henrique M. R. Jasinski[</string-name>
          <email>henriquejasinski@alunos.utfpr.edu.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mariela Morv</string-name>
          <email>morveli.espinoza@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>li-Espinoz</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>r A. T</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Graduate Program in Electrical and Computer Engineering (CPGEI) Federal University of Technology - Parana (UTFPR)</institution>
          ,
          <addr-line>Curitiba</addr-line>
          ,
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Explainable Arti cial Intelligence systems, including intelligent agents, must explain their internal decisions to other software agents or to human users. In the latter case, it is necessary that humans understand the outputs returned by the systems. Thus, like it was done in [2] and [3], we use a pseudo-natural language for improving the understanding of the explanations given by software agents. ArgAgent1 is a simulator for Belief-Based Goal Processing (BBGP) [1] which is an extension of the Belief-Desire-Intention (BDI) model [6]. Argumentation is used in the intention formation process, which is comprised of four sequential stages: activation, evaluation, deliberation, and checking. In this demo, we focus on the deliberation stage, whose purpose is to identify con icts among goals and select which goals the agent will commit to. These con icts can be: a) terminal (denoted by t), b) resource (denoted by r), or c) super uity (denoted by s)2. Thus, the aim is to generate explanations for the question: why did the agent commit (or not) to a given goal? Besides, we enrich such explanations with information about the type of con ict that arose between goals. The simulator input is an agent model, composed of initial beliefs, rules, preference values of goals, and plans. Explanatory arguments are constructed based on a set of six-domain-independent deliberation rules , whose premises are uni ed with beliefs that are generated from the Goal Argumentation Framework { which is constructed to determinate the set of chosen goals { and the set of chosen goals, which were obtained after applying a semantics based on con ictfree sets and a function that selects the extension that maximizes utility. The explanations are generated from the set of explanatory arguments and the possible attacks between them, following the method presented in [5]. The pseudo-natural language explanations are built from: (i) the uni ed deliberation rules, which are used to construct explanatory arguments; and (ii) the respective schemes used to generate explanatory sentences from the explanatory arguments.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>H. Jasinski et al.</p>
      <p>Rule incompatible(g; g0; conflict); preferred(g; g0) ! pursued(g)</p>
      <p>&lt;goal name g&gt; and &lt;goal name g'&gt; have the following con icts:
r1 Scheme &lt;predicate 1term 2&gt;. Since &lt;goal name g&gt; is more preferable than
&lt;goal name g'&gt;, I decided to commit to &lt;goal name g&gt;.</p>
      <p>Rule maxUtility(g) ! pursued(g)
r2 Scheme Since &lt;goal name g&gt; belonged to the set of goals that maximize the utility,</p>
      <p>I decided to commit to &lt;goal name g&gt;.</p>
      <p>Table 1: Examples of deliberation rules and explanations schemes
Cycle : 004 (Why mop( p1 , p1 ) ) ?
&gt; mop( p1 , p1 ) and pickup ( p5 , p5 ) have the f o l l o w i n g c o n f l i c t s : r .</p>
      <p>S i n c e mop( p1 , p1 ) i s more p r e f e r a b l e than pickup ( p5 , p5 ) , I
d e c i d e d to commit to mop( p1 , p1 ) .
&gt; S i n c e mop( p1 , p1 ) b e l on g ed to the s e t o f g o a l s t h a t maximize the
u t i l i t y , I d e c i d e d to commit to mop( p1 , p1 ) .</p>
      <p>Fig. 1: Pseudo-natural language explanation for `Why mop(p1,p1)?'</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Castelfranchi</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paglieri</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>The role of beliefs in goal dynamics: prolegomena to a constructive theory of intentions</article-title>
          .
          <source>Synthese</source>
          <volume>155</volume>
          (
          <issue>2</issue>
          ),
          <volume>237</volume>
          {263 (feb
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Guerrero</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nieves</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lindgren</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          :
          <article-title>An activity-centric argumentation framework for assistive technology aimed at improving health</article-title>
          .
          <source>Argument &amp; Computation</source>
          <volume>7</volume>
          (
          <issue>1</issue>
          ),
          <volume>5</volume>
          {
          <fpage>33</fpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Koeman</surname>
          </string-name>
          , V.,
          <string-name>
            <surname>Dennis</surname>
            ,
            <given-names>L.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Webster</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Fisher,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Hindriks</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.</surname>
          </string-name>
          :
          <article-title>The \Why did you do that?" Button: Answering Why-questions for end users of Robotic Systems</article-title>
          .
          <source>Proc. of the 7th International Workshop on Engineering Multi-Agent Systems (EMAS)</source>
          pp.
          <volume>1</volume>
          {
          <issue>19</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Morveli-Espinoza</surname>
            ,
            <given-names>M.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nieves</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Possebom</surname>
            ,
            <given-names>A.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Puyol-Gruart</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tacla</surname>
            ,
            <given-names>C.A.</given-names>
          </string-name>
          :
          <article-title>An argumentation-based approach for identifying and dealing with incompatibilities among procedural goals</article-title>
          .
          <source>International Journal of Approximate Reasoning</source>
          <volume>105</volume>
          ,
          <issue>1</issue>
          {
          <fpage>26</fpage>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Morveli-Espinoza</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tacla</surname>
            ,
            <given-names>C.A.</given-names>
          </string-name>
          :
          <article-title>An argumentation-based approach for explaining goals selection in intelligent agents</article-title>
          .
          <source>In: 9th Brazilian Conference on Intelligent Systems (BRACIS)</source>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Rao</surname>
            ,
            <given-names>A.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>George</surname>
            ,
            <given-names>M.P.:</given-names>
          </string-name>
          <article-title>BDI agents: from theory to practice</article-title>
          .
          <source>In: ICMAS</source>
          . vol.
          <volume>95</volume>
          , pp.
          <volume>312</volume>
          {
          <issue>319</issue>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>