Tonight I’m poking around in frameworks/models/evidence_sdr_matching.py

One of the challenges of building an AI system is tokenization and building embedding vectors. TBP uses SDRs (Sparse Distributed Representation) as embedding vectors. Unlike LLMs, this is a bit array (as opposed to array of floating point numbers) with a fixed number of on bits.. Generally 40 out of 2048.

The process of how OpenAI et al generates embedding vectors is unclear. There are open-source algorithms but they are not as good. The key is similar items end up “closer” than dissimilar items.

The file I’m looking at contains EncoderSDR class which is Monty’s version of embedding vector generator. They have a bunch of sensors that generate dense representations that Monty needs to convert to SDRs.

@Numenta had shared information on how to create encoders for various kinds of data. I’ve been thinking about it too, especially how to handle adding more new representations and what to do with existing ones..

When OpenAI trains a new model, all their embedding vectors change. The vectors are not compatible between models.

Obviously the brain doesn’t and can’t update its representations like that, and I’m curious to dig further into if and how Monty solves this tricky issue