tion. Possible answers to this question are the event
that triggered the action, or the events that made it
possible to perform the action. In our example, I
called my friend because today is his birthday. The
timing of an action may be explained by an enabling
factor such as distinguished in Malle’s framework, but
Malle’s enabling factors explanations do not involve
triggers like someone’s birthday.
The fifth and last question asks why this particu-
lar action was performed and not another. The answer
may concern multiple possibilities, e.g. I called my
friend because I did not have the time to visit him,
or preferences, e.g. I called my friend because I be-
lieve that calling is more personal than sending an
email. Explanations referring to multiple possibilities
are similar to the enabling factors in Malle’s frame-
work, but preferencesare not. Explanations with pref-
erences are similar to values in Atkinson’s scheme.
3.2 Contexts of Explanation
We have distinguished five different questions, but of-
ten there are multiple possible answers to these ques-
tions. For instance, I leave a note at your desk because
I want you to find it, but also because I want to remind
you of something. Both explanations in the example
contain a goal. To account for different possible ex-
planations of the same type we introduce the notion
of an explanation context. An explanation uses con-
cepts in a certain domain or from a certain descrip-
tion level. Explanation contexts are for instance the
physical context, psychological context, social con-
text, organizational context, etc. A physical context
of explanation refers to explanations in terms of po-
sitions of agents and objects, and physical events in
the environment. A psychological context refers to
characteristics of the agent such as personality traits,
emotions, preferences and values. A social context
refers to aspects like mental states attributed to other
agents, and trust in others. An organizational context
refers to an agent’s role, its tasks, its power relation to
others, procedures, rules and norms. The two expla-
nations for putting a note at your desk, ‘so you will
find it’ and ‘to remind you of something’, concern a
physical and social context, respectively.
3.3 Use of the Framework
The purpose of the framework is to support ex-
plainable agent development. Developers can use
the framework to determine which questions within
which explanation context(s) an agent should be able
to answer. Being aware of an agent’s explanation
requirements will facilitate the choice for an agent
model, and subsequently, design choices that must
be made within the model. The development is an
interaction process between subject matter experts
and programmers, where subject matter experts have
knowledge about desired explanation types and pro-
cesses that bring about certain behavior,and program-
mers know which agent models and architectures are
available to represent agent behavior.
It may happen that some information needed for
explanation is not necessary for the generation of be-
havior, or simply does not fit in the agent’s behavior
representation. In that case, extra information needs
to be added to the behavior representation, like justi-
fications for reasoning steps are added to expert sys-
tems. Then still, choosing an appropriate representa-
tion will facilitate the addition of explaining elements
to the model.
4 ILLUSTRATION
In this section we illustrate the use of the proposed
framework with an example about the development of
an agent for virtual negotiation training
1
. The train-
ing scenario involvesa negotiation about terms of em-
ployment and involves two players, a human player
who has the role of employer and a virtual agent play-
ing the future employee. The scenario focuses on the
joint exploration phase of the negotiation, in which
negotiation partners explore each others’ wishes. An
often made mistake is that people only explore each
others’ preferences on issues, e.g. the height of a
salary, and forget to ask about the other’s interests,
e.g. the need of enough money to pay the mortgage.
By exploring someone’s interests, alternative solu-
tions can be found that are profitable for both partners,
e.g. a lower monthly salary but with a yearly bonus.
Figure 2 shows our first version of the future em-
ployee agent, modeled as a goal hierarchy. Note that
only the agent’s goals and actions (in gray) are dis-
played, and not its beliefs. The actions in the hierar-
chy can be explained by their underlying goals. For
instance, the action to propose 40 hours per week is
explained by the goal that you want to explore each
other’s wishes on working hours because you want to
explore all wishes. The acceptance of a good bid is
explained by the goal that you want to go through the
bidding phase. These explanations seem rather use-
less. After examining the goal hierarchy according to
the framework, we realized that we had used a proce-
dural context, whereas we wanted explanations from
a psychological perspective.
1
The training was developed at the TU Delft as part of
the pocket negotiator project
SIMULTECH 2011 - 1st International Conference on Simulation and Modeling Methodologies, Technologies and
Applications
230