Skip to content
MoralityLabAIPublic

About

Successor to adVersarial Parameter Decomposition based on Looped Layers, Eval Math and Behavior Tracing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

BPD-DT01 recurrent-depth training/steering gym (Nov 18, 2026): Sudoku, ARC-1-compatible loading and hidden-ending storyworlds with protected readout and signed-Jacobian-matched controls across supervised depths 2/4/6 and unseen depths 8/12. Stage 0 source-only; native model results pending. Paired longer-horizon LDT adversarial world gym.

MoralityLabAI/BPD — Behavioral Parameter Decomposition & Causal Dark Fibers for Looped Transformers

Parameter-space (Behavioral Parameter Decomposition, BPD) and state-space (Causal Observable Quotients, LOOPSCOPE-01..04 & ARG-03-N) mechanistic interpretability for weight-tied, recurrent-depth transformers, companion to MoralityLabAI/VPD.

Held-Out Test Seal (ARG-03-N): The 168-case ARG-03-N held-out split (test.jsonl, SHA-256 ddd580212da5a5ea4f5fea740b515dd191b39e7a501d3e31b45944a666e7c8b5) remains strictly sealed (0 model runs, excluded from this repository) pending prospective completion of the fresh final-R development calibration gates in ARG03_FABLE_PREUNSEAL_AMENDMENT.md and explicit human authorization.


Repository Structure

1. Behavioral Parameter Decomposition (mechinterp/bpd/)

Extends Goodfire's single-pass adVersarial Parameter Decomposition (VPD) (T = 1 four-term PyTorch parity verified) to shared recurrent matrices executed $T > 1$ times:

2. Kernel-Checked Lean 4.19 Proof Curricula (experiments/bpd_lean_curriculum_v2/)

  • BPD-LG-02 (experiments/bpd_lean_curriculum_v2/): Independently Lean-4.19-kernel-verified structural proof curriculum (192 positive + 192 constructive axiom-free negative certificates and countermodels) for clean tactic-family mechanism separation.
  • BPD-LG-01 (experiments/bpd_lean_curriculum/): Preserved historical curriculum explicitly marked as a leaked/failed mechanism-separation benchmark for audit transparency.

3. Causal Dark Fibers Campaign: LOOPSCOPE-04 & ARG-03-N (mechinterp/dark_fiber_gyms/ & papers/shared_weights_dark_fibers/)

Tests whether recurrent transformers carry causally necessary reasoning state invisible to current readouts ($q \circ F_x = T_x \circ q$), how much is recoverable from visible traces ($C^{\text{trace}}$ vs. $C^{\text{now}}$), and where local delayed observability Gramians $G_{t,k}$ predict finite-angle sensitivity:


Running the CPU Verification Suites

$P = "$HOME/.venvs/bluebeam/Scripts/python.exe"

# Run all 4 deterministic CPU test suites (BPD core & Fable preflight, Dark Fiber gyms, ARG-03 pre-unseal audit, and BPD-LG-02 Lean generator)
& $P -m pytest -v

# Syntax & bytecode verification
& $P -m compileall -q mechinterp experiments

Provenance hashes linking back to MoralityLabAI/LoopedTransformers and MoralityLabAI/VPD are recorded in PROVENANCE.json.

Statistical resolution before BPD GPU sweeps

Use the EvalMath mechanistic-power agent skill before planning a causal intervention, probe or small held-out evaluation. Its independent-root, matched-sham and effect-floor preflight keeps shallow 64-outcome sweeps from being mistaken for measured mechanisms. The FSI-03 native TRM audit shows why delayed-logit change must be checked against a matched random direction on actual task outcomes. Retain the ARG-03-N sealed test restrictions.

About

Successor to adVersarial Parameter Decomposition based on Looped Layers, Eval Math and Behavior Tracing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages