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ยง

AdaptiveThresholdMoENeuron
Adaptive threshold spiking neuron matching the SpikingBrain architecture.
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.
HybridLinearAttentionNeuron
Hybrid linear attention neuron for spiking environments.
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.
QuantumInspiredLIFNeuron
Quantum-inspired LIF neuron with non-classical probability logic.
SelfReferentialNeuron
Introspects on its own spike history; adjusts tau based on firing rate.