Project LUMEN White-Box Invariant Engine
White-Box Concept-Bottleneck Engine • No PhD Required

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.

1,000 PoUs
Batched BF16 Bank (pou_bank_1000.safetensors) running in < 2.0 ms
3069+ Elo
Chess Blindspots defeated Stockfish UCI_Elo 3000 in 900-game gauntlet
10 Packs
Domain Cartridges hosted on Hugging Face (solvingSteve/LUMEN)
90.83% Acc
Gevva0 Tier 1 Fusion on JevBench v1.6.1 (0.0509 ECE) & 65.89 DI 0.3
Step 1 of 6

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.

Think of it like a radar scan: Instead of reading one word at a time from left to right, LUMEN turns the whole scene into a 3D map of clues. All 1,000 rule-checkers look at that map at the exact same instant!
1. INPUT / CONTEXT "Ghost 1 tile UP, no power pellet, dots path LEFT" 2. MEANING TOKENS EmbeddingGemma 2 T1 T2 T3 T4 LUMEN White-Box Brain 1,000 PoUs + Active Cartridge (< 2 ms) Gemma 4 26B A4B Backbone Scored Heads rate candidate choices
Step 2 of 6

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.

Think of a giant soundboard with 1,000 dimmer switches: Each switch slides from 0.00 (OFF) to 1.00 (FULL ON). Click a scenario below to watch which clusters out of all 1,000 PoUs light up!
Pick Input Scenario:
Lit PoU (Active) Broken / Hazard Cartridge PoU Quiet
PoU 1–50: Pre-K–G3 Physics PoU 51–300: G4–G8 Mechanics PoU 301–1000: G9–G12 Logic

Scenario: Broken Jar + Water

You pour water into a jar that has a cracked, broken bottom. Watch which switches fire:

Step 3 of 6

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.

The Golden Rule of Neighbors: A Cellular Automaton (CA) is just a grid of cells following simple neighbor rules. Here, the rule is: "If a basic requirement is broken, shut down every idea that depends on it!" Water cannot rise inside a shattered jar—so in 5 ticks, the impossible switch gets clamped to 0.00.
CA Mind Loop:
PoU_02: Jar Intact 0.05 (BROKEN) VETO (-1.0) PoU_01: Water Rises 0.95 PoU_03: Gravity Pull 0.88
Tick 0: Initial Raw Scores

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.

Step 4 of 6

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).

Just like a retro game console: Plug in the Pac-Man Cartridge, and LUMEN instantly snaps in 12 specialized PoU rules (like "Never walk toward a non-blue ghost within 2 tiles" and "Don't enter dead-end pincers"). Unplug it, and the base brain stays clean!
Result: Gets stuck at Level 3

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.
TRAP! Walked toward ghost (Lvl 3)
Step 5 of 6

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:

Final Score = Gemma 4 Intuition + LUMEN Confidence Boost − CA Veto (-100)
Smart Safety Switch (Entropy Gate): If LUMEN is unsure about a topic (high uncertainty / entropy), it automatically turns its own boost down to 0 so Gemma 4 drives. If LUMEN is sure—or spots a fatal rule violation—it steps in and vetoes the bad choice!
Try a Live Fusion:
Above 0.15, LUMEN's boost drops to 0 so it never interferes with unfamiliar topics.
What's happening:

Step 6 of 6

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.

Verified Milestones

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.

900-Game Stockfish Gauntlet (UCI_Elo 2600 / 2800 / 3000, 40ms/move, 0 illegals) with Frozen BT4 Untouched
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.

Modular Packs

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.

Quick Start

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.

1. Install & Fetch Weights (solvingSteve/LUMEN)
# 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
2. Create a Custom Cartridge (skill-make-cartridge)
# 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