Summon the AI Mind for MS IE 5 into your presence with MSIE.


The psiDecay Mind-Module


1. DIAGRAM OF AI Algorithm Steps: Code the psiDecay Function

   /^^^^^^^^^\  psiDecay deactivates Psi concepts  /^^^^^^^^^\
  / visual    \                                   / ________  \
 /  memory     \      | | |        | | | | |     / / audSTM \  \
|   _______     |     | | |        | + | | |    | /  "vault" \  |
|  /old    \    |     | | |        | | | + |    | \__________/  |
| / image   \---|-------+ |        | | | | +    |oldest memories|
| \ recog   /   |    a|C|f|        | | + | |    |to be forgotten|
|  \_______/    |    b|O|i|        + | | | |    |               |
|               |    s|N|b|        | | | + |    |newest memories|
|               |    t|C|e|        | + | | |    |to be recycled |
|               |    r|E|r|        + | | | |    |periodically by|
|               |    a|P|s|        | | | | +    |backwards shift|
|   _______     |    c|T| |        | | + | |    |   ________    |
|  /new    \    |    t|_|_|_       |_|_|_|_|    |  /        \   |
| / percept \   |    /Psi   \-----/ English \---|-/ Auditory \  |
| \ engram  /---|---/concepts\---/  lexicon  \--|-\ phonemes /  |
|  \_______/    |   \________/   \___________/  |  \________/   |

The above diagram shows the three levels of deep Psi concepts;
the shallow English lexicon, and the surface-level auditory memory.


http://visitware.com/AI4U/ai4u_157.html is an overview of Mind.


2. JavaScript artificial intelligence source code of 12 August 2002
// psiDecay() is called from the Think() module to make all
// non-zero (positive) mindcore psi1 activations decrease a
// little, so as to simulate neuronal excitation-decay for the
// purpose of letting stray activations dwindle away over time.
// Thinking keeps activations high; psiDecay() lowers them.
// If necessary, an ego-boosting Ego() module will assert activation.
function psiDecay() {  // ATM 21jun2002; or your ID & date.
  for (i = t; i>midway; --i) { // Loop backwards in recent time.
    Psi[i].psiExam(); // Cycle through recent Psi nodes.
    if (psi1 > 0) { // Find any mindcore psi1 positive activation.
       if (psi1 == 1) psi1 = 0;
       if (psi1 == 2) psi1 = 0;
       if (psi1 == 3) psi1 = 0;
       if (psi1 == 4) psi1 = 0;
       if (psi1 == 5) psi1 = 0;
       if (psi1 == 6) psi1 = 0;
       if (psi1 == 7) psi1 = 0;
       if (psi1 == 8) psi1 = 0;
       if (psi1 == 9) psi1 = 0;
       if (psi1 == 10) psi1 = 0;
       if (psi1 == 11) psi1 = 0;
       if (psi1 == 12) psi1 = 0;
       if (psi1 == 13) psi1 = 0;
       if (psi1 == 14) psi1 = 0;
       if (psi1 == 15) psi1 = 0;
       if (psi1 == 16) psi1 = 0;
   //  if (psi1 == 17) psi1 = 0;
   //  if (psi1 == 18) psi1 = 0;
   //  if (psi1 == 19) psi1 = 0;
   //  if (psi1 == 20) psi1 = 0;
   //  if (psi1 == 21) psi1 = 0;
   //  if (psi1 == 22) psi1 = 0;
   //  if (psi1 == 23) psi1 = 0;
       if (psi1 > 16)  psi1 = (psi1 - 16); // above the range.
       Psi[i] = new psiNode(psi0,psi1,psi2,psi3,psi4,psi5,psi6);
    } // end of if-clause finding and reducing positive activations
  } // end of backwards loop
} // End of psiDecay(); return to Think().

3. Mind.Forth free AI source code of 4 August 2002
\  psiDecay is called from the SECURITY module to make all
\  positive (non-zero) mindcore psi1 activations decrease
\  slightly, so as to simulate neuronal excitation-decay for the
\  purpose of letting stray activations dwindle away over time.
\  Thinking keeps activations high; psiDecay lowers them.
:  psiDecay  \ ATM 3aug2002; or your ID & date.
  midway @  t @  DO  \  Loop backwards in recent time.
    I  1  psi{ @  1 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  2 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  3 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  4 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  5 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  6 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  7 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  8 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @  9 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 10 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 11 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 12 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 13 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 14 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 15 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 16 = IF  0  I  1  psi{ ! THEN
    I  1  psi{ @ 16 > IF
    I  1  psi{ @ 16 -  I  1  psi{ ! THEN
  -1  +LOOP  \  end of finding and reducing positive activations
;  \  End of psiDecay; return to SECURITY.

http://visitware.com/AI4U/variable.html explains the variables.


4. ANALYSIS OF THE MODUS OPERANDI

The psiDecay function is meant to permit mindcore Psi concepts to lose their
excitation immediately after they have been briefly activated in the course
of thinking.


5. TROUBLESHOOTING AND ROBOTIC PSYCHOSURGERY

5.1.a. Symptom: The deactivation of concepts is proceeding too slowly
or too quickly.
5.1.b. Solution: Raise or lower the level of current activation which
triggers the calling of the psiDecay function.


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