Skip to content

Living Weights: a read-only pocket audit (what each learned neuron fires on) - #1980

Merged
ashhart merged 2 commits into
mainfrom
lead/t456-pocket-audit
Nov 4, 2026
Merged

ashhart merged 2 commits into
mainfrom
lead/t456-pocket-audit

Conversation

@ashhart

@ashhart ashhart commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Item 5 of #1968.

For each learned fact's neurons, the audit measures what they fire on across a probe set: the fact's own questions, its subject in other contexts, other facts' questions, and a fixed general set. It reports per neuron the firing rate and the strongest off-subject prompts, and flags neurons that fire off-subject above a threshold. It's surfaced as a new field in GET /v1/slide/graph (existing fields unchanged) and in tensorfold slide.

  • Read-only: the audit works on a private copy of the pocket and always reports changed=false. The trainer's counters are restored, and audits are refused while the learner is stale, busy or not idle, or when a request carries any lesson field.
  • --slide off is main.
  • Host checks: a synthetic pocket with a clean neuron and a deliberately leaky one; the audit flags only the leaky one.
  • Independent review: LAND. The device check (--slide off unchanged on a GB10) is queued and will be posted here.

@ashhart

ashhart commented Nov 3, 2026

Copy link
Copy Markdown
Owner Author

Mac check (Nemotron 3.5 Lightning MLX 4-bit, main against this head, balanced order, --slide off): GREEN. Replies are unchanged and speed is level, so the audit adds nothing to the served path when Living Weights is off. The GB10 check is queued.

@ashhart

ashhart commented Nov 3, 2026

Copy link
Copy Markdown
Owner Author

GB10 A/B (Nemotron 3.5 Lightning 30B-A3B 4-bit, merge-base 5fe74ebb9 against this head, warm then base-new-new-base): REVIEW.

  • Exact: 0 of 20 prompt rows differ.
  • One stream: level, 150.9 → 150.3 tok/s for chat and 206.6 → 206.3 for code.
  • Code at 2 and 4 streams (temperature 0): 332.9 → 264.7 (−20.5%) and 498.6 → 406.8 (−18.4%), with both new runs below both base runs.

Nothing in this PR runs on a request without an open lesson or audit: every new branch in lane_host_learn.zig, slide_adapter.zig and learner.zig is behind request.audit. The two new runs were also back to back in the middle of the job, so a busy spell on the box would hit only them. A re-run with the order flipped (new-base-base-new) is queued, and this waits on it.

@ashhart

ashhart commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

GB10 re-run on this head (tree eb01a47ba), Nemotron 3.5 Lightning 30B-A3B 4-bit, warm then new-base-base-new so neither arm gets the fastest first slot: GREEN.

  • Exact: 0 of 20 prompt rows differ, and the 64K long-context check passes on both arms.
  • One stream: level, chat 149.8 → 149.7 and code 205.1 → 205.4 tok/s.
  • The cells that read −20% / −18% last time: code at 2 and 4 streams is now +1.8% and +2.8%. Both arms swing widely there: base 255.3 / 271.0 at 2 streams and 391.9 / 496.7 at 4. So the earlier loss was that cell's run-to-run spread, not this PR. At 8 streams code is level (428.5 → 428.1), and the temperature-1 sweeps are within ±1.2%.

Together with the Metal run on gillen (GREEN) and the review that found no change on a request without an open lesson or audit, this is ready. Queued to land.

@ashhart
ashhart force-pushed the lead/t456-pocket-audit branch from ca7c236 to aef8756 Compare November 4, 2026 05:30
@ashhart
ashhart force-pushed the lead/t456-pocket-audit branch from 68630d2 to 8ce2733 Compare November 4, 2026 07:47
@ashhart
ashhart merged commit ae9def8 into main Nov 4, 2026
3 of 7 checks passed
ashhart added a commit that referenced this pull request Nov 4, 2026
ashhart added a commit that referenced this pull request Nov 9, 2026
The part of e9d6925 (#1980 as stacked on #2025) that main's 7589baf
lacks: an audit request refuses `against` and `shrink`, and an audit
blocked by a stale pocket reports that it failed before any lesson began.
ashhart added a commit that referenced this pull request Nov 9, 2026
The part of e9d6925 (#1980 as stacked on #2025) that main's 7589baf
lacks: an audit request refuses `against` and `shrink`, and an audit
blocked by a stale pocket reports that it failed before any lesson began.
@ashhart
ashhart deleted the lead/t456-pocket-audit branch November 10, 2026 16:35
ashhart added a commit that referenced this pull request Nov 12, 2026
The part of e9d6925 (#1980 as stacked on #2025) that main's 7589baf
lacks: an audit request refuses `against` and `shrink`, and an audit
blocked by a stale pocket reports that it failed before any lesson began.
ashhart added a commit that referenced this pull request Nov 13, 2026
The part of e9d6925 (#1980 as stacked on #2025) that main's 7589baf
lacks: an audit request refuses `against` and `shrink`, and an audit
blocked by a stale pocket reports that it failed before any lesson began.
ashhart added a commit that referenced this pull request Nov 13, 2026
The part of e9d6925 (#1980 as stacked on #2025) that main's 7589baf
lacks: an audit request refuses `against` and `shrink`, and an audit
blocked by a stale pocket reports that it failed before any lesson began.
ashhart added a commit that referenced this pull request Nov 14, 2026
The part of e9d6925 (#1980 as stacked on #2025) that main's 7589baf
lacks: an audit request refuses `against` and `shrink`, and an audit
blocked by a stale pocket reports that it failed before any lesson began.
ashhart added a commit that referenced this pull request Nov 17, 2026
The part of e9d6925 (#1980 as stacked on #2025) that main's 7589baf
lacks: an audit request refuses `against` and `shrink`, and an audit
blocked by a stale pocket reports that it failed before any lesson began.
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