Skip to content

Notes and appendices: fold #211 and #213, and state every unmeasured result as such - #215

Merged
SamMausberg merged 4 commits into
mainfrom
paper/notes-fold
Oct 2, 2026
Merged

SamMausberg merged 4 commits into
mainfrom
paper/notes-fold

Conversation

@SamMausberg

@SamMausberg SamMausberg commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #214 (the #190 fold): review the four commits after #214's head (276f3aa); the base moves to main once #214 merges. This PR changes only the research notes and the paper's appendices, plus the first-page footnote, which no longer explains [D$n$] tags. With it, no \pend marker is left in the paper or the notes.

Fold #211 (ring-writing verify tiles by batch)

notes/drafting.tex, in the fold paragraph of the verify-state section: a kernel microbenchmark puts the crossover of the narrow tiles at two sequences (tile 4 takes 0.54-0.70 of tile 32's time at one and two sequences, and 1.03-1.40 times as long from three to 64; declared rule, N* = 2). Everything in served terms is derived: 24 layers x the per-layer difference, divided by the fold's time per cycle, assuming batch c in every cycle. That estimate matches the unpaired sessions within 0.7 points, the size of stock's drift between them, so the text says "consistent with". It misses block 16 at c = 4 (predicted 0.993, measured 1.013), and it puts the patch's cost at c = 16-32 at 3.4-3.5% for block 16 and 2.2% for block 8. The restricted rule (narrow tiles only up to two sequences) was not built. The one-sequence per-layer times are added, and so is \evitem{drafter-ring-tiles}. The levers table gets no clause, because the table has no height left.

Fold #213 (host gap on untuned DFlash)

notes/stack.tex, in the host-gap paragraph:

  • The DFlash equality now covers all five patches, with the attention cache pinned at 240,000 tokens.
  • The idle estimate is from hold 5 (1.43-1.53 ms, 22% at B = 1 and 10% at B = 32); the paragraph says the earlier session gave 1.36-1.46 ms.
  • The pending sentence becomes the measured result. The served per-request rate rises 1.0-2.2% at c = 1-32 in one interleaved session, and all twelve pairs lie between 1.004x and 1.028x. Held batches are 0.9-1.7% shorter, 4-13% of the idle. The paragraph also gives the trace reading of why the gain is small. The tuned arm serves 4-12% more per request than the patched one (derived, across days), so the frontier does not move. The tuned-arm explanation is labelled an inference from synchronization counts and sizes, not a trace.

The levers-table row and the H6 row carry 1.010-1.022x (one session) for "untuned DFlash with FlashInfer draft attention". Both registers' hostgap entries add hold5/ and hold_dflash.sh. hostgap-served is removed.

No pending markers left

Every \pend in the notes (37) and in the paper's appendices (5) becomes either a measured result from committed evidence or a plain statement that the work was not done. The two pending lists (paper Appendix F.2 and the notes' register subsection) are removed, together with the text that explained [D$n$] / [N-D$n$]. The checker's macro checks still pass, since the macros stay defined.

Smaller fixes

Rebase onto #214's review fix, and review round 1 (issuecomment-5958497186, at 82c9dca)

Rebase. The two earlier commits now sit on #214's head 276f3aa (they were d34d1e8 and 82c9dca, now d46cb80 and ebe4cde). git range-diff c923ada..82c9dca 276f3aa..8b8b208 shows no change in what they do. The only conflict was the levers table in stack.tex, where this PR's "Relaxed greedy acceptance" and "Replayed verification" rows sit next to #214's certified-head cell. I kept both sides.

Commit 3 (8b8b208) takes the blocking item and every optional one that applied:

  1. drafting.tex: "the remaining tests are pending" becomes "the remaining tests were not run".
  2. Levers table, one state slot per request: "Capacity 256 served at c = 64-256 (lossy study, three sessions); no A/B against a capped arm; default limits not measured" (bench/arms.toml plain-cap256; evidence/lossy/sessions/points.csv).
  3. and 7. Levers table, host gap: the untuned DFlash clause says "(one session)" and carries its own \ev{hostgap}.
  4. drafting.tex: "at batch 1 to 64 the GPU is busy 96.6-98.8% of the traced cycle" (evidence/profiles/README.md: 96.6% at B = 1, 98.8% at 64).
  5. First-page footnote: xurl let the repository URL break inside "github.com". The footnote now restricts breaks to slashes, and the URL breaks after "github.com/".

With the longer cells the levers table ran 24 pt past its page. Its caption note, on why replayed verification under MTP is classed exact up to rounding, moves into the paragraph that discusses the replay path's exactness class, unchanged after a lead-in ("Replayed verification under MTP is classed the same way:"), and the table's asterisk goes.

Codex

  • 4168619476 (P2 at 8b8b208, the root README still described [Dn] tags and pending items): fixed in 2f7f913. README.md's "Start here" and "Main results" now say the paper cites committed evidence as [En], states work that was not done as not measured or not run, and does not cite open results. The edited paragraph is rewrapped.

Build (8b8b208; one core, niced, no exclusive hold running)

Build of the first head (82c9dca)

  • Paper: 53 pp (the pending list's page is gone), 0 LaTeX warnings. The main text is unchanged from Paper: fold the served certified head (#190), and lead with the contract and the served result #214 and still ends at the foot of p10R, with References at the top of p11.
  • Notes: 55 pp, 0 warnings. The levers table (p16) fits its page and was checked as a render.
  • scripts/check_paper_references.py --rev HEAD: every check clean; 0 pending markers in the paper and in the notes.
  • pre-commit on every changed file: passed.

@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 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-02T18:32:56.401782Z 2f7f913 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 82c9dcaf10

ℹ️ 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".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES at 82c9dca

Reviewed as the two commits after #214's head c923ada, which is where this branch stacks. I checked all 42 \pend markers at c923ada (37 in the notes, 5 in the paper's appendices, plus the macro definition) one by one against their replacements. Each one now cites committed evidence or states, truly, that the work was not done or not measured. Nothing was dropped without a statement elsewhere. The #211 and #213 numbers reproduce from their evidence. One plain-text "pending" survived, and it is the only blocking item.

Blocking

  1. A plain "pending" left in the notes (paper/notes/drafting.tex:12, in the proposals summary). The sentence ends "...P9's oracle bound does not reject reuse with top-8 and top-16 candidate sets at concurrency 1; the remaining tests are pending." This PR states each of those remaining tests as not run elsewhere: P6's matched comparison, P9's real program, P7b and drafter training. So this sentence is the one stale status left.
    • Fix: "the remaining tests were not run".
    • A grep of the notes and appendices for "pending", "not yet" and "to be measured" turns up nothing else stale. The other hits are a class definition (serving.tex, "pending until compared"), "have not yet diverged" (engine.tex) and "a quality trade-off to be measured" (analysis.tex).

Optional

  1. Levers table, "One state slot per request (lifts the 133-request cap) ... Not measured" (stack.tex). The removed item bench-capacity was "capacity limits per arm at default settings", which is indeed unmeasured. The lever itself, though, has served points: the lossy study ran plain-cap256 ("radix cache off, one GDN state slot per request", bench/arms.toml) in three sessions at c = 64-256, with 17.1k tokens/s at c = 256 against 13.9k at 128 (evidence/lossy/sessions/points.csv). There is no paired A/B against a capped arm. A cell such as "capacity 256 served at $c=256$ in the lossy study~\ev{lossy}, not as an A/B; default capacity limits not measured" would be more accurate than "Not measured".

  2. Levers table, host gap. The "untuned DFlash (FlashInfer draft) $1.01$--$1.02\times$" cell drops "one session", which its neighbour gives for tuned MTP.

  3. drafting.tex, DFlash cycle split. "with 16-token blocks at batch 1 ... and the GPU is busy 96.6--98.8% of it". That range spans B = 1 to 64 (Appendix E.2), not batch 1 alone. "...of the traced cycle at batch 1 to 64" would match.

  4. Stacking. When Paper: fold the served certified head (#190), and lead with the contract and the served result #214 changes (my items there touch setup.tex §4.5, status.tex H3, the stack.tex certified-head cell and Appendix E.5), this branch needs a rebase. The overlaps are adjacent lines in the stack.tex levers table; the status.tex rows differ (H3 is line 14, the union-kernel row line 17). I will review the rebased delta, not the whole PR again.

  5. First-page footnote (paper.tex). With the [D$n$] sentence gone, the repository URL now breaks inside the domain ("https://github.c" / "om/SamMausberg/..."). Allowing a break only after a slash, or moving the URL to its own line, would fix it.

  6. Levers table, untuned-DFlash clause. The clause has no evidence tag of its own. The preceding clause's \ev{hostgap} covers it, but item 3's edit could add the tag and "one session" together.

What I checked

  • Head. 82c9dca, confirmed with git ls-remote; it stacks on c923ada. Two commits by the configured identity, with no AI attribution lines; the hostname check is clean. Codex reviewed 82c9dca clean and left no inline threads.
  • Each \pend replacement (word diff, c923ada to 82c9dca):
    • Now cited to committed results:
    • Stated as not done:
      • drafter: drafter-p6, drafter-train, drafter-mechanism (notes and two appendices), p7b;
      • repair: repair-verifier, repair-p9-program;
      • state: state-mech (notes, both places, and Appendix D);
      • kernel and geometry: kernel-union, kernel-seeded-engine, geometry-work, geometry-accept;
      • moonshot: moonshot-repeat, -state, -rank, -patches (three places), -frontiers;
      • bench: bench-capacity, -replayssm, -sensitivity, -frontend;
      • backbone-served, transfer.
    • Negations survive. In each appendix sentence the negation survived the edit; for example, app_exactness.tex:87 "is not known" and :132 "were not traced to a kernel".
    • No limitation lost with a removed clause.
      • The "beyond $c=128$" clause removed from the replayed-verification cell is still stated in stack.tex's state-precision paragraph.
      • The "more sessions" clause removed from the replayed-decoding cell is covered by "in one session" in the same cell and by serving.tex's "its two further sessions were not run".
    • Exactness of the Triton verify kernel. "pending" becomes "not classified" in the five places it appears, which is accurate: no committed comparison classifies the repair study's Triton GDN verify kernel (repair-verify).
  • Ring tile sweep result: N* = 2; what the kernel times say about patch 0005 #211 numbers (evidence/drafter/ring_tile_sweep/cycle_estimate.json):
    • Per-layer time at N = 1, T16: 29.02 us at tile 32, 15.72 at tile 4, 16.74 for the snapshot-writing verify.
    • Tile 4 over tile 32: 0.541, 0.567, 0.671 and 0.697 at N <= 2; N* = 2 on both blocks.
    • Predicted minus measured, in points: 0.29, 0.70 and 0.33 (block 16 at c = 1, 2, 8); -0.41, 0.42 and 0.12 (block 8); stock drift 0.994-1.007.
    • Block 16 at c = 4: 0.9933 predicted against 1.0130 measured. Cost at c = 16 and 32: 0.965/0.966 (block 16), 0.978 (block 8).
  • hostgap hold 5: untuned DFlash block 8 (FlashInfer draft, not dflash-tuned) +1.0-2.2% per user, token-identical; no effect on dflash-tuned #213 numbers (evidence/hostgap/README.md, hold 5):
    • Idle 1.43/1.53/1.51 ms, 22% at B = 1 and 10% at B = 32; held cycle -0.9/-1.7/-1.3%; 4-13% of the idle.
    • Pairs 1.004-1.028, means 1.010-1.022. The tuned arm serves 4-12% more (README:197). The earlier session gave 1.36-1.46 ms.
    • The tuned-arm explanation is labelled an inference.
  • Smaller fixes.
  • Build. My own build, run in the CPU window on one core, passes:
    • Paper: 53 pp, 0 warnings, 0 overfull. The Conclusion ends on p10, References start on p11, and the main text's only changes against Paper: fold the served certified head (#190), and lead with the contract and the served result #214's build are the first-page footnote and the Appendix F renumbering (F.5 to F.4, F.4 to F.3).
    • Notes: 55 pp, 0 warnings. The levers table (p16) fits its page.
    • check_paper_references.py --rev HEAD is clean, with 0 pending markers in either document. Pre-commit on the changed files passes.
    • numdiff against c923ada drops two kinds, both from the removed pending-list text (the 127-prompt state-mech entry and one 0.7); both numbers are still in the paper.

SamMausberg added a commit that referenced this pull request Oct 2, 2026
…216)

- H7: "best non-lossy arm" (replayed decoding, exact up to rounding) and "the
  non-lossy arms' spread"; INT4's throughput 0.715-0.870x at c = 2-256 (the
  minimum, 0.7146, does not round to 0.72); GSM8K 1.0-1.4 points (-0.99 to
  -1.36) with the misses; INT4 at c = 1 faster by the declared rule (y 1.046,
  x 1.015 within the band).
- H4: the large divergence's cause is labelled as the pre-set reading of the
  path-comparison hold; the erring layer was not located.
- H3: the sampled path's slowdown from M = 32 is a measured result, not a
  run left undone.
- Backbone line: drop the pending-register key that #215 removes; the lossy
  workstream row says 1.0-1.4 points.
drafting.tex, app:verify-state: the kernel microbenchmark locates the
crossover of the fold's narrow tiles at two sequences (tile 4 takes
0.54-0.70 of tile 32's time at one and two, 1.03-1.40 times from three to
64; declared rule, N* = 2). The served-cycle estimate is derived; it is
consistent with the unpaired sessions within stock's drift (0.7 points),
misses block 16 at c = 4, and puts the patch's cost at c = 16-32 at
3.4-3.5% (block 16) and 2.2% (block 8). The restricted rule (narrow
tiles up to two sequences) is not built. Also the per-layer times at one
sequence and evitem drafter-ring-tiles. The optional levers-table clause
is left out: with it the table is 14 pt taller than the page.
…measured result as such

- notes/stack.tex, host-gap paragraph: DFlash equality now covers all five
  patches with the attention cache pinned; the idle estimate comes from
  hold 5; the pending sentence becomes the measured result (+1.0-2.2% per
  request at c = 1-32, one session; held cycle -0.9 to -1.7%). The
  frontier does not move (the tuned arm serves 4-12% more per request,
  derived across days). The tuned-arm explanation is labelled an
  inference. The levers-table and H6 rows follow; both hostgap register
  entries add hold5/ and hold_dflash.sh; hostgap-served is removed.
- Every remaining \pend in the notes and in the paper's appendices
  becomes a measured result from committed evidence (the DFlash cycle
  split, now cited as profile-dflash, which enters the notes register;
  block length against the served frontier) or a plain statement that
  the work was not done. Both pending lists are removed (paper Appendix
  F.2, the notes register's subsection), together with the text that
  explained [D] and [N-D] tags.
- "Exactness pending" for the Triton verify kernel becomes "not
  classified"; "is to be repeated" becomes "was not repeated".
- Reviewer's leftover from #212: plain-tuned-replayssm is named as exact
  up to rounding in the lossy paragraph; "exact runs/arms" there and in
  both registers become "non-lossy".
- Appendices A and C: "128-column groups" and similar become "one scale
  per 128 weights", as in the main text.
- Levers table cells tightened so the table fits its page.
…ootnote URL (review of #215)

- drafting.tex: "the remaining tests are pending" becomes "were not run".
- Levers table: the one-state-slot lever cites its served capacity-256
  points from the lossy study (three sessions; no A/B against a capped arm,
  default limits not measured); the untuned DFlash host-gap clause says
  "one session" and carries its own evidence tag.
- drafting.tex: the GPU-busy range 96.6-98.8% spans batches 1 to 64, not
  batch 1 alone.
- First-page footnote: the repository URL breaks only at a slash (xurl let
  it break inside "github.com").
- Levers table: the caption's note on replayed verification moves into the
  paragraph that discusses the replay path's exactness class, so the table
  fits its page with the longer cells.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8b8b208dec

ℹ️ 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".

Comment on lines +6 to +7
\section{Evidence register and reproduction}\label{app:record}
This appendix connects the paper's claims to the repository. Appendix~\ref{app:register} lists every committed result the text cites, with the files that hold it and the program that produced them. Appendix~\ref{app:repro} gives the commands that rerun the CPU checks and says where the GPU commands are, Appendix~\ref{app:pins} lists the hardware, software and model versions, and Appendix~\ref{app:attribution} states who did the work and how AI tools were used.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the README after removing pending registers

For readers starting from the repository README, this change leaves the documented evidence scheme incorrect: README.md:27-29 still says uncommitted results are marked [D$n$], and lines 43-44 say the paper shows pending items, but this commit removes both pending registers and every \pend marker. Update those README passages so the primary entry point describes the new plain-text “not measured” convention.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 2f7f913. README.md now says the paper cites committed evidence as [En] and states work that was not done as not measured or not run, and that open results are not cited. The [Dn] and pending-item wording is gone.

…ex on #215)

This PR removes the pending registers and every \pend marker, so the
README no longer says the paper marks uncommitted work as [Dn] or shows
open results as pending items. Unmeasured work is stated as not measured
or not run.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 2f7f913a97

ℹ️ 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".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE at 2f7f913

I re-reviewed the rebase onto #214's 276f3aa and the two new commits.

  • Rebase. The diff of diffs between d46cb80/ebe4cde (276f3aa onward) and the commits I reviewed (c923ada to 82c9dca) is empty, so the rebased fold is content-identical.
  • 8b8b208.
    • The blocking item is fixed: drafting.tex:12 now reads "the remaining tests were not run".
    • Optional items taken:
      • the state-slot cell now reads "Capacity 256 served at $c=64$--256 (lossy study, three sessions); no A/B against a capped arm; default limits not measured";
      • the DFlash host-gap cell now has "(one session)" and \ev{hostgap};
      • "at batch 1 to 64 the GPU is busy 96.6--98.8% of the traced cycle";
      • the footnote URL now breaks only after a slash (it renders as "https://github.com/" / "SamMausberg/verified-progress").
    • The levers table's starred footnote moved into the classification paragraph as a sentence about replayed verification under MTP, with its wording kept.
  • 2f7f913. The root README answers Codex P2 4168619476: it no longer describes [Dn] tags or pending items, and says that work not done is stated as not measured or not run. That matches the paper and notes at this head.
  • Build. My own build: paper 53 pp, 0 warnings, 0 overfull. The Conclusion ends on p10 and References start on p11. Notes 55 pp. check_paper_references.py --rev HEAD is clean, with 0 pending in either document. numdiff against 276f3aa changes no number in the main text; the two kinds dropped elsewhere come from the removed pending-list entries.
  • Codex is clean on 2f7f913 (18:32 UTC). Its one inline comment, at 8b8b208, is fixed and has a reply.

This branch is based on 276f3aa, and #214 has since moved to 8b58206. If it is rebased again, I will check only the diff of diffs.

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