You keep an accumulator (1D array of int) of size 2048 where every time there is a bit in a position X you increment that element. The input is the TM Predicted SDR.
Now come the interesting part … the Accumulator is decaying… what do I mean… here is the formula :
where t is the time step and ‘n’ is parameter that control how fast to decay …
On every time step we take winner-takes all (biggest values) with the required sparsity.
Now we have value that changes according to the underling data, next thing is to pass this pattern trough a Spatial Pooler … and we have stable and unique pattern.
This would mean that your pooling layer will have fixed sparsity right? Though what if the TM layer(s) its monitoring are unstable due to randomness in their inputs? Wouldn’t it be good if the pooling layer was less stable itself during those times?
I think I get the decaying function you have there and the idea makes sense to me – tho if you have a diagram showing how connections are formed between cells in your TP and TM layers that’d help to make it most clear ideally!