Skip to content

Paper: the confirmed serving frontier in the main text; terminology moves to Appendix H - #143

Merged
SamMausberg merged 3 commits into
mainfrom
paper/frontier
Oct 1, 2026
Merged

SamMausberg merged 3 commits into
mainfrom
paper/frontier

Conversation

@SamMausberg

@SamMausberg SamMausberg commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

This PR puts the confirmed serving frontier (#131) in the main text with its headline. The main text stays within ten pages: References start at the top of page 11.

Figure 5: the confirmed serving frontier (paper/figures/frontier.tex)

  • Data. It reads the committed evidence/bench/confirm/frontier.csv. The y axis is output throughput and the x axis the per-request rate, both means over sessions, on log axes.
  • Arms. Four of the nine tuned arms: plain, MTP with three steps, DFlash with blocks of 8 and 16. Each runs from client concurrency 1 (lower right) to 128 (upper left); DFlash block 16 stops at 64.
  • Session counts. Each point is the mean over its valid sessions (three, or four for plain decoding at six concurrencies); points with one session are hollow (MTP at c ≤ 16). The grey band is envelope-all.dat, the envelope over all nine arms' points with at least three sessions. The one-session buffered-plain point at c = 128 would sit on the envelope but is excluded, as in the README.
  • Styling. Drafter colours follow Figure 4 (DFlash ink, MTP purple), plain decoding is the grey baseline, and the curves carry direct labels. I checked it at 220 dpi: no label touches a curve.

Headline (§7, "Where speculation pays")

All numbers are from the merged evidence/bench/README.md (\ev{bench-frontier}, the entry #141 added):

  • Speculation leads plain decoding through c = 32 and trails it from c = 48, in every drafter family.
  • At c = 1, DFlash with 16-token blocks gives 3.06× the throughput and 3.45× the per-request rate of its matched plain baseline, both with Triton attention (pairs.csv).
  • The best speculative arm, MTP, gives 0.98× plain at c = 48 and 0.86× at c = 128 (0.976 and 0.863 in pairs.csv).
  • Over the 52 points with three or four sessions, the coefficient of variation of throughput has a median of 0.35% and a maximum of 1.9% (sample standard deviation, frontier.csv).

I recomputed every figure from the committed CSVs, not from the README.

The paragraph ends by saying that these runs fix the baseline a certified verifier must improve (\pend{bench-cert}), and the caption says no arm uses the certified head. §3's "No served throughput or latency is reported" is removed.

Cuts (about 28 lines)

  • Terminology table. It moves from §2 into Appendix H, agreed with the appendix editor and following its three details:
    • The glossary prints the main-text terms in a headed group ("Terms of the main text") before the appendix-only terms.
    • §2 now says "Appendix H defines the terms used below", and the tab:terms label is gone.
    • The header comments in app_glossary.tex, terminology.tex and macros.tex now say this; terminology.tex stays the single source.
  • Drift-scaling paragraph (§5.3). Now one sentence: greedy transport would skip 49% (DFlash-4B) and 80% (MTP-4B) at a tenth of the measured drift, pointing to Appendix C.9, which holds the extrapolation.
  • Figure 5. Plot height (4.25 cm) and caption tightened.

Not duplicated

#141 already added the bench-frontier register entry and converted its two App E markers, so this PR does not touch app_register.tex or app_stack.tex.

Checks

  • Local build of the head, run under the priority shared lock at 18:40 UTC: latexmk -pdf builds 81 pages with 0 warnings; the main text ends on page 10 with the conclusion; References start at the top of page 11.
  • scripts/check_paper_references.py passes, including register paths at origin/main.
  • codespell is clean on the changed files, and the host-identity hook passed.
  • I looked at pages 2, 3, 9, 10 and the glossary page after the change.

Review round 1 (reviewer at 3e98ac4; change at 3e630a3)

  • Caption, both blocking items. Figure 5 draws four of the nine arms, DFlash block 16 stops at 64, and plain decoding has four sessions at six concurrencies. The caption now reads: "The confirmed serving frontier for four of the nine tuned arms, from client concurrency 1 (lower right) to 128, or 64 for block 16 (upper left); each point averages its valid sessions (three or four; hollow: one). Grey: the envelope over all nine arms' points with at least three sessions."
  • Overclaim, found in self-review. The paragraph opened by saying a certified head "is worth having only where speculation pays". That is wrong, because the certified head applies to plain decoding too, so the sentence is removed. The numbers are now scoped as listed under Headline.
  • Paper PDF. Under the new rule the branch no longer changes paper/paper.pdf; it is restored to main's copy.

Figure 5 plots #131's confirmed frontier from evidence/bench/confirm/frontier.csv: one curve
per tuned arm (plain, MTP with three steps, DFlash blocks 8 and 16) from client concurrency
1 to 128, points with fewer than three sessions hollow. The grey band is envelope-all.dat,
the envelope over the three-session points. Drafter colours follow Figure 4.

A new discussion paragraph, "Where speculation pays", gives the headline with the merged
README's numbers only. Speculation leads plain decoding through concurrency 32 and trails it
from 48 in every family. At concurrency 1, DFlash block 16 reaches 3.06x the throughput and
3.45x the per-request rate of its matched plain baseline. The best speculative arm is 0.98x
plain at 48 and 0.86x at 128. The session coefficient of variation has a median of 0.35% and
a maximum of 1.9%. Section 3's "No served throughput or latency is reported" goes.
The bench-frontier register entry and its App E markers came with #141.

Cuts to keep References on page 11:
- The terminology table moves from Section 2 into Appendix H, which now prints the main
  text's terms in a headed group before the appendix-only terms (agreed with the appendix
  editor; terminology.tex stays the single source, and the comments in macros.tex,
  terminology.tex and app_glossary.tex now say so).
- The drift-scaling paragraph in Section 5.3 shrinks to one sentence; Appendix C.9 holds the
  extrapolation.
@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES (3e98ac4, 2 blocking, both in Figure 5's caption; the rebuild check is still to come)

Numbers: all correct.

  • Every number in "Where speculation pays" is in the merged evidence/bench/README.md: lines 104, 114 and 123-127. All but the leads-and-trails claim also recompute from frontier.csv:
    • 874.4/285.6 = 3.06 (y) and 986.9/285.9 = 3.45 (x) for DFlash b16 against Triton plain at c = 1;
    • MTP over plain is 8,091/8,286 = 0.98 at c = 48 and 12,003/13,898 = 0.86 at c = 128;
    • the coefficient of variation of y over the 52 multi-session points has a median of 0.35% and a maximum of 1.90%.
  • "Leads through 32, trails from 48, in every drafter family" is the README's own family-level statement. Note that DFlash block 16 alone already trails at c = 32 (0.81); the best DFlash arm, block 8, leads there.
  • The app:transport-scaling subsection holds the cut sampled-acceptance numbers (Table tab:transport-scaling). The glossary change and the removed tab:terms reference read correctly.

Blocking: Figure 5's caption.

  1. "each point is the mean of three server sessions ... (hollow: one)" is not true of plain decoding. plain-tuned has n = 4 at c = 1, 4, 48, 64, 96 and 128. Say "the mean of its valid sessions (three or four; hollow: one)". The hollow MTP points (c ≤ 16) do have n = 1.
  2. "one curve per tuned arm from client concurrency 1 ... to 128" is not true of DFlash block 16, which stops at c = 64, its capacity. The figure also plots four of the nine confirmed arms, so "one curve per tuned arm" overstates. Something like "four of the confirmed arms, each from c = 1 (lower right) to 128 (block 16: 64)" fixes both.

Suggestion (not blocking). The grey band, envelope-all.dat, is the envelope over all nine arms' three-session points, including arms not drawn (for example DFlash block 4 at high concurrency). "of all confirmed arms" in the caption would prevent a reader from expecting the band to hug the drawn curves.

Still to do on my side: the latexmk -g rebuild and its comparison with the committed PDF, the page-10 and References check, and check_paper_references.py. They are deferred because an exclusive timed hold is running, and I will run them on the fix head in the next quiet window. Codex has not reviewed this head yet.

Review of #143 at 3e98ac4: plain decoding has four sessions at six concurrencies, DFlash
block 16 stops at concurrency 64, and the figure draws four of the nine arms; the caption
now says so, and that the grey band is the envelope over all nine arms' points with at
least three sessions.

The paragraph's opening sentence said a certified head is worth having only where
speculation pays, which is wrong: it applies to plain decoding too. It is removed. The
numbers are recomputed from the committed files and scoped: the 3.06x and 3.45x are paired
against plain decoding with the same Triton attention (pairs.csv), the best speculative arm
at concurrency 48 and 128 is MTP (0.976 and 0.863), and the 0.35% median and 1.9% maximum
coefficient of variation are over the 52 points with three or four sessions (sample
standard deviation, frontier.csv).

Under the new paper-PDF rule this PR no longer changes paper/paper.pdf.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@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-01T18:54:31.736361Z 34f38f9 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.

@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: 3e630a3e74

ℹ️ 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 paper/figures/frontier.tex Outdated
\addplot[only marks,vppurple,mark=triangle*,discard if not={label}{mtp-tuned},only if n at least=3] table[x=x_e2e_mean,y=y_mean,col sep=comma]{../evidence/bench/confirm/frontier.csv};
\addplot[only marks,vppurple,mark=triangle,forget plot,discard if not={label}{mtp-tuned}] table[x=x_e2e_mean,y=y_mean,col sep=comma]{../evidence/bench/confirm/frontier.csv};
\addplot[thick,ink,mark=diamond*,discard if not={label}{dflash-tuned}] table[x=x_e2e_mean,y=y_mean,col sep=comma]{../evidence/bench/confirm/frontier.csv};
\addplot[thick,ink,dashed,mark=square,mark options={solid},discard if not={label}{dflash-tuned-b16}] table[x=x_e2e_mean,y=y_mean,col sep=comma]{../evidence/bench/confirm/frontier.csv};

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 Fill the three-session block-16 markers

Every dflash-tuned-b16 point has three valid sessions, but mark=square renders all of them hollow. Because the caption explicitly defines hollow points as one-session measurements, readers will incorrectly interpret the entire block-16 curve as under-replicated; use a filled square marker while retaining the dashed line to distinguish this arm.

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 34f38f9: the block-16 markers are filled squares (mark=square*) on the dashed line. The hollow MTP triangles are now filtered to n < 3, so filled versus hollow follows each point's session count in frontier.csv: plain (3-4 sessions), DFlash blocks 8 and 16 (3) and MTP at c >= 32 (3) are filled, and only MTP at c <= 16 (1 session) is hollow. Checked in a 260 dpi render of the rebuilt page.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES (3e630a3, 1 blocking: Codex r4159146039; the caption and numbers are right)

Resolved. My two caption items are fixed:

  • "four of the nine tuned arms ... to 128, or 64 for block 16";
  • "each point averages its valid sessions (three or four; hollow: one)";
  • "the envelope over all nine arms' points with at least three sessions".

The paragraph's numbers match the evidence.

  • 3.06 and 3.45 are pairs.csv's dflash-tuned-b16 against plain-tuned-triton at c = 1 (3.0611 and 3.4515), now scoped to Triton attention on both sides.
  • MTP at 48 and 128 gives 0.98 and 0.86.
  • The coefficient of variation over the 52 points with three or four sessions has a median of 0.35% and a maximum of 1.9%.
  • Dropping "worth having only where speculation pays" is right.

Blocking: Codex r4159146039 is valid. frontier.tex draws dflash-tuned-b16 with mark=square, which is hollow. Every b16 point has three sessions, and the caption now defines hollow as one session, so the whole block-16 curve reads as single-session. Use mark=square* and keep the dashed line to distinguish the arm. Then check that only MTP at c ≤ 16 is hollow anywhere in the figure.

My build check of this head (warnings, page budget, References on page 11, the reference checker) is queued in the CPU window, and I will rerun it on the fix head.

…ssion points

Codex on #143 at 3e630a3: every dflash-tuned-b16 point has three sessions, but mark=square
drew them hollow, which the caption defines as one session. They are now filled squares on
the dashed line. The hollow MTP triangles are also filtered to n < 3 explicitly instead of
being drawn under the filled ones, so each series' fill now follows its session count:
plain (3-4), DFlash blocks 8 and 16 (3) and MTP at c >= 32 (3) filled, MTP at c <= 16 (1)
hollow.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 34f38f9ef7

ℹ️ 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 (34f38f9)

34f38f9 fixes Codex r4159146039.

  • Markers. Block 16 now uses filled squares (all 8 of its points have three sessions). The hollow MTP triangles are drawn only for points with fewer than three sessions; before, they were also drawn over every filled triangle. In frontier.csv, every point drawn has one, three or four sessions, never two, so "hollow: one" in the caption is exact.
  • Build of this head. latexmk -g: 0 LaTeX warnings, 0 overfull boxes. References start on page 11, so the main text is 10 pages, and Figure 5 is on page 10. check_paper_references.py reports no differences.
  • Checks. Codex found no issues on this head (18:54 UTC), and pre-commit from main is clean.

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