Skip to content

Drafting-frontier oracles: P-A, P-B and P-C fail their first decisive test - #151

Merged
SamMausberg merged 5 commits into
mainfrom
frontier/oracles
Oct 1, 2026
Merged

SamMausberg merged 5 commits into
mainfrom
frontier/oracles

Conversation

@SamMausberg

@SamMausberg SamMausberg commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Three external proposals claim a route to 5x over optimized DFlash that avoids near-perfect per-position drafting accuracy, by verifying blocks of 64-256 tokens: innovation-clock drafting (P-A), prefix-isolated sparse planning (P-B) and causal defect drafting (P-C). Each names a first decisive measurement. This PR runs the cheapest version of each. The rules were committed before anything ran (adc4865, experiments/frontier/README.md).

Every result is CPU only and is an oracle upper bound under its stated scope, not a served speedup. Under its pre-registered rule, each proposal is a no-go.

Results (evidence/frontier/README.md)

Proposal Rule Result
P-A A1, the proposal's perfect-event oracle (free controller, free interpreter, measured Triton cycle, widths chosen with hindsight) Rejected for every override budget up to 16 per cycle. Not rejected at 32 (5.75x, 95% CI 5.60-5.90): the controller would have to supply about half the tokens exactly, for free.
P-A A2, controllers whose tokens come from DFlash's top-16 or the interpreter Support 0.924 per position against 0.9892 needed at B = 64 and 0.9925 at B = 256: rejected. No-go.
P-B B1, first-gap bound with DFlash-16's measured survival as the expander proxy Anchor counts 2, 4, 8 and 16 rejected at both widths (E[G*] <= 14.4-37.0 at B = 64 against 44.4; <= 43.4 at B = 256 against 111.6). No-go.
P-C C1, one-sweep bound with point-predictor interpreters at 18,022 post-rejection boundaries At most 1.60 (copy) and 2.00 (mix) accepted drafts per boundary, against 3.56 for fresh DFlash: rejected. No-go.

The common reason is that each proposal still needs a drafter much more accurate per token than DFlash-16:

  • P-A: the event records are a lossless re-encoding of the tokens. The proposal's own example, 97% per 8-token record, is 99.62% per token, above the 99.41% any drafter needs at B = 256. On real continuations, the cheap interpreters are wrong at about half the positions.
  • P-B: with prefix isolation, the anchors cannot help the positions before them.
  • P-C: its sweep starts from target predictions conditioned on the rejected token. Those predictions alone are right for only 0.44 positions after a correction.

The README also records derived checks of the proposals' own numbers:

  • At B = 256 a free drafter needs 114.1 tokens per cycle, not 111.6; the proposals leave out the append phase and the rest of the cycle.
  • P-A's example evaluates to 159.05, not 161.7.
  • P-C's two-pass budget reproduces exactly (-7.08 ms at B = 64; +2.27 ms and 242.9 tokens at B = 256). In steady state, though, the audit of one proposal is the anchor for the next, so a cycle needs one target pass, not two.
  • P-C's convergence theorem gives only the Jacobi bound for a real target.

What is here

  • experiments/frontier/:
    • frame.py re-derives the 5x requirement per verify width from evidence/repair/stage_a_oracle_triton.json. B = 128 has no Triton run and is interpolated and labelled; no rule uses it.
    • interpreters.py holds the two frozen cheap interpreters (copy: longest recurring suffix; mix: copy, else a static 4-gram from disjoint training continuations) and the data preparation.
    • The three oracle scripts.
    • README.md is the pre-registration.
  • tests/test_frontier_interpreters.py: checks the incremental copy index (including the altered histories P-C needs) and the n-gram backoff against naive references.
  • evidence/frontier/: four JSON files, each recording its generator commit and SHA-256s, and the README.
  • Correction after the first run (f4a9665, Codex): proxy() applied an extra decay at slot 15, which the rule's no-further-decay extension excludes, so the bound for gaps longer than 15 was understated (B = 256: 39.7, now 43.4). A test covers m = 15, anchor_bound.json is regenerated (76f786f), and no verdict changes.
  • One change after the first run, reporting only: 61bc9cd adds two fields to anchor_bound.json, the gap acceptance each anchor count would need and an every-gap-like-the-first estimate. They replace a field that was meaningless for long gaps. The rule is unchanged; the README says so.

Scope and limits

  • The data are the drafter workstream's block-16 panel-v1 trace (80 requests) and its per-cycle support table; provenance is in evidence/drafter/README.md. A2 and C1 are measured at the anchors the stock DFlash trajectory visited.
  • B1 rests on a stated assumption: an adapted expander drafts its first anchor-free gap no better than DFlash-16 does from a fresh cycle start. It is a bound, not a theorem about every possible expander. The README gives the per-position acceptance an expander would need to escape it: 0.88-0.99, against DFlash's 0.80-0.91.
  • Not covered:
    • P-A with a controller that is a new, much stronger drafter.
    • P-C with a full-logit interpreter.
    • P-B's planted-anchor smoke test (B2). It cannot change B1, which depends on the first gap only, so it was not run.
  • The Triton verify figures carry the repair README's pending-exactness label.
  • A companion PR adds the proposals' Lean sources under formal/drafting/, fixed and checked. Two of its theorems, teacher-forced = free-running acceptance and clipping, underlie C1 and B1. It is meant to merge after this one.

Validation

  • tests/test_frontier_interpreters.py passes.
  • pre-commit run passes on every changed file (mypy over the whole tree).
  • The rebuilt prompt+output sequences match every trace anchor inside the output, and the support table's truth tokens match the rebuilt sequences at every one of the 21,067 × 15 positions (both scripts raise otherwise).
  • The DFlash top-16 support recomputed here (0.9142 per position) equals the committed evidence/drafter/drafting_requirement.json value.

Three external drafting proposals each name a first decisive measurement.
This adds the CPU-only versions and their rules, written before any ran:
the 5x requirement per verify width from the Triton Stage A evidence
(frame.py), the innovation counts and perfect-event oracle of two frozen
cheap interpreters with a controller-class support bound (P-A), the
first-gap bound on prefix-isolated planning (P-B) and the one-sweep bound
on causal defect drafting with point-predictor interpreters (P-C).
Adds two reporting fields to the P-B first-gap bound, beside the
unchanged rule: the constant per-position acceptance inside the first gap
that would reach the threshold, and the expected commit if every gap
behaved like the first and gaps failed independently. They replace a
field that was meaningless for gaps longer than the threshold.
Results of the rules pre-registered in adc4865, all CPU only:
- P-A: the perfect-event oracle leaves only 32 free overrides per cycle,
  and controllers drawing from DFlash's top-16 or the interpreter reach
  0.924 support per position against 0.9925 needed at B = 256.
- P-B: the first-gap bound rejects 2, 4, 8 and 16 anchors at B = 64 and
  256.
- P-C: its one-sweep bound accepts at most 1.6-2.0 drafts per boundary
  against 3.6 for fresh DFlash.
The README also records the derived checks of the proposals' own
arithmetic and lemmas.
@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-01T19:05:43.785395Z 76f786f 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.

@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f39c877f1f

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

Comment thread experiments/frontier/anchor_bound.py Outdated
elif m == n:
# S_D(16) is not measured: extend the slot-1-conditioned form by DFlash's own
# acceptance at position 15.
out.append(max(s_d[n - 1], s_d[n - 1] / s_d[0] * alphas[n - 1]))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve survival in the no-decay extension

For every B1 case whose first gap reaches beyond the 15 measured slots, this branch applies an additional alphas[n - 1] decay to the conditioned term before holding it constant. Under the documented no-further-decay assumption, the unavailable S_D(16) should equal S_D(15), so this point should retain S_D(15) / S_D(1) (the preceding conditioned survival) rather than multiply it by the slot-15 acceptance again. The current calculation understates the claimed upper bound—for the pooled B=256 rows, about 39.72 instead of 43.40—and makes the committed evidence inconsistent with its stated favorable extension, even though the present rejection threshold is not crossed.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in f4a9665: at m = 15 the no-decay extension now takes S_D(16) = S_D(15), so S'(15) = max(S_D(15), S_D(15)/S_D(1)); the decayed variant uses the mean late acceptance there. tests/test_frontier_interpreters.py::test_anchor_proxy_extension_past_slot_15 covers it. Regenerated anchor_bound.json in 76f786f: B = 256 bound for 2-16 anchors 43.40 (was 39.72), B = 64 with 2 or 4 anchors 14.41 (was 13.67). Every verdict is unchanged; the README records it as a post-run correction.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES (f39c877, 1 blocking: Codex r4159308170; the pre-registration, the thresholds and the other verdicts check out)

Pre-registration

  • adc4865 (18:40:06 UTC) holds the rules and every generator, interpreters.py included.
  • frame.json, innovation_oracle.json and defect_oracle.json record repo_commit adc4865. The raw data (18:49:58-18:50:03) and the run log (window2.log, from 18:49:58) come after it. The only earlier window, window1.log at 18:38, ran pytest and pre-commit, not an oracle.
  • 61bc9cd adds two reporting fields to anchor_bound.py without touching the bound, and the README says so.

Thresholds match evidence/repair/stage_a_oracle_triton.csv.

  • The baseline is fresh_tritonverify_b16: 7,301.8 us, 7.6033 tokens and f = 0.02388, so 5x needs (1 - f)/(0.2 - f) = 5.542x and 173.27 us per token.
  • The cycle, verify, draft, commit and append values at B = 16, 64 and 256 match the force_tritonverify_b* rows.
  • Recomputed: tokens needed are cycle / 173.27, giving 42.14, 61.09, 46.37, 44.43, 132.17, 114.11 and 111.6.

Each verdict follows its declared rule.

  • A1: the upper ends of the r ≤ 16 intervals are all below 5.0 (copy 3.97, mix 4.22 at r = 16), and r = 32 is not rejected, matching A1_rejected_at_cG0.
  • A2: the best class, top-16 + mix, gives alpha_bar 0.924, below both 0.9892 and 0.9925.
  • P-A: the declared conjunction gives no-go.
  • C1: the upper ends of bound - fresh are -1.80 (copy) and -1.41 (mix), both below 0.
  • Every number is labelled an oracle upper bound, with its scope stated: A2 at stock anchors only, C1 without full-logit interpreters, and the Triton exactness pending.

Blocking: Codex r4159308170 is valid. anchor_bound.proxy sets S'(15) = max(S_D(15), S_D(15)/S_D(1) · alpha_15). That applies a further decay step that rule B1 excludes ("no further decay past slot 15 (most favourable)"). With S_D(16) taken as S_D(15), S'(15) = S_D(15)/S_D(1).

  • Every first gap longer than 15 is understated: B = 64 with r = 2 and 4, and every B = 256 row up to r = 16 (Codex finds about 43.4 instead of 39.7 at B = 256).
  • So the committed values are not the declared bound. The decisions do not change, because 43.4 is still far below 111.6, and the B = 64 rows stay below 44.4.
  • Fix proxy, add a test for the m = 15 case, and regenerate anchor_bound.json.
  • In the README, record this as a post-run correction, as you did for 61bc9cd: it raises the bound, makes it the declared one, and leaves every B1 verdict unchanged. Update the table and the "39.7" in the verdicts table.

Host identity: 0 hits. Attribution: clean. Pre-commit and tests/test_frontier_interpreters.py run in the CPU window on the fix head. Before submitting, note that the 18:38 window's mypy found 6 errors in anchor_bound.py, innovation_oracle.py and defect_oracle.py. Make sure the fix head passes.

Codex on #151: at m = 15 proxy() multiplied the slot-1-conditioned survival
by DFlash's acceptance at position 15 again, an extra decay that rule B1's
no-further-decay extension excludes, so the bound for gaps longer than 15
was understated (B = 256: 39.7 instead of 43.4). The decayed variant now
uses the mean late acceptance there, as it does past slot 15. A test
covers m = 15. No verdict changes.
B = 256 bound for 2-16 anchors 43.4 (was 39.7); B = 64 with 2 or 4
anchors 14.4 (was 13.7). Every verdict is unchanged.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional, on 76f786f: Codex is still running on this head, and pre-commit plus tests/test_frontier_interpreters.py are queued in the CPU window. I will confirm or withdraw once both finish.)

f4a9665 and 76f786f resolve Codex r4159308170.

  • proxy() now takes S_D(16) = S_D(15) at m = 15 in the no-decay extension, and S_D(15) times the mean late acceptance in the decayed variant. The new test covers m = 15.
  • The regenerated anchor_bound.json (repo_commit f4a9665) raises exactly the rows whose first gap passes slot 15: B = 64 with r = 2 and 4 goes from 13.67 to 14.41, and B = 256 with r = 2 to 16 from 39.72 to 43.40, with the code domain at 75.26. Every other row is unchanged.
  • Every verdict is unchanged: all of r = 2, 4, 8 and 16 stay below 44.43 and 111.55, and r = 32 at B = 64 and r = 64 at B = 256 are still the only rows not rejected.
  • The README tables, the verdict row and the Commands note (a post-run correction next to 61bc9cd) match.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 76f786fef4

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

Verdict: APPROVE (confirmed on 76f786f)

This confirms my provisional approval. Codex found no issues on this head (19:05 UTC), pre-commit from main to 76f786f is clean, and tests/test_frontier_interpreters.py passes (3 tests). #152 can merge once this one is in.

@SamMausberg
SamMausberg merged commit d492760 into main Oct 1, 2026
@SamMausberg
SamMausberg deleted the frontier/oracles branch October 1, 2026 19:25
SamMausberg added a commit that referenced this pull request Oct 1, 2026
…ommitted rules (#151, #152)

From evidence/frontier (#151), each an oracle upper bound on the block-16
DFlash trace with the Triton verify cycle (exactness pending), under rules
committed before the oracles ran:
- P-A innovation-clock: interpreter wrong at 0.47-0.54 of positions; the
  perfect-event oracle is rejected up to 16 free overrides per cycle and
  passes only at 32; candidate-based controllers cover 0.924 against
  0.9892 (B = 64) and 0.9925 (B = 256) needed.
- P-B prefix-isolated planning: first-gap bound at most 14.4-37.0 at
  B = 64 (44.4 needed) and 43.4 at B = 256 (111.6) for 2-16 anchors;
  43.4 after a post-run correction from 39.7, no verdict changed.
- P-C causal defect: at most 1.60-2.00 accepted drafts per boundary
  against 3.56 for fresh DFlash.
One sentence on formal/drafting (#152): the Lean statements elaborate with
no sorry and establish the encodings, clipping and audit soundness, not
the speed-ups; the convergence bound needs exact locality and gives one
sweep per position for a real target. New subsection app:external-drafting,
register entry drafting-oracles, three status rows; the lean entry and
A.8's machine-checked paragraph now cover the three drafting files.
SamMausberg added a commit that referenced this pull request Oct 1, 2026
Appendix F: three external drafting proposals are no-go under their committed rules (#151, #152)
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