How LUMEN Gives AI a Fact-Checking Brain
Normal AI chatbots guess the next word by gut feeling. Project LUMEN pairs Gemma 4 26B A4B with 1,000 verifiable PoU rule-checkers, 5-tick Cellular Automata vetoes, and 10 hot-swappable skill cartridges on Hugging Face (solvingSteve/LUMEN)—in under 2 milliseconds.
Turning Words & Game States into a Meaning Map
Before LUMEN can check any rules, it needs to read the situation. Whether you ask a science question or feed it a live frame from Pac-Man, an encoder called EmbeddingGemma 2 turns every word or clue into a list of numbers (called tokens) that capture meaning.
1,000 PoUs: The "Dimmer Switch" Brain
A PoU (Point of Understanding) is a tiny neural sensor trained to look for one specific idea—like "Is the container sealed?" or "Is a ghost right above me?". LUMEN packs 1,000 PoUs organized from Pre-K physics all the way to Grade 12 logic.
Scenario: Broken Jar + Water
You pour water into a jar that has a cracked, broken bottom. Watch which switches fire:
The 5-Tick Cellular Automata: 5 Rounds of Fact-Checking
In Step 2, two switches might disagree! For example, the "Water Rises" switch might flicker ON (0.95) just because the prompt mentions water and a jar—even though the "Jar Intact" switch is OFF (0.05). Before LUMEN speaks, the switches talk to their neighbors for 5 quick ticks.
Right after reading the text, Water Rises mistakenly reads 0.95. Meanwhile, Jar Intact is only 0.05 (broken!). Click Tick 1 to see the CA react.
Modular Cartridges & Space-Weight Programming
What if you want LUMEN to master a brand-new topic—like hospital rules, a robot arm, or playing Pac-Man? Instead of pasting a 50-page manual into every prompt (slow and forgetful!), LUMEN uses Space-Weight Programming to compile a document into a tiny, plug-and-play Cartridge (~24 MB).
General Intuition Isn't Enough for Fast Mazes
Without a cartridge, the AI relies on general word guessing. In Level 1 and 2, ghosts are slow enough that guessing works. By Level 3, ghosts speed up and coordinate pincers:
- It sees dots nearby and steps into a dead-end corridor while Blinky blocks the exit.
- It oscillates back and forth (ping-ponging) between two tiles until trapped.
- It forgets whether a Power Pellet timer is about to expire.
12 Space-Weighted PoUs Enforce Optimal Survival
With PacMan_Strategy snapped in, LUMEN checks 12 tactical laws in parallel before every single move:
- Threat Clamps (PoU 1–4): Any direction with a ghost < 2 tiles away gets instantly vetoed (0.00).
- Dead-End Pincer Veto (PoU 5): Refuses corridors where a ghost can reach the exit before Pac-Man.
- Polarity Flip (PoU 6): When ghosts turn blue, flips from flee to hunt!
From Plain Document to GPU Cartridge
How do you teach LUMEN a new domain? You write a normal markdown guide (domain_manual.md) listing the rules, plus a few good & bad examples.
- Read Once: LUMEN's builder script reads your document and extracts the core rules (PoUs).
- Space-Weight Programming: Instead of searching text every time, it bakes the rules into 32 fast math probes (domain_probes.safetensors).
- Wire the Vetoes: It saves the "if X is false, block Y" links into ca_patch.pt.
Fusing with Gemma 4 26B A4B Scored Heads
LUMEN doesn't replace the big AI—it teams up with it! Gemma 4 26B A4B uses its scored heads to rate every candidate option (like UP, DOWN, LEFT, RIGHT or A, B, C, D). Then LUMEN's Bayesian Fuser blends both brains together using three simple ingredients:
Why This Architecture Matters
By splitting "fast gut feeling" (Gemma 4) from "verifiable rule-checking" (1,000 PoUs + 5-Tick CA + Cartridges), LUMEN solves the biggest headaches in modern AI:
Plug-and-Play Skills
Turn any rulebook or manual into a 24 MB cartridge with Space-Weight Programming—no full model retraining needed.
Hard Safety Vetoes
Impossible or dangerous moves get clamped to zero during the 5-tick Cellular Automata loop before output.
Under 2 Milliseconds
All 1,000 PoUs run together in one parallel GPU matrix multiply, adding almost zero wait time.
100% Inspectable
Instead of a mysterious black box, you can look right at which PoU switch fired and which rule triggered a veto.
Recent Accomplishments & Benchmarks
Project LUMEN has grown from a 6-probe prototype into a portable Python package powering real-time chess grandmaster-level blindspot detection, 10 domain cartridges, and Gevva0's Tier 1 decision fusion.
| Contender | Stockfish MLE Elo | Total (300g) | vs SF 2600 | vs SF 2800 | vs SF 3000 | Avg BT4 Evals/Move |
|---|---|---|---|---|---|---|
| Chess_Leela_BT4 ( policy ) | 2947.1 ± 45.5 | 66.8% (134-133-33) | 91.5% (84-15-1) | 57.5% (30-55-15) | 51.5% (20-63-17) | 1.00 |
| Chess_Leela_BT4 ( value_all ) | 2982.1 ± 46.7 | 70.5% (156-111-33) | 94.0% (89-10-1) | 67.5% (48-39-13) | 50.0% (19-62-19) | 28.55 |
| Chess_Leela_BT4_Blindspots ( FloorV2+2Ply ) | 3069.1 ± 51.1 | 78.7% (187-98-15) | 95.0% (90-10-0) | 78.5% (63-31-6) | 62.5% (34-57-9) | 5.66 |
3069+ Elo Chess Blindspots
Defeated Stockfish UCI_Elo 3000 (62.5%) and went undefeated vs SF 2600 (90W-10D-0L) using a 128-PoU Blindspot Metacognitive Gate—5× fewer evals than value_all.
Gevva0 Tier 1 Integration
Powers Gevva0's Tier 1 decision fusion: 88.57 JevBench v1.6.1 Fast-Path score (90.83% 3-tier accuracy, 0.0509 ECE) and 65.89 Decision Index 0.3.
On-Demand Web Observatory
Refactored web/app.py to load only pou_bank_1000.safetensors at boot and hot-load cartridges on demand via the UI, keeping VRAM lean.
Hugging Face Distribution
Weights and all 10 cartridges are cleanly packaged in solvingSteve/LUMEN with per-cartridge licensing and one-command hf download.
10 Published Domain Cartridges
Every cartridge ships compiled BF16 probes (domain_probes.safetensors), a 5-tick ca_patch.pt matrix, AMC landmarks, and a standalone evaluator.py.
Chess_Leela_BT4
Adapter bridge (1024→768) over frozen Lc0 BT4 neural weights with searchless WDL + policy priors.
Chess_Leela_BT4_Blindspots
128-PoU Blindspot Metacognitive Gate overlay selecting System-1 vs 2-ply micro-search (3069+ Elo).
DnD_SRD_521_DM
D&D 5e (2024) SRD 5.2.1 Dungeon Master rules compendium, dice checks, and tabletop state invariants.
American_Blackjack
Absorbing Markov GTO strategy + Hi-Lo Illustrious 18 True Count index warps across all 4 actions.
PacMan_Strategy
12 Space-Weighted PoUs for ghost distance, frightened timers, power pellets, and junction survival.
Baskervilles_Book_State
Long-form narrative state tracking and entity consistency across The Hound of the Baskervilles.
Narrative_Rhetoric
Rhetorical structure, framing, and persuasive invariant analysis over structured text passages.
home_appliances
FSM state transitions and physical safety interlocks (door latches, thermal gates, child locks).
shuffled_objects
Transitive permutation tracking over multi-step object swaps and entity position updates.
tool_preconditions
JSON function-calling schema verification, required argument grounding, and precondition checks.
Run Locally or Build Your Own Cartridge
Recreate the environment from uv.lock, download the precompiled PoU bank and cartridges from Hugging Face, and launch the Web Observatory.
# Recreate Python environment & install LUMEN
uv sync
uv pip install -e .
# Download PoU bank & 10 cartridges from Hugging Face
hf download solvingSteve/LUMEN --local-dir .
# Launch Web Observatory (cartridges load on demand)
uv run python web/app.py
# Scaffold a new domain cartridge
python skill-make-cartridge/scripts/make_cartridge.py scaffold my_cartridge \
--domain "Robotics" --name "Robot Safety"
# Compile BF16 probes, validate zero-FP16, and test CA settling
python skill-make-cartridge/scripts/make_cartridge.py all cartridges/my_cartridge