The goal of the output code is to describe the activation of a code space as a binary vector that preserves the main properties of the codes within the space: substantial overlap for close concepts, sparsity, and sensitivity to small changes.
Detectors are one way of implementing this mapping while keeping the properties we need.
One detector yields one bit, blended into the output code. A hierarchy of detectors gives a code describing significant activation regions of the whole code space. The depth of the hierarchy determines the saturation of the output code. The vector length is chosen so as to avoid oversaturation.
In principle, one could make it simpler and simply use the method of random projections, where every point of the code space is mapped onto an output bit at random. Just collect the projections of the active points, and there is your output code. Except it will never be anywhere near optimal.
Code space clusters significantly vary in their size: one has 5 points, another 100,000. Upon activation, a ton of junk or irrelevant codes are activated as well. If all of it has to be put into the code, we’d end up with either, a code of an enormous length and density (I am looking at you, VSA), or extremely low sensitivity. But the main thing is that in this approach clusters make no sense, since every point is now on its own.
Our detectors, in essence, filter out the noise, normalize the signals of different clusters/pinwheels, and in the end, let us solve several issues at once.
This note is also available in Russian: О выходном коде.