Summon the AI4U Textbook Mind into your presence with MSIE.

The Emotion Module of the Mind.Forth AI Breakthrough
by Mentifex

1. Theory of AI4U Algorithm Steps: Code the Emotion Mind-Module

  Hearing    Vision    Concepts Volition Emotion   Motor Output
 /iiiiiii\  /!i!i!i!\                             /YYYYYYYYYYYY\
| ||||||| || ||||||| |   +                       | |||||||||||| |
| ||||||| || | ___ | |   +                       | |||||||||||| |
| ||||||| ||  /   \  |   +                       | |S|||||||||| |
| ||||||| || (image)-|---+_                      | |H|||||||||| |
| ||||||| ||  \___/  |  /  \                     | |A|||||||||| |
| ||||||| ||         | (idea)               __   | |K|||||||||| |
| | ||||| ||         |  \__/---------------/  \  | |E|||R|||||| |
| |d------||---------|---+        ____    (fear)-|--*|||U|||||| |
| ||||o|| ||         |   +-------/    \----\__/  | |||||N|||P|| |
| ||g|||| ||         |   +      / de-  \---------|------*|||E|| |
| || |||| ||         |   +     (  ci-   )        | |||||||||T|| |
| ||||||| ||         |   +      \ sion /---------|----------*|| |
| ||||||| ||         |   +       \____/          | |||||||||||| |

http://mind.sourceforge.net/diagrams.html shows a Theory of Mind.

In order to computationalize robot emotions like love or hate, fear
or anger, it may be necessary to incorporate physiological responses
along with purely intellectual reactions to events experienced by a
robot and evocative of feelings in a robot. The experience of a stimulus,
coupled with an extra-rational or irrational response to the stimulus,
generates an emotional feeling in man or bot. Why? Because the physiological
response to the experience intrudes itself into the process of
thinking about the experience, and the emotional reaction to an event
becomes just as real as the event itself.

In the diagram above, the virtual emotion of "fear" is depicted
as a mental processing area which is activated when an AI Mind
perceives and recognizes a dog -- which may be a cause of the
emotion of fear in the perceiving organism.

The diagram shows fear causing an immediate, involuntary motor
effect of shaking -- over which the organism has no control.
Fear leads into the decision-making structure, or volition, which
must evaluate goals and values, held throughout consciousness, in
order to arrive at a decision of will: whether to flee the dog,
or to pet the dog.


2. Logic Dictates that a Robot May Feel Emotion

The coding of virtual emotion in a robot is not attempted here,
but a basic theory is described for the benefit of those who wish
to attempt the coding of such basic sentic forms and emotions as
anger, joy, disgust/hate, fear, sadness/distress, and surprise.

Although the Emotion module has not yet been implemented, please
note its placement in the main aLife loop of the AI4U page 157
flow-chart, where Emotion comes right after Sensorium (of things
possibly affecting the emotional state of the mind) and before
the Think module, that is, just in time to let emotions offer an
immediate challenge to otherwise rational processes of thinking.

Robot-makers might use an AI already to fake emotions in a robot
by coding in various pre-set emotional reactions of the robot to
various conditions. For instance, if one calls the robot certain
derogatory names, the AI could be predisposed to respond not with
a special response but with the use of words classified as being
tied in with a certain emotion. Normally, the robot would utter
normal words, but with emotional settings, a robot might exhibit
a tendency to make use of words often loaded with emotion.


http://mind.sourceforge.net/ai4u_157.html is an overview of Mind.


3. JavaScript free Seed AI source code with free User Manual
  Emotion -- not coded



4. EMOTION in Mind.Forth and ACM Sigplan Notices 33(12):25-31

    Screen # 64    ram:robot
      --------------------------------
      0  \  EMOTION subroutine stub     980505atm
      1
      2
      3
      4    ( try to implement JOIE DE VIVRE )
      5
      6
      7  \ EMOTION may call  INSTINCT .
      8
      9
     10
     11
     12
     13
     14
     15  \ EMOTION if implemented returns to the Main Program Loop MIND.
      --------------------------------

http://mind.sourceforge.net/m4thuser.html is the Mind.Forth User Manual.

http://mind.sourceforge.net/variable.html explains the Seed AI variables.


5. Analysis of a Modus Operandi

It would be hard to add emotion to a robot without simultaneously
building a quasi-physiological mechanism analogous to a physical
experience of emotion in human beings. One could make the robot
feel a vibration or a trembling or a tick-tock clockbeat so that
the AI Mind of the robot will associate its mental feeling with a
physical feeling. Otherwise, there can be no emotion because the
physical experience is necessary to warp the mental experience.


6. Troubleshooting and Robotic Psychosurgery

Try in advance not to introduce any evolutionary bugs.

The AI Debugger program may shed some light in general on how to debug
and troubleshoot programs in artificial intelligence.

About some robotic emotional problems, nothing can be done.


7. Emotion Resources for Seed AI Germination and Evolution


The Emotion mind-module is the subject of Chapter 19
in your POD (print-on-demand) AI4U textbook,
as worthily reviewed and intellectually evaluated
by Mr. Christopher Doyon of the on-line Turing Store; and
by Prof. Robert W. Jones of Emporia State University.
A search on eBay may reveal offerings of AI4U and
a catalog search for hardbound and paperback copies
may reveal libraries beyond the following where students
of artificial intelligence may borrow the AI4U textbook:
  • Hong Kong University Call Number: 006.3 M981
  • North Carolina State University (NCSU) Call Number: Q335 .M87 2002
  • Texas A&M University
    Consider http://www.bookcrossing.com as a way to
    circulate and track your wandering copy of AI4U.
    At your own library you may submit a request for
    the acquisition of AI4U with ISBN 0595654371.

    Return to top; or to sitemap; or to
    C:\Windows\Desktop\Mind.html
    [For the above link to work, copy to your local hard disk
    http://mind.sourceforge.net/Mind.html
    and name it Mind.html in the C:\Windows\Desktop\ directory.]

    SourceForge Logo