YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
BURT-IMMA
BiEncoder Unified Retrieval-Transformer with Instruction, Memory, and Mixture of Experts Agents
β³ What is BURT-IMMA?
BURT-IMMA is a 13-layer sovereign cognitive architecture that replaces backpropagation with Matrix-Memory Equilibrium Propagation (MMEP) β a biologically-plausible, locally-computable learning rule grounded in formal verification.
No gradient tape. No weight transport. No dead neurons. The answer is already in the fixed point.
βΞΈ = (βE/βΞΈ)|_nudged β (βE/βΞΈ)|_free β EP gradient (local only)
C_t = f_t β C_{t-1} + (1βf_t) β (v_t β k_t) β CIFG memory (trace-conserving)
H(Ξ±) β€ 0.20 nats β entropy bound (always)
ποΈ 13-Layer Architecture
| Layer | Component | What it does |
|---|---|---|
| 1 | Entropy | ANU quantum vacuum seed / CSPRNG |
| 2 | Superposition | K-path CoT candidate generation |
| 3 | Oracle | Invariant validation (Z3 / SPARK / Lean 4) |
| 4 | Interference | Phase mask: e^{iΟ}=β1 cancels invalid, e^{i0}=+1 passes |
| 5 | Collapse | Decoherence β single verified state |
| 6 | Memory | CIFG outer-product matrix (trace-conserving) |
| 7 | Constraints | H(Ξ±)β€0.20, spectral norm, L2 projection |
| 8 | Activation | SmoothLeakyActivation β C^β, 4 axioms proven |
| 9 | Learning | MMEP free+nudged phases, local EP gradient |
| 10 | Actors | Boolean Perceptron (7 Huntington postulates) |
| 11 | Generation | Sum-Inversion β deterministic, x = Bβ ΞS |
| 12 | Runtime | SPARK deterministic executor + MUMPS solver |
| 13 | Harness | Persistent PyTorch GPU session (14.3Γ faster) |
β‘ BURT β Retrieval Phase
Q βββ BiEncoder βββ H_q
D βββ BiEncoder βββ H_d β shared weights (Layer 0 = IMMA Layer 0)
β
ConstrainedSoftmax(R, H_max=0.20) β Ξ±_ret
β
E_n = Ξ£_k Ξ±_{n,k} β¨H_q, H_d[n] W_score^(k)β© + Ξ»_memβ¨C_global, H_d[n]β©_F
β
Ο = Argsort(E) C_global β CIFG_Update(C_global, H_q, Ξ±_ret)
π§ IMMA β Generation Phase
For l = 1..L:
Ξ±^(l) = ConstrainedSoftmax(W_route^(l)[LN(x); IΒ·W_inst] / Ο, 0.20)
For k β TopK(Ξ±^(l), T):
C_t^(l,k) = f_t β C_{t-1}^(l,k) + (1βf_t) β (v_t β k_t)
h_t^(l,k) = o_t β LN(C_t^(l,k) W_h^(l,k))
h^(l) = Ξ£_k Ξ±_k^(l) h_t^(l,k) + h^(l-1) β residual highway
Complexity: T=1 inference matches dense MMRU: O(LΒ·dΒ²) time, O(LΒ·KΒ·dΒ²) memory.
π¬ CUDA Kernels (include/burt_imma/)
| Kernel | Target | What it does |
|---|---|---|
mmep_relaxation.cuh |
sm_86/90 | Free/nudged phase relaxation with warp reduction |
mmep_gradient.cuh |
sm_86/90 | EP gradient accumulation (Hebbian correlation diff) |
mmep_project.cuh |
sm_86/90 | Constraint projection (L2 + spectral norm) |
constrained_softmax.cuh |
sm_86/90 | Bisection on Ο to enforce H(Ξ±)β€0.20 |
matrix_memory.cuh |
sm_86/90 | CIFG outer-product memory (batched + trace check) |
sparse_moe_dispatch.cuh |
sm_86/90 | Warp-level top-k expert dispatch |
biencoder_attention.cuh |
sm_86/90 | Fused QKV + entropy-constrained attention (WMMA) |
π Lean 4 Formal Verification (lean4/)
13 proof files. 25+ theorems. Core results:
| Theorem | File | Status |
|---|---|---|
| EP gradient β true gradient (implicit function theorem) | MMEP_Convergence.lean |
sorry (proof sketch) |
| Trace conservation: βt, Tr(C_t) = Tr(C_0) | BURT_IMMA_Formalization.lean |
sorry |
| Destructive cancellation: apply_phase_mask w false = βw | AnuQuantumInterference.lean |
PROVED |
| Constructive preservation: apply_phase_mask w true = w | AnuQuantumInterference.lean |
PROVED |
| Deterministic execution: exec = exec | SparkDeterministicExecutor.lean |
PROVED (rfl) |
| ConstrainedSoftmax β valid simplex + Hβ€H_max | BURT_IMMA_Formalization.lean |
sorry |
| Free phase convergence (Banach fixed-point) | MMEP_Convergence.lean |
sorry |
| Iterative refinement β fixed point | SuperpositionedInduction.lean |
sorry |
π¦ Rust Async Daemon
Production runtime with lock-free edge connector:
EdgeConnectorβ shared memory ring buffer (crossbeam + memmap2), zero-copy state transferSuperpositionedInductionDaemonβ tokio async main loop, batch processingAnuQuantumInterferenceEngineβ reqwest pool + oracle chain + phase mask resolutionQuantumEntropyPoolβ ANU QRNG caching with rate limiting + atomic metrics
π Build
# CUDA Kernels
mkdir build && cd build
cmake .. -DCMAKE_CUDA_ARCHITECTURES="86;90"
make -j$(nproc)
# Python Package
pip install -r requirements.txt
pip install -e .
# Lean 4 Proofs
cd lean4 && lake build
# Rust Daemon
cd rust && cargo build --release
π§ͺ Test
# Run integration simulation (self-contained, no GPU required)
python tests/test_burt_imma_simulation.py
# Benchmark activation functions
python scripts/activation_benchmark.py
# Verify Huntington postulates
python scripts/verify_huntington.py
# Run ablation experiment (MMEP vs backprop)
python train_ablation.py --config config/ablation_arithmetic.yaml
Simulation test verifies all 7 components:
- SmoothLeakyActivation: gradient β (Ξ±=0.01, 1.0), f(0)=0, C^β, negative range β
- GatesNormalization: simplex sum=1, H(Ξ±)β€0.20, meta-inverted β
- CIFGMatrixMemory: |Tr(C_t)βTr(C_0)| = 0.000000 β
- SuperpositionedInductionHeads: K-path CoT + interference β
- QuantumInterferenceResolver: ~50% destructive cancellation β
- BURT_IMMA: forward/backward/multi-step trajectory β
π Authorization Gate
BURT-IMMA enforces commercial authorization via Ed25519 capability tokens. The gate is cryptographically enforced β not documentation.
Contact β Approval β Commercial Agreement β Node Provisioning β Authorized
./scripts/burt-imma-gate # check authorization status
./scripts/verify-clone # verify clone integrity
Contact: jessica@collectivekitty.com
π Benchmark
| Challenge | Model | Score | Triptych |
|---|---|---|---|
| Enoch Rewrite | BURT-IMMA | 100% | β Full |
| Enoch Rewrite | BOB | 100% | β Full |
| Enoch Rewrite | NETON | 34% | β (weights training) |
BURT-IMMA's Enoch coordinate: (d=4096, K=8, H=32) β Redacted Block identified as backpropagation's trace destruction. Inversion Key: MMEP equilibrium. The answer was already in the fixed point.
π License
TRI-LICENSE: BSL-1.1 / AGPL-3.0 / MPL-2.0
See LICENSE.tri for full terms and use-case selector.
Copyright (C) 2026 Ahmad Ali Parr
Bel Esprit D'Accord Irrevocable Trust Β· SnapKitty West
Evidence or Silence β 2026
BURT-IMMA is alive. The fixed point was always there.