Repository navigation
Head geometry: MTP-4B alignment, drift ratio and self-evidence - #62
Conversation
The CPU analyses queued by the geometry workstream: the MTP-4B capture reproduces the engine's draft and target decisions (all disagreements within one BF16 spacing), its drift ratio has median 0.95 on 40,000 held-out pairs, and int8 self-evidence certifies the verify rows a greedy verifier needs with 1.5 candidates on average, with no envelope violation. Also corrects the DFlash-4B transport pair count to 4,020.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ec1211f656
ℹ️ 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".
| | verify, needed | int8 per-row, row CS | 1.51 | 1 | 7 | 18 | 76.1% | | ||
| | verify, needed | int8 g128, blockwise | 1.33 | 1 | 5 | 12 | 80.9% | | ||
| | verify, after the first rejection | int8 per-row, row CS | 2.44 | 2 | 11 | 22 | 49.1% | | ||
| | draft, needed | int8 per-row, row CS | 2.44 | 1 | 15 | 38 | 57.4% | |
There was a problem hiding this comment.
Label the envelope that produced these candidate counts
For the three int8 per-row, row CS entries, the conditional values in selfevidence_mtp4b.json were actually generated only when env == 'min' in analyze_selfevidence.py; the CSV confirms that the int8-row minimum follows the block-L2 result and differs from row CS (for example, 1.767581 versus 1.793017 over all verify rows). These rows therefore attribute the stronger elementwise-minimum results to the row-CS envelope and do not substantiate the stated mechanism. Either label them as the minimum/blockwise envelope or export the conditional row-CS counts.
Useful? React with 👍 / 👎.
|
Verdict: REQUEST CHANGES Reviewed head ec1211f: one commit with evidence only, the MTP-4B CPU analyses plus README sections. Every number checks out. One sentence states an untraced mechanism, and my reproduction of three of the files is still queued. Check 1: README numbers against the JSON (all correct)
Check 3: head-input norms (resolved)The 176 / 160 medians are in Check 2: reproduction (partial so far)
BlockingB1. "This is the batch-shape divergence" states a mechanism that the evidence does not show for MTP (README, MTP-4B alignment paragraph: "as for DFlash-4B, the per-row checks above use the engine's own decisions, so this is the batch-shape divergence, not a pairing error").
Suggestions (not blocking)
|
Addresses review of #62: the MTP-versus-plain output divergence is traced to layer 0's GDN recurrence (state workstream), not to batch shape; the MTP norms come from stats_mtp4b.json; the Hopper radius is the rounded 1.19e-4 the replays used; DFlash position-1 draft agreement is 99.3%.
|
Verdict: APPROVE Approving head 419b2bb (one commit on ec1211f, changing only B1 and the suggestions (fixed).
What this approval rests on.
Post-merge check, agreed with the integrator. Reproducing |
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.
Appendices A and C: integrate the MTP-4B geometry breadth (#62)
|
Post-merge reproduction check: all seven files reproduce. Nothing needs a follow-up. I ran
Together with |
Commits the MTP-4B outputs of the geometry workstream's queued CPU analyses (the job finished at 03:05 UTC on 2026-10-01) and adds their results to
evidence/head_geometry/README.md. No code changes: every file was produced by the committed scripts listed in the README's Files table.alignment_mtp4b.json): over 30,328 verify blocks and 121,312 draft rows, the FP64 argmax equals the engine's draft token at 99.08% and the target's at 99.33%. Every disagreement is within one BF16 spacing, R-bf16 reproduces the engine at 99.997% / 99.998%, and the accept lengths match on all blocks.rho_mtp4b.json, 40,000 held-out pairs): median 0.954 (p10 0.767, smallest 0.385), against the per-row int8 threshold of 0.0085. Certified l2 transport and the static screen skip 0.08% of rows.selfevidence_mtp4b.json): int8 per-row needs 1.51 candidates on average on the verify rows a greedy verifier needs (p99 7). There are 0 envelope violations and 0 missed winners. Under the R-stock gap rule, the stock kernel is needed for 4.04% (conservative) / 2.84% (Hopper model) of verify rows.Checks run:
checksreports 0 violations and 0 missing winners for both sets;