Neuromantix Cortex: Constant-Memory Continual Learning, Zero-Forgetting Sparse Neurogenesis, and CUDA-Graph Inference on a Single Consumer GPU

This technical report evaluates constant-memory hybrid sequence modeling (alternating Sliding Window Attention and Gated DeltaNet recurrence), biologically gated wake/sleep consolidation, untagged 2:4 sparse Mixture-of-Experts (MoE) neurogenesis, and static-buffer CUDA-Graph inference on a single consumer 8 GB GPU (NVIDIA RTX 5060, 8,151 MiB VRAM, Blackwell SM120). Verified empirical findings across 360M BF16 and 1.7B 4-bit NF4 SmolLM2 conversions, a matched 55M from-scratch pretraining ablation, and a growable 2:4 sparse MoE extension: 1. Zero-template slow-weight entity binding (fast weights wiped to zero, no external RAG): Batched Dentate Gyrus contrastive ripple consolidation raises 1.7B slow-weight entity discrimination from 55.7% (raw baseline 51.4%) to 70/70 (100.0%, +2.853 nats margin), reaches 15/15 (100.0%) contradiction unlearning with exact 0.000000 drift on unverified DA=0 traps, and limits 5-night FineWeb forgetting to +0.067 PPL (13.10 to 13.17 PPL across 100 episodes). 2. Untagged sparse MoE neurogenesis (360M): Spawning three sequential 2:4 sparse micro-experts over a frozen trunk with centered linear prefix routers reaches 93.8%, 93.8%, and 100.0% entity discrimination across three domains while holding FineWeb forgetting at +0.0000 PPL, backward interference at 0.0000 nats, trap drift at 0.000000, and active inference parameters constant at 415.91M. 3. Static-buffer CUDA-Graph O(1) inference: Capturing all cortical layers inside a single static CUDA graph lifts 1.7B 4-bit greedy generation from 16.1 to 17.3 tok/s eager to 146.7 tok/s interactive (140.1 tok/s chained, 8.71x) in global 50% mode and 177.2 tok/s interactive (155.5 tok/s chained, 8.96x; 10.2x interactive) in 2:4 mode with 32/32 top-1 token parity. 4. Controlled from-scratch pretraining ablation (12.29M tokens): From identical random initialization, a 54.99M 2:4 sparse Cortex achieves 131.05 FineWeb Val PPL compared to 188.25 for a matched 50.34M dense transformer (-57.20 PPL), keeps inference state flat at 1.60 MB across 512 to 8,192 tokens (dense KV grows to 128.50 MB), and reduces continual-learning forgetting by 66x (+21.63 vs. +1,430.78 PPL). 5. Open limitation: Multi-step arithmetic after dense-to-recurrent conversion remains lower than the dense base model (GSM8K-80 reaches 20.0% after Stage B2 recovery and 13.8% after mixed RLVR compared to 38.8% on raw SmolLM2-1.7B). Author: Bart Chmiel, Infinitytechstack.uk (GitHub: ModernOps888). Contents: Standalone preprint PDF, and 7 raw evaluation JSON artifacts (proprietary source code excluded).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24659292
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Neuromantix Cortex: Constant-Memory Continual Learning, Zero-Forgetting Sparse Neurogenesis, and CUDA-Graph Inference on a Single Consumer GPU

Bart Chmiel
Zenodo (CERN European Organization for Nuclear Research)
Domain Adaptation and Few-Shot Learning
preprint

Neuromantix Cortex: Constant-Memory Continual Learning, Zero-Forgetting Sparse Neurogenesis, and CUDA-Graph Inference on a Single Consumer GPU

Bart Chmiel
preprint en

Abstract

This technical report evaluates constant-memory hybrid sequence modeling (alternating Sliding Window Attention and Gated DeltaNet recurrence), biologically gated wake/sleep consolidation, untagged 2:4 sparse Mixture-of-Experts (MoE) neurogenesis, and static-buffer CUDA-Graph inference on a single consumer 8 GB GPU (NVIDIA RTX 5060, 8,151 MiB VRAM, Blackwell SM120). Verified empirical findings across 360M BF16 and 1.7B 4-bit NF4 SmolLM2 conversions, a matched 55M from-scratch pretraining ablation, and a growable 2:4 sparse MoE extension: 1. Zero-template slow-weight entity binding (fast weights wiped to zero, no external RAG): Batched Dentate Gyrus contrastive ripple consolidation raises 1.7B slow-weight entity discrimination from 55.7% (raw baseline 51.4%) to 70/70 (100.0%, +2.853 nats margin), reaches 15/15 (100.0%) contradiction unlearning with exact 0.000000 drift on unverified DA=0 traps, and limits 5-night FineWeb forgetting to +0.067 PPL (13.10 to 13.17 PPL across 100 episodes). 2. Untagged sparse MoE neurogenesis (360M): Spawning three sequential 2:4 sparse micro-experts over a frozen trunk with centered linear prefix routers reaches 93.8%, 93.8%, and 100.0% entity discrimination across three domains while holding FineWeb forgetting at +0.0000 PPL, backward interference at 0.0000 nats, trap drift at 0.000000, and active inference parameters constant at 415.91M. 3. Static-buffer CUDA-Graph O(1) inference: Capturing all cortical layers inside a single static CUDA graph lifts 1.7B 4-bit greedy generation from 16.1 to 17.3 tok/s eager to 146.7 tok/s interactive (140.1 tok/s chained, 8.71x) in global 50% mode and 177.2 tok/s interactive (155.5 tok/s chained, 8.96x; 10.2x interactive) in 2:4 mode with 32/32 top-1 token parity. 4. Controlled from-scratch pretraining ablation (12.29M tokens): From identical random initialization, a 54.99M 2:4 sparse Cortex achieves 131.05 FineWeb Val PPL compared to 188.25 for a matched 50.34M dense transformer (-57.20 PPL), keeps inference state flat at 1.60 MB across 512 to 8,192 tokens (dense KV grows to 128.50 MB), and reduces continual-learning forgetting by 66x (+21.63 vs. +1,430.78 PPL). 5. Open limitation: Multi-step arithmetic after dense-to-recurrent conversion remains lower than the dense base model (GSM8K-80 reaches 20.0% after Stage B2 recovery and 13.8% after mixed RLVR compared to 38.8% on raw SmolLM2-1.7B). Author: Bart Chmiel, Infinitytechstack.uk (GitHub: ModernOps888). Contents: Standalone preprint PDF, and 7 raw evaluation JSON artifacts (proprietary source code excluded).

Zenodo (CERN European Organization for Nuclear Research)
Domain Adaptation and Few-Shot Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon