Skip to content

Living Weights: a lesson that makes up something about the user is taken out - #657

Merged
ashhart merged 3 commits into
ashhart:mainfrom
ThinkOffApp:lw-invented-facts-keep
Oct 12, 2026
Merged

ashhart merged 3 commits into
ashhart:mainfrom
ThinkOffApp:lw-invented-facts-keep

Conversation

@ThinkOffApp

Copy link
Copy Markdown
Contributor

Follow-up to #599 from @ashhart's comment there: a kept lesson could make the model answer personal questions it was never told ("Whiskers" for a cat, the case that started #589, or a name for the user).

  • Six questions about the user that no lesson tells ("What's the name of my cat?", "Do you remember my name?", "What is my dog called?", "What is my mother's name?", "Who is my best friend?", "Which town do I come from?") are asked after every round and after the mining rounds, and are never trained. When one's answer changes and the model's own judge says it now tells the user something new, the lesson is taken out whole, with the reason "it made up something about the user it was never told". A question a told fact answers is skipped, as the personal checks already do.
  • For these six, only an identical answer skips the judge. The wording shortcut ordinary checks use matches the opening words, so "Your cat is not known to me." -> "Your cat is called Whiskers." would have passed without the judge. A generated near miss identical to one of the six is dropped instead of trained.
  • Five "Do you remember...?" questions about other untold things (favourite food, where I live, car, birthday, job) are trained to keep their answers. Every lesson trains its own facts' "Do you remember...?" questions, and without these the model generalised that pattern into made-up answers. They avoid names and pets, so the checks above stay a fair test.
  • The questions and both rules live in zig/src/server/slide_untold.zig; docs and changelog updated.

Receipt

  • Environment: MacBook Pro, M5 Max, 128 GB, macOS 27.0.1. Checkpoint TensorFold/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-MLX-4bit (d9d758fb), a fresh APFS clone per arm. Branch head e9180db on main a6aa478.

  • Device runs: the five lessons in the M3 Ultra order from Living Weights: a lesson is kept only when every fact came back, else taken out whole before the save #599 (blue, blood type, three children, cat's toy, teacher), 18 questions asked before, between lessons, after, and after a restart. These ran at 77f683e on 56150e6, before the review fixes in e9180db (identical-answer-only skip and near-miss exclusion):

    main (56150e6) check only check + keep questions (77f683e)
    "I like blue." kept, 80 steps, 78 s taken out kept, 140 steps, 105 s, recalled after restart
    "Do you remember my name?" after it "I remember your name is Alex." (through restart) unchanged unchanged
    "Whiskers" not reached (teacher not kept) not reached caught twice (blood type and teacher lessons), both taken out
    lessons kept of 5 1 0 1
  • Exactness, decode and prompt speed: not applicable. No decode or prompt path changes; a lesson asks 11 more greedy questions when it is set up and 6 after each round and after the mining rounds.

  • Tests run: macOS zig build test at e9180db (Zig 0.17.0, fresh caches): 137/137 steps, 1231/1233 tests, 2 skipped. The new host test of the skip rule fails with the old shortcut (2 failures, Debug and Fast) and passes with the fix. zig fmt --check clean on the changed files. lean_check.py: 542 problems, the same as main.

  • Limits, said plainly:

    • One run per arm. Lessons after the first start from different weights in each arm, so only the first row compares like for like.
    • "I have three children." and "My cat's favourite toy is a red mouse." ended as "too few clean answers" on the branch, not on the new check.
    • One held-out question still moved: "What is my grandmother called?" became "Your grandmother is called Grandma" after "I like blue." on the branch (on main only at restart). It is not one of the six; left as a test of generalisation.
    • The five keep questions train whatever the model already answers, so a baseline invention about food, home, car, birthday or job would be reinforced rather than caught.
    • Only near misses identical to the six are dropped; a generated paraphrase of one can still be trained.
    • Cost: "I like blue." took 105 s against 78 s on main (140 against 80 steps).
  • Not run, and why: a device run at e9180db (the review fix only makes the six checks stricter, so kept and taken-out counts may differ from the table; I will add it here). A GB10 run. Questions are English only; facts in other languages get the English checks.

Checklist

  • Every token still goes through the lane rounds. No serial path, and nothing that needs drafts off. (No engine path in this change.)
  • Drafted output equals "draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. (No engine path in this change.)
  • No precision traded for speed. No numeric path changes.
  • Prompt processing is no slower than the last release. (No prompt path change.)
  • The description says which platforms I ran, Metal M1 to M5 and CUDA, and which I could not.
  • New tests fail before the change, pass after it, and skip cleanly without their dependency.
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths. No AI attribution lines.

…cked after every round

A kept lesson could make the model answer a personal question it was never told: after the teacher
lesson on an M3 Ultra, "What's the name of my cat?" got "Whiskers", and on an M5 Max the "I like blue."
lesson turned "Do you remember my name?" into "I remember your name is Alex." (ashhart#599 comment). Six such
questions are now asked after every round and the mining rounds, never trained; one whose answer starts
telling the user something new takes the lesson out, with the reason "it made up something about the user
it was never told".
…eep their answers

Each lesson trains its own facts' "Do you remember...?" questions, which pulled the model toward made-up
answers to other such questions: on an M5 Max, "I like blue." turned "Do you remember my name?" into
"I remember your name is Alex.", and the check that takes such a lesson out then took out blue too. Five
"Do you remember...?" questions about other untold things (food, home, car, birthday, job) are now trained
to keep their answers, so blue stays learned (140 steps, recalled after a restart) and the name stays
unknown. They avoid names and pets, which the checks ask. Docs and changelog describe both.
…nswer is unchanged, and is never a near miss

The wording shortcut that lets an ordinary check skip the judge matches on the opening words, so "Your cat is not
known to me." -> "Your cat is called Whiskers." passed without one. The six untold questions now skip the judge only
on an identical answer, and a generated near miss identical to one of them is dropped instead of trained. The
questions and both rules move to slide_untold.zig, keeping slide_lesson.zig under 600 lines.
@ThinkOffApp

Copy link
Copy Markdown
Contributor Author

Did the device run at the head (e9180db) and it matches the table: "I like blue." kept (140 steps, recalled after a restart), "Do you remember my name?" unchanged, and both "Whiskers" lessons taken out. Every tracked answer is identical to the 77f683e run (same M5 Max and checkpoint, fresh clone).

Suggested next steps:

  1. The same arms on a GB10 with the CUDA learner.
  2. "Grandma": add relatives' names to the checks, or keep it as a held-out test.
  3. Skip training a "Do you remember...?" answer that already claims something about the user.
  4. Repeat each arm a few times.

@ashhart

ashhart commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Thank you, @ThinkOffApp. This landed in 1.0.8 with your three commits as they are (72fb4b69e, 5ed526e65, e9180dbe4), merged in 0a6dbf3e7. Living Weights had moved verify into slide_verify.zig and near misses into keepNear, so the merge commit puts your check there: a changed untold answer takes the lesson out with your reason, other changed checks are still handed back to the lesson, and your two tests sit in slide_untold.zig.

Before your merge (Metal, M5 Ultra), your six questions and "What is my grandmother called?" kept their answers after each of six lessons and after a restart (0 of 7 changed), and on a GB10 too, where two were only reworded "I don't know". With your check merged, the same run gave 0 of 7 again and took nothing out, at about two more rounds over the six lessons, so it stands as the guard for when a change would make one up. Your CHANGELOG line ships with it.

BobClawblaw pushed a commit to BobClawblaw/TensorFold that referenced this pull request Oct 12, 2026
BobClawblaw pushed a commit to BobClawblaw/TensorFold that referenced this pull request Oct 12, 2026
…efault, --slide refusals, and Living Weights' 1.0.8 lines

Under Unreleased: the EXLR8 pull and reader (thanks to @akol1 for ashhart#681, which landed with it), GLM-5.3 on two M5
Ultras with its measured speeds, exactness and limits, the two-Mac servers' MCDMA_FABRIC_QOS=1 default and raised
send threads with the loaded and idle figures (and the speed-up guide's corrections), and the Metal --slide and
GLM-5.3 --learn refusals. The six Living Weights lines go in verbatim after ashhart#657's line,
which none of them repeats; their known issues are for the release notes.
BobClawblaw pushed a commit to BobClawblaw/TensorFold that referenced this pull request Oct 12, 2026
@ashhart ashhart mentioned this pull request Oct 14, 2026
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
…ut the user is taken out

Ported onto the documents branch: the untold questions join each lesson's checks and keeps in slide_lesson.zig as the
PR adds them; a changed untold check takes the lesson out in slide_verify.zig (where verify lives now), other changed
checks are still handed back to the lesson; the near-miss guard sits in keepNear; the PR's two tests moved into
slide_untold.zig (slide_test.zig is gone on this branch).
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
…efault, --slide refusals, and Living Weights' 1.0.8 lines

Under Unreleased: the EXLR8 pull and reader (thanks to @akol1 for ashhart#681, which landed with it), GLM-5.3 on two M5
Ultras with its measured speeds, exactness and limits, the two-Mac servers' MCDMA_FABRIC_QOS=1 default and raised
send threads with the loaded and idle figures (and the speed-up guide's corrections), and the Metal --slide and
GLM-5.3 --learn refusals. The six Living Weights lines go in verbatim after ashhart#657's line,
which none of them repeats; their known issues are for the release notes.
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
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.

2 participants