Part 1 of 20
Architecture Overview
Krrish Choudhary·March 23, 2026
System Architecture
NCT replaces the transformer’s stack of self-attention blocks with cortical columns augmented by subcortical systems. The complete forward pass:
What NCT Replaces
| Transformer | NCT Replacement |
|---|---|
| Q/K/V dot-product attention | Windowed Hebbian association |
| Causal mask | Local window ( = 2 theta cycles) |
| RoPE | Grid-cell position encoding (additive) |
| Global backprop | Predictive coding (local per column) |
| Adam/SGD optimizer | Hebbian + neuromod plasticity |
| Batch training | Online learning + wake-sleep |
| Fixed deployment | Continuous operation + structural plasticity |
| nn.Embedding | 4-stage brain embedding pipeline |
| Linear LM head | BrainLMHead (WEAVER++ + drift-diffusion) |