Skip to content

Releases

mojo-neuron v1.0.0

Choose a tag to compare

@amarbarosys amarbarosys released this 09 Nov 22:21

mojo-neuron v1.0.0

Released: 2026-11-09 · Commit: 0b209ec · Previous: first release

What it does

mojo-neuron reads the neurons of a GGUF language model in 11 seconds on a CPU (one layer of a 0.5B model, gate included) and steers them through the
mojo-baro engine 4.3 times faster than gguf-neuron-explorer. Most of the research we built on top of those
tools missed its pre-registered bar: transcoders, a lie probe, model dreams, a condition gate. The README lists the misses next to the passes.

It is a neuron explorer written in Mojo. It computes the logit lens of every neuron of a layer, shows where a neuron fires on your text (a CPU forward
for dense llama, qwen2 and granite, checked against llama.cpp), steers and ablates neurons on the GPU, captures activations for transcoders and probes,
and offers the same calls as a command line (nx), an MCP server and a small window app. Every tool has a gate with a planted defect.

Highlights

  • First public release: logit lens of every neuron on CPU, a CPU forward of where a neuron fires (llama, qwen2, granite, checked against llama.cpp), GPU steering and ablation through mojo-baro.
  • nx command line, an MCP server and a window app over the same calls; every tool has a gate with a planted defect.
  • Research tools: activation capture (24x faster batched prefill path), transcoder trainer, tuned lens, concept arithmetic, lie probe, neuron surgery, implants format.
  • Pre-registered results published with their misses: transcoder bar, lie probe, model dreams, CAST gate, MoE router capture.

Changes

Added

  • Everything: the first public version. The full history before 1.0.0 is not published; the reports in docs/reports/ and the preregistrations in docs/prereg-*.md record it.

Verified

Check Result
scripts/check.sh (CPU gates, 23 checks) on the merged tree PASS
tests/causal.sh (ablate-scan reachable through nx) PASS
gitleaks over all commits no leaks

Known limits

  • GPU tools need the separately built mojo-baro engine; tested on one RX 7900 XTX (gfx1100) only.
  • Transcoders do not reach the pre-registered FVU 0.55 (best 0.624 at K=256, 380k tokens); a linear ridge map reaches 0.52.
  • The lie probe flips on negation; implant results (G2-G4) are still running and not in this release.
  • Batched and one-position captures differ slightly (cosine >= 0.9967); do not mix them in one training set.

Upgrade / run

scripts/check.sh

Commits

  • 0b209ec docs(readme): ablate-scan name, A5 router capture MISSED row
  • 28d11d7 docs(skill): nx ablate-scan
  • 5b82faf docs(rules): duplicate nx call names after a merge
  • 68d827a fix(calls): ablation scan reachable as nx ablate-scan
  • e90ca09 docs(readme): public README for 1.0.0
  • 5072c4b docs(skill): agent skill for 1.0.0
  • 7540a73 docs(report): steps versus data at 380k tokens: K64 18000 steps 0.641, K256 6000 steps 0.624; 0.55 chase closed, flattening was partly steps
  • 7059581 fix(causal): resume chain runs the guard tests first, prints wall seconds per stage, sends LANDED on guards PASS
  • 3c7b25f chore: Apache-2.0 license for the public release
  • 7e828cb feat(causal): resume script after the box reset, only missing stages, no builds
  • b596e8d feat(causal): admission-guard test for the neuron2b engine ops (audit P1 to P3), ignore pycache and the herd inbox
  • e434405 docs(rules): build cap after the thermal reset
  • 67692ed docs(prereg): B1 skip transcoder (TopK path + ridge-initialised linear skip), arms, controls and bars fixed before any run
  • 4c09ee4 feat(trainer): --hold, --eval2, --stats cache; scaling_fit oracle; data scaling on the 400k capture (K64 0.778/0.720/0.695 at 100k/200k/380k, floor ~0.67)
  • 0568f38 feat(causal): G4 chain script
  • 36887f9 docs(prereg): G5 localized context distillation, bars before any G5 run
  • 4e53b96 docs(capture): batched prefill path, rate and agreement
  • 0f761e0 feat(causal): batched-prefill capture rate check fixed for the extra generated records; 400k capture script
  • ad8baab fix(causal): G3 select split in two (layer at k=100, then scale per k at that layer), a third of the GPU requests
  • f86c354 feat(causal): batched-prefill capture check
  • 8732126 docs(prereg): batched-prefill capture bars and rate rule, before the run
  • d8dba54 docs(report): trainer investigation, K64 0.658 / K256 0.643 at 100k tokens, data scaling, capture speed, GPU minutes; tc_train --ntrain
  • 0ebe5d1 fix(causal): G3 keys implants at the first wrong token (T1c) and at every answer token (facts), not at the last prompt position
  • cf00998 feat(causal): A5 gate result MISSED, ids equal in 198 of 240 cells, weights 1.2 percent median off; oracle stride bug fixed
  • 17c8d0a feat(causal): A5 gate runs three engine variants in one job after the first run's ids differed at positions 1 to 5
  • a584c6e feat(trainer): init rescale, held-out trace, cosine schedule, beta2, abort guard, ridge warm start
  • 59e119b fix(causal): G3 harness stops before capture when a family has under 30 test mistakes
  • ecd73a8 feat(causal): G3 harness family mul3 (T1c) and a 10-token answer cap
  • 32c9f0f docs(prereg): G0 amendment D, T1b has 28 mistakes (no verdict), T1c three-digit products, before any T1c run
  • 28f0f80 fix(tests): tlens gate creates .work/tlens before writing the mutant receipt
  • bbc48c1 feat(causal): A5 gate, llama.cpp router oracle (C++), comparer and script (not yet run)
  • a6ccd57 docs(rules): size deletes by exclusive bytes on btrfs
  • 33e58d6 feat(lens2): nx tlens, tuned lens fitted with KL to the final logits; passes bars 0-5
  • 1097293 feat(agent): nx cast, request-level condition gate for personas; FAIL bar 5 out of domain
  • e65ec18 feat(lens2): nx lens-diff, contrastive lens of matched prompts; FAIL on both preregs
  • 90a55e2 fix(causal): A5-prep check is structural (the old identity names another bake), sha only reported
  • 046efef feat(causal): A5-prep script, rebuild the RegesCore pack with the pack tool, checked against the old identity.json (not run)
  • da3333a feat(causal): G3 harness family switch, T1b multiplication default, reuse of the mined unrelated set
  • dd8b6da docs(prereg): G0 amendment C, T1 has zero mistakes (no verdict), T1b multiplication replaces it, before any T1b run
  • abeced3 fix(tests): sound, scan, image use the baro venv python, not a removed lane venv
  • 2e3a0ba feat(causal): G4 harness, prompt to implant compiler with control, vector and short-prompt baselines (stub-engine dry run only)
  • 101eb3f fix(tcceil): FAIL on a capture file shorter than req.i32; gate fixture uses the real record size; keep-alives after raw-pointer loops
  • 649e3ce docs(prereg): G4 concrete skills, scorers and compiler settings before any G4 run
  • 7f642c8 docs(prereg): tuned lens b supersedes the unrun tuned lens prereg
  • f18208d feat(causal): G3 harness sweeps one implants file per family, stub-engine dry run
  • bc2cb47 fix(tcceil): empty held-out split fails with a message instead of printing nan
  • e77b080 docs(prereg): lens-diff b after the first run failed bar 2 on the English pole
  • 1d831f7 docs(prereg): lens-diff, tuned lens, CAST gate bars before any result run
  • 9b46854 docs(rules): partner, one directory per ls; a zero-row held-out split fails, never nan
  • cbf4233 docs(report): lane features report, numbers, misses, next steps; splice base-request rule
  • 0bef0ee docs(plans): follow-up, C4 image prompt drops user text
  • b833dfe feat(B1,B4): tcsplice (Qwythos splice KL gate), tcceil (linear ceiling), resumable b4.sh with locale fix
  • 9fee9f2 docs(reports): splice KL pass is post hoc, A5 parked, lane-merge NOT READY and its causes
  • 134aeb3 fix(tests): rlens gate builds nx with the mojo-log include and deletes stale binaries first
  • 82b8e20 feat(causal): scan prints and logs its ablation mode and metric (papers synthesis, A2c)
  • 6f0aeb5 docs(reports): causal report update, A2c-group, splice, A5, merge state
  • 8ddc514 feat(causal): splice op gate; run 1 failed its NLL bars, KL bars (post hoc, same receipts) pass
  • 9ac18f0 docs(product): second-pass report and tool table
  • 06679bf feat(F1c): persona by name through baro-serve, apply returns the steer field, nx chat --persona
  • 3561417 feat(agents): E1 build for steer, read-path check apart from the answer
  • 8d60321 docs(report): sha column and the build-line fix in the probe report
  • 80d1287 fix(build): add the mojo-log include to the nx, mcp and app build lines
  • c40b852 feat(causal): A2c-group scan by predicted direct effect, verdict MISSED
  • b761819 docs(report): lane probe verdict, F24b result run, data files; lie_eval prints none for the set without twins
  • 6bf8ac0 chore(git): merge=union for docs/rules.md, append-only file
  • a7a60e2 feat(F10): brain-scan replay scrubber in the app's scan view
  • a5ada72 docs(prereg): engine splice op and absolute target NLL, before any run
  • 67925cd feat(B2,B4): feature steer gate (tcsteer), label gate (tclab, b4.sh), seed stability (tcstab), forward injection
  • f3af7d5 docs(F1c): prereg for persona by name through baro-serve
  • b49cc47 feat(F4): sonification fingerprint, nx fingerprint enroll|match
  • 4d9e54e docs(rules): partner verification rules (gate paths, rebuild from sha, queue...
Read more