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.
is an overview of Mind.
Emotion -- not coded
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. --------------------------------
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
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