Skip to main content

Module ai_optimized

Module ai_optimized 

Source
Expand description

Eight novel neuron models designed for AI workloads, not biological simulation.

Structsยง

ArcaneNeuron
ArcaneNeuron โ€” unified self-referential cognition model.
AttentionGatedNeuron
Spiking neuron with learned sigmoid attention gate. gate = sigmoid(w_key * I + w_query * v), modulates input before integration.
CompositionalBindingNeuron
Phase-coding neuron for compositional variable binding. Spike when amplitude * cos(phase) > threshold.
ContinuousAttractorNeuron
Ring attractor for continuous working memory. Mexican hat connectivity; holds a continuous value in persistent activity.
DifferentiableSurrogateNeuron
Spiking neuron with learnable surrogate gradient parameters. alpha (decay), beta (steepness), theta (threshold) all trainable.
MetaPlasticNeuron
Neuron with self-regulating meta-learning rate. error_trace adapts learning speed: high error โ†’ learn faster, low error โ†’ stabilize.
MultiTimescaleNeuron
Three-compartment memory neuron (fast/medium/slow timescales). Slow compartment accumulates context, modulating excitability.
PredictiveCodingNeuron
Fires only on prediction errors. Silent when input matches prediction.
SelfReferentialNeuron
Introspects on its own spike history; adjusts tau based on firing rate.