Skip to content

Appendices A and C: integrate the MTP-4B geometry breadth (#62) - #69

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

SamMausberg merged 1 commit into
mainfrom
paper/appendix-geometry

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Integrates the MTP-4B geometry breadth merged in #62 into Appendices A and C, the status table and the evidence register. It fills the pending item geometry-drift. The main text is unchanged; Figure 3's MTP CDF and the rho-mtp key came with #65.

What the appendices now say

  • C.5, captured pairs (alignment_mtp4b.json, new entry stats-mtp):
    • The capture holds 30,328 verify blocks and 121,312 draft rows.
    • The FP64 argmax matches the engine at 99.08% (draft) and 99.33% (target). All 1,116 and 816 disagreements lie within one BF16 spacing.
    • R-bf16 matches at 99.997% and 99.998%, and accepted lengths match on all 30,328 blocks.
    • Draft agreement goes from 99.31% at step 1 to 98.90% at step 4, and acceptance per reached step is 84.5/80.0/79.5/80.6%.
    • BF16 top-two ties occur at 1.3% of rows. 42% of outputs are identical to plain decoding, with a median first divergence of 193.5.
    • The subset list now includes the MTP drift subset of 40,000 pairs (24,835/5,698/9,467), cited as rho-mtp, as the Draw the full MTP-4B drift distribution in Figure 3(b) #65 reviewer asked.
  • C.6, drift (rho_mtp4b.json): a new table gives the MTP drift by outcome, domain, draft step and context (smallest/p10/median/p90). The text compares it with DFlash: median 0.954 and smallest 0.385, against 0.917 and 0.823. Variants are given in the head metric (0.83; 0.88 centred), the top-64 subspace (0.86, 23% of Δ) and ℓ1 (0.99). The verdict stays: transport is narrower than int8 only on the 0.08% of rows in unused-token tiles, the realized per-tile error is a median 81 times int8's, and oracle radii skip 99.97% (median) where int8 needs about one row.
  • A.7, candidate sets (selfevidence_mtp4b.*, new entry selfevidence-mtp):
    • Verify rows a greedy verifier needs: 1.51 candidates on average (p99 7, one row at 76.1%), and 2.44 after the first rejection. The draft head's reached rows need 2.44 (p99 15).
    • The gap rule leaves 4.04%/2.84% of verify rows and 6.44%/4.20% of draft rows to the stock kernel. At least one such row occurs in 48%/37.5% of verify steps, against 84%/78% for DFlash-4B.
  • Status and pending. The H2 and H3 rows cite the MTP evidence, and geometry-drift is removed from the pending list.

The table rows were generated from rho_mtp4b.json, and every other number was checked against the committed JSON.

Validation

  • latexmk -pdf builds 70 pages with no LaTeX or BibTeX warnings. The main text ends on page 10. The rebuilt paper.pdf is committed, and I looked at the changed pages.
  • python scripts/check_paper_references.py passes: no uncited or missing keys, and every register path exists on origin/main.
  • The repo's hooks exclude paper/; there are no other changed files.

Appendix C.5 reports the MTP-4B capture checks: 30,328 blocks, FP64
argmax agreement of 99.08% (draft) and 99.33% (target) with every
disagreement within one BF16 spacing, R-bf16 at 99.997% and 99.998%,
accepted lengths matching on every block, acceptance by step, and 42%
of outputs identical to plain decoding. It also lists the MTP drift
subset of 40,000 pairs, cited as rho-mtp (the #65 review note).

Appendix C.6 adds the MTP drift by outcome, domain, draft step and
context as a new table, with the head-metric, subspace and l1
variants. The verdict is unchanged: transport is narrower than int8
only on unused-token tiles, and even oracle radii lose to int8
self-evidence.

Appendix A.7 adds the MTP-4B candidate sets and gap-rule fallback
shares. New register entries stats-mtp and selfevidence-mtp; the H2
and H3 status rows cite them; geometry-drift leaves the pending list.
@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-01T03:51:37.810948Z 268c3e3 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 268c3e3: one commit on 061549b that integrates #62 into Appendices A and C and the register.

Numbers. All of them match main's evidence:

  • Table tab:rho-groups-mtp. All 16 rows (pairs, smallest, p10, median, p90) match rho_mtp4b.json metrics.rho, recomputed group by group: outcome, domain, draft step and context.
  • C.6 prose. Head metric 0.83, and 0.88 after removing each position's mean logit. Leading-64 subspace 0.86, carrying 23% of Delta. ℓ1 0.99. Narrower than int8 on 0.08% of rows, realized tile ratio 81, certified ℓ2 and static screen skipping 0.08%, oracle radii 99.97% (p10 98.6%). The 176 / 160 norms and the 10.7 largest logit drift come from transport_mtp4b.json.
  • C.5 capture checks. These match alignment_mtp4b.json: 30,328 blocks, 99.08 / 99.33%, 1,116 / 816 within one spacing, 99.997 / 99.998%, steps 99.31 -> 98.90%, acceptance 84.5 / 80.0 / 79.5 / 80.6%, 1.3% ties, 42% identical, median 193.5. The MTP drift subset is 24,835 / 5,698 / 9,467.
  • A.7. These match selfevidence_mtp4b.json: 2,901 of 4,010 rows needed, 1.51 (p99 7, 76.1% at one row), 2.44 after the first rejection, 2.44 on draft rows (p99 15). Gap-rule shares 4.04 / 2.84% (verify) and 6.44 / 4.20% (draft). At least one fallback row in 48% and 37.5% of verify steps (rstock_steps_with_fallback).

Wording. The C.5 paragraph states the checks without attributing a mechanism. The DFlash paragraph keeps its pending kernel trace, and the "batch-shape" phrasing that #62 corrected does not appear.

Register.

  • stats-mtp and selfevidence-mtp cite files and scripts that exist on main. The H2 row adds rho-mtp, and the H3 row adds selfevidence-mtp.
  • geometry-drift leaves the pending list, which is correct now that the MTP alignment, drift and self-evidence files are committed. The % Evidence comment is updated to match.

Build. I rebuilt from source: 70 pages, no warnings, and the text matches the committed PDF. The main text ends on page 10, and check_paper_references.py passes. A test merge into current main, which includes #66, is clean.

Codex was still running when I posted. I'll check its comments.

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