Volition module of the

English and Russian bilingual ghost.pl AI in Perl

Mens Latina in Latin -- MindForth for Robots


1. Diagram of Volition FreeWill Mind-Module


  Hearing    Vision  CONCEPTS                      Motor Output
 /iiiiiii\  /!i!i!i!\  a| | |                     /YYYYYYYYYYYY\
| ||||||| ||         | b|C| |     __________     | |||||||||||| |
| ||||||| ||         | s|O|f|    / FreeWill \    | | ||| ||| || |
| ||||||| ||         | t|N|i|   (  Volition  )   | | ||| ||| || |
| ||||||| ||         | r|C|b|    \__________/    | | ||| ||| || |
| ||||||| ||         | a|E|e|        /    | \    | |S||| ||| || |
| ||||||| ||   ___   | c|P|r|   ____/__   |  \   | |H||| ||| || |
| ||||||| ||  /dog\  | t|T|s|  /       \  |   \  | |A|||R|||P|| |
| ||||||| || (image)-|--|-+-|-( Emotion ) |    \ | |K|||U|||E|| |
| ||||||| ||  \___/  |  | | |  \_______/  |     \| |E|||N|||T|| |
| ||||||| ||         |  | | |             |      \ |?|||?|||?|| |
| ||||||| ||         |  | | |          ___V___   |\  ________   |
| ||||||| ||         |  | | |         /       \  | \/        \  |
| |d------||---------|--|-+-|--------( EnThink ) | ( Motorium ) |
| ||||o|| ||         |  | | |         \_______/  |  \________/  |
| ||g|||| ||         |  | | |                    | |||||||||||| |


2. Purpose of the Volition Module

The purpose of the Volition mind-module is to integrate the feelings of emotion and the ideas of thinking to plan and launch motor initiatives in pursuit of goals.


3. Algorithm of the Volition Mind-Module

3.A. The Volition module combines the influence from Emotion and the deliberations from thinking to select and inititiate motor options learned and habituated in the Motorium module.

3.B. A chief characteristic of AI volition is the integrative nature of the will as it contemplates a candidate for action. Feelings or ideas in favor of a proposed initiative gradually move the Volition module towards the threshold of launching the motor execution of the proposed behavior, while contrary feelings and countervailing ideas delay or even prevent the launching of the motor initiative.

3.C. Without robot embodiment and access to actuators, each AI Mind is limited in its motor options to such paltry initiatives as sounding a beep or speaking its thoughts aloud. Further motor initiatives available to the unembodied AI may include the sending of e-mail; the surfing of the Web; and the intentional making of one or more copies of the AI Mind.


4. Code of Volition() from ghost327.pl AI source code in Perl


sub Volition() {  # http://ai.neocities.org/Volition.html
# http://discourse.numenta.org/t/free-will-volition-module 
# Emotion();   # 2016mar05: physiological emotion will influence thought;
# if ($hlc eq 1) {  # 2017-06-17: check human-language-code $hlc
  if ($hlc == 1) {  # 2018-09-27: check human-language-code $hlc
    EnThink();  # 2017-06-17: In response to English input, think in English.
  }  # 2017-06-17: End of test to select a human language to think in.
  if ($hlc == 3) {  # 2018-09-27: check human-language-code $hlc
    RuThink();  # 2017-06-17: In response to Russian input, think in Russian.
  }  # 2017-06-17: End of test to select a human language to think in.
# MetEmPsychosis();  # 2017-04-10: move source code and memories across the Web?
# MindMeld();  # 2017-04-23: module stubbed in to promote shared AI dreaming. 
# Motorium();  # 2016mar05: motor memories will control robot actuators;
  if ($trigger > 99) {  # 2017may29: if user presses [Enter] with no input...
    $beep = 1;     # 2016apr29: send a beep-command to the Motorium() module;
    Motorium();    # 2016apr29: for execution of the commands of Volition()
    $beep = 0;     # 2016apr29: reset the flag after each motor execution.
    $trigger = 0;  # 2016apr29: reset the trigger for a fresh integration.
  }  # 2016apr29: end of the integration of components to will an action.
} # 2016mar05: Volition() will return to the MainLoop of the AI.

5. Variables for the Volition Mind-Module

$beep -- flag for robot Motorium() module to create a beep.

$hlc -- human-language code; 1=en; 2=de; 3=ru. Subject to override by the $engov or $degov or $rugov flag.

$impetus -- an accumulating variable to hold the activation-level of a trigger to initiate action by the FreeWill Volition module.

$trigger -- a trigger for Volition() to call Motorium()


6. Troubleshooting and Debugging

6.1.a. Symptom: (Something goes wrong.)
6.1.b. Solution: (AI Mind Maintainer devises solution.)


7. Future Development

The AI software needs to be embodied in autonomous robots with a full complement of motor options available to the Volition module.

Roadmap to Artificial Intelligence


8. Resources

Please see

  • http://mind.sourceforge.net/volition.html

  • http://en.wikipedia.org/wiki/Robust_decision-making

    Russian Wikipedia/Theory of the taking of decisions
  • http://ru.wikipedia.org/wiki/Теория_принятия_решений


    9. AiTree of Mind-Modules for Natural Language Understanding

    See AI 101 AI 102 AI 103 year-long community college AI course curriculum.


    Paperback book on AI in ancient Latin

    Artificial Intelligence in Ancient Latin -- is available from Amazon in various countries:
    Australia - Canada - France - Germany - Italy - Japan - Netherlands - Singapore - Spain - United Kingdom - United States.
    Ada's Technical Books
    425 15th Avenue East
    Seattle, WA 98122
    USA Tel. 206-322-1058


    Website Counter