# Capacity of a Macrocolumn

**URL:** <https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633>\
**Category:** General Neuroscience\
**Created:** [September 27, 2018, 4:06pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633 "2018-09-27T16:06:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [September 27, 2018, 4:06pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/1 "2018-09-27T16:06:39Z")

</div>

Hello,

This is only about spatial pooling.  
If I understand correctly, a macrocolumn contains about 100 minicolumns, each being tuned to some preferred stimulus in its receptive field (RF). Neighboring macrocolumns do not overlap in their RF. This in turn means that there are only about 100 feature detectors for a given RF. If those feature detectors implement a winner-takes-all competition between them, that would only allow 100 features to be learnt and recognized for a given RF. That doesn’t sound like a while lot, considering the diversity of inputs for natural stimuli and the precision of recognition (lets say for vision in V1). Possibly they instead use a N-out-of-100 coding which would increase capacity somewhat, but still…  
Any thoughts on this anyone ?

Cheers.

---

<div class="post-metadata">

**Author:** ![subutai](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/subutai/32/106_2.png) [@subutai](https://discourse.numenta.org/u/subutai)\
**Post date:** [September 27, 2018, 4:29pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/2 "2018-09-27T16:29:44Z")

</div>

Hi,

The size of a cortical column / macrocolumn varies somewhat based on sensory area, level in hierarchy, and species. The exact number of minicolumns per cortical column is a bit hard to pin down precisely.

All our sparse distributed codes use an M-out-of-N coding strategy. In our Columns paper we assumed a cortical column contained between 150 and 250 minicolumns. See the section on Capacity in [this paper](https://www.frontiersin.org/articles/10.3389/fncir.2017.00081/full) - in that section M was 10.

The robustness of these codes increases dramatically as N increases ([see this paper](https://arxiv.org/abs/1601.00720)).

–Subutai

---

<div class="post-metadata">

**Author:** ![Bitking](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/bitking/32/3099_2.png) [@Bitking](https://discourse.numenta.org/u/Bitking)\
**Post date:** [September 27, 2018, 4:45pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/3 "2018-09-27T16:45:29Z")

</div>

I think that this is a rather short sighted way to look at capacity.

The number of glyphs in the English language is small - perhaps 60 or so in common usage. With the correct arrangement these are capable of being grouped and sequenced into a virtually infinite number of representations.

Bringing this concept to the neural representation requires the consideration of inter-map connections and serial transitions. This last item is an area where the HTM concept shines. The contribution of hierarchy is yet to be seen but I expect good things.

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 3:04pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/4 "2018-10-02T15:04:22Z")

</div>

Actually, I think I found my mistake…  
Apparently there was a big misunderstanding on what is meant by “macrocolumns RF do not overlap”.  
I thought it would mean that neighboring macrocolumn’s RFs intersection would be zero, but what it seems to mean is that neighboring macrocolumns RFs ratio of intersection is (slightly) less than one (so they don’ FULLY overlap but have offset, yet still strongly overlapping RFs).  
Can somebody who is pretty firm in neuroscience confirm or deny ?  
Cheers !

---

<div class="post-metadata">

**Author:** ![Bitking](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/bitking/32/3099_2.png) [@Bitking](https://discourse.numenta.org/u/Bitking)\
**Post date:** [October 2, 2018, 3:15pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/5 "2018-10-02T15:15:48Z")

</div>

This has been the topic of much discussion.

I think that this post may give you some answers:

> [@Project : Full-layer V1 using HTM insights](https://discourse.numenta.org/t/project-full-layer-v1-using-htm-insights/3771/35):
>
> I have been conversing with @gmirey for some time on this general topic. We endeavored to get a sense of the scale of the relative dimensional quantities of the temporal layer, inputs and cell/column spacing, number and range of the connections. You know - the basic facts of making a realistic model. Some of what was discussed was what is known about reach and density of the dendritic arbor in the “input” layer. We established the key factors would be: what is the spacing of the ascending cort…

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 3:55pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/6 "2018-10-02T15:55:24Z")

</div>

hmm, but that would mean that my initial assumption was correct and that there is roughly only 1 minicolumn per input fiber which i believe makes it rather hard to develop proper feature detectors for natural input in V1 😕 or i’m still missing something here…

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 3:58pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/7 "2018-10-02T15:58:51Z")

</div>

The reason why I thought that I misinterpreted that “overlap” was due to a paper.  
[http://paulbourke.net/papers/paper19/](http://paulbourke.net/papers/paper19/)  
Here, below Eq1 it reads

> In the results described in this paper the number of mini-columns at each retinotopic location in the non-granular layer was set to 100.

which I thought can be interpreted as 100 minicolumns per input fiber.

---

<div class="post-metadata">

**Author:** ![Bitking](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/bitking/32/3099_2.png) [@Bitking](https://discourse.numenta.org/u/Bitking)\
**Post date:** [October 2, 2018, 4:21pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/8 "2018-10-02T16:21:02Z")

</div>

Each mini-column has a small number of branching dendrites - perhaps six. As they branch the number of active dendrite segments increase to a much larger number.  
An accending axon is potentially sampled by dendrites from layers 2/3, 4, 5, and 6.  
With the link I just posted it should be clear that this accending fiber is available to approx 400 mini-columns for potential sampling.  
The dendrites have been observed to change their shape to wire to new axonal connections as needed.  
Based on this I really don’t know how you are getting your rather limited numbers.

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 4:33pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/9 "2018-10-02T16:33:10Z")

</div>

Well, I agree that every minicolumn has a much larger RF, but that doesn’t matter as long as the ratio is only 1 minicolumn per 1 input.  
If a minicolumn extracts one feature of its surrounding inputs, neighboring minicolumns could easily extract other features of those same inputs as their RFs could surely span quite some range and fully overlap with the first minicolumn’s RF. I agree on that.  
BUT since you also want to detect features on neighboring patches of input you get into the same problem as you used minicolumns to detect more features from the initial patch you will lack them now on the neighboring patch. No matter how you turn it, if there is only a ratio of 1 feature detector per 1 input it greatly limits the fidelity of the generated feature maps (either in spatial resolution or in number of features).

---

<div class="post-metadata">

**Author:** ![Bitking](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/bitking/32/3099_2.png) [@Bitking](https://discourse.numenta.org/u/Bitking)\
**Post date:** [October 2, 2018, 5:01pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/10 "2018-10-02T17:01:03Z")

</div>

Maybe I am seeing your problem. The 100 or so cells that make up a mini-column compete to sense a transition.  
The same mini-column is capable of sensing a vast number of transitions. These mini-columns compete to “be the one” to recognize the local transition feature in the macro-column. . In my post on Hex-grids I postulate that layer 2/3 is hitting on fixed patterns and that there is a form of voting going between layers in the mini-column. (temporal and spatial patterns)  
In any case - the feature recognizers compete to signal that they are “the one” to win in this macro-column. Here is where I differ from the the HTM canon - HTM as written picks a winner based on some sparsity metric; every macro-column is an island of recognition.  
In my Hex-grid proposal the competition between potential grid forming pattern recognition binds the local recognition to adjacent patterns and sparsity is a natural by-product.

> [@HTM Mini-Columns into Hexagonal Grids!](https://discourse.numenta.org/t/htm-columns-into-hexagonal-grids/3567):
>
> Or at least some wild conjectures to provoke thought! This post assumes that you are familiar with basic HTM theory and are conversant with the concepts of SDRs and HTM minicolumns. May I be so bold: First - let’s be clear what I am and am not talking about. This is about cells that work by forming regular hexagonal grid structures and are not necessarily the same thing as the “grid cells” that are coding some spatial aspect of the surrounding environment. These grid-fo…

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 7:27pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/11 "2018-10-02T19:27:48Z")

</div>

With transitions you step into the temporal domain. My post is purely about spatial pooling. This must be done before any temporal sequencing can be done. So first things first 😉

---

<div class="post-metadata">

**Author:** ![Bitking](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/bitking/32/3099_2.png) [@Bitking](https://discourse.numenta.org/u/Bitking)\
**Post date:** [October 2, 2018, 7:59pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/12 "2018-10-02T19:59:48Z")

</div>

I am not sure how you intend to divorce HTM from time. It is exactly what the HTM model is all about - signaling that a predicted pattern has happened - or not.

This pattern prediction is what is being detected and grouped at the macro-column level.

Unless i have things completely wrong you have to start with the dendrites of a cell detecting some learned pattern and biasing the soma into a predictive state. On the next cycle that same cell sees the pattern “faster” than it’s neighbors and fires first triggering the local inhibitory inter-neurons to silence the “slower” losers.  
This winning neuron is the response of that column for a successful predicted pattern. That is what is available to be spatially pooled.

If nobody is successful then nobody is a winner and bursting at the mini-column level drives all the cells to learn if they synapse on a firing axonal projection.

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 8:17pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/13 "2018-10-02T20:17:03Z")

</div>

Sure HTM is about temporal prediction. But the basis to do so is spatial pooling. First there is spatial pooling and then there is temporal prediction on the spatially pooled patterns. You can just run the spatial pooling process (with a single cell per minicolumn) completely abandon the temporal pooler. Of course then you loose temporal prediction, but you still learn a set of spatial patterns which occur most often in the input space and therefore form nice labels to spatially pool against. On the other hand you can not just run a temporal pooler without the spatial pooler as the temporal pooling is based on the spatial one.  
I talk solely about spatial pooling in this thread and the amount of spatial patterns the system can store and recognize. I do NOT talk about sequential prediction of those patterns in any way. Forget about the temporal stuff for now.

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [October 2, 2018, 8:38pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/14 "2018-10-02T20:38:03Z")

</div>

> [@xortdsc](#):
>
> You can just run the spatial pooling process (with a single cell per minicolumn) completely abandon the temporal pooler.

This sentence catches me wrong. Spatial Pooling does not require minicolumns or defining how many cells are in them. That is the Temporal Memory algorithm. And there is no temporal pooler today.

And if you want all the details about the spatial pooler, read this: [The HTM Spatial Pooler: a neocortical algorithm for online sparse distributed coding](https://discourse.numenta.org/t/the-htm-spatial-pooler-a-neocortical-algorithm-for-online-sparse-distributed-coding/1548).

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 8:41pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/15 "2018-10-02T20:41:25Z")

</div>

oh, you are right. i meant temporal prediction (not pooling). and yes, no need for minicolumns at all. those could simply be cells (e.g. simple cells of V1). i was just trying to convey to bitking that my question is not at all about temporal prediction and its capacity, but only about capacity of spatial pooling (so spatial feature recognition). there is no temporal aspect in my question.  
And thanks for the paper link. This seems to be an updated SP I believe ? The one I implemented (given some pseudocode on the numenta website) used global inhibition and was globally connected, which worked, but i didnt think it was very biologically plausible). I’ll give that paper a read…

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [October 2, 2018, 9:12pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/16 "2018-10-02T21:12:36Z")

</div>

> [@xortdsc](#):
>
> This seems to be an updated SP I believe ?

Not really updated. The SP has been the same since pretty much forever. There are versions with global inhibition and local inhibition. But when you add local inhibition, you are adding topology and so the input data needs to also respect some topology. It makes things trickier.

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 9:21pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/17 "2018-10-02T21:21:00Z")

</div>

Well, I do use topological inputs (images) for my tests.  
Actually I was wondering: Is there a benefit of using a let’s say 10-winner-takes all with a large inhibition radius versus a single-winner-takes-all with a smaller inhibition radius (actually that much smaller than its area of inhibition is only 1/10th of the first version). The latter would be much easier to implement and much faster. Does the former perform better ? And if so, why ?

---

<div class="post-metadata">

**Author:** ![Bitking](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/bitking/32/3099_2.png) [@Bitking](https://discourse.numenta.org/u/Bitking)\
**Post date:** [October 2, 2018, 9:53pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/18 "2018-10-02T21:53:14Z")

</div>

I’m curious if you read the linked Yuwei Cui, Subutai Ahmad, and Jeff Hawkins paper above?

When you ask about benefits there are several answers depending on what you are looking for.

The paper lists: fixed-sparsity representation, utilization of all available resources, robustness to noise , flexibility, and fault tolerance as desirable metrics.

There is some exploration of these properties and the math to show the metrics for these properties. You should be able to manipulate these to optimize whatever property you are looking for.

Rather than me telling you what I think is better it may be best if you decide what trade-offs you consider the best.

---

<div class="post-metadata">

**Author:** ![xortdsc](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xortdsc](https://discourse.numenta.org/u/xortdsc)\
**Post date:** [October 2, 2018, 10:06pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/19 "2018-10-02T22:06:27Z")

</div>

I did read it.  
I do see the benefits of using SDRs, but you can achieve fixed-sparsity either way. Robustness to noise, flexibility, and fault tolerance is intrinsic to using SDRs which happens in either case. Utilization of all available resources is done by boosting which is independent of the way sparsity is enforced.

---

<div class="post-metadata">

**Author:** ![Bitking](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/bitking/32/3099_2.png) [@Bitking](https://discourse.numenta.org/u/Bitking)\
**Post date:** [October 2, 2018, 10:50pm UTC](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633/20 "2018-10-02T22:50:59Z")

</div>

I thought that you asked and answered the efficiency question on an earlier thread:

> [@Local inhibition instead of explicit k-winner for spatial pooler](https://discourse.numenta.org/t/local-inhibition-instead-of-explicit-k-winner-for-spatial-pooler/4590):
>
> Hello all, as much as I like the local learning rules and biological plausibility of HTM as much I dislike the explicit k-winner approach it uses to determine the minicolumns which should be used for learning. It is neither a biologically plausable implementation nor is it well suited to be ported to a GPU (which is currently my concern) as it requires either sorting or k-times some sort of max-masking. Clearly the cortex accomplishes the feat of sparse activation differently and most likely b…

[Next page](https://discourse.numenta.org/t/capacity-of-a-macrocolumn/4633.md?page=2)
