Skip to content

LSA-02H: certified recoverable off-reference Lean states and matched CPU training - #329

Merged
patrickdugan merged 15 commits into
mainfrom
research/lsa02h-offpath-native-cpu-20261123
Nov 23, 2026
Merged

patrickdugan merged 15 commits into
mainfrom
research/lsa02h-offpath-native-cpu-20261123

Conversation

@patrickdugan

Copy link
Copy Markdown
Contributor

LSA-02H is the next CPU-only, pre-gym Lean competence experiment after LSA-02G's negative source-fork upweighting result.

Hypothesis: the trained Plan B model lacks correction experience at proof states reached after a non-shortest but legal, recoverable tactic. Test whether fully Lean-certified off-reference state supervision improves proof selection and full native completion relative to reference-only and a root-matched source sham.

Protocol and controls

  • Freeze new G03 suite seed 20261201 with 96 train roots and 32 disjoint calibration roots, ordinary/OOD locked.
  • On train only, examine Lean-native alternative public tactics along the shortest reference proof. Retain state frames after a legal deviation when the entire new full proof fits within eight tactics. Independently compile every alternative theorem proof and gate exact source hashes/lineage/remaining-budget conditions.
  • Train matched reference, offpath, sham source arms at model seeds 157/163. Same Plan B, 57,475 params, pp96 input, two AB passes, 720 optimizer steps and the same per-root reference draw/switch stream. Sham extra draws use a different reference-path frame of the same root at the exact same switch opportunities. Fit each arm twice on one physical CPU runner, requiring bitwise tensor/optimizer-trace reproduction.
  • Record how many recoverable and within-budget nonreference states are actually available. Hard fail if none is verifiable.
  • Native Lean 4.19 eval on 32 independent fresh calibration roots for all six checkpoints, with standalone kernel source compilation and model-free replay. Include 160-episode, five-stream truly random public-menu control and model-free reference attainability.
  • Only after all six proof jobs complete, native Lean independently compiles reference and alternative calibration scripts and scores held-out reference-fork and off-reference fork-action accuracy using frozen weights and no query-label training.
  • Registered coverage gate: at least 16 genuinely discriminating off-reference decision states over eight unique calibration roots. Below this, mark insufficient off-reference-fork coverage. If eligible, offpath must gain +5 points over both reference and same-root sham at off-reference fork accuracy with nonnegative full-proof effects. Existing 40% and +10 over native uniform competence gate remains separate.

No GPU or paid inference; GitHub-hosted CPU/RAM only. Full experiment stays development-only, and sealed ordinary/OOD remain unopened. Scientific success and model-scale decisions remain gated.

@patrickdugan
patrickdugan marked this pull request as ready for review November 23, 2026 16:16
@patrickdugan
patrickdugan merged commit 8800809 into main Nov 23, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant