# Analogy Processing

Based on material in ArgumentByAnalogy:

Neural nets and the WetWare of most animals rely heavily on ArgumentByAnalogy. For example, if you've had several frightening encounters with large creatures that have a lot of teeth, forward-facing eyes, and are heading straight toward you; then the next time you see this set of features, or even most of them, you will be quick to get the hell away. It's not perfect, but turned out to be quite a UsefulLie, especially when time to observe and explore are in short supply.

Why it may be fairly good at making many kinds of decisions, it may not be so good at explaining the rational behind them. In the above example, it does not "explain" why sharks are dangerous, only that they fit the profile of creatures that have proved dangerous in the past. It's kind of like an economist using statistical analysis to predict bubbles based on a set of factors. Even though their model may indeed have some predictive value, it still does not by itself "explain" why bubbles happen, and thus has limited value in reductionism debates. Related: AddingEpicycles.

For a simplified example, let's say a system monitors 26 variables, A through Z. Let's consider the following variables:

``` F = forward eyes
L = large object
M = moving toward observer
T = teeth spotted

```
The formula for the threat analogy may resemble:

```  If F > F_threshold And L > L_threshold  And M > M_threshold And T > T_threshold
The Scram!

```
The neural net system "trains" the weights, i.e., the thresholds. It's not exactly an AND statement, but it's our rough approximation. A better model for setting the analogy would be:

``` // example 34
If A*AW + B*BW + C*CW........ > targetThreshold Then scram(...)

```
The "xW" variables are the weights. In this case, most would be zero or near zero except the 4 listed (F, L, M and T).

As an approximation of the analogy process, the organism's "learning center" would have an algorithm that copies the observed levels of each variable level from short term memory just after the event. (We tend to remember traumatic events far clearer than mundane ones.)

Let's follow factor T. During the threat, the T "recognizer" portion of the victim's brain goes to a high level because teeth are spotted. The recognizer neurons simply recognize only teeth at this point and are not concerned with other factors. (They may share links with other circuitry, such as recognizing white food, but that's another topic.)

Just after the threat happens (assuming we live), the high T value is still in short-term memory. The organism will take factors with high levels, such as T, and store these values in a kind of "template array" that is put into an observation stack, which constantly applies something like Statement 34 during the course of a day.

```  If justFacedWithThreat Then
L = mapOfVariableLevelsInObservationBuffer()
OA = new Map   // observation action "list"
For (v, i) = each item in map L  // v=variable-name, i=intensity-level
If i > recentThreatIntensity * adjustmentConstant  //
OA[v] = i   // save new observation level
EndIf
EndFor
EndIf
addToThreatObservationLoop(OA)  // put array into observation loop

```
Statement 34 is just one of the many maps in the daily observation loop stack. We could store all factors, even the low ones, but it's possibly better compression of info to only focus on the higher ones.

However, this is lossy, an imperfect abstraction, in that low level values can also sometimes be a clue to phenomena. A better matcher would perhaps calculate the absolute difference between each and every factor of the traumatic imprint map, and a low total difference would trigger the alert systems.

``` // example 36 - a modified version of #34
If abs(A-AW) + abs(B-BW) + abs(C*CW) ... > targetThreshold Then ...

```
However, this may risk irrelevant factors overriding relevant ones. Generally we want to "store" what's different from the normal. In other words, what was "out of the ordinary" when the threat happened. Calibrating factors or weights for "normal" is a later discussion.

Keep in mind that lower-level organisms don't sit around and reason about what happened. They mostly just react to stimuli. If a given stimuli was present during the trauma, its level is stored in the template regardless of whether it is "rational" to consider it relevant or not.

But in complex systems, such as our "bubble" example above from the field of economics, even humans may not know what factors to disregard. Multi-variable regression has often proven equal or better to so-called "experts" in the field.

--top

View edit of December 23, 2010 or FindPage with title or text search