Skip to content
Part 1 of 20

Architecture Overview

Krrish Choudhary·March 23, 2026

System Architecture

NCT replaces the transformer’s stack of self-attention blocks with NN cortical columns augmented by subcortical systems. The complete forward pass:

tokens→BrainEmbedx→Col0h0→Col1⋯→ColN−1hN−1→BG+CB+HPCh→BrainLMHeadlogits\text{tokens} \xrightarrow{\text{BrainEmbed}} \mathbf{x} \xrightarrow{\text{Col}_0} \mathbf{h}_0 \xrightarrow{\text{Col}_1} \cdots \xrightarrow{\text{Col}_{N-1}} \mathbf{h}_{N-1} \xrightarrow{\text{BG+CB+HPC}} \mathbf{h} \xrightarrow{\text{BrainLMHead}} \text{logits}
NCT architecture overview.
Figure 1. NCT architecture overview.

What NCT Replaces

TransformerNCT Replacement
Q/K/V dot-product attentionWindowed Hebbian association O(Tw)O(Tw)
Causal maskLocal window (w=16w=16 = 2 theta cycles)
RoPEGrid-cell position encoding (additive)
Global backpropPredictive coding (local per column)
Adam/SGD optimizerHebbian + neuromod plasticity
Batch trainingOnline learning + wake-sleep
Fixed deploymentContinuous operation + structural plasticity
nn.Embedding4-stage brain embedding pipeline
Linear LM headBrainLMHead (WEAVER++ + drift-diffusion)