1. Diagram of
AI4U
Algorithm Steps: Code the psiDecay Function
/^^^^^^^^^\ psiDecay deactivates Psi concepts /^^^^^^^^^\
/ visual \ __________ / auditory \
/ memory \ | | | / Activate \ / memory \
| _______ | | | | \__________/ | channel |
| / image \----|-------+ | |+| _________ | where |
| / percept \ | a|C|f| |+| / psiDamp \ | chains |
| \ recog / | b|O|i| |+| \_________/ | of |
| \_______/ | s|N|b| |+| |+| _____ | thought |
| | t|C|e| |+| | | /psi- \ | are |
| | r|E|r| |+| |+| \Decay/ | perceived |
| | a|P|s| |+| | | \___/ | |
| | c|T| | |+| |+| |-| | ________ |
| _______ | t| | | |+| | | |-| | / \ |
| / new \ | _|_|_|__|+|__|+|___|-|_ | / "fish" \ |
| / percept \ | /Psi concepts subject to\ | \ "eat" / |
| \ engram /---|--/ psiDecay if not thought \ | \ "bugs" / |
| \_______/ | \_________________________/ | \______/ |
The above diagram shows two of three perpendicular areas:
1) the surface-level auditory memory where acoustic words but not
concepts are stored; 2) (not shown) the shallow lexicon of the
semantic memory for English and any other human language; and
3) the deep-structure mindcore of abstract concepts that exist
apart from lexical naming and communicating of the concepts.
The psiDecay module lets semi-activated subconscious concepts
sink towards oblivion slowly enough to remain briefly available to the
searchlight of attention and for the
moving wave of
activation to bring
the subconscious concepts back into the stream of
consciousness.
http://mind.sourceforge.net/ai4u_157.html
is an overview of Mind.
// 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().
\ psiDecay is called (mainly 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. \ In a robot mind with an upper tier of activation for concepts \ riding a moving wave of consciousness, psiDecay lets afterthought \ concepts sink gradually through a lower tier of residual activation. : psiDecay ( let conceptual activations dwindle ) \ atm 23jan2006 fyi @ 2 > IF CR \ Skip display during tutorial mode. ." psiDecay called to reduce all conceptual activations." THEN midway @ t @ DO \ Loop backwards in recent time. \ I 1 psi{ @ 3 - I 1 psi{ ! \ 7aug2005 \ I 1 psi{ @ 2 - I 1 psi{ ! \ 14sep2005 I 1 psi{ @ 1 - I 1 psi{ ! \ 23jan2006 I 1 psi{ @ 0 < IF 0 I 1 psi{ ! THEN \ 4aug2005 \ 21sep2005 Next line of active code zeroes out the "DO" \ concept so that question elements will not linger. I 0 psi{ @ 59 = IF 0 I 1 psi{ ! THEN \ Zero out DO. \ 5sep2005 Next line of active code treats concept "WHAT" as a \ special case where zero activation elecits positive answers. I 0 psi{ @ 54 = IF 0 I 1 psi{ ! THEN \ Zero out WHAT. -1 +LOOP \ end of finding and reducing positive activations ; \ End of psiDecay; return to SECURITY; ASK; ...
4. Analysis of the Modus Operandi
The psiDecay function is meant to permit mindcore Psi concepts to lose their
semi-excitation gradually 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 for
Seed AI Germination and Evolution