Skip to content

research: verifier head-to-head v2 — cross-model (Qwen + Llama), Wilson CIs - #110

Merged
matteso1 merged 1 commit into
mainfrom
research/verifier-headtohead-v2
Jun 25, 2026
Merged

research: verifier head-to-head v2 — cross-model (Qwen + Llama), Wilson CIs#110
matteso1 merged 1 commit into
mainfrom
research/verifier-headtohead-v2

Conversation

@matteso1

Copy link
Copy Markdown
Member

Paper-grade upgrade of the inference-receipt evidence: two model families, 150 gsm8k prompts (~27k tokens each), greedy decode, a real argmax-verifier protocol measuring both error directions, and Wilson 95% CIs on every low-margin rate — directly killing the small-N and one-model caveats from the first run. 1× H100, vLLM 0.23.0. true_kv verifier is 0 in every cell by construction.

metric (low-margin) Qwen2.5-7B Llama-3.1-8B true-KV
gap masking (swap hides in re-feed noise) 27.6% (24.5–30.9) 22.8% (20.6–25.3) 0
forgery-accept (re-feed argmax = runner-up) 4.6% (3.3–6.4) 3.3% (2.5–4.5) 0
argmax false-reject 4.6% 3.5% 0
logit false-reject @ τ=0.01 8.6% 11.5% 0

~1 in 4 decision tokens have re-feed drift exceeding the gap that distinguishes the real token from the runner-up — cross-family, tight CIs. So re-feed verification pays a false-reject cost on genuine output and has a forgery-acceptance hole at the tokens that matter; thaw's true-KV inference receipt removes both.

benchmarks/verifier_headtohead.py (v2, multi-model + CIs) + site/receipts/2026-06-25_h100_verifier_headtohead_v2.json. Honest scope: a deployed-verifier (DiFR/TOPLOC codebase) head-to-head is the remaining step toward a full paper.

…on CIs

Upgrades the inference-receipt evidence to paper grade: two model families,
150 gsm8k prompts (~27k tokens each), greedy decode, a real argmax-verifier
protocol measuring BOTH error directions, and Wilson 95% CIs on every
low-margin rate (kills the small-N + one-model caveats from the first run).

1x H100, vLLM 0.23.0. Low-margin = top1-top2 gap < 0.3 nats. true-KV verifier
is 0 in every cell by construction.

- gap masking (re-feed drift >= the top1-top2 gap, i.e. a swap hides in the
  verifier's own noise): Qwen 27.6% (CI 24.5-30.9), Llama 22.8% (CI 20.6-25.3)
  — ~1 in 4 decision tokens, both families, tight intervals.
- argmax forgery-accept (re-feed argmax == decode runner-up): Qwen 4.6%
  (CI 3.3-6.4), Llama 3.3% (CI 2.5-4.5). argmax false-reject ~3.5-4.6%.
- logit false-reject at tau=0.01: Qwen 8.6%, Llama 11.5%.

So replay-from-re-feed verification pays a false-reject cost on genuine output
AND has a forgery-acceptance hole at the tokens that matter, cross-family with
tight CIs; thaw's true-KV inference receipt removes both. Honest scope: a
deployed-verifier (DiFR/TOPLOC) head-to-head is the remaining step.
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
site Ready Ready Preview, Comment Jun 25, 2026 3:52am

Request Review

@matteso1
matteso1 merged commit c830cdc into main Jun 25, 2026
8 checks passed
@matteso1
matteso1 deleted the research/verifier-headtohead-v2 branch June 25, 2026 03:53
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