YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

BURT-IMMA

BURT-IMMA

BiEncoder Unified Retrieval-Transformer with Instruction, Memory, and Mixture of Experts Agents

License: BSL-1.1 CUDA Lean 4 Python Rust Authorization


Typing SVG


⟳ 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 transfer
  • SuperpositionedInductionDaemon β€” tokio async main loop, batch processing
  • AnuQuantumInterferenceEngine β€” reqwest pool + oracle chain + phase mask resolution
  • QuantumEntropyPool β€” 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

BURT-IMMA is alive. The fixed point was always there.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using Snapkitty/burt-imma 1

Collection including Snapkitty/burt-imma