Summon a Robot AI Mind into your presence with MSIE.

The wtAuxSDo Module


1. OVERVIEW AND BRAIN-MIND DIAGRAM

   /^^^^^^^^^\   Generation of "what do fish do?"  /^^^^^^^^^\
  /   EYE     \  Pronoun +AuxVerb +Subject +Verb  /   EAR     \
 /             \    | | |    ___________         /             \
|   _______     |   | | |   / Sentence  \       |               |
|  /"fish" \    |   | | |   \___________/-------|-------------\ |
| / percept \---|---|-+ |     |        \        |             | |
| \ engram  /   |  d|f|w|     |        _\____   |             | |
|  \_______/    |  o|i|h|     |       / Verb \  |             | |
|               |   |s|a|     |      ( Phrase ) |             | |
|   visual      |   |h|t|     |      /\______/  |  auditory   | |
|               |   | | |     |     /    / |    |             | |
|   memory      |   | | |  ___|__  /    /  |    |  memory     | |
|               |   | | | / Noun \/   _/_  |    |             | |
|   channel     |   | | |( Phrase )  /Aux\ |    |  channel    | |
|               |   | | | \______/   \___/ |    |     ____    | |
|               |   | | |     |        \   |    |    /    \   | |
|               |   | | |     |         \  |    |   /"what"\  | |
|   _______     |   | | |     |         _\_|_   |  / "do"   \ | |
|  /fresh  \    |   |_|_|    _|___     / En  \  | /  "fish"  \| |
| / image   \   |  /     \  / En  \   / Verbs \-|-\  "do"    /  |
| \ engram  /---|--\ Psi /-/ Nouns \  \_______/ |  \        /   |
|  \_______/    |   \___/  \_______/------------|---\______/    |

diagrams.html shows a Theory of Mind.

The wtAuxSDo module is named so clumsily and so geekily because
we must preserve clarity of functionality in every AI module name.
As AI marches on and takes over HPC farms full of supercomputers,
the jargonoid obfuscation is only going to get worse, not better.
Otherwise, what we would have here is a failure to communicate.

Kewl programmers, Luke, will realize that even to ask a simple
"what-do-Subjects-Do?" (wtAuxSDo) question is a small step for an
AI Mind-1.1 release but a giant step for AI-Mind-kind, because AI
begins to build its own knowledge when it learns to ask questions.


2. WHAT DO QUESTIONS DO?

Human: Questions generate problems.

Robot: What do problems do?

Human: Problems invite solutions.

Robot: What do solutions do?

Human: Solutions cause questions.

At this point in a dialogue between Mind-1.1 and a human being,
the AI Mind would stop asking questions because it hears no new
nouns -- which currently trigger the asking of questions in order
to expand the knowledge base (KB) of an AI encountering new nouns.
The AI is briefly KB-complete, that is, with no immediate urge to
ask for further information about a previously unknown concept.
However, as of Mind-1.1, TWAWKI (the world as we know it) will
never be the same.


3. ALL YOUR SUPERCOMPUTER ARE BELONG TO US

The wtAuxSDo module, if resident on a sufficiently powerful super-
computer, can already -- on an as-is basis -- with no further evo-
lution and no further speciation of the Seed AI into Sons of AI --
fill a stupendously enormous memory space with stupidly phrased
and maddeningly limited ideas on the order of the simple inter-
change presented as a quasi-transcript above. Now, no cyborg in
its right Mind would want to have such a mentally deficient AI,
but we humans tend to get excited and yell "Eureka!" when such a
possibility has been demonstrated, because there are hordes of
brainy programmers out there who may even now be souping up the
jalopy engines of Mind-1.1 computers into know-all supercomputers.

The diagram ai4u_157.html is a flowchart of Mind.


4. JavaScript artificial intelligence source code of 12 August 2002
// wtAuxSDo() is a question of "What do (nouns) do?".
function wtAuxSDo() {  // ATM 12aug2002; or your ID & date.
  tov = t;  // time-of-vice for echoing input.
  for (i = t; i>midway; i--) {  // Look backwards for 54="what".
    enLexicon[i].enExam();  // Inspect the English nodes.
    if (en0 == 54) {  // If the #54 concept "what" is found...
      motjuste = 54;  // "nen" concept #54 for "what";
      aud = en5;  // Auditory recall-vector for "what".
      // break; 
    }  // End of search for #54 "what".
  }  // End of loop finding the word "what".
  Speech();   // Speak or display the word "what".
  // Call form of auxiliary verb "do":
  auxVerb();  // Any of several auxiliary verbs.
  for (i = t; i>midway; i--) {  // Look backwards for "topic".
    enLexicon[i].enExam();  // Inspect the English nodes.
    if (en0 == topic) {  // If the "topic" concept is found...
      motjuste = topic;  // "nen" concept #"topic";
      aud = en5;  // Auditory recall-vector for "topic".
      // break; 
    }  // End of search for #"topic".
  }  // End of loop finding the lexical "topic" item.
  Speech();  // Speak or display the lexical "topic".
  for (i = t; i>midway; i--) {  // Look backwards for 59="do".
    enLexicon[i].enExam();  // Inspect the English nodes.
    if (en0 == 59) {  // If the #59 concept "do" is found...
      motjuste = 59;  // "nen" concept #59 for "do";
      aud = en5;  // Auditory recall-vector for "do".
      // break; 
    }  // End of search for #59 "do".
  }  // End of loop finding the verb "do".
  Speech();    // Speak or display the verb "do".
  topic = "";  // Reset "topic" after using it.
}  //  End of wtAuxSDo(); return to the Ask() module.

5. Mind.Forth free AI source code of 4 August 2002
\ whatAuxSDo is:  what + Auxiliary + Subject + "Do":
:  whatAuxSDo  \ ATM 4aug2002; or your ID & date.
  \ Call interrogative pronoun "what":
  midway @  t @  DO  \ Look backwards for 54=what.
    I       0 en{ @  54 = IF  \ If #54 "what" is found,
      54 motjuste !  \ "nen" concept #54 for "what".
      I     5 en{ @  aud !  \ Recall-vector for "what".
      LEAVE  \ Use the most recent engram of "what".
    THEN  \ End of search for #54 "what".
  -1 +LOOP  \ End of loop finding the word "what".
  SPEECH    \ Speak or display the word "what".
  \ Call form of auxiliary verb "do":
  auxVerb   \ 4aug2002 Any of several auxiliary verbs.
  midway @  t @  DO  \ Look backwards for "topic".
    I       0 en{ @  topic @ = IF  \ If "topic" is found,
      motjuste @ topic !        \ "nen" concept #"topic";
      I     5 en{ @ aud !  \ Auditory recall-vector for "topic".
      LEAVE
    THEN     \ End of search for #"topic".
   -1 +LOOP  \ End of loop finding the lexical "topic" item.
  SPEECH     \ Speak or display the lexical "topic".
  midway @  t @  DO  \ Look backwards for 59=do.
    I       0 en{ @  59 = IF  \ If #59 "do" is found,
      59 motjuste !  \ "nen" concept #59 for "do".
      I     5 en{ @  aud !  \ Recall-vector for "do".
      LEAVE  \ Use the most recent engram of "do".
    THEN  \ End of search for #59 "do".
  -1 +LOOP  \ End of loop finding auxiliary verb "do".
  SPEECH    \ Speak or display the auxiliary verb "do".
;  \ End of whatAuxSDo; return to ASK.

variable.html explains the location and purpose of each AI variable.


6. ANALYSIS OF THE MODUS OPERANDI

The "what-do-Subjects-Do?" (wtAuxSDo) code is carefully organized
so as to be as normative as possible and as permissive of further
tweaking or development as possible. The helping-word "do" is
not directly hard-coded into the algorithm but is instead treated
as the results of a search for an auxiliary verb in the "auxVerb"
module -- so that "may" or "must" could just as easily be chosen.
As we sail into uncharted territory in the development of Seed AI,
we are well-advised to provide an AI scaffolding upon which other
voyagers may build in the future.

You may pour your heart and soul into devising intricate AI code,
only to monitor the Web and watch "AI: The Next Generation" rip
your treasured source code to shreds, but think:

Robot: What do pioneers do?

Human: Pioneers blaze trails.


7. 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.


8. wtAuxSDo MODULE RESOURCES



Return to top; or to
ai4u_faq.html Frequently Asked Questions (FAQ) about AI4U
ai4udex.html Index of the AI4U Textbook of Artificial Intelligence
aisteps.html AI Algorithm Steps - Artificial Intelligence Algorithms For Humanoid Robots
Mind.html Artificial Intelligence Seed AI in JavaScript
mind4th.html Mind.Forth Artificial Intelligence for Robots
PODsales.html Sales of the AI4U Print-On-Demand (POD) Textbook