14 May 2011 mentifex   » (Master)

JavaScript AI Mind Programming Journal -- Fri.13.MAY.2011

Fri.13.MAY.2011 -- A Problem in Search of Eureka

When the question "who are you" is input repeatedly to the JavaScript Artificial Intelligence (JSAI), the AI needs to retain the self-concept of "I" as the subject for each of all possible answers to the question. The MindForth AI already performs well in this regard, but the JSAI has been letting go of the self-concept subject. Therefore we will try to make sure that the JSAI uses the same activational routines as MindForth does.

Sat.14.MAY.2011 -- Using Differential PsiDecay

The artificial Mind has difficulty holding onto the subject of a query because of stray activations that build up on "also-ran" concepts that were proposed but not accepted as answers to recent queries. The activation on otherwise legitimate answers builds up so rapidly and so substantially that an also-ran concept threatens to dislodge the very subject of the query and become a new subject of a thought which does not supply the knowledge requested by the query. For instance, when we twice ask "who are you" of the 12may11A.html JSAI as released onto the Web two days ago, it answers first "I AM ROBOTS" and then "A PERSON IS PERSON", apparently because the also-ran concept of "PERSON" has risen too high in activation to let the self-concept "I" serve as the subject of the response. Meanwhile, yesterday we may have had a "eureka" moment that could supply a solution so simple and yet so effective that it provides a tipping point in the break-out phenomenon of True AI.

Now, we don't want our AI Minds to start asking teenage boys if they would like a little game of GLOBAL THERMONUCLEAR WAR, Matthew, but don't be surprised if suddenly No Such Agency starts removing every trace of Mentifex AI from every corner of the World Wide Web. Did you know that, when things got a little hot during World War Two, the U.S. government began removing books on the mathematics of Georg Riemann from libraries all over America? Say, when's the last time you saw a copy of AI4U?

The secret to True AI is to embue the artificial Mind not with the linear PsiDecay that MindForth has always had, but with the differential PsiDecay of also-ran concepts so that stray activations dwindle more rapidly from high spikes than from merely modest spikes. In a living neural-net like the human brain, do we not expect a sharp spike to fall more rapidly than a simple upswell? So let us modify the PsiDecay code and try to make higher activations subside more rapidly.

We are trying to ntroduce "differential" psi-decay. Suppose we have also-ran NounPhrase concepts like

39=ROBOT at 54 act;
104=PERSON at 68 act;
33=ANDRU at 82 act;
We want the high-activation also-rans to drop to an activation low enough to avoid dislodging the input subject. Then we want at least one also-ran to be high enough to be selected as an answer to the input query. We want each decade or octet of high activation to be lowered by not just one point, but by a precipitous drop that still keeps the relative ranking of the also-rans. For instance, we could ordain that all activations above thirty could arrange themselves in a spread between twenty- nine and forty, so that
39 becomes 31;
49 becomes 32;
59 becomes 33;
69 becomes 34;
79 becomes 35;
89 becomes 36;
99 becomes 37; and so on
Upshot: We inserted similar code into the JavaScript AI Mind and it began to function better than ever. Somehow the JSAI is now more advanced than the MindForth AI, until we can port the new functionality into Win32Forth.


Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!