Skip to content
In depthPrototype

Verace Neocortex: bug reports and failure map

An audit record of defects, coverage matrices and symptom-to-cause failure entries for the V11 implementation of the cortical model.

Verace Research
  1. Signal through stacked columns: About 0.138 remains after 12 columns at initialisation
  2. L5 down projection: Zero at init, so each column passed input through
  3. Generation collapse: Output cycled through 3 or 4 tokens during generation
Figure 1. Where the audits traced faults in the Verace Neocortex columns. Schematic: a cortical column of the V11 model, marked with failures that the lab's audit record traced to it. The codebase is an implemented prototype, and the record includes no evaluation of model quality.
Open the simulator on its own pageA gate that passes only surprise: an interactive toy model of the principle. You can also try it below

Overview

The bug reports and failure map are the lab's own audit record of the Verace Neocortex V11 implementation (research name NeuroCortex Transformer, NCT): 88 documents that catalogue its defects and the training failures the lab traced to them. In the first full audit, on 2026-03-28, five parallel auditors reviewed all 790 modules across more than 50 files and recorded 12 critical, 19 high and at least 4 medium bugs. For each brain-inspired mechanism, the record asks four questions: does it exist, is it wired into the forward pass, does it learn, and what breaks when it is missing?

The audits use coverage matrices. Each matrix crosses one dimension of the system with another. Examples are learning rules against code paths (wake, sleep phases, dream, consolidation, self-play, prenatal, generation micro-consolidation), state against save, load, rollback, resume and sleep, signals against decision points, confidence signals against consumers, and configuration fields against code that reads them. Every bug carries a disease analog, such as anosognosia for a confidence signal lost on GPU or anhedonia for an unwired reward path. The failure map is a separate index. Each entry links an observed symptom, such as NaN cascades, column homogenization or generation collapse, to its cause and fix.

The reports group the bugs into four dominant patterns. The first one listed is dead subsystems: modules initialised to zero with no gradient path in hybrid mode, about 4M parameters. The other three are wrong mathematics, attribute names broken by the V10.2 to V11 renames, and state corruption on transitions. The first inventory of the second iteration listed 112 bugs from 17 matrices, 86 of them pending. Its third pass later confirmed 85 of 85 earlier fixes, found 11 new bugs and fixed 10, and the records give 123 bugs in total across three passes. The 30-disease map scored 28 mechanisms fully intact and 2 partial.

The audits examine an implemented codebase, and several entries record failures seen in training runs, including a NaN cascade at step 1610. They do not include an evaluation of model quality. The 20-process scenario trace found all 20 processes implemented and 18 wired, but none fully tested. The first inventory of the second iteration left 86 of its 112 bugs pending, and the bug reports for the training, decoder and dashboard paths order their fixes by phase rather than record all of them as closed. The record shows that the failure map was used during development. It does not establish that the model trains or generates correctly.

Status

Prototype. The audit records describe an implemented codebase and failures from its training runs, with many fixes logged and many bugs still pending, but no evaluation of model quality.

Simulator

A made-up signal jumps a few times. A running prediction follows it, and a gate passes the prediction error upwards only when it is large for the precision it is given.

  • signal (white) and prediction (colour), synthetic data
  • prediction error: passed upwards (colour) or held (faint)
Steps passed upwards
28%
Gate stays open after a jump for
10.3 steps
Mean size of the error
0.34
Jumps in the signal
4

Raise the precision and small errors pass as well. Lower the learning rate and the prediction takes longer to catch up after a jump.

This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.

Architecture

  1. Bug reports by fix group

    Seven reports from the 2026-03-28 audit, each covering one area: learning rules, dead subsystems, column internals, subcortical systems, training pipeline, diagnostics dashboard, and decoder and scaling. Each report sorts its bugs into critical and high and states whether its fixes can run in parallel.

  2. Three-phase fix priority

    An ordering of fixes. Phase 1 restores training correctness, phase 2 improves quality while a run continues, and phase 3 repairs non-training paths before evaluation or deployment.

  3. Coverage matrix audits

    Matrices that cross one aspect of the system with another and mark each cell for existence, wiring, learning or persistence. They run over iterations and passes up to a fifth audit pass.

  4. Iteration 2 memory audit

    Matrices 2, 4 and 5 covering memory operations, confidence consumers and state persistence. They found 31 bugs (10 high, 12 medium, 9 low), sorted into priorities P0 to P3 and into parallel fix groups.

  5. Disease map audits

    Traces of 15, 30 and 31 disease-linked mechanisms. Each trace checks whether the module exists, is wired forward, has learning updates, and whether removing it reproduces the disease analog.

  6. Eval and generation coverage matrices

    Matrices E1 to E9 that check the generation and evaluation entry points against behaviours they should show. Examples are restoring eval mode, resetting working memory, encoding into the hippocampal store and extracting metrics.

  7. Failure map

    An index of symptom-to-cause entries. Examples include CUDA out-of-memory, NaN or Inf, prenatal erosion at wake onset, the saturated gate trap, homeostatic deadlock, decoder collapse, throughput regression and the kappa lazy-init race.

  8. Biological fidelity audit

    A third-pass audit that compares module behaviour with the neuroscience the modules model. It produced fixes such as the norepinephrine (NE) and serotonin (5-HT) input projections and records the hard clamps that conflict with the design principle against them.

  9. End-to-end training verification report

    A report that checks which parameters actually change during training steps. It found that only 336 of 1024 parameters changed in one autonomous-loop step.

  10. Inf/NaN guard and compile-safety matrices

    Matrix 11 maps the guards against non-finite values onto the paths that carry model output to the user. Matrix 12 lists the sources of torch.compile graph breaks in the compiled forward pass.

Results

From the lab's own experiments and records. They have not been independently replicated.

  1. First full audit: 35+ bugs, 12 critical

    In the 2026-03-28 audit, five auditors reviewed 790 modules and recorded 12 critical, 19 high and at least 4 medium bugs. The reports group them into four patterns. Dead subsystems, the first of the four listed, account for about 4M inactive parameters.

  2. Iteration 2 found 112 bugs, three passes 123

    The first inventory of the second iteration listed 112 bugs across 17 matrices, with 26 fixed and 86 pending. Its third pass later confirmed all 85 of the second pass's fixes, found 11 new bugs and fixed 10, and the records give 123 bugs in total across three passes.

  3. Most parameters received no learning signal

    In hybrid mode, 87.5% of parameters were never updated. L5 W_down was initialised to zero, so each column passed its input through unchanged. In one autonomous-loop step, only 336 of 1024 parameters changed.

  4. Backprop mode skipped all local learning

    backprop_step never called local_learning_step, so the subcortical systems, BCM, metaplasticity and the variance guards never ran in backprop mode. The fix added the call and extended the mode gates in wake_step to cover backprop.

  5. Working-memory confidence was blind on GPU

    The parallel scan kernels for NMDA and silent traces dropped the confidence computation. On GPU, the default training path, memory_confidence was therefore always 0.5, and every downstream decision consumer received no confidence information.

  6. Stale best loss caused a NaN cascade

    On 2026-04-11, a chance best loss of 3.72 triggered a rollback that did not reset the optimizer. At step 1610 the variance estimate, the learning rate and W_assoc then became NaN.

  7. SST tonic inhibition stacks across columns

    The records (I11-1) find that an SST tonic inhibition of 0.10 passes 0.846 of the signal per column, so that across 12 stacked columns about 0.138 of the original signal remains at initialisation. Separately, sst_tonic was made a registered buffer and sst_effective was clamped at 0.9 to prevent total column silencing.

  8. Default width homogenizes columns

    At d=512d=512 the scalar sigmoid gates gave a gate variance of 0.0009 and a column-difference preservation of 0.29, while d=64d=64 passed. Prenatal differentiation also eroded at wake onset, with gate variance below 0.01 and column health flat near 47/100.

  9. Generation collapses despite healthy columns

    In production, generation collapsed to 3 or 4 cycling tokens. The failure map attributes this to Zipf-like concentration of the rows of W_down, not to column health.

  10. Coverage mostly intact, one bug retracted

    The scenario trace found 20 of 20 brain processes implemented and 18 wired, but none fully tested; the 30-disease map scored 28 mechanisms intact and 2 partial, and the 15-disease table found every mechanism intact after 71 fixes. The exclusion-list audit found W_gate.weight downscaled correctly, so Bug #40 was withdrawn, and the persistence audits came out clean.

Concepts

Coverage matrix
A table that crosses two lists, such as 10 or 12 learning rules against 9 code paths, so that every combination is checked. An empty cell marks a path where a rule never runs.
Disease analog
A label that names the brain disorder a software bug would correspond to. Examples are production amnesia for hippocampal encoding that never runs during generation, and anhedonia for an unwired reward signal.
Dead subsystem
A module initialised to zero that is used only inside a no-gradient loop, so it never receives a learning signal. The workspace and the lateral connections were found in this state in hybrid mode.
Identity-at-init contract
A design rule that a fresh model gives near-identity output. Gates start at gate_raw of -2.0, so σ(−2.0)≈0.12\sigma(-2.0) \approx 0.12, and output weights start at zero, so each module contributes only once it has learned.
Small-random init exceptions
Oscillation, lateral, workspace, hub-spoke and sparse projections start from N(0,0.01)\mathcal{N}(0, 0.01) instead of zero. Their learning paths are analytical only, and a zero start would give them no signal to learn from.
Hybrid learning mode
A training mode that mixes predictive coding (PC), a learning scheme in which each layer predicts the activity of the next and learns from the error, with Hebbian updates. The audit found that 87.5% of parameters, including the L5 SwiGLU and the embeddings, received no learning signal in this mode.
Sleep downscaling exclusion list
DOWNSCALE_EXCLUDE in wake_sleep.py is a list of name substrings. Parameters whose names match it, such as gates, biases, periods and receptor parameters, are exempt from synaptic downscaling during sleep. Records give it 16 or 17 entries, and rehearsal_str and temperature were added because they are set-points, not weights.
Confidence-gated hippocampal encoding
An episode is stored only if s⋅pw⋅c>θs \cdot p_w \cdot c > \theta, where ss is surprise, pwp_w the write probability and c=1/(1+σ2)c = 1/(1+\sigma^2) the confidence derived from the predicted variance.
Drift-diffusion sampler
A token selector that accumulates evidence for candidate tokens until a threshold is reached. Neuromodulator and confidence signals set its candidate count, threshold, noise, steps and drift. The records describe 22 neuromodulatory and confidence signals feeding 8 parameters but do not tie this count to a particular audit round; a separate signals-by-decision-points matrix maps 23 signals to 10 generation decision points.
Four confidence principles
The design rules for confidence signals: low confidence adds deliberation in the sampler, weakens the contribution of retrieval, does not block encoding, and shapes consolidation priority.
Micro-consolidation
A compressed replay of the top retrieved memories during generation, modelled on sharp-wave ripples. It runs after a working-memory reset, uses PC and Hebbian updates at 5% learning rate, and is gated by theta phase.
Reward-modulated Hebbian update
inject_reward applies Hebbian modulation on L2/3 scaled by r⋅0.1⋅ηbaser \cdot 0.1 \cdot \eta_{base}. Earlier passes found it had no callers. The trainer now passes the negative loss as the reward rr.
Saturated gate learning trap
A high gate bias pushes the sigmoid into saturation, where its derivative σ(1−σ)\sigma(1-\sigma) is small. The records give a bias of 5 as learning 37.6x slower, and the fix set the L5 bias to 0.0.
Homeostatic deadlock
A five-link failure in which the system settles at a wrong fixed point. PC is flat, BCM and metaplasticity are frozen, the hippocampus makes no writes, no sleep occurs, and one column becomes overconfident.
Transformer-gate homogenization
Scalar Linear(d,1) sigmoid gates drive all columns toward the same behaviour at the default width d=512d=512, while the micro configuration at d=64d=64 passes. These gates were replaced by gating derived from interneuron activity.
Critical-period closure
A theorem, T-2026-04-17-4, that damps interneuron gate plasticity at wake onset. It is modelled on Hensch 2005, published work by others on how PV interneuron maturation and perineuronal nets close plasticity windows.
Distribution-shift rescale
Theorem R-1 replaced snapshot rollback with a detector. When the training phase advances or the sequence length changes, it rescales the columns and opens a fast-mode window.
Inf/NaN guard chain
Successive points between the model forward pass and the dashboard that convert non-finite values, including _serialize and the collector's _float_safe. Keys such as loss, column_diff and ewc_penalty were found unguarded.
torch.compile graph breaks
Points where the compiler must leave its captured graph, caused by calls such as .item(), bool() on tensors and threshold checks in the working-memory gate and the L23 lateral path. The records count more than 20 per forward pass.

About this page

Written from the lab's own documents and source code. Figures and results are the lab's measurements as it recorded them at the time, and have not been independently replicated.

Published under the PolyForm Noncommercial License 1.0.0: free for noncommercial use.