Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 4.16 KB

File metadata and controls

93 lines (70 loc) · 4.16 KB

Encephagen: Research Development Report — Complete Brain

Date: April 7, 2026 Author: edvatar (toroleapinc) Repo: https://github.com/toroleapinc/encephagen


1. What We Built

A complete miniature human brain: 17,530 spiking neurons across 10 brain structures, all biologically wired together. Every major organ of the human brain is present.

Architecture

Structure Neurons Circuit Function
Cortex 16,000 80 regions × 200 neurons, canonical microcircuit (7 cell types: L4/L2-3/L5/L6/PV+/SST+/VIP+), feedforward/feedback pathways Processing, integration
Thalamus 200 LGN/MGN/VPL/MD relay + TRN gate + HO transthalamic Sensory gateway
Basal Ganglia 200 D1/D2 MSNs → GPe → STN → GPi → Thal motor, 4 action channels Action selection ✅
Cerebellum 500 Granule → Purkinje → DCN, Golgi feedback, olive error Motor coordination
Superior Colliculus 100 Superficial (visual) → Deep (motor), winner-take-all Visual orienting
Neuromodulators 100 DA (reward), 5HT (mood), NE (arousal), ACh (attention) State control
Hippocampus 200 EC → DG → CA3 (recurrent) → CA1, trisynaptic loop Memory
Amygdala 100 LA → BLA → CeA, ITC gate Fear/emotion
Hypothalamus 50 SCN clock, LH↔VLPO sleep-wake, PVN stress Drives
Spinal CPG 80 V0/V1/V2a/V2b/V3/Shox2/MNs, CMA-ES optimized Stepping

Inter-organ Wiring

Sensory → Thalamus relay → Cortex L4 → L2/3 → L5
                                                  ↓
              ┌────────────────────────────────────┤
              ↓                                    ↓
    Basal ganglia (Striatum)              HO Thalamus → higher cortex
              ↓                                    ↑
    GPi → Thal motor → Motor cortex      Cerebellum DCN
              ↓                                    ↑
         Action selected              Motor copy (pontine)
              ↓
    Brainstem reflexes ←── Amygdala CeA (fear boost)
              ↓                      ↓
    Spinal CPG (stepping)    Hypothalamus PVN (stress)
              ↓
         BODY (MuJoCo)

Neuromodulators → broadcast to all (DA/5HT/NE/ACh)
Hippocampus ← Cortex (memory encoding)
Hippocampus → Prefrontal (memory recall)
SC ← Retina (visual orienting)

2. Journey (42 experiments, 7 days)

Phase 1: Can macro-scale connectome produce cognition? (Exp 1-29)

Answer: No. 0/33 significant. dMRI routing is irrelevant for computation.

Phase 2: What DOES produce behavior? (Exp 30-35)

Answer: Specific circuits. 80-neuron spiking CPG with identified interneurons (CMA-ES optimized). Brainstem reflex arcs (hardwired). Lateralized cortical routing (97% of PD controller).

Phase 3: Can we build the complete brain? (Exp 36-42)

Answer: Yes. 17,530 neurons, 10 structures, all wired. Stimulus propagates through thalamocortical loop (+21% visual). Basal ganglia selects actions. Transthalamic relay reaches parietal (+1.4%).

Key Scientific Findings

  1. Macro-scale dMRI connectome does NOT help — 0/41 experiments across innate, robustness, learning, generalization
  2. Canonical microcircuit DOES help — enables stimulus propagation (+638%) that random wiring can't
  3. The genetic recipe is the knowledge — cell types, layers, identified interneurons, feedforward/feedback asymmetry
  4. Newborn behavior is subcortical — cortex observes, brainstem/CPG controls
  5. Behavior = specific circuits + calibrated weights (not general connectivity)

3. How to Run

# Full integrated brain (all 10 structures)
python -c "from encephagen.brain import IntegratedBrain; b = IntegratedBrain()"

# Newborn with body (brainstem + CPG + cortex observer)
python newborn.py --spiking-cpg --video

# Full newborn on Humanoid (all reflexes)
python newborn_full.py --video

# Interactive brain stimulation
python demo.py

42 experiments. 17,530 neurons. 10 brain structures. The complete miniature human brain.