Activation of a space by a stimulus is a thought.
Detection is the formalization of the thought.
A thought once spoken verbalized is a lie.
In discussions, people often object that our short codes lose information and that we will inevitably run into problems. The short answer — yes, they do, but it is not a problem, because by design, we choose ourselves what information to lose.
If we were trying to do this directly with the primary codes, the loss would indeed be fatal. Our codes, given their small length and their saturation, have a limited ability to merge things together. For example, when coding morphology, we had to fit the codes of all the word characters into a 128-bit code. Words can be very long indeed, up to 40 characters.
The trick is that in our case the characters (and their bits) are not equal. We do not try to produce one universal code (or a universal embedding) to rule ‘em all. Instead, we produce many projections of the information and work with all of them in parallel. Each projection gives us its own view of the information.
For every word, we make a few dozens of morphological codes: about 10 partitions, with each partition in two variants, accenting the beginning and the end of each word. Pseudocolor coding lets us merge the bit codes of fragments so that in each case we get codes with the properties we need. Each code, taken alone, is a lie. But all of them combined provide a view into the structure of the whole word.
In category theory there is a thing called the Yoneda lemma.
Informally, it is explained as follows:
If you have all possible shadows of an object, you can reconstruct the shape of that object. Thus, identical shadow sets identical shape.
A mathematical object is determined (up to isomorphism) through its relations to other mathematical objects. “When I see a bird that walks like a duck and swims like a duck and quacks like a duck, I call that bird a duck.”
In our models, it (the lemma, not the duck) pops up at every level. In primary coding, in building structural codes through the hierarchy of detectors, in building the semantics of words and sentences, in contextual and aspectual transformations — in short, everywhere.
Returning to the problem of information loss — we try to design the system so that losing individual bits in the projections does not lead to losing the information itself.
In the picture of activations and detections of the space this is easy to see. Inded, the output code cannot convey all the nuances of the activation and inevitably loses information about individual points.
But the whole trick is that right from the start, the space was organized in such a way that conceptually close concepts end up next to each other. Therefore the points of the code space work together and, in effect, vote for their own activation. An individual vote (just like an individual bit in the code) means nothing. Together, they carry the imprint of the stimulus.
Besides the votes, we also take into account the energies of the points, which express the measure of a point fitness to its neighborhood. The better a point has settled in the space, the higher its energy and the stronger its vote. Outlier points, scattered across weakly organized regions of the space, have practically no effect on detection.
This note is also available in Russian: О лемме Йонеды.