Research, Environments, & Neural Organoids

DishBrain proved cells can adapt. But nobody had measured how much memory capacity scales as you add more neurons in the architectures that matter for organoid computing specifically comparing rate-coded against spiking designs.

I ran simulations of the two main reservoir computing architectures used to model organoid-like systems:

  • ESN (Echo State Network) - a rate-coded model. Simpler. Neurons output an average firing rate rather than individual spikes.

  • LSM (Liquid State Machine) - a spiking model. Biologically closer. Neurons fire discrete spikes, like real brain cells do.

I scaled both from 10 neurons up to 1,200 and measured memory capacity at every step using the standard metric from the literature - the Jaeger (2002) Memory Capacity formula: how accurately can the reservoir reconstruct past inputs from its current state?

Finding 1 - ESN memory capacity follows a power law:
MC = 0.487 × N^0.477. Sub-linear. For every neuron you add, you get a little less bang for your buck. The formula holds from N=10 up to N=400.

Finding 2 -ESN hits a hard ceiling at N≈400:
At N=400, MC≈13. At N=800, MC≈12.2. At N=1,200, MC≈12.0. The memory capacity is actually declining slightly — adding more neurons gives nothing and may slightly hurt. This is called echo state saturation and it’s an important engineering constraint nobody had measured for this architecture in the OI context.

Finding 3 - Kernel Quality scales perfectly (KQ = N^1.00):
Kernel Quality measures expressiveness — how many independent computational dimensions the reservoir maintains. This scales linearly with N all the way up. So the reservoir stays fully expressive at every scale. The bottleneck is memory, not representation.

Finding 4 - ESN outperforms the unoptimized LSM on both metrics: Under Jaeger MC at N=800, ESN scores 12.2 vs LSM’s 1.8. Under matrix rank, ESN KQ reaches 800 vs LSM’s 94. The finding is that an untrained spiking network with random connections does not automatically outperform a rate-coded model which matters for anyone designing OI systems from scratch.

The entire scaling study, every ESN sweep, every LSM sweep, all 141 configurations were ran in pure Python and numpy. No GPU. The 7800X3D kept the reservoir weight matrices, up to 11MB each, inside its 96MB L3 cache across thousands of simulation timesteps per run. On a standard desktop CPU with half the cache, those matrices get evicted to DRAM mid simulation. The V-Cache architecture is why this level of simulation ran on a gaming PC instead of a compute cluster.

This study contributes a quantitative scaling law for ESN memory capacity in the OI context, the saturation point - so engineers know where adding neurons stops being worth it, the KQ finding - expressiveness is not the bottleneck, memory is. A rigorous comparison of what two different metrics actually measure, so future researchers don’t conflate them

I established scaling laws for how much organoid-like reservoirs can remember, found the saturation point where adding neurons stops helping, and showed that the two main metrics used to compare architectures are measuring fundamentally different thing. All on a gaming Computer, no lab, no grant, no team.

Hi, this is a cool study, thanks for sharing. Since you are using NumPy on the 7800X3D, make sure you limit your Python threads to exactly 8 and turn off hyperthreading. If you use too many virtual threads, the CPU will get messy and kick your 11MB matrices out of that 96MB cache, which slows down your simulation. Also, that N=400 memory limit is often caused by your model overfitting at the very end. Did you try changing your Ridge Regression regularization (the alpha value) to see if it stops the memory from dropping at larger sizes?

Hey, appreciate you taking a look!

The thread count thing is actually something I already dug into the simulations run in pure/NumPy/CPU and I’m already binding to physical cores, so cache eviction isn’t really the issue I was seeing. The slowdowns traced back to a bug in my sequence length (was using seq_len = N*3 which caused in-sample overfitting as N scaled up) fixed that to a constant 3000 and it cleared up.

On the N=400 memory limit that’s actually the LSM side, not ESN. The LSM matrix rank peaks at N=400 and drops off at N=800, which I now think is a structural thing with how spiking networks handle partial rank at scale, not a regularization issue. The Ridge alpha I’m using is already tuned. ESN keeps scaling monotonically all the way to N=800 with no drop so I think the two architectures just have fundamentally different rank behavior. Good instincts though, those are exactly the right things to poke at first. I have since found many different errors and scaling issues, back to testing but you have given me more to think about so i appreciate your input! I’ll update with more findings!