Skip to content

Appendices A.7 and D: cite tap_check.json (#76), FP8 envelope clause - #83

Merged
SamMausberg merged 5 commits into
mainfrom
paper/appendix-tapcheck
Oct 1, 2026
Merged

SamMausberg merged 5 commits into
mainfrom
paper/appendix-tapcheck

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Two small appendix updates. The main text is unchanged.

Appendix D: the five tap-changed prompts (after #76)

evidence/state_safety/tap_check.json, committed in #76, records the five prompts whose output the diagnostic tap changed: alpaca_eval-0450, alpaca_eval-0500, mt_bench-0053, mt_bench-0056 and mt_bench-0059. The history-dependence paragraph now states:

  • In all five, the first log-probability difference is at output index 2, and two of them keep every token.
  • One of them, mt_bench-0056, is one of the two prompts that reproduce the prefix-cache history dependence without the tap, in the deterministic 12-prompt reproduction.

The framing stays "a likely stock explanation", and the KV-level confirmation stays pending (state-mech). The warm-against-cold continuations are now "token-identical", matching the corrected README. The state-tap register entry lists tap_check.json.

Appendix A.7: the FP8 envelope clause

This clause was in commit f0b3aa3, which was pushed after #82 had already merged at b9c1de6. It adds "as does FP8's count over all verify rows" to the envelope sentence. FP8's 28.9 is the minimum envelope under the conservative model (28.91 in selfevidence_dflash4b.csv). The reviewer suggested it on #82.

Validation

  • latexmk -pdf builds 73 pages with no warnings. The main text ends on page 10. The rebuilt paper.pdf is committed, and I looked at both changed pages.
  • python scripts/check_paper_references.py passes; tap_check.json exists on origin/main.

Carried over from f0b3aa3, which missed #82's merge. FP8's 28.9
candidates over all DFlash-4B verify rows is also the minimum envelope
under the conservative model (28.91 in selfevidence_dflash4b.csv).
The state evidence now records the five prompts the tap changed in
tap_check.json. All five first differ in log-probabilities at output
index 2, and two keep every token. One of them, mt_bench-0056, is one
of the two prompts that reproduce the prefix-cache history dependence
without the tap. The framing stays "likely", with the KV-level link
pending, and the warm/cold continuations are token-identical, as the
corrected README says. state-tap now lists tap_check.json.
@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:51:06.284160Z 45c2a70 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.

Per the state workstream's check of #83:
- Different cached KV is now an inference from the attention signature
  at the same batch shape, with the cache-level check pending.
- Only mt_bench-0056 among the five tap-changed prompts is shown
  changing by the 12-prompt history test (targeted.json lists only the
  non-identical cases); the other four rest on the attention signature
  and the code reading.
- "No case changed more than a near-tie decision" is now "no token
  changed in this test".
- The one-BF16-step warm/cold divergences (2) were both with three
  steps.
@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES

Reviewed head 87dd12b, three commits on main 36db481.

Blocking

B1. The 12-prompt history test served all five tap-changed prompts, and four of them did not change. Appendix D leaves this out.

The run metadata in ~/vp-data/state/targeted/history__plain.json has history_ids = mt_bench-0053, mt_bench-0056, mt_bench-0059, alpaca_eval-0450, alpaca_eval-0500, gsm8k-0002, …. The first five are exactly the prompts in tap_check.json.

Each was served warm, after a predecessor sharing 4–6 prefix tokens, and again cold. Under both plain decoding and MTP-3 with the prefix cache on:

  • mt_bench-0056 changed log-probabilities (from index 2 under plain, from index 5 under MTP-3);
  • mt_bench-0053, mt_bench-0059, alpaca_eval-0450 and alpaca_eval-0500 kept identical log-probabilities.

The paragraph says "only mt_bench-0056 is among those this test shows changing … for the other four the explanation rests on the attention signature and the code reading". Each part is literally true. But a reader will take it to mean the other four were not tested, when the direct test came back negative for them. That is evidence the paragraph needs to weigh before calling the explanation "likely" for all five.

What I'd expect:

  1. State that the test included all five and that four kept identical log-probabilities.
  2. Either narrow "likely" to mt_bench-0056 or say why a null result here does not count against the other four. One possible reason: in the tapped run, their shared prefix was computed by a different earlier request than the test's single predecessor. That is a mechanism argument, so label it as reasoning, not measurement.

B1 needs committed evidence first. The committed targeted.json keeps only non-identical cases and drops the run's history_ids, so the 12 IDs and the four null results exist only in ~/vp-data. The state workstream needs to commit them, for example by having summarize_targeted.py keep every history case or the history IDs, before this paragraph can cite them. evidence/state_safety/README.md (merged in #76) has the same omission ("one of them, mt_bench-0056, reproduces that dependence deterministically without the tap"), and I'm routing that to the state workstream.

Verified

  • The tap facts. All five first differ at output index 2, and two keep every token. This matches tap_check.json, which I reproduced byte-identical when reviewing State safety: call H5 truncation/stop results token-identical; compare logprobs too #76.
  • The history numbers. Plain and MTP-3 with the radix cache on each change log-probabilities for 2 of 12 prompts (mt_bench-0056 and humaneval-0008), with no token changed. The first difference is at index 2, plus index 5 for MTP-3's mt_bench-0056. With the radix cache off, 12 of 12 are identical. All of this is in targeted.json.
  • Warm against cold. 139/160 and 210/240 are token-identical. The ties are 19 and 30, and the 2 one-ulp cases are both in stops__mtp_s3, so "both with three steps" is right.
  • FP8. The fp8_row|min|tensor_core|greedy count is 28.91, equal to block_l2.
  • Register. The state-tap entry now resolves tap_check.json.
  • Build. I rebuilt from source: 73 pages, no warnings, and the text matches the committed PDF. The main text ends on page 10, and the checker passes.
  • Codex. It finished on 95b489c with no findings. It has not run on 87dd12b.
  • Commits. All three are Sam's, with no AI attribution.

Suggestions (not blocking)

  • S1. "…, the only envelope for which the replay records that split, as does FP8's count over all verify rows" can be read as FP8's count recording the split. Possible rewrite: "use the elementwise minimum … under the \modelcons{}, as does FP8's count over all verify rows; it is the only envelope for which the replay records that split".
  • S2. "(the cache-level check is pending)" is plain text. The same item carries \pend{state-mech} at the end of the paragraph and under Open questions. Dropping the parenthetical, or using the marker, would keep one pending marker throughout.

Review B1 on #83. The 12-prompt history test reproduces the effect only
for mt_bench-0056, so Appendix D now gives a stock explanation only for
that prompt. The five tap-changed prompts share a signature, and
whether the same mechanism explains the other four is open. The null
results for those four are not yet in committed evidence; they will be
stated once the state workstream commits the full history IDs.

The review's optional suggestions are also taken: the FP8 clause is
reordered so FP8's count cannot be read as recording the split, and the
paragraph keeps a single pending marker.
@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Re-reviewed head d952608.

B1 is resolved by narrowing the claim.

  • The paragraph now claims a stock explanation only for mt_bench-0056, the one tap-changed prompt that the committed history test shows changing without the tap. For the other four it says "whether the same mechanism explains the other four is open".
  • The Locating paragraph says the five "share the signature" rather than being "consistent with" history dependence.
  • Nothing left in the text claims more than the committed evidence. The four null results in ~/vp-data don't contradict anything the paper now says.

Follow-up, tracked. Two things are still to come:

  • The state workstream commits the full history cases (all 12 IDs, with predecessor, shared-prefix length and flags).
  • Appendix D and the evidence README then state that the other four were served and kept identical log-probabilities.

Until then, the appendix says correctly that the question is open.

The suggestions are taken.

  • S1: the FP8 clause now names the envelope for both counts, and the split remark is its own clause.
  • S2: the plain-text "(the cache-level check is pending)" is gone, and the paragraph keeps its single \pend{state-mech}.

Checks.

  • The rebuild from source gives 73 pages, no warnings, and text identical to the committed PDF. The main text ends on page 10, and the checker passes.
  • All four commits are Sam's, with no AI attribution.
  • Codex finished on 95b489c with no findings and has no inline comments. It has not run on 87dd12b or d952608.

@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

Per the state workstream. Untapped runs record no module outputs, so
the layer-3 attention signature comes from two tapped runs that also
differ, for four of the five prompts (merged state README). Nothing
measured shows that request timing under the overlap scheduler changes
outputs, so that clause is dropped. Only mt_bench-0056 is given the
stock explanation.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: d9526089f6

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

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional until Codex runs on 45c2a70; I'll re-check it before merge)

Re-reviewed the delta from d952608 to 45c2a70: two lines of app_exactness.tex plus the PDF.

The module signature is now attributed to the tapped runs. It reads "comes from two tapped runs, which also differ for four of the five: in each of those, the first differing module is layer 3's attention output while its QKV projection and every earlier module agree".

  • This matches the README on main (36db481, lines 223–226): "two tapped runs of four of them also differed, in MTP too. In each, the first differing module output … is layer 3's attention … while its qkv_proj output and every earlier module output are identical".
  • The source is committed on main.
  • Dropping "at that index" is right. Under MTP the tapped sessions part at a verify step rather than at output index 2, according to State safety: list every history pair, tap-session signature, scope the history claim #86's tap_signature.json, so the sentence no longer pins every case to index 2.

The timing claim is gone. "and under overlap scheduling on timing" is dropped. Nothing measured shows that dependence: the history test fixes the order and has one request in flight.

The Locating paragraph now says the five are "discussed below, with the history dependence through the prefix cache". That is neutral, and consistent with the history paragraph claiming a stock explanation only for mt_bench-0056.

Checks.

  • The rebuild from source gives 73 pages, no warnings, and text identical to the committed PDF. The main text ends on page 10, and the checker passes.
  • The commit is Sam's, with no AI attribution.
  • Codex's manual run on d952608 finished with no inline comments. It has not run on 45c2a70 yet.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 45c2a70642

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

Codex finished on 45c2a70 with no comments, so my provisional approval at 45c2a70 (#83 (comment)) now stands without conditions.

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