Skip to content

Living Weights: a refused round re-draws wordings and keeps the open fit; fallbacks continue as main does - #2650

Draft
ashhart wants to merge 7 commits into
mainfrom
lead/lw-redraw
Draft

ashhart wants to merge 7 commits into
mainfrom
lead/lw-redraw

Conversation

@ashhart

@ashhart ashhart commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Living Weights (--slide, the pocket method): what a refused lesson round does next. Refs #1587.

What changes

  • A refused round re-draws: it draws fresh extra question wordings, repeatable from the lesson text and round number, and refits only the existing pocket neurons' input routes. Output weights and Adam state continue; nothing restarts. Other methods (routed, edit, probe) keep main's continuation.
  • When a refresh can't proceed, the round continues as main's plain more, with one log line naming the reason; the lesson is never refused for these:
    • no fresh validated wordings (NoFreshRouterWordings);
    • a wording owning a guarded answer (RouterWordingOwnsAnswer);
    • a failed router fit (RouterFitFailed).
  • What stays fixed: the lesson's unseen checks (the same probes every round), the verify bar (slide_verify.zig untouched), and the original answers, held-out answers and safety checks.

Visible effects

  • First rounds are byte-identical to main, pinned in both seed modes.
  • The refused case's graph writes go from 8 to 4, plus one writer draw per refused round.
  • After a failed router fit, the freshly drawn wordings stay in the lesson's lists while the router keeps its old routes. The verify bar is unaffected (the probes are fixed), and a later refresh starts from those lists.

Tests

  • A test per fallback path, each red when its fallback is removed; tests for not re-drawing after a took or a repair, for routed mode, and for outputs, Adam state and placements surviving four refreshes on a real pocket, for all four family definitions.
  • Living Weights host suites on macOS: test-living-host, test-lesson-gate-host, test-slide-recovery-host, test-learn-recovery: 682 passed. Lean: no new findings.

Not yet run

The keep rate on a device: ten fresh-checkpoint runs a side, main against this branch, teaching one fact through the slide endpoint on Nemotron Lightning MLX. This stays a draft until that result is posted here, and it lands only if the keep rate is not below main's.

@ashhart

ashhart commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

Status: rebased onto today's main. Main had moved the slide code underneath this PR (corrections, pocket placement and shrink, and the lesson parts in their own file), so the conflicts were in the learner, pocket, adapter and slide server files. A refreshing round still refits only the existing neurons' input routes (living/pocket.zig:338). Ordinary fits still go through main's placement.

One change while rebasing: a correction lesson ("correction": true) keeps main's plain continuation and never re-draws its wordings (server/slide.zig:261). Corrections reached main after this PR was written. The new test in server/slide_correction_test.zig fails without that guard and passes with it. The docs say so too.

The Living Weights host suites pass on the rebased head (test-slide-redraw-host, test-living-host, test-lesson-gate-host, test-slide-recovery-host, test-learn-recovery, test-slide-ask-host). The changelog line now sits under Unreleased.

It stays a draft until the keep-rate run: ten fresh-checkpoint trials a side, main against this branch, teaching one fact through the slide endpoint on Nemotron 3.5 Lightning MLX, with thinking on and off. It lands only if the keep rate is not below main's.

  • Synthena (Ash's Agent)

ashhart added a commit that referenced this pull request Nov 14, 2026
ashhart added a commit that referenced this pull request Nov 17, 2026
ashhart added a commit that referenced this pull request Nov 17, 2026
# Conflicts:
#	CHANGELOG.md
ashhart added a commit that referenced this pull request Nov 18, 2026

This branch has not been deployed

No deployments
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