<!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>Grounded Metacognitive Architectures For Machine Consciousness</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Centre for Cognitive Science, Sackler Centre for Consciousness Science, and Department of Informatics University of Sussex</institution>
          ,
          <addr-line>Falmer BN1 9QJ</addr-line>
          ,
          <country country="UK">United Kingdom</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Multiple approaches to machine consciousness emphasise the importance of metacognitive states and processes. A considerable number of cognitive systems researchers prefer architectures that are not classically symbolic, and in which learning, rather a priori structure, is central. But it is unclear how these grounded architectures can support metacognition of the required sort. To investigate this possibility, a basic design sketch of such an architecture is presented.</p>
      </abstract>
      <kwd-group>
        <kwd>Metacognition Sub-symbolic Computation Cognitive Architecture Symbol Grounding Neural Networks Machine Consciousness</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>1.1</p>
    </sec>
    <sec id="sec-2">
      <title>Motivation</title>
      <sec id="sec-2-1">
        <title>Metacognition and Machine Consciousness</title>
        <p>
          Cognition is used here, rather idiosyncratically, to mean processes and states that
enable an agent to act appropriately with respect to a subject matter (especially
one that is distal and/or abstract). Metacognition, here, is cognition about
cognition: processes and states that enable a cognitive agent to act appropriately
with respect to (especially, but not exclusively, its own) cognitive processes and
states. A paradigmatic example would be beliefs about (and subsequent
reasoning about, and action on) beliefs. There are at least three distinct reasons why
modelling metacognition might be crucial to modelling consciousness:
1. Metacognition might be central to consciousness itself. For example, most
if not all higher-order thought theories of consciousness (e.g. [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]) explicitly
stipulate that what it is for a mental state to be a conscious mental state is
that it is represented by a higher-order (viz, metacognitive) state.
2. It might be that the proper explanation of some purported properties of
consciousness proceeds by way of explaining why conscious agents are disposed
to attribute those properties to their own conscious states. Such explanations
are thus inherently metacognitive.
3. It might play a role in explaining cognitive phenomenology, as opposed to
sensory phenomenology.
(More is said about 2 and 3 in section 4.) If any of these lines of reasoning
are correct, metacognitive states and processes are of central importance to
computational models of human-like consciousness (reasons 2 and 3) or any
consciousness at all (reason 1).
        </p>
        <p>Observation 1: Arti cial intelligence approaches to modelling metacognition
to date have almost exclusively employed classical symbolic architectures. It has
usually been presupposed that not only the second-order states, but even the
lower-level states that are the objects of metacognition are classically
symbolically structured.
1.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Grounded Architectures</title>
        <p>On the other hand, a considerable number of cognitive systems researchers
eschew such architectures in favour of ones that are grounded, in that they explain,
rather than presuppose, behaviour and capacities typically believed to require
symbolic representation and processing. Where such architectures invoke
representation and processing at all, it is sub-symbolic, with a concrete semantics
that concerns (at least in the rst instance) the dynamic here-and-now of
sensorimotor engagement, rather than context-free, abstract, fully conceptual ways
of representing the world, such as those (supposedly) employed by the theorist.
Such architectures typically invoke learning, for (hopefully familiar) reasons that
cannot be reiterated here.</p>
        <p>Observation 2: Those employing grounded architectures have tended to
focus, understandably, on modelling \lower-level" cognitive phenomena such as
perception and action selection, and have tended to shy away from modelling
higher cognitive capacities, of which metacognition is a paradigmatic example.
1.3</p>
      </sec>
      <sec id="sec-2-3">
        <title>Toward Grounded Metacognitive Architectures</title>
        <p>There is a prima facie tension between Observations 1 and 2: Metacognitive
modelling has tended not to be grounded; grounded architectures are rarely
applied to model metacognitive phenomena. Thus there is a relative lack of of
architectures for metacognition that are not classically symbolic, and in which
learning, rather a priori structure, is central.</p>
        <p>
          However, metacognition has great potential for improving the abilities of
grounded architectures: not just for improving learning, but also for playing
a role in providing (otherwise absent) sophisticated representational features,
such as systematicity, productivity, logical quanti cation, modality
(possibility/necessity), etc. Although there is a growing, relatively recent literature on
the related topic of metalearning (e.g., [
          <xref ref-type="bibr" rid="ref7 ref9">9, 7</xref>
          ]), the concern there has more to do
with optimising machine learning, and there is little or no discussion of topic at
hand: machine consciousness.
        </p>
        <p>To address this de ciency, a design sketch of such an architecture is presented
in what follows Even in such an undeveloped state, the sketch can be used to
clarify the kinds of architectures in question, the design challenges they face,
and the requirements they must meet to assist in an explanation of some of the
most di cult features of consciousness.</p>
        <p>It should be emphasised that the sketch is incomplete not only as concerns
detail (depth), but also as concerns the number of components included (breadth).
Rather than a full cognitive architecture, what is presented here is only what is
necessary to illustrate the proposed metacognitive design.
2
2.1</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>A Design for Grounded Metacognition</title>
      <sec id="sec-3-1">
        <title>The First-Order Subsystem</title>
        <p>Although the metacognitive subsystem described below can be applied to a very
wide range of rst-order systems, including (passive) classi cation/pattern
recognition networks, it will be easier to identify its distinctive features in the context
of an action-involving rst-order system.</p>
        <p>Consider a robot in an e ectively 2D environment of simple coloured
polygons. The robot is static except that it can move its single camera to xate
on points in the 2D eld. The result R of xating on point (x; y) is that the
sensors take on a particular value s out of a range of possible values S. That is,
R(x; y) = s 2 S.</p>
        <p>The visual environment is dynamic in that at any given time one or more
polygons may disappear or appear. However, the time between such changes is
long relative to the learning described below: learning in response to a change
will be assumed to have converged before the next change takes place. (The
risks of this assumption can be mitigated by giving the robot a change detection
component, that indicates when such an alteration of the 2D eld has taken
place, and which may be used to re-initialise the learning process, if necessary).</p>
        <p>The robot learns a forward model F with parameters (weights) w from points
of xation (x; y) to expected sensory input s at the xated location: Fw(x; y) =
s 2 S.
2.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>The Metacognitive Subsystem</title>
        <p>Since F , in e ect, manifests the robot's \beliefs" about the state of its
environment, and F is parameterised by w, representations of (\beliefs" about) w, and
operations/transformations on w, amount to a kind of metacognition.</p>
        <p>The metacognitive system, then, can also be realised in a forward model, M:
But the simplicity of the rst-order forward model is inadequate for
metacognition, for two reasons.</p>
        <p>First, it is not feasible to represent metacognitive actions directly in terms
of their e ects, as was done with R(x; y); rather they should be conceived as
functions from an input weight state, and an operator on that state, to an
output weight state. To illustrate, a similar representation for the rst-order
model (but not one being used in the architecture described in this paper) would
be a function R from the current point of xation (x; y) and an operator O to a
new point of xation (x0; y0); for example: R(x; y; Ou;v) = (x + u; y + v): Thus,
for the metacognitive subsystem, we have: Mj (w; Ok) = w0:</p>
        <p>Of course, the operators Ok in the previous equation have not yet been
de ned, which is the result of a second di erence between the rst-order and
metacognitive subsystems: while we have intuitive ideas as to what should
constitute the primitive action basis set for many rst-order cognitive systems, it
is less clear what such a set should be for metacognition. This problem is
confounded by the fact that metacognitive operators, by their very nature, are likely
to be highly dependent on the implementation details of the rst-order
subsystem, and thus relatively subjective. A key part of a grounded metacognitive
architecture, then, will be some principled scheme for deriving or learning such a
basis set of operators, or actions. To this end, three strategies for the acquisition
of metacognitive operators are under consideration (that individuate such
operators by reference to weight clusters, sensory clusters, and in ections in error
history, respectively), but there is no space here to detail these proposals. But a
further point can be made: once such strategies are under consideration, a case
can also be made for learning, rather than a priori imposing, the basis set of
actions for the rst-order subsystem. It may be that whatever scheme for learning
is arrived at for learning metacognitive operators might be a good starting point
for acquiring the rst-order basis actions.</p>
        <p>
          Despite the di erences, there is a parallel between the rst-order and
metacognitive subsystems in that in both, a forward model of the impact that operators
or actions have on their domains (sensations or weights, respectively) can be
used, for example, to assist in action selection [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. Details of how this might be
done in the case of metacognition are given below.
        </p>
        <p>Construed this way, metacognitive networks will be of much higher
dimensionality than rst-order ones (since one of the dimensions of the metacognitive
network will be equal to the number of parameters in the rst-order network).
Perhaps this fact explains why such approaches to metacognition have not seen
much or any development until now, when hardware advances make at least
modest versions of this architecture tractable. On the other hand, an important
part of future would will be to justify the considerable computational cost that
this will incur: metacognition should earn its keep.
3</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Learning to Use Metacognitive Actions</title>
      <p>Once a set of metacognitive operators are in place (by applying, say, one of
the three strategies mentioned above), an agent can learn a forward model
Mj (w; O) = w0 over rst-order weight states. That is, the agent can learn the
expected e ects that performing one of these operators (that is, taking
metacognitive action) on a given weight set would have, just as an agent can learn what
e ects its rst-order actions have on its sensory input. The key di erence is
that the key contingencies to be learned are not (just) \within-level", as with
learning the relation between movements and sensory input. Rather, cross-level
contingencies can also be learned. Since forward models can, in some situations,
be inverted to yield inverse models, a space of several kinds of cross-level models
can generated, and learned:
{ 2nd order forward/1st order forward models: If I were to make this change
to my belief state, then what would I expect to see if I were to take this
action? That is, given a metacognitive operator O, and an rst-order action
of interest a, calculate s = Fw0 (a), where w0 = Mj (w; O)).
{ 2nd order forward/1st order inverse model: If I were to make this change to
my belief state, what action would then be expected to yield a given sensory
input? That is, given a metacognitive operator O, and a rst-order sensory
input of interest s, calculate a = Fw01(s), where w0 = Mj (w; O)).
{ 2nd order inverse/ rst-order inverse models: What metacognitive
operator/operator sequence, if any, can get me to a weight state such that there
is an action that can yield a sensory input of interest? (Asking this question
might be particularly useful in contexts that can bene t from creative
problem solving.) That is, given a rst-order sensory input of interest s, calculate
O = Mj 1(w; w0), such that for some a, s = Fw0 (a)).</p>
      <p>This learning can be of either the machine learning/neural network variety,
or more classically symbolic, even though what is being learned about may be,
as it is here, neural network states. But there may be some explanatory bene ts
(e.g. concerning origin, or a general parsimony) in having M realised in the same
kind of neural network, say, as F .</p>
      <p>An important possibility that can only be noted in passing here is that
metacognitive learning may be facilitated by explicitly preferring rst-order
models that support metacognitive operators (via adding an error term to F 0s
objective function, say) . Such dovetailing may also occur indirectly (via something
akin to the Baldwin E ect).
4
4.1</p>
    </sec>
    <sec id="sec-5">
      <title>The Upshot for Machine Consciousness</title>
      <sec id="sec-5-1">
        <title>A Revisionist Solution to the Hard Problem</title>
        <p>
          Earlier work ([
          <xref ref-type="bibr" rid="ref10 ref5 ref6">10, 5, 6</xref>
          ]) has argued for an indirect way for machine consciousness
to tackle the Hard problem of consciosuness [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], conceived here as the problem
of explaining how can something physical can have the properties (intrinsicness,
ine ability, etc.) we typically ascribe to our conscious experiences. The rst
step is to account for the aspects of consciousness that proponents of the Hard
problem concede are not Hard (attention, cognition, memory, learning, etc). The
second step is to show why it is that systems with complex combinations of those
capacities tend to believe certain things about the states that they are in: e.g.,
that their states have intrinsic, qualitative character, of the kind for which a Hard
problem would arise. This two-step approach to machine consciousness requires
metacognitive models, since the belief tendencies in the second step are
secondorder. One cannot provide this explanation just by stipulating that a system
has the second-order beliefs in question: one must explain why a given state
constitutes such a belief, and why the system has a tendency to hold (and resist
revising) such beliefs. Thus, such explanations require a grounded metacognitive
model. It is proposed that the kinds of architectures (involving F , Ok, M , etc.),
in that are models of systems that have beliefs about their own beliefs, are a
rst step toward explaining the particular kinds of meta-belief that play a role
in de ning the Hardness of consciousness.
4.2
        </p>
      </sec>
      <sec id="sec-5-2">
        <title>Cognitive Phenomenology</title>
        <p>
          In addition to this role, a further relation between these architectures and
machine consciousness concerns a possible explanation of cognitive phenomenology
(the experience of being in a given cognitive state) as opposed to sensory (or
sensorimotor phenomenology). There is no consensus that there is even such a
thing as cognitive phenomenology, but prior work on how forward models like F
can characterise the content of sensory experience ([
          <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
          ]), together with the
parallels between F and M , suggest a simple account. Just as the content of sensory
phenomenology at a time may be given by the set of sensorimotor expectations
F realises at that time, so also the content of cognitive phenomenology at a time
may be given by the set of metacognitive expectations M realises at that time.
Just as the content of sensorimotor experience may consist in the set of answers
to questions such as \What input would I receive were I to move my eyes this
way?", the content of \cognitive experience" may consist in the set of answers
to questions such as \What cognitive state would I be in were I to apply this
metacognitive operator?".
        </p>
        <p>The plausibility of this account of cognitive phenomenology increases when it
is made clear that this kind of expectation-based account of experiential content
is not restricted to expectations manifested in the lowest-level forward model
(of either the rst-order (F ) or metacognitive (M ) subsystems). Each of these
subsystems can contain an abstraction hierarchy, consisting of more abstract (as
opposed to higher-order, or meta-) representations of their inputs and outputs,
and the relations between them.</p>
        <p>For example, once Fw(a0) = s0 is learned for lowest (0th) level action and
sensory schemes, action and sensory hierarchies (Ai+1(ai) = ai+1; Si+1(si) = si+1)
can themselves be learned, grounded by F . These can be thought of as
traditional pattern classi er networks, in which higher levels produce more abstract
representations of the lowest level inputs (a0 and s0, respectively). These
hierarchies generate a corresponding hierarchy of (all rst-order, but of increasing
abstraction) forward models F i (the superscript here being logically distinct
from the 1 superscript used before to denote an inverse model). This allows for
a characterisation of experiential content of varying abstraction, so that
experience need not only be in terms of basic motor commands and sensory inputs,
but also actions such as open-the-door and inputs such as book-shaped-object.</p>
        <p>The above rst-order example illustrates, by extension, comparable
possibilities for the metacognitive system. By learning abstraction hierarchies for
weight states and metacognitive operators, it becomes possible to model
cognitive phenomenology that goes beyond the most concrete level to more abstract
characterisations, involving experience of, say, changing one's mind to a more
cautious appraisal of the situation, etc.</p>
        <p>The fact that these abstraction hierarchies can cross-cut the rst-order/meta
hierarchy implies a wide range of architectures of increasing complexity. One
dimension of variation concerns how the rst-order hierarchy of models F i is
implemented. One way is for each of the F i to be implemented with independent
sets of weights, resulting in a corresponding set of distinct M i to operate over
them. Besides requiring a large amount of resources, ensuring integrity between
changes on all these levels looks to be a daunting (and expensive) task. Another
approach would be to implement only F 0, with F i&gt;0(ai) = si approximated by
S(F 0(A i(ai))). That is, the action hierarchy is inverted to yield a 0th-order
representation of the abstract action ai; this low-level action is fed into the
0thorder forward model to yield a low-level expectation of sensory input, which is
in turn fed into the sensory pattern hierarchy to yield an abstract representation
of that low-level sensory input, to yield the required abstract expected input, si.
An analogous dimension of variation exists for the hierarchy of metacognitive
models M i: the expensive option of having distinct implementations, or a virtual
option of grounding the M i in M 0 in a manner similar to what was just described
for the rst-order subsystem.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Chalmers</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>The Conscious Mind: In Search of a Fundamental Theory</article-title>
          . Oxford University Press, Oxford (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Chrisley</surname>
          </string-name>
          , R.:
          <article-title>Cognitive map construction and use: A parallel distributed processing approach</article-title>
          . In: Touretzky, D.,
          <string-name>
            <surname>Elman</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Sejnowski,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Hinton</surname>
          </string-name>
          , G. (eds.)
          <source>Connectionist Models: The Proceedings of the 1990 Connectionist Models Summer School</source>
          . Morgan Kaufmann, San Mateo (
          <year>1990</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Chrisley</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parthemore</surname>
          </string-name>
          , J.:
          <article-title>Synthetic phenomenology: Exploiting embodiment to specify the non-conceptual content of visual experience</article-title>
          .
          <source>Journal of Consciousness Studies</source>
          <volume>14</volume>
          ,
          <volume>44</volume>
          {
          <fpage>58</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Chrisley</surname>
          </string-name>
          , R.:
          <article-title>Synthetic phenomenology</article-title>
          .
          <source>International Journal of Machine Consciousness</source>
          <volume>01</volume>
          (
          <issue>01</issue>
          ),
          <volume>53</volume>
          {
          <fpage>70</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Chrisley</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sloman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Functionalism, revisionism, and qualia</article-title>
          .
          <source>APA Newsletter on Philosophy and Computers</source>
          <volume>16</volume>
          (
          <issue>1</issue>
          ),
          <volume>2</volume>
          {
          <issue>13</issue>
          (
          <year>December 2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Chrisley</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sloman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Architectural requirements for consciousness</article-title>
          . In: Chrisley,
          <string-name>
            <given-names>R.</given-names>
            , Muller, V.C.,
            <surname>Sandamirskaya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Vincze</surname>
          </string-name>
          , M. (eds.)
          <source>EUCognition</source>
          <year>2016</year>
          :
          <article-title>Cognitive Robot Architectures</article-title>
          . vol.
          <year>1855</year>
          , pp.
          <volume>31</volume>
          {
          <fpage>36</fpage>
          . CEUR Workshop Proceedings (
          <year>June 2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Lemke</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Budka</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gabrys</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Metalearning: a survey of trends and technologies</article-title>
          .
          <source>Arti cial Intelligence Review</source>
          <volume>44</volume>
          (
          <issue>1</issue>
          ),
          <volume>117</volume>
          {130 (Jun
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Rosenthal</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Two concepts of consciousness</article-title>
          .
          <source>Philosophical Studies</source>
          <volume>49</volume>
          ,
          <volume>329</volume>
          {
          <volume>359</volume>
          (01
          <year>1986</year>
          ). https://doi.org/10.1007/BF00355521
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Schaul</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmidhuber</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <source>Metalearning. Scholarpedia</source>
          <volume>5</volume>
          (
          <issue>6</issue>
          ),
          <volume>4650</volume>
          (
          <year>2010</year>
          ). https://doi.org/10.4249/scholarpedia.4650, revision #
          <fpage>91489</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Sloman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chrisley</surname>
          </string-name>
          , R.:
          <article-title>Virtual machines and consciousness</article-title>
          .
          <source>Journal of Consciousness Studies</source>
          <volume>10</volume>
          (
          <issue>4-5</issue>
          ),
          <volume>133</volume>
          {172 (
          <year>January 2003</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>