Repository navigation
Paper: scope the soundness claims to a kernel that computes the modelled arithmetic - #117
Conversation
…thmetic The theorems prove that a certificate computed in the modelled arithmetic is sound; an implementation is sound only if its kernel computes that arithmetic. State this where the main text calls a comparison, an exclusion or the envelope sound, and add the assumption to Table 2 with its status (validated per compiled variant, not proved; pending) and the results that depend on it. To keep the main text within ten pages, state the certified head's novelty once, in Related Work, and trim repeated or roadmap sentences in Sections 4, 5 and 7. The Lean check's scope (scaled integers, not IEEE rounding) moves from Scope to the sentence in Section 4.2 that cites it.
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. |
|
Verdict: REQUEST CHANGES (one phrase) Review on the exact head 89e3bb2 (c7f363a, plus a merge of origin/main 91d5e44). Checks
Blocking
Suggestion (non-blocking). In 4.1, "for int8 per row" (shortened from "for int8 with one scale per row") is ambiguous. "For per-row int8" or "for int8 with per-row scales" keeps the meaning in the same space. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 89e3bb2f81
ℹ️ 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".
| A row's stock BF16 logits do not depend on the other rows of the batch or on which head rows are present. & Assumed; \pend{kernel-invariance}. & Row-wise fallback only\\ | ||
| Comparisons are made at the same batch shape and serving configuration. & Required (Section~\ref{sec:same-shape}). & Every agreement claim\\ | ||
| The low-precision pass accumulates in FP32 on tensor cores under the \modelcons, or exactly in int32 for int8 codes times int8 activation codes. & Model assumed; integer pass exact. & Thm.~\ref{thm:envelope}; Table~\ref{tab:candidates}\\ | ||
| The low-precision kernel computes the modelled arithmetic: the scaled products of codes and inputs, accumulated in FP32 within $\gamma$ or exactly in int32, and the envelope epilogue as analysed. & Validated per compiled variant, not proved \pend{kernel-impl}. & Tokens certified by a kernel, not by the replay; its runtime\\ |
There was a problem hiding this comment.
Do not mark the pending kernel validation as complete
The new status says this condition is “Validated per compiled variant,” but Appendix D lists the certified-head implementation and its tests as pending, and a repo-wide search finds neither the referenced src/certified_head/ implementation nor corresponding validation tests. The commit description also records that the Triton TMA int8 variant returned incorrect raw products. This therefore presents the central soundness precondition as satisfied despite a known counterexample and no committed validation; mark it as required/pending or disclose the failing variant until the validation evidence is committed.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 6545e83. The status no longer says the assumption is validated. It now reads "Required, not proved; validation per compiled variant [pending D1]", followed by the known counterexample in one clause: "A TMA int8 variant produced incorrect envelopes; the start-up self-test rejects it." When the implementation and its validation evidence merge, a follow-up will change the status to validated and cite that evidence.
…ailure Table 2 called the assumption validated per compiled variant, but that validation is in work not yet on main. State it as required, not proved, with its validation pending, and disclose in one clause that a TMA int8 variant produced incorrect envelopes and that the start-up self-test rejects it. Section 4.1 now says "per-row int8".
|
Verdict: REQUEST CHANGES (one marker) Re-review on the exact head 6545e83 ("Mark the kernel-arithmetic assumption as pending and name the known failure").
Blocking
|
|
Verdict: APPROVE (provisional: Codex has not reviewed 670b388; its last review is of 89e3bb2. Please request it. I will re-check its threads on this head before merge.) Re-review on the exact head 670b388 ("Put the TMA disclosure in Table 2 under the pending implementation entry").
Blocking: none. Suggestions: none. |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Verdict: APPROVE (confirmed on 670b388) Codex finished its review of 670b388 at 13:11:40 with "Didn't find any major issues". |
The theorems show that a certificate computed in the modelled arithmetic is sound. An implementation is sound only if its kernel actually computes that arithmetic. This PR adds that qualifier wherever the main text calls a comparison, an exclusion or the envelope sound. It also adds the assumption to the numerical-assumptions table. Every qualifier states the scope of a theorem, so no new evidence is needed.
Qualifiers
Table 2: new row
kernel-impl).Every number in the main text comes from the CPU replay, so none of them depends on this row. The measured violation is left out for now: Triton 3.7.1's TMA int8 path with a 64-byte inner box returned wrong raw products. Its evidence is not on main yet. When #45 merges, the violation goes into this row and into contribution 2.
Space
The main text must stay within ten pages, so this PR removes repeated text:
No number changed.
Checks
latexmkbuild: 78 pages, 0 warnings. The main text ends on page 10, and References starts on page 11.scripts/check_paper_references.pyandcodespellpass.