DavidVivancos/Neuraxon
Neuraxon Paper With Code
What it solves
Neuraxon 2.0 is a new kind of neural network unit that aims to fix core limitations of traditional artificial neural networks (ANNs) and spiking neural networks (SNNs). These older systems rely on discrete time steps, binary or simplified spiking signals, static connections, and strict training/inference phases. That makes them poor at handling continuous real-time data, prone to catastrophic forgetting, and rigid when adapting to new situations. Neuraxon replaces those constraints with a design inspired by biology, where neurons operate in continuous time, use three states (excitatory, neutral, inhibitory), and can grow, rewire, or die. The result is a network that learns on the fly, adapts to streaming inputs, and works without a separate training phase.
How it works
At its core, Neuraxon is a bio-inspired computational unit far beyond a classic perceptron. It uses trinary logic (values +1, 0, -1), processes inputs as continuous streams, and performs computation both at the neuron and synapse levels. Each synapse has three dynamic weights (fast, slow, meta) and can form, collapse, or reconnect; hidden neurons can even die. The network is kept alive and adaptive through spontaneous activity, autoreceptors, homeostatic plasticity, and four neuromodulators (dopamine, serotonin, acetylcholine, noradrenaline) with nine receptor subtypes.
Version 2.0 adds a unified four-step pipeline executed every simulation step: time warping (adaptive memory per synapse), dynamic decay (input-conditioned decay via causal convolution), a complement term to avoid information loss, and astrocyte-gated multi-timescale plasticity (combining eligibility, modulators, and a gate). It also includes four coordinated homeostatic loops, nonlinear dendritic integration, Watts-Strogatz small-world topology, a full receptor system, an oscillator bank with cross-frequency coupling, and an evolutionary mutation/selection hybrid called Aigarth.
The main implementation is in pure Python (neuraxon2.py) with no external dependencies, and a CUDA library (cuNxon) is available for faster multi-neuron simulations. The project also includes an interactive 3D network builder demo on Hugging Face, a Game of Life–based visualizer, and a suite of datasets for research.
Who it's for
Researchers and developers working on brain-inspired AI, continual learning, real-time temporal pattern recognition, robotics with continuous sensory streams, artificial life, and energy-efficient edge AI. The project also appeals to engineers targeting neuromorphic hardware and anyone exploring pathways toward AGI that follow biological constraints. The code is meant for experimentation, not production deployment—it's a blueprint and research tool.
Highlights
- Continuous-time operation: no separate training vs inference; adapts instantly to streaming data.
- Trinary neurons and dynamic synapses with three weights plus structural plasticity (formation, collapse, death).
- Four neuromodulators and nine receptor subtypes for rich biological plausibility.
- A unified 4-step pipeline (ChronoPlasticity, DSN, CTSN, AGMP) improves temporal handling and plasticity.
- Includes evolutionary Aigarth hybrid for population-level evolution of network structure and parameters.
- Offers a pure Python core (no dependencies), a CUDA library, interactive 3D network builder, Game of Life demos, and benchmark datasets.
- MIT license for the core; Aigarth hybrid has a separate license prohibiting military and dual-use applications.
Related
- Project
- Project
- Project
- Dispatch
- Dispatch