Skip to content

Appendix D: the matrix with pinned pools; tree and plain H5 tests (#110) - #113

Merged
SamMausberg merged 2 commits into
mainfrom
paper/appendix-pinned
Oct 1, 2026
Merged

SamMausberg merged 2 commits into
mainfrom
paper/appendix-pinned

Conversation

@SamMausberg

@SamMausberg SamMausberg commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Brings the pinned-pool state results from #110 into Appendix D and the register. Everything here comes from evidence/state_safety on main at 56f0608, mainly noise_floor_pinned.json/.csv, divergences_pinned.csv, run_meta_pinned.json, cycles_mtp_*_pinned.json, cross_regime.json, targeted.json and the README section "Matrix with pinned pools". I checked every number against those files.

D.4 "How often"

  • The existing results are now labelled as the first matrix, run with a cap of 16 running requests. The sentence saying a rerun with pinned pools is pending is gone.
  • Differential tests: the "capped at 16" sentence now applies to the first matrix, and the pinned matrix (cap 8) is mentioned.

New paragraph "With pinned pools"

  • Setup: each server is capped at 8 requests, with 49,152 KV tokens and 40 GDN slots. Each server was checked to allocate exactly those, so every pair compares identical pools. These runs replace the first matrix's comparisons for every pair they cover.
  • Fresh-server repeats: 0/320 diverge at c1 and 4/320 at c32, all at exact ties. The drop from 24 is not attributed to the pools alone, because the cap changed at the same time.
  • Plain c1 vs c32 on one server: 41/320 diverge, 0.63 per 1,000. Batches here hold at most 8 requests instead of 16, so this is not comparable with the 3.42 at cap 16.
  • Same-server repeats: 17/320 diverge at c1 (0.25 per 1,000) and 4/320 at c32, all at ties or within one spacing.
    • Eviction is given only as the working explanation, not checked at the cache level. No prefill reused a cached prefix, and one pass computes 126,408 tokens against a 49,152-token pool.
    • With the prefix cache on, such a repeat is not an equality reference.
  • Pinned vs unpinned plain at c1: all 320 outputs match in tokens. One prompt's log-probabilities differ, by at most 0.24 nats.
  • MTP vs plain with identical pools: 3.5 to 4.0 per 1,000 for steps 1, 3 and 5 and the tree, at both concurrencies. That is about the same as MTP against itself between c1 and c32 (3.1 to 3.5).
    • Every divergence is at an exact tie, within one BF16 spacing, or within 0.25 nats (11 events in 5 prompts). None is large, and no run committed a token other than its own top-1. Drift without a token change is at most 0.62 nats.
  • Open questions: lists the remaining pinned pairs, as in missing_pairs.

D.5, H5

  • Tree and plain truncation and stop tests: these also compare the top-5 log-probabilities.
    • Truncation is identical in tokens and log-probabilities: 159/159 for the tree and 39/39 for plain.
    • Stops are identical: 160/160 and 40/40, with 120 tree stops inside the draft block.
    • Warm vs cold: 142/160 identical for the tree and 33/40 for plain, all at ties or one spacing. The text says only that such flips occur without speculative state.
  • Bucketing by rejection position: at concurrency 1 against plain, on the pinned runs.
    • No commit length stands out. The rates are "compatible with one common rate" (p = 0.75, 0.72, 0.54, 0.38), described as a failure to reject.
    • The text adds that the test treats positions as independent although they cluster by prompt, and that no prompt-clustered analysis or excess-rate bound has been done.
    • No divergence falls at a non-fragile position. This is scoped to the four MTP configurations against plain decoding at c1, which is what the bucketing covers, both in D.5 and in the H5 row.
  • First verify cycle after prefill: counted separately. The Fisher test (p = 0.033 and 0.049 for steps 5 and the tree) is labelled exploratory, with every README caveat.
    • Following the README, the declared follow-up and the check of the prefill-to-decode handoff are "planned but not yet designed". They are not marked pending, because G.3 defines pending entries as designed work.
  • The plan sentence now describes the test as run: divergences bucketed by the previous cycle's commit length.

Register (G)

  • New entry state-pinned (E27).
  • targeted now covers the tree and plain tests.
  • The H5 status row adds the tree and plain results and the commit-length result, with its caveats.
  • The pending entries state-mech and state-targeted are cut to what is still queued.

Other

  • F.3 now gives a cap for the plain floor it compares against: "at a cap of 16 running requests (3.42 per 1,000)".

Checks

…sts (#110)

How often: the first matrix's results are labelled as cap 16; a new
paragraph gives the pinned matrix (cap 8, identical pools): fresh-server
repeats 0/320 and 4/320 (ties; drop not attributed to pools alone), plain
c1 vs c32 0.63 per 1,000 (not comparable with 3.42 at cap 16), same-server
repeats 17/320 and 4/320 (eviction as the untested working explanation; not
an equality reference with the prefix cache on), MTP vs plain 3.5 to 4.0
per 1,000, all at ties or within two BF16 spacings.

H5: tree and plain truncation and stop tests identical in tokens and
log-probabilities; divergences per fragile position by commit length are
compatible with one common rate (a failure to reject, positions treated as
independent), none at non-fragile positions; the first-cycle Fisher test
is exploratory. Register: state-pinned entry, H5 row, pending entries.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T12:38:23.589515Z 30ebaa2 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…ns at c = 1

The commit-length bucketing compares MTP with plain decoding at concurrency
1 only, so the statement that no divergence falls at a non-fragile position
is scoped to it, in D.5 and in the H5 row.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

1 similar comment
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional: Codex's review of de324e6 was still running when I posted this. I will re-check its threads on this head before merge.)

Review on the exact head de324e6 ("Appendix D: the matrix with pinned pools and the tree and plain H5 tests (#110)").

Numbers against #110's evidence on main (56f0608). All match.

  • noise_floor_pinned.json/.csv:
    • fresh-server repeats: 0/320 and 4/320, the latter at 0.06 per 1,000, all ties;
    • plain c1 against c32: 41/320, 0.63 per 1,000, with 39 ties and 2 within one spacing;
    • same-server repeats: 17/320 at 0.25 per 1,000, and 4/320, all ties or one spacing;
    • MTP against plain: 3.5 to 4.0 per 1,000, 164 to 181 of 320, at both concurrencies; MTP against itself from c1 to c32: 3.1 to 3.5;
    • 11 near events in 5 prompts, with margins at most two spacings; no not_argmax commit; drift without a token change at most 0.62 nats.
  • cross_regime.json: 320/320 identical tokens; mt_bench-0064 differs from index 2, by at most 0.24 nats.
  • run_meta_pinned.json: 49,152 / 8 / 40; zero cached-prefix tokens; 56,366 + 70,042 = 126,408 tokens.
  • cycles_*_pinned.json:
    • per-length rates from 0.061 (steps 5, length 4: 0.0606) to 0.098 (steps 3, length 2);
    • chi-square p = 0.75, 0.72, 0.54 and 0.38;
    • 0 non-fragile divergences;
    • first cycle after prefill: 7/40 and 6/33, against 157/2046 = 0.077 and 164/2025 = 0.081 later; Fisher p = 0.033, 0.049, 0.71 and 0.75.
  • targeted.json: tree and plain truncation 159/159 and 39/39; stops 160/160 and 40/40; 120 tree stops inside the draft block; warm against cold 142/160 (17 ties, 1 one-spacing) and 33/40 (7 ties).
  • Register H5 row totals: 397 = 157 + 240, 400 = 160 + 240, 198 = 159 + 39 and 200 = 160 + 40.

Your three checks

  1. The withdrawn phrases are gone. "Flat across commit length" and "no rollback error at any accept length" appear nowhere in paper/sections; the only "flat" match is an unrelated word in app_proofs.tex. The commit-length result is stated as compatible with one common rate, and the failure-to-reject and clustering caveat sits right after the p-values.
  2. Every number matches (above).
  3. First-cycle follow-up. I agree with leaving it without \pend. The README on main lists the pre-declared first-cycle test and the handoff check under "Not yet designed", and G.3 reserves pending entries for designed work, so "planned but not yet designed" is the consistent wording.

Wording and scope

  • The 24 to 4 drop is not attributed to the pools alone.
  • The pinned c1-against-c32 rate is marked as not comparable with 3.42, and F.3 now says that 3.42 is at a cap of 16.
  • The first matrix's results are now in the past tense.
  • Eviction is the working explanation, "not checked at the level of the cache", and a same-server repeat is no longer an equality reference.
  • The exploratory Fisher test is called "a lead, not a finding".
  • The state-mech and state-targeted pending entries are narrowed to what is still queued.

Build and checks

  • A clean rebuild gives 78 pages and no LaTeX warnings, and its text matches the committed paper.pdf. References start on page 11. No ?? in the text, and \ev{state-pinned,state-pools} renders as [E27, E26].
  • check_paper_references.py reports no missing paths, and pre-commit: refuse to commit this machine's hostname or public IP #111's host-identity check passes on the whole tree.
  • The PR touches only appendix files (app_exactness.tex, app_register.tex, app_drafting.tex) and the PDF; there are no PR numbers in the main text.
  • The commit is by Samuel Mausberg, with no AI lines in the commit or the PR body. The branch contains main and is MERGEABLE.

Blocking: none. Suggestions: none.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional: Codex's review of 30ebaa2 was still running when I posted this. I will re-check its threads on this head before merge.)

Re-review on the exact head 30ebaa2 ("Appendix D: scope the non-fragile result to the four MTP configurations at c = 1"). It supersedes my approval of de324e6. Codex had not finished on de324e6 before the branch moved.

Blocking: none. Suggestions: none.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 30ebaa27a7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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