Skip to content

Appendices E and F: precision edits from the moonshot and repair workstreams - #75

Merged
SamMausberg merged 1 commit into
mainfrom
paper/appendix-precision
Oct 1, 2026
Merged

SamMausberg merged 1 commit into
mainfrom
paper/appendix-precision

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Four precision edits to Appendices E and F, all from evidence already on main. The main text and the register are unchanged.

Appendix E (suggested by the moonshot workstream after #71)

  • MTP cycle at c=128. The implied cycle is derived from client throughput, so it includes the prefill passes of arriving requests and the benchmark's ramp and drain as well as the decode cycle. The conclusion no longer says the gap is "not traffic"; it now says the 2.0-2.7x gap is time the byte model does not see, in the decode cycle or in prefill, ramp and drain, which this arithmetic cannot separate.
  • P4 kernel speed. The text no longer asserts why the kernel gains 1.22x instead of the 1.6x the bytes allow. It cites the per-phase times from gdn_exact_replay_bench.json: at batch 128 with m = 4, 89, 112 and 129 µs on steps that replay zero, one and two earlier updates, and 201 µs on the step that replays three and writes the anchor, against 161.5 µs for the packed decode.
  • SGLang's replay path. It differs in 465,102 and 543,225 of 1,572,864 output words (30% and 35%, layers 0 and 20). The paper previously gave only the layer-0 count.

Appendix F (after repair's #72)

  • Stage B certificates. R_i < 1 at 43 of the 921 first-replay positions where R_i is defined (4.7%). The other 41 are exact ties of the exact logits, with margin 0. They are the same positions at every rank. These fields are now in residual_eval_b16.json (ratio_below_1_count, ratio_defined_positions, tied_positions_ratio_undefined, ratio_below_1_same_positions_at_every_rank).

Validation

  • latexmk -pdf builds 72 pages with no warnings. The main text ends on page 10. The rebuilt paper.pdf is committed, and I looked at the three changed pages.
  • python scripts/check_paper_references.py passes.

Appendix E, suggested by the moonshot workstream after #71:
- The implied MTP cycle at c=128 is derived from client throughput, so
  it includes the prefill of arriving requests and the benchmark's ramp
  and drain. The conclusion now says the arithmetic cannot separate
  these from the decode cycle.
- P4's 1.22x, against the 1.6x the bytes allow, is now shown by the
  measured per-phase kernel times (89, 112, 129 and 201 us at batch
  128, m = 4, against 161.5 us) instead of being asserted.
- SGLang's replay differs in 465,102 and 543,225 of 1,572,864 output
  words (layers 0 and 20), not only the layer-0 count.

Appendix F, after repair's #72: R_i < 1 holds at 43 of the 921
positions where it is defined; the other 41 are exact ties with margin
0. They are the same positions at every rank.
@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-01T04:00:50.583524Z 4cbde74 PR opened
ℹ️ 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.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Reviewed head 4cbde74: one commit on a6a1850 with four precision edits and no register changes.

  • The implied cycle (E). It is now described as derived from client throughput, so it includes prefill, ramp and drain as well as the decode cycle. The conclusion is softened to time the byte model "does not see, in the decode cycle itself or in the prefill, ramp and drain, which this arithmetic cannot separate". That is right for a figure derived from client throughput.
  • P4 timing (E). The per-phase kernel times at batch 128 and m = 4 are 89, 112, 129 and 201 us against 161.5 us for the packed decode. They match gdn_exact_replay_bench.json (exact_L4_us_by_phase 89.26, 112.16, 128.80 and 201.26; dense_us 161.52), and their mean is the 1.215x already quoted.
  • SGLang replay (E). 465,102 and 543,225 of 1,572,864 output words are 29.6% and 34.5%, written as 30% and 35%, which matches the L4 and L4_layer20 JSONs.
  • R_i (F). 43 of the 921 defined positions, with the other 41 exact ties. These match the fields Repair: give the R_i denominator (43 of 921 defined positions) #72 added to residual_eval_b16.json.
  • Build. I rebuilt from source: 72 pages, no warnings, and the text matches the committed PDF. The main text ends on page 10, and check_paper_references.py passes.

Merge note. #74 also changes paper.pdf, so whichever of the two merges second needs main merged in and the PDF rebuilt.

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