<!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>Cognitive Programming</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Loizos Michael</string-name>
          <email>loizos@ouc.ac.cy</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antonis Kakas</string-name>
          <email>antonis@ucy.ac.cy</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rob Miller</string-name>
          <email>r.s.miller@ucl.ac.uk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gyorgy Turan</string-name>
          <email>gyt@uic.edu</email>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Open University of Cyprus</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University College London</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Cyprus</institution>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Illinois at Chicago and MTA-SZTE Research Group on Arti cial Intelligence</institution>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The widespread access to computing-enabled devices and the World Wide Web has, in a sense, liberated the ordinary user from reliance on technically-savvy experts. To complete this emancipation, a new way of interacting with, and controlling the behavior of, computing-enabled devices is needed. This position paper argues for the adoption of cognitive programming as the paradigm for this user-machine interaction, whereby the machine is no longer viewed as a tool at the disposal of the user, but as an assistant capable of being supervised and guided by the user in a natural and continual manner, and able to acquire and employ common sense to help the user in the completion of everyday tasks. We argue that despite the many challenges that the proposed paradigm presents, recent advances in several key areas of Arti cial Intelligence, along with lessons learned from work in Psychology, give reasons for optimism.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>of searching for information on the World Wide Web. The use of web search
engines constitutes a form of programming exercised by billions, independently
of technical ability, through a programming language of keywords in natural
language, in a manner compatible with the cognitive abilities of humans. Through
their searches, users gradually develop a sense of how to improve the way they
program or instruct the search engine with queries that achieve the users'
intended aim. On the other side, search engines capture the preferences or typical
behaviors of users, to help propose search queries or choose how to rank results.</p>
      <p>We will refer to systems interacting with users through cognitive
programming as cognitive systems, as these systems are, in spirit at least, of the same
kind as the cognitive systems proposed relatively recently in several works in AI;
see, for example, the new journal of Advances in Cognitive Systems, the journal
of Cognitive Systems Research, and works such as [26{28, 50].</p>
      <p>Unlike work in existing autonomous agents / systems, we think of a cognitive
system as having an operational behavior similar or parallel with that of a
human personal assistant. Its domain of application is limited to certain common
everyday tasks, and its operation revolves around its interaction with its user in a
manner that is compatible with the cognitive reasoning capabilities of the latter.
To understand (and correct when needed) the reasoning process of the system,
the user expects the system to use common sense to ll-in important relevant
information that the user leaves unspeci ed, and to be able to keep learning
about the domain and the user's personal preferences through their interaction.</p>
      <p>The goal for building systems that are cognitively compatible with humans
ultimately imposes a set of considerations on cognitive programming, as this
determines the communication channel between the user and the system. The
overall challenge of developing the proposed paradigm of cognitive programming
ultimately rests on eshing out and addressing these considerations:
{ Cognitive programming should be a process akin to human-human
communication. The need for detailed operational instructions should be minimized.
{ There should be a level of interaction between the user and the system where
the two understand and can anticipate the behavior of each other.
{ Cognitive compatibility with the user should be accommodated by
acknowledging the central role that natural language has in human communication,
and in the way humans store, retrieve, and use commonsense knowledge.
{ Cognitive programs should develop incrementally to meet the aims of the
user through an open-ended process. Cognitive systems should be able to
learn, and be able to improve from their past interaction with the user.
{ Cognitive programs should be robust, never failing, but continuously
improving / completing their ability to o er personalized solutions to the user,
while adapting to a possibly new or changing user position, stance, or pro le.</p>
      <p>The emphasis of this position paper is on describing the desirable
characteristics and the technical challenges resulting from the aforementioned
considerations. It examines the salient and foundational issues that need to be considered,
and o ers possible suggestions for a rst version of a cognitive programming
language. This proposal is grounded in our recent experience of trying to automate
the cognitive task of story comprehension,5 and on the comparison of the
resulting psychologically-informed approach with earlier work in AI for addressing
other types of scienti cally-oriented problems, such as problems of diagnosis and
planning that span beyond the ordinary capabilities of human intelligence.
1.1</p>
    </sec>
    <sec id="sec-2">
      <title>Scienti c Position for Cognitive Programming</title>
      <p>The scienti c position underlying our approach and proposal for cognitive
programming is that symbolic AI can o er the tools needed for the aforementioned
considerations, as long as one abandons the traditional view of the role of logic
for reasoning, and one is strongly guided by work in Cognitive Psychology. To a
certain extent, then, this position takes us back to the early days of AI.</p>
      <p>
        We embrace McDermott's view in his paper \A critique of pure reason" [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ],
that developing a logical theory alone | even a non-monotonic one | without
consideration of the reasoning process can not lead to human commonsense
intelligence. A vast amount of empirical work from Psychology (see, e.g., [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]) shows
that commonsense inferencing has a looser form than that of scienti c reasoning,
and that the conventional structure and form of logical reasoning, as epitomized
by mathematical or classical logic, is not appropriate. Given strong evidence
from recent work in Psychology (see, e.g., [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ]) in support of an
argumentationbased theory for human reasoning, we adopt a form of argumentation as the
basis for a cognitive system's reasoning process. Drawing from work in
Cognitive Psychology (see, e.g., [
        <xref ref-type="bibr" rid="ref13 ref21 ref23 ref44">13, 21, 23, 44</xref>
        ]) on how human knowledge is (or might
be) structured and used, we base our approach on the cognitive process of
comprehension, within which logical inference is only one component.
      </p>
      <p>Although work in logic-based AI may accept, to a certain extent, the need
to deviate from strict logical reasoning (e.g., non-monotonicity, belief revision,
logic programming), e orts to automate reasoning still typically proceed on the
basis of developing proof procedures that are sound and complete against some
underlying semantics of \ideal inferences". Unlike such work, on which cognitive
programming may be based and from which it may be guided, cognitive
programming shifts the emphasis from deep and elaborated reasoning to richly structured
knowledge, assuming that commonsense intelligence resides in the \complexity
of knowledge representation" rather than the \complexity of thought". As in
many cases of Computer Science, data structures and data organizations matter
and can make all the di erence in having an e ective and viable solution.
2</p>
      <sec id="sec-2-1">
        <title>Computational Model and System Architecture</title>
        <p>
          The central notion underlying the computation of a cognitive system is that of
comprehension, a notion adopted from story or narrative text comprehension
in Cognitive Psychology (see, e.g., [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ]). In our setting, comprehension proceeds
5 The system STAR: Story Comprehension through Argumentation, along with
benchmark stories and other material, is available at: http://cognition.ouc.ac.cy/narrative/
Personal
        </p>
        <p>Profile
Information</p>
        <p>Narrative
Preparation
Input Language 
Pre‐processing
Comprehension</p>
        <p>Model
Construction
Response
Generation
Response</p>
        <p>Commonsense</p>
        <p>Knowledge</p>
        <p>Libraries
Knowledge</p>
        <p>Retrieval
by rst combining the explicit input given by the user with information that is
available in the user's pro le (i.e., personal facts), forming an input narrative
of the task at hand. This narrative is then synthesized with information that the
system has about the domain (i.e., commonsense knowledge) and its user (i.e.,
personal preferences), leading to the construction of a comprehension model.</p>
        <p>A comprehension model is an elaboration of the input narrative with new
information, or inferences, capturing the (or a possible) implicit meaning or
intention of the narrative. Critically, the comprehension model is coherent, and
includes only inferences that are important for successful understanding, while
omitting cluttering details and speculations. If, for example, a user enquires for
\private celebration of wedding anniversary", it is essential for the comprehension
model to include the inference \place for two people", but not the side inference
\married for at least one year" or the mere possibility \dinner at fancy restaurant".</p>
        <p>The central hypothesis of our proposed cognitive programming framework is,
then, that the availability of a comprehension model allows the system to better
act and assist its user in the requested task. The general high-level architecture
of cognitive systems that follows from this hypothesis is depicted in Figure 1.</p>
        <p>We shall analyze the various components of this architecture in subsequent
sections. For now, we shall discuss the interaction of the user with the system.
2.1</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Cognitive Programming Interaction Modes</title>
      <p>The most basic form of user-machine interaction is querying, whereby the user,
or the cognitive assistant of some other user, or even some sensor device, inputs
a speci c request or query to the cognitive system. The system then identi es or
compiles relevant commonsense knowledge, perhaps even invoking a process of
online learning, and responds with some action (e.g., a suggestion of whether to
accept or not an o er) that would help in addressing the task that has prompted
the query. When an output is thus produced by the cognitive system, another
form of interaction, that of supervising, allows the user to give feedback to the
system on the appropriateness of its output. For example, a user may override
the suggestion or decision of a cognitive assistant with or without an explanation.
The overridden output is then treated as training data for the system to learn
(better) the user's personal opinion or preference on the particular case at hand.</p>
      <p>Independently of any given query, the user may interact by personalizing
the cognitive system through general statements about the user's preferences,
such as \I like to spend the evenings with my family" or \Family is more important
than work for me". The system responds by transforming such statements in an
appropriate internal language, and recording them in the user's pro le, which,
in turn, personalizes other aspects of the user's interaction with the system.</p>
      <p>In the context of a particular domain of application or discourse, interaction
through guiding allows the user to o er general information that would aid the
cognitive system to understand the salient aspects of the domain. Such
information is also provided indirectly when, for instance, the user interacts with the
system in any of the preceding ways. No matter how information is provided,
guiding initiates a process to recognize concepts that are relevant and important
for the user. In turn, this information can be used to prepare relevant knowledge
on these concepts, by directing a background process of o ine or batch learning
of general commonsense knowledge that is related to the particular domain.</p>
      <p>In what is arguably the lowest (i.e., closest to the machine, and analogous to
the use of traditional programming languages) level of interaction, instructing
allows the user to input particular pieces of knowledge to the cognitive system
on how to operate or react under very speci c circumstances. Such inputs are
expressed in the system's internal language, and can be imputed directly in the
user's personal pro le or personalized knowledge libraries. We do not envisage
that this would be the prevalent way of user interaction with cognitive systems.
2.2</p>
    </sec>
    <sec id="sec-4">
      <title>Illustrative Example of a Cognitive System</title>
      <p>Suppose that Bob wishes to manage his evening work appointments with the
assistance of a cognitive system. He cognitively programs the system by
guiding it with domain-speci c information like \dinner plans, family time, work
appointments, dietary constraints", prompting the system to gather relevant
commonsense knowledge. Bob further personalizes the system with facts, such as
\Bob is vegetarian", and preferences, such as \I like to spend evenings at home",
\Customers from abroad are very important", and \I should never miss my
children's birthday parties". Some of this latter type of information might have also
been learned by the system by nding regularities in Bob's past queries to the
system (e.g., if Bob often speci ed the keyword \vegetarian" in past queries),
or through supervision of past proposed suggestions by the system (e.g., if Bob
often declined suggestions by the system for late dinner outside his house).</p>
      <p>When Bob's cognitive system receives a request from Bob's immediate boss,
John, for \Working dinner today with John", the system combines this input with
facts in Bob's pro le or other current information the system has from sensors,
calendars, etc., to construct an expanded input narrative. This narrative is then
comprehended through the use of the system's commonsense libraries, and the
comprehension model is used to decide on whether the request is to be accepted.</p>
      <p>If no additional information is given to the cognitive system, the system will
reject the request, since having dinner with John would mean going to a
restaurant that evening, which would con ict with Bob's preference to be at home in
the evenings. Such inferences would be supported by commonsense knowledge of
the form \Normally, working dinners are at restaurants", and \Normally, dinner is
in the evening". In a more advanced case the system could generate alternative
suggestions, such as to have dinner with John at home that evening. The
request would also be rejected if the system were to receive from the calendar the
information that \Today is the wedding anniversary of Bob", giving an additional
reason for Bob's inability to have dinner with John, since \Normally, a wedding
anniversary is celebrated privately"; this piece of common sense supporting the
decision could be o ered as an explanation of the system's response.</p>
      <p>If (possibly after the initial rejection of the request) additional information is
given that \John will be accompanied by important customers from abroad", this
new piece of the story will be incorporated in the input narrative, leading to a
revision of the comprehension model, and to the retraction of the system's
earlier decision, as now the request is supported by Bob's preferences. The system
would then suggest to accept the request, and perhaps reschedule the celebration
of the wedding anniversary for another evening. Had further additional
information been available that \Bob's son is having a birthday party tonight", a further
revision would have been caused that would again reject the request, but
possibly suggesting an alternative plan through the use of commonsense knowledge
such as \Normally, a pre-dinner drink (and an apology) is an alternative to dinner".
3</p>
      <sec id="sec-4-1">
        <title>Foundations of Cognitive Programming</title>
        <p>What is an appropriate theoretical model of computation and semantics of
programming that would underlie the development of the cognitive programming
paradigm? What is the form of the internal language of the cognitive system,
which would support the computational cognitive metaphor of story or narrative
text comprehension as the central form of program execution? This internal
language ultimately determines the form of representation of knowledge used by the
cognitive system. Adopting a symbolic representation raises several questions:
What is an appropriate logic and form of reasoning? Is logic alone su cient
to capture the cognitive requirements, such as that of a natural language
userinterface and a computational model of comprehension? If not, what are the
cognitive elements that would need to accompany a logical approach?</p>
        <p>
          We turn again to Cognitive Psychology (see, e.g., [
          <xref ref-type="bibr" rid="ref16 ref21">16, 21, 53</xref>
          ]) for guidance:
{ Knowledge is composed of loose associations between concepts, that, unlike
logic rules, are stronger or weaker depending on the context.
{ Reasoning gives rise to a single comprehension model, avoiding the
cognitively expensive task of considering possible non-deterministic choices.
{ Reasoning proceeds lazily by drawing only inferences that are grounded
directly on the explicit concepts given in the narrative, in an incremental
manner as parts of the narrative become available. When con icting information
is encountered, the comprehension model is suitably revised [
          <xref ref-type="bibr" rid="ref43">43</xref>
          ].
{ Cognitive economy | necessitated by human cognitive limitations, which
are bound to appear also in cognitive systems with massive knowledge
libraries | is achieved by requiring the comprehension model to be coherent,
including inferences that are tightly interconnected, and excluding inferences
(even undisputed ones) that are peripheral to the understanding of the given
narrative [
          <xref ref-type="bibr" rid="ref1 ref15 ref32">1, 15, 32, 49</xref>
          ], or to the completion of another cognitive task [
          <xref ref-type="bibr" rid="ref45">45</xref>
          ].
        </p>
        <p>The above guidelines leave, nonetheless, several key issues on the treatment
of knowledge unanswered. Below we elaborate on two of those: a more detailed
view of knowledge representation, and the process of knowledge acquisition.
3.1</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Representation of Cognitive Programs</title>
      <p>In constructing the comprehension model, the cognitive system needs to retrieve
relevant commonsense knowledge and possibly to adapt this to the narrative
(and hence to the particular query and task) at hand for subsequent reasoning.
This imposes two desired properties for knowledge representation that seem at
odds with each other: knowledge should be represented in a fashion su ciently
exible to be easily accessible and adaptable (e.g., in terms of the vocabulary
and syntax being used), but at the same time knowledge should be represented
in a fashion su ciently concrete to be amenable to symbolic reasoning. We refer
to this problem of representation as the challenge of knowledge plasticity.</p>
      <p>A way to address this challenge might be the adoption of multiple
representations for the internal language of the cognitive system, and hence, of the
commonsense knowledge that the system handles. Representations can exist, for
instance, to capture a general categorization of the knowledge, typical or
exemplar entities and situations, detailed knowledge for speci c cases, etc. Perhaps the
system's commonsense knowledge is represented at a more general and abstract
level when it is initially acquired through o ine or batch learning. When queries
are provided by the user, a form of knowledge compilation might turn the
relevant general knowledge into a task-speci c form that can be directly used to
link the knowledge with the input query (and resulting narrative) for reasoning.</p>
      <p>
        How the knowledge is structured in such levels and how a user input is
compiled down these levels to the speci c one on which the execution / reasoning
occurs presents one of the central challenges for cognitive programming. We posit
that an argumentation perspective might be useful in capturing the important
aspects of the most speci c of these levels, where knowledge is already compiled
into a form appropriate for formal reasoning. This representation framework
falls under the general scheme of abstract argumentation frameworks [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] that
have been used to formalize and study several problems in AI (see, e.g., [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]),
including story comprehension [
        <xref ref-type="bibr" rid="ref5 ref9">5, 9</xref>
        ], and natural language interpretation [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
Abstract argumentation will need to be suitably relaxed and adapted to re ect
the cognitive requirements that we have set for cognitive systems (see, e.g., [
        <xref ref-type="bibr" rid="ref39">39</xref>
        ]).
      </p>
      <p>
        Based on our work on story comprehension [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and our attempts to develop a
cognitive programming language for that task [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], we o er below some pointers
on what a cognitively-guided argumentation framework might look like.
      </p>
      <p>Arguments are built via simple association rules, each comprising a small set
of concepts as its premise and a single concept as the conclusion that is supported
or promoted (but not necessarily logically entailed) when the premise holds. In
relation to the example discussed in Section 2.2, a relevant association rule would
be \fdinner at(Person,Place), with boss(Person)g restaurant(Place)", capturing
the argument that having dinner with one's boss normally happens at a
restaurant. We view such association rules not as components of scienti c theories
(e.g., of causality, of norms and obligations, of the mind), relying on
elaborative and careful reasoning, but rather as phenomenological manifestations of the
inferences that would follow from such theories, via a \ at" representation.</p>
      <p>Even so, not all association rules can be applied in parallel. Di erent
association rules may promote con icting conclusions, not all of which can be included
in a comprehension model. Resolving con icts is the essence of the
argumentative stance we employ. We adopt the view that association rules are annotated to
denote their (possibly relative) level of strength, so that when in con ict, these
strengths ensure that the stronger rules will draw inferences, e ectively
qualifying (by o ering a strong counter-argument to) the use of the weaker rules.</p>
      <p>With the addition of a time dimension, such association rules are su ciently
expressive to represent causality. Thus, if we mark the conclusion of an
association rule as holding temporally after the premise, the conclusion could correspond
to the e ect that is brought about when the premise holds. Such causal links are
known from Psychology to be important in ascertaining the coherence of a
comprehension model. Analogously, if we mark the conclusion of an association rule
as holding temporally before the premise, the conclusion could correspond to an
explanation of why the premise came to be. Drawing such explanatory inferences
(when justi ed to do so) is again critical in the process of comprehension.</p>
      <p>
        Such aspects of causality in world knowledge have featured prominently in the
foundations of Arti cial Intelligence (cf. the Situation Calculus [
        <xref ref-type="bibr" rid="ref30">30</xref>
        ], the Event
Calculus [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ], and several action languages [
        <xref ref-type="bibr" rid="ref14 ref19 ref29 ref46">14, 19, 29, 46</xref>
        ]). The central problems
of frame, rami cation, and quali cation will need to be addressed within the
cognitive programming framework, but only in a simpli ed and qualitative form, as
it su ces for our treatment of cognitive programs as phenomenological theories.
3.2
      </p>
    </sec>
    <sec id="sec-6">
      <title>Acquisition of Cognitive Programs</title>
      <p>Key in a cognitive system's working is the availability of relevant knowledge, or
cognitive programs. Even though the user could contribute to this knowledge by
directly instructing the system, we envision that the main mechanism through
which cognitive programs would be acquired will be o ine or batch learning.</p>
      <p>
        The most promising source of training material for learning commonsense
knowledge is currently natural language text, both because of the existence of
parsing and processing tools that are more advanced than those that exist for
other media (e.g., images), but also because of the high prevalence of textual
corpora. The World Wide Web has, typically, played the role of such a textual
corpus for machine learning work seeking to extract facts (see, e.g., [
        <xref ref-type="bibr" rid="ref41">41</xref>
        ]). When
seeking to extract, instead, knowledge appropriate for reasoning, an additional
consideration comes into play: knowledge encoded in text from the World Wide
Web is biased and incomplete in several ways with respect to our commonsense
real-world knowledge, and would be more aptly called websense [
        <xref ref-type="bibr" rid="ref36">36</xref>
        ]. We posit,
however, that certain de ciencies that a cognitive system could have by
employing websense would be overcome through the user's feedback and supervision.
      </p>
      <p>Acquisition of knowledge could proceed in several ways. For one, the
cognitive system may memorize fragments of text that describe exemplars of certain
concepts or scenarios (e.g., a typical restaurant scenario). In a somewhat more
structured form, the cognitive system may compute and store statistics about
word co-occurrences, e.g., in the form of n-grams, or in the form of frequencies
of words appearing in a piece of text conditioned on certain other words also
appearing. This last form of statistical information can be interpreted as a weighted
association rule, with the weight indicating the \strength" or \probability" of
the association holding. In an even more structured form, statistics as above can
be stored not on words, but on relations extracted by parsing the text.</p>
      <p>
        Beyond statistical information, one can attempt to learn reasoning rules over
words or relations, using typical machine learning techniques. Some such
techniques represent learned rules in a form understandable by humans (e.g., DNF
formulas). Recent work has shown, in fact, that one can learn not only deductive
rules, but also abductive ones, which provide possible explanations given a
certain input to be explained [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. Learning causal rules can also proceed naturally
by treating consecutive sentences in a textual corpus as the before and after
states needed for causal learnability [
        <xref ref-type="bibr" rid="ref35">35</xref>
        ]. Treating fragments of texts as partial
observations of some underlying, even if unknown, truth or reality can be shown
to guarantee [
        <xref ref-type="bibr" rid="ref34">34</xref>
        ] that rules learned in this manner will draw inferences that are
not explicitly stated in, but follow from, a given piece of text. This task, known
as textual entailment [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], contributes to one of the necessary processes (namely,
the drawing of relevant inferences) for constructing a comprehension model.
      </p>
      <p>The amount of knowledge that can be extracted from text is massive, and
measures need to be taken to account for this. Section 2.1 has already pointed
out that the user guides, explicitly or implicitly, the cognitive system on what
concepts the system needs to focus on, and in turn these concepts determine what
training material the system will seek for learning knowledge. Even with such
guidance, the system may need to refrain from learning knowledge in the most
speci c form possible, since that would commit the knowledge to a very rigid
representation that could not be used later in the context of di erent queries.
Instead, the system should probably choose to retain the learned knowledge in
a general representation, some examples of which we have discussed above.</p>
      <p>
        This type of batch and query-independent learning could operate
continuously, with the learned knowledge guiding its further development by identifying
those concepts for which more training is needed. This process ensures, then, the
gradual improvement of a system's cognitive programs, and hence their
performance. When a query is posed, the process of knowledge compilation may invoke
a further (online) form of learning, treating the o ine-learned general knowledge
as training data. This query-driven learning is much more focused (and could, in
fact, be done implicitly [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]), and should, therefore, be su ciently e cient to be
carried out in real time between the user posing a query and receiving a response.
The results of this online learning may be stored, and be reused for future query
answering. Supervision by the user may provide additional training material for
online learning, which would produce, therefore, user-speci c knowledge.
      </p>
      <p>
        In all cases, learning should proceed in a manner that anticipates reasoning.
Valiant's Probably Approximately Correct (PAC) semantics for learning and
reasoning [
        <xref ref-type="bibr" rid="ref47 ref48">47, 48</xref>
        ] points to how one could establish formal guarantees on the quality
of learned cognitive programs and the comprehension models and inferences they
produce. Recent work has proposed PAC semantics for two situations that are of
particular interest to cognitive systems: when reasoning involves the chaining of
multiple pieces of knowledge [
        <xref ref-type="bibr" rid="ref37">37</xref>
        ]; and, when a user's interaction with a cognitive
system is personalized by learning to predict the user's intentions [
        <xref ref-type="bibr" rid="ref38 ref40">38, 40</xref>
        ].
4
      </p>
      <sec id="sec-6-1">
        <title>Major Challenges for Cognitive Programming</title>
        <p>Developing cognitive systems through the cognitive programming paradigm poses
major technical challenges. We group and summarize below certain such
challenges that would need to be overcome to make progress in this direction.
User-Machine Interaction. Cognitive systems need to interact with human
users in a natural way through some fragment of natural language. Hence, the
natural language processing capabilities of the supporting modules of cognitive
programming are important. In particular, central questions include:
{ How do we structure and restrict the complexity of natural language for the
user-interface fragment of natural language, without, on the one hand, losing
the expressiveness required by the applications, and while keeping, on the
other hand, a form of natural communication with human users?
{ How can we use existing natural language processing (NLP) systems for
the syntactic and grammatical analysis of the user input to ascertain the
concepts involved and to extract the narrative information? The use of better
NLP tools should help us develop incrementally improved cognitive systems.
{ How does the user become aware of the language and knowledge capabilities
of the underlying cognitive programming framework? How can we develop
useful schemes of dialogues between the user and cognitive systems for user
feedback and for natural forms of supervision of the system by the user?
Reasoning with Common Sense. The basic form of argumentative cognitive
reasoning and comprehension depends critically on many factors, when this is
to be scaled up to be applied in many (if not all the) domains of discourse of
common sense. The major questions that need concrete technical answers are:
{ Does commonsense knowledge have a generic and task-independent
vocabulary and form? What is an appropriate such form and how is this adapted (in
real time, through knowledge compilation) into a useful task-speci c form?
In particular, how do we address the need for syntactic plasticity of
commonsense knowledge, so that it can be adapted in a manner syntactically
compatible with the vocabulary that the current input narrative is using?
{ How are relevant parts of commonsense knowledge identi ed e ciently and
reliably given an input narrative? In particular, how do we address the need
for conceptual plasticity of commonsense knowledge, so that the concepts
referred to in the input narrative are matched to concepts in the knowledge
base? Is a meta-level form of \context indexing" of the knowledge needed?
{ How do we integrate e ectively the \pure reasoning" with the process of
comprehension, while being guided by the central principle of coherence?
Acquiring Common Sense. Given that we have an appropriate
representation for commonsense knowledge, we are then faced with the challenge of how
to automatically learn and populate a commonsense library. Questions include:
{ Is an o ine or batch learning process for commonsense knowledge acquisition
the only form of learning required, or do we also need a form of online learning
at the time of query processing and knowledge compilation?
{ How do we distinguish learned user-speci c knowledge from learned generic
commonsense knowledge given that the user supervises both processes, and
how could learned knowledge be reused across users and cognitive systems?
{ What are the main technical problems of \mining" commonsense association
rules from the World Wide Web? What NLP techniques, search and
download tools, storage and indexing schemes would be required? How do we
overcome the possibly biased and incomplete nature of learned knowledge?
{ How do we learn the annotations and priority tags of commonsense
association rules? Can this process be automated, or is it ultimately user-speci c?
To address many of these challenges, further empirical study with the help of
Cognitive Psychology will be needed to help reveal possible answers and guide
the development of the computational framework. The availability of a
computational framework would then facilitate the experimental examination of the
computational viability and e ectiveness of various guidelines in improving the
cognitive programming framework and the programming experience of the users.
In particular, the central and major issues of knowledge plasticity and knowledge
compilation are amenable to empirical psychological investigation.</p>
        <p>In general, the development of cognitive programming needs to be informed
and guided by the psychological understanding at di erent levels of human
cognitive processes. Understanding how the mind operates at some higher
conceptual level when dealing with everyday cognitive tasks can help us in developing
possible models of computation in cognitive programming. On the other hand,
understanding how humans introspectively perceive or understand the
operation of their cognitive processes can help us develop human-compatible models
of computation: models of computation that humans can naturally relate to.
5</p>
      </sec>
      <sec id="sec-6-2">
        <title>Concluding Remarks</title>
        <p>Ideas and proposals related to one form or another of cognitive systems go back
to the very beginning of the history of AI, and it would be an interesting topic
in itself to explore the development and con uence of these ideas. Among work
carried out in more recent years on cognitive computing and systems, Watson is,
perhaps, closest to a complete system, and has attracted the most attention from
the media. Unlike its emphasis towards \help[ing] human experts make better
decisions by penetrating the complexity of Big Data",6 our proposal focuses on
assisting ordinary people by supporting their everyday decision making.</p>
        <p>Although both Watson and our envisioned systems seek to solve a cognitive
task, the di erence in emphasis outlined above suggests that for the latter
systems it is crucial that the problem-solving process itself be cognitive, inspired
by human heuristics and transparent to the ordinary people's way of thinking.
It could be argued that the label \cognitive" should be reserved for such types
of systems, and not be conferred to every system that solves a cognitive task.</p>
        <p>Adopting this more stringent view of cognitive systems points to a second |
in addition to developing intelligent machines | end for building them. Through
their operation, cognitive systems could be used to empirically validate or
falsify the theoretical models they implement, supporting the scienti c process of
hypothesizing, predicting, and revising. This iterative process would allow AI to
contribute to the re nement of psychological theories of human cognition.</p>
        <p>Following a vision where humans and machines share a similar level of
common sense, we have proposed cognitive programming as a means to build
cognitive systems. Cognitive programming adopts the view of a machine as a personal
assistant: a human asks for the completion of a task, perhaps without fully and
unambiguously specifying what is needed, but relying on the assistant's
experience, and, ultimately, common sense, to perform the task. Cognitive
programming aims to bring the exibility of traditional programming to the masses of
existing technology users, enabling them to view their personal devices as novice
assistants, amenable to training and personalization through natural interaction.</p>
        <p>Our proposal o ers a blueprint of what needs to be done and the challenges
that one will have to face. We are optimistic that it can be realized to a large
extent by building on existing techniques and knowhow from Arti cial
Intelligence, especially when one takes a pragmatic view by synthesizing the theory
and methods of AI with empirical results and ideas from Cognitive Psychology.</p>
        <p>
          Unsurprisingly, the representation and reasoning requirements for cognitive
programming are reminiscent of those of production rules as one nds in
Computational Cognitive Psychology (see, e.g., [
          <xref ref-type="bibr" rid="ref2 ref20">2, 20, 52</xref>
          ]). For cognitive programming,
6 See, for instance, this website: http://www.research.ibm.com/cognitive-computing/
production rules need to include the element of causality in their representation,
be enhanced with a declarative form of representing and handling con icts, and
use some notion of (relative) strength of knowledge | or, of the arguments built
from the underlying commonsense knowledge | when drawing inferences.
        </p>
        <p>
          Logic Programming, and recent developments from this [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ], have moved
in this direction of production or reactive systems with such enhancements, but
remain largely bound to the strict formal logical semantics. Similarly, frameworks
for autonomous agents, such as BDI agents [
          <xref ref-type="bibr" rid="ref42">42</xref>
          ] and robotic agent programming
[
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], which aim amongst other things to give cognitive abilities to agents, also rely
on strict logical or operational semantics. These approaches serve, therefore, a
di erent class of problems from those aimed to by cognitive systems based on
commonsense knowledge, and for which the role of comprehension is important.
        </p>
        <p>One may argue that progress on natural language understanding would su ce
to realize our vision of cognitive programming. Despite the important role of such
progress, a fully automated natural language system would seem to require a
machine architecture similar to that of the human brain. Given the gap between
the formal logic-driven machine architectures of today (with long, rigid, and
error-intolerant chains of computation | a limitation already identi ed by von
Neumann [51]), and the cognitive capabilities and constraints of the human mind,
our proposal of cognitive programming hopes to provide the middle-ware needed
today to move closer to the ideal of an automated natural language system.</p>
      </sec>
      <sec id="sec-6-3">
        <title>Acknowledgements</title>
        <p>We are grateful to our colleague Irene-Anna Diakidoy (Department of
Psychology, University of Cyprus) for her collaboration in our joint work on story
comprehension, and the invaluable help that she has given us in our e ort to
understand the computational implications of relevant work in Cognitive Psychology.
We also wish to thank Hugo Mercier and Francesca Toni for many valuable
discussions on the psychology of reasoning and the nature of cognitive systems.
49. P. Van den Broek. Comprehension and Memory of Narrative Texts: Inferences and
Coherence. In M. A. Gernsbacher, editor, Handbook of Psycholinguistics, pages
539{588. Academic Press, 1994.
50. D. Vernon, G. Metta, and G. Sandini. A Survey of Arti cial Cognitive Systems:
Implications for the Autonomous Development of Mental Capabilities in
Computational Agents. Transactions on Evolutionary Computation, 11(2):151{180, 2007.
51. J. von Neumann. The General and Logical Theory of Automata. In A. H. Taub,
editor, John von Neumann: Collected Works. Volume V: Design of Computers,
Theory of Automata and Numerical Analysis, chapter 9, pages 288{328. Pergamon
Press, 1961. Delivered at: Hixon Symposium, September 1948.
52. R. M. Young. Production Systems in Cognitive Psychology. In N. J. Smelser
and P. B. Baltes, editors, International Encyclopedia of the Social &amp; Behavioral
Sciences. Elsevier, 2001.
53. R. A. Zwaan and G. A. Radvansky. Situation Models in Language Comprehension
and Memory. Psychological Bulletin, 123:162{185, 1998.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>J. E.</given-names>
            <surname>Albrecht</surname>
          </string-name>
          and
          <string-name>
            <given-names>E. J. O'</given-names>
            <surname>Brien. Updating</surname>
          </string-name>
          <article-title>a Mental Model: Maintaining Both Local and Global Coherence</article-title>
          .
          <source>Journal of Experimental Psychology: Learning, Memory, and Cognition</source>
          ,
          <volume>19</volume>
          (
          <issue>5</issue>
          ):
          <volume>1061</volume>
          {
          <fpage>1070</fpage>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>J. R. Anderson</surname>
            , B. E. John,
            <given-names>M. A.</given-names>
          </string-name>
          <string-name>
            <surname>Just</surname>
            ,
            <given-names>P. A.</given-names>
          </string-name>
          <string-name>
            <surname>Carpenter</surname>
            ,
            <given-names>D. E.</given-names>
          </string-name>
          <string-name>
            <surname>Kieras</surname>
          </string-name>
          , and D. E. Meyer.
          <article-title>Production System Models of Complex Cognition</article-title>
          .
          <source>In Proceedings of the 17th Annual Conference of the Cognitive Science Society</source>
          , pages
          <fpage>9</fpage>
          {
          <fpage>12</fpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>P.</given-names>
            <surname>Baroni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Caminada</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Giacomin</surname>
          </string-name>
          .
          <article-title>An Introduction to Argumentation Semantics</article-title>
          .
          <source>Knowledge Engineering Review</source>
          ,
          <volume>26</volume>
          (
          <issue>4</issue>
          ):
          <volume>365</volume>
          {
          <fpage>410</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>T. J. M. Bench-Capon</surname>
            and
            <given-names>P. E. Dunne.</given-names>
          </string-name>
          <article-title>Argumentation in Arti cial Intelligence</article-title>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>171</volume>
          (
          <issue>10</issue>
          {15):
          <volume>619</volume>
          {
          <fpage>641</fpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>F. J.</given-names>
            <surname>Bex</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Verheij</surname>
          </string-name>
          .
          <article-title>Story Schemes for Argumentation about the Facts of a Crime</article-title>
          .
          <source>In Proceedings of the 2nd Workshop on Computational Models of Narrative</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>E.</given-names>
            <surname>Cabrio</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Villata. Natural Language</surname>
          </string-name>
          <article-title>Arguments: A Combined Approach</article-title>
          .
          <source>In Proceedings of the 20th European Conference on Arti cial Intelligence</source>
          , pages
          <fpage>205</fpage>
          {
          <fpage>210</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>K. L.</given-names>
            <surname>Clark</surname>
          </string-name>
          and
          <string-name>
            <given-names>P. J.</given-names>
            <surname>Robinson</surname>
          </string-name>
          .
          <article-title>Robotic Agent Programming in TeleoR</article-title>
          .
          <source>In Proceedings of the IEEE International Conference on Robotics and Automation</source>
          , pages
          <volume>5040</volume>
          {
          <fpage>5047</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>I.</given-names>
            <surname>Dagan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Roth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sammons</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Zanzotto</surname>
          </string-name>
          .
          <source>Recognizing Textual Entailment: Models and Applications. Synthesis Lectures on Human Language Technologies</source>
          . Morgan &amp; Claypool Publishers,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>I.-A.</given-names>
            <surname>Diakidoy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kakas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Michael</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Miller</surname>
          </string-name>
          .
          <article-title>Story Comprehension through Argumentation</article-title>
          .
          <source>In Proceedings of the 5th International Conference on Computational Models of Argument</source>
          , volume
          <volume>266</volume>
          of Frontiers in
          <source>Arti cial Intelligence and Applications</source>
          , pages
          <volume>31</volume>
          {
          <fpage>42</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. I.
          <article-title>-</article-title>
          <string-name>
            <surname>A. Diakidoy</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Kakas</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Michael</surname>
            , and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Miller</surname>
          </string-name>
          .
          <article-title>STAR: A System of Argumentation for Story Comprehension and Beyond</article-title>
          .
          <source>In Proceedings of the 12th International Symposium on Logical Formalizations of Commonsense Reasoning</source>
          , pages
          <volume>64</volume>
          {
          <fpage>70</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>P. M. Dung</surname>
          </string-name>
          .
          <article-title>On the Acceptability of Arguments and its Fundamental Role in Nonmonotonic Reasoning, Logic Programming and n-Person Games</article-title>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>77</volume>
          (
          <issue>2</issue>
          ):
          <volume>321</volume>
          {
          <fpage>358</fpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>J. S.</given-names>
            <surname>Evans</surname>
          </string-name>
          .
          <article-title>Logic and Human Reasoning: An Assessment of the Deduction Paradigm</article-title>
          .
          <source>Psychological Bulletin</source>
          ,
          <volume>128</volume>
          (
          <issue>6</issue>
          ):
          <volume>978</volume>
          {
          <fpage>996</fpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>S. L.</given-names>
            <surname>Frank</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Koppen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. G. M.</given-names>
            <surname>Noordman</surname>
          </string-name>
          , and
          <string-name>
            <given-names>W.</given-names>
            <surname>Vonk</surname>
          </string-name>
          .
          <source>Computational Models of Discourse Comprehension. Discourse Processes</source>
          ,
          <volume>45</volume>
          (
          <issue>6</issue>
          ):
          <volume>429</volume>
          {
          <fpage>463</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          .
          <article-title>Representing Action and Change by Logic Programs</article-title>
          .
          <source>Journal of Logic Programming</source>
          ,
          <volume>17</volume>
          (
          <issue>2</issue>
          /3{4):
          <volume>301</volume>
          {
          <fpage>321</fpage>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Gerrig</surname>
          </string-name>
          .
          <source>The Scope of Memory-Based Processing. Discourse Processes</source>
          ,
          <volume>39</volume>
          (
          <issue>2</issue>
          { 3):
          <volume>225</volume>
          {
          <fpage>242</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>A. C. Graesser</surname>
            ,
            <given-names>K. K.</given-names>
          </string-name>
          <string-name>
            <surname>Millis</surname>
            , and
            <given-names>R. A. Zwaan. Discourse</given-names>
          </string-name>
          <string-name>
            <surname>Comprehension</surname>
          </string-name>
          .
          <source>Annual Review of Psychology</source>
          ,
          <volume>48</volume>
          :
          <fpage>163</fpage>
          {
          <fpage>189</fpage>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>B.</given-names>
            <surname>Juba</surname>
          </string-name>
          .
          <article-title>Implicit Learning of Common Sense for Reasoning</article-title>
          .
          <source>In Proceedings of the 23rd International Joint Conference on Arti cial Intelligence</source>
          , pages
          <fpage>939</fpage>
          {
          <fpage>946</fpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <given-names>B.</given-names>
            <surname>Juba</surname>
          </string-name>
          .
          <article-title>Learning Abductive Reasoning Using Random Examples</article-title>
          .
          <source>In Proceedings of the 1st Workshop on Cognitive Knowledge Acquisition and Applications</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>A. C. Kakas</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Michael</surname>
            , and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Miller</surname>
          </string-name>
          .
          <article-title>Modular-E and the Role of Elaboration Tolerance in Solving the Quali cation Problem</article-title>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>175</volume>
          (
          <issue>1</issue>
          ):
          <volume>49</volume>
          {
          <fpage>78</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>D. E.</given-names>
            <surname>Kieras</surname>
          </string-name>
          and
          <string-name>
            <surname>D. E. Meyer.</surname>
          </string-name>
          <article-title>An Overview of the EPIC Architecture for Cognition and Performance with Application to Human-Computer Interaction</article-title>
          .
          <source>HumanComputer Interaction</source>
          ,
          <volume>12</volume>
          (
          <issue>4</issue>
          ):
          <volume>391</volume>
          {
          <fpage>438</fpage>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <given-names>W.</given-names>
            <surname>Kintsch</surname>
          </string-name>
          .
          <article-title>The Role of Knowledge in Discourse Comprehension: A ConstructionIntegration Model</article-title>
          .
          <source>Psychological Review</source>
          ,
          <volume>95</volume>
          :
          <fpage>163</fpage>
          {
          <fpage>182</fpage>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <given-names>W.</given-names>
            <surname>Kintsch</surname>
          </string-name>
          .
          <article-title>Comprehension: A Paradigm of Cognition</article-title>
          . Cambridge University Press,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23. W. Kintsch and
          <string-name>
            <given-names>P.</given-names>
            <surname>Mangalath</surname>
          </string-name>
          .
          <source>The Construction of Meaning. Topics in Cognitive Science</source>
          ,
          <volume>3</volume>
          :
          <fpage>346</fpage>
          {
          <fpage>370</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <given-names>R.</given-names>
            <surname>Kowalski</surname>
          </string-name>
          and
          <string-name>
            <given-names>F.</given-names>
            <surname>Sadri</surname>
          </string-name>
          .
          <article-title>Programming with Logic without Logic Programming</article-title>
          . manuscript,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <given-names>R.</given-names>
            <surname>Kowalski</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Sergot</surname>
          </string-name>
          .
          <source>A Logic Based Calculus of Events. New Generation Computing</source>
          ,
          <volume>4</volume>
          (
          <issue>1</issue>
          ):
          <volume>67</volume>
          {
          <fpage>95</fpage>
          ,
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <given-names>P.</given-names>
            <surname>Langley</surname>
          </string-name>
          .
          <article-title>The Cognitive Systems Paradigm</article-title>
          .
          <source>In Proceedings of the 1st Annual Conference on Advances in Cognitive Systems</source>
          , pages
          <fpage>3</fpage>
          {
          <fpage>13</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <given-names>P.</given-names>
            <surname>Langley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. E.</given-names>
            <surname>Laird</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Rogers</surname>
          </string-name>
          .
          <source>Cognitive Architectures: Research Issues and Challenges. Cognitive Systems Research</source>
          ,
          <volume>10</volume>
          (
          <issue>2</issue>
          ):
          <volume>141</volume>
          {
          <fpage>160</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <given-names>A.</given-names>
            <surname>Lieto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Minieri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Piana</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D. P.</given-names>
            <surname>Radicioni</surname>
          </string-name>
          .
          <article-title>A Knowledge-Based System for Prototypical Reasoning</article-title>
          .
          <source>Connection Science</source>
          ,
          <volume>27</volume>
          (
          <issue>2</issue>
          ):
          <volume>137</volume>
          {
          <fpage>152</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <given-names>N.</given-names>
            <surname>McCain</surname>
          </string-name>
          and
          <string-name>
            <given-names>H.</given-names>
            <surname>Turner</surname>
          </string-name>
          .
          <article-title>Causal Theories of Action and Change</article-title>
          .
          <source>In Proceedings of the 14th AAAI Conference on Arti cial Intelligence</source>
          , pages
          <fpage>460</fpage>
          {
          <fpage>465</fpage>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <surname>J. McCarthy</surname>
            and
            <given-names>P. J.</given-names>
          </string-name>
          <string-name>
            <surname>Hayes</surname>
          </string-name>
          .
          <article-title>Some Philosophical Problems from the Standpoint of Arti cial Intelligence</article-title>
          .
          <source>Machine Intelligence</source>
          ,
          <volume>4</volume>
          :
          <fpage>463</fpage>
          {
          <fpage>502</fpage>
          ,
          <year>1969</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <given-names>D.</given-names>
            <surname>McDermott</surname>
          </string-name>
          .
          <source>A Critique of Pure Reason. Computational Intelligence</source>
          ,
          <volume>3</volume>
          :
          <fpage>151</fpage>
          {
          <fpage>160</fpage>
          ,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          32.
          <string-name>
            <surname>D. S. McNamara</surname>
            and
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Magliano</surname>
          </string-name>
          .
          <article-title>Toward a Comprehensive Model of Comprehension</article-title>
          .
          <source>The Psychology of Learning and Motivation</source>
          ,
          <volume>51</volume>
          :
          <fpage>297</fpage>
          {
          <fpage>384</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          33.
          <string-name>
            <given-names>H.</given-names>
            <surname>Mercier</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Sperber</surname>
          </string-name>
          . Why Do Humans Reason?
          <article-title>Arguments for an Argumentative Theory</article-title>
          .
          <source>Behavioral and Brain Sciences</source>
          ,
          <volume>34</volume>
          (
          <issue>2</issue>
          ):
          <volume>57</volume>
          {
          <fpage>74</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          34.
          <string-name>
            <given-names>L.</given-names>
            <surname>Michael</surname>
          </string-name>
          .
          <article-title>Reading Between the Lines</article-title>
          .
          <source>In Proceedings of the 21st International Joint Conference on Arti cial Intelligence</source>
          , pages
          <fpage>1525</fpage>
          {
          <fpage>1530</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          35.
          <string-name>
            <given-names>L. Michael. Causal</given-names>
            <surname>Learnability</surname>
          </string-name>
          .
          <source>In Proceedings of the 22nd International Joint Conference on Arti cial Intelligence</source>
          , pages
          <fpage>1014</fpage>
          {
          <fpage>1020</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          36.
          <string-name>
            <given-names>L.</given-names>
            <surname>Michael</surname>
          </string-name>
          .
          <article-title>Machines with WebSense</article-title>
          .
          <source>In Proceedings of the 11th International Symposium on Logical Formalizations of Commonsense Reasoning</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          37.
          <string-name>
            <given-names>L.</given-names>
            <surname>Michael</surname>
          </string-name>
          .
          <article-title>Simultaneous Learning and Prediction</article-title>
          .
          <source>In Proceedings of the 14th International Conference on Principles of Knowledge Representation and Reasoning</source>
          , pages
          <volume>348</volume>
          {
          <fpage>357</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          38.
          <string-name>
            <given-names>L. Michael. Introspective</given-names>
            <surname>Forecasting</surname>
          </string-name>
          .
          <source>In Proceedings of the 24th International Joint Conference on Arti cial Intelligence</source>
          , pages
          <fpage>3714</fpage>
          {
          <fpage>3720</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          39.
          <string-name>
            <given-names>L.</given-names>
            <surname>Michael</surname>
          </string-name>
          . Jumping to Conclusions.
          <source>In Proceedings of the 2nd International Workshop on Defeasible and Ampliative Reasoning</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          40.
          <string-name>
            <given-names>L.</given-names>
            <surname>Michael</surname>
          </string-name>
          .
          <source>The Disembodied Predictor Stance. Pattern Recognition Letters</source>
          ,
          <volume>64</volume>
          :
          <fpage>21</fpage>
          {
          <fpage>29</fpage>
          ,
          <year>2015</year>
          .
          <article-title>Special Issue on Philosophical Aspects of Pattern Recognition</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          41. T. Mitchell,
          <string-name>
            <given-names>W.</given-names>
            <surname>Cohen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Hruschka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Talukdar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Betteridge</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Carlson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Dalvi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gardner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kisiel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Krishnamurthy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Lao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Mazaitis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Mohamed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Nakashole</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Platanios</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ritter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Samadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Settles</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Wijaya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Saparov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Greaves</surname>
          </string-name>
          , and
          <string-name>
            <surname>J. Welling.</surname>
          </string-name>
          <article-title>NeverEnding Learning</article-title>
          .
          <source>In Proceedings of the 29th AAAI Conference on Arti cial Intelligence</source>
          , pages
          <fpage>2302</fpage>
          {
          <fpage>2310</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          42.
          <string-name>
            <given-names>A. S.</given-names>
            <surname>Rao</surname>
          </string-name>
          and
          <string-name>
            <given-names>M. P.</given-names>
            <surname>George</surname>
          </string-name>
          . BDI Agents:
          <article-title>From Theory to Practice</article-title>
          .
          <source>In Proceedings of the 1st International Conference on Multi-Agent Systems</source>
          , pages
          <fpage>312</fpage>
          {
          <fpage>319</fpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          43.
          <string-name>
            <given-names>D. N.</given-names>
            <surname>Rapp</surname>
          </string-name>
          and P. Van den Broek.
          <source>Dynamic Text Comprehension: An Integrative View of Reading. Current Directions in Psychological Science</source>
          ,
          <volume>14</volume>
          :
          <fpage>297</fpage>
          {
          <fpage>384</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          44.
          <string-name>
            <given-names>A. J.</given-names>
            <surname>Sanford</surname>
          </string-name>
          and
          <string-name>
            <given-names>S. C.</given-names>
            <surname>Garrod</surname>
          </string-name>
          .
          <article-title>The Role of Scenario Mapping in Text Comprehension</article-title>
          .
          <source>Discourse Processes</source>
          ,
          <volume>26</volume>
          (
          <issue>2</issue>
          {3):
          <volume>159</volume>
          {
          <fpage>190</fpage>
          ,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref45">
        <mixed-citation>
          45.
          <string-name>
            <given-names>P.</given-names>
            <surname>Thagard</surname>
          </string-name>
          .
          <article-title>Coherence in Thought and Action</article-title>
          . MIT Press,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref46">
        <mixed-citation>
          46.
          <string-name>
            <given-names>M.</given-names>
            <surname>Thielscher</surname>
          </string-name>
          . From Situation Calculus to Fluent Calculus:
          <article-title>State Update Axioms as a Solution to the Inferential Frame Problem</article-title>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>111</volume>
          :
          <fpage>277</fpage>
          {
          <fpage>299</fpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref47">
        <mixed-citation>
          47.
          <string-name>
            <given-names>L. G.</given-names>
            <surname>Valiant</surname>
          </string-name>
          .
          <article-title>A Theory of the Learnable</article-title>
          .
          <source>Communications of the ACM</source>
          ,
          <volume>27</volume>
          (
          <issue>11</issue>
          ):
          <volume>1134</volume>
          {
          <fpage>1142</fpage>
          ,
          <year>1984</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref48">
        <mixed-citation>
          48.
          <string-name>
            <given-names>L. G. Valiant. Robust</given-names>
            <surname>Logics</surname>
          </string-name>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>117</volume>
          (
          <issue>2</issue>
          ):
          <volume>231</volume>
          {
          <fpage>253</fpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>