"Untangling Sequences" revisited

(September 2019 update): untangling_sequences is now an experiment in configuring an HTM model closer to the biology of Layer 4. It implements 3 classes of L4 excitatory cells with interconnections, as well as the apical feedback from L2/3, as specified in figures 8 and 9 of Izhikevich & Edelman 2008 Large-scale model of mammalian thalamocortical systems SI:

us_layers_and_cells

When run with the biologically plausible 100 minicolumns per cortical column, the characteristic model behaviour of distinguishing sensorimotor inputs from temporal sequences is still clear:


(Original July 2019 post on "Untangling Sequences revisited"):

 

The Numenta preprint “Untangling Sequences: Behavior vs. External Causes” (@subutai and @jhawkins 2017) described above reports experiments run with the htmresearch combined_sequences project. That project used independent temporal memory and sensorimotor inference models (as described in Numenta’s previous “neurons” and “columns” papers).

The HTM-scheme untangling_sequences project implements some modifications: L4 temporal memory and sensorimotor inference combined in a unified minicolumn structure, apical feedback from the L2 column pooler to both components of this layer, and multiple cortical columns. The L4 and L2 algorithms are Scheme translations of htmresearch’s apical_tiebreak_temporal_memory.py and column_pooler.py with the same function structure, aiming to replicate Numenta computations. Connections between layers are defined by the “higher-order” layer4 and l2_l4_patch algorithms’ compute procedures; there are ascii art diagrams of the model layers and connections.

When run without the connection modifications, and with htmresearch/combined_sequences.py parameters (1024 minicolumns, 500 features) HTM-scheme produces plots comparable to the headline figure from the paper above:

Figure%206%201024

Swapping in the modified model, with all other parameters unchanged, produces:

Figure%206%20%201024

The modified model also works with 150 minicolumns, as used in the columns paper experiments (sparsity 4%: 6 input bits/150):

Figure%206%20%20150

And with 7 cortical columns of 150 minicolumns (showing means of column values):

Figure%206%20%20150%207cc%20-il

(this plot also used interleaved training of objects and sequences)

7 Likes