Repository navigation
Add GPQA 0-shot CoT tasks (post-training regime) - #309
Conversation
Verification (complete)Consolidates the three comments previously posted here. One of them advanced a claim that a later comment retracted; the retracted claim is simply gone rather than restated and corrected. Prompt/gold parity against oe-eval, real dataPrompts and gold letters are byte-identical to oe-eval's Note the shuffle here deliberately differs from base Production runsOLMoE3-KDA MoE via the #312 path, run
Both clean end-to-end. Cross-harness score cells for What the CoT regime actually buysPaired McNemar comparison against the non-CoT MCQ variant over identical items, six model×subset pairs: no model shows a significant CoT uplift on either subset (closest is dense diamond, χ²=3.52 < 3.84). CoT does not score higher in aggregate. What it does do is reshuffle which items are correct without changing how many. Dense on Scope caveat for the parity work generallyAggregate equality can hide large per-item disagreement — observed elsewhere in this effort: two models tying at 59/198 while agreeing on only 16 of the 59. The cross-harness parity claimed on #307/#308/#309 is score parity, which is what these merge gates assert. Item-level agreement of generations across harnesses is untested and not expected at T=0.6. (For #307's and #308's scorers, the paired offline checks on those PRs do establish per-instance agreement — a different and stronger claim about the scorer alone.) |
|
GPU parity — the gap this PR was missing is now closed. Olmo-3-7B-Instruct, gpqa_main, n=448 both sides:
diff 0.009, z ≈ 0.27 → agree. (Beaker: olmo-eval Paired scorer check on the same 448 generations — oe-eval's stored output scored by this PR's That's the strong form: n=448 at T=0.6 gives SE_diff ≈ 0.033, so the aggregate cell alone only bounds gross error, while the paired check shows the two extractors never disagree on a single real generation. Note Qwen3-8B pair is still running; will add if it changes anything. 🤖 Generated with Claude Code |
|
Second model cell — Qwen/Qwen3-8B, gpqa_main, n=448 (Beaker: olmo-eval
diff 0.0156, z ≈ 0.47 → agree. Paired scorer check on oe-eval's 448 stored generations: 448/448 agreement, aggregates equal to five decimals. Same run also produced Cumulative for this PR: 2 models × aggregate agreement (z = 0.27, 0.47), 896/896 paired scorer agreement, prompts byte-identical on all 646 real docs. Evidence complete. 🤖 Generated with Claude Code |
50ae68d to
e105bb9
Compare
Registers gpqa_{diamond,main,extended}:cot with inline answer choices,
the boxed-letter instruction, and temp 0.6 / top-p 0.95 / 131k tokens,
matching oe-eval's gpqa:0shot_cot::qwen3-instruct (the OLMO_3 suite
entry). Choice shuffling uses that regime's seed (111 + index) with its
list order, which differs from the base gpqa tasks' shuffle, so a
separate task class carries its own doc processing. Answers are
extracted via the shared regex cascade with the OLMO 3 answer-regex
templates (added to common/answer_extraction.py).
Prompts and scorer verdicts verified identical to oe-eval's own code on
synthetic docs (the dataset gate on Idavidrein/gpqa blocks real-data
checks from this account; re-verify after accepting it).
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B9VUctQuzfAtrdpk4wDjEx
footgun on models with <131k context Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B9VUctQuzfAtrdpk4wDjEx
Entries 10 and 11 are identical. That repetition comes from the reference implementation's list, which this mirrors so extraction stays in step with it; without a note, the duplicate reads as an oversight to remove. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LMFjgUqHjQA3aCeB4QmEHZ
Follows the answer-extraction module's move to evals/extract in the base branch; the templates constant is now exported from the package. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LMFjgUqHjQA3aCeB4QmEHZ
e105bb9 to
4156b43
Compare
| answer_format_regex=_COT_ANSWER_FORMAT_REGEX, | ||
| answer_regexes=_COT_ANSWER_REGEXES, | ||
| answer_regexes_templates=OLMO_3_ANSWER_REGEX_TEMPLATES, | ||
| ).answer |
There was a problem hiding this comment.
Could we preserve format_correct from extract_answer_with_format() instead of discarding it here? The reference GPQA evaluation reports answer-format correctness, and the parity results suggest it is a useful diagnostic—roughly half the responses relied on fallback extraction. At minimum, it would be helpful to store this value in the output metadata, consistent with the OMEGA-500 scorer.
There was a problem hiding this comment.
Done — the scorer now records answer_format_correct in output metadata, same as the omega_500 scorer. Scores are unchanged (the extractor already computed the value; it was just being dropped). Test added covering both the requested-format and fallback-extraction cases.
| register_variant(_subset, "mc", formatter=MultipleChoiceFormatter(), metrics=_DEFAULT_METRICS) | ||
| register_variant(_subset, "bpb", formatter=PPLFormatter(), metrics=(BPBMetricInstanceAvg(),)) | ||
|
|
||
| # 0-shot CoT (post-training regime): needs its own doc processing, so it is |
There was a problem hiding this comment.
Small documentation thought: since the task count and supported variants are already changing, should we avoid hard-coding an exact count in the module docstring? Describing the naming scheme and available variants without a total might keep it from becoming stale as more GPQA configurations are added.
There was a problem hiding this comment.
Done — the count is gone; the docstring now describes the naming scheme (gpqa_{subset}, gpqa_{subset}_{subject}) and lists the :mc / :bpb / :cot variants without a total.
|
Didn't spat anything that Tyler didn't – looks pretty good to me. |
Review follow-ups from #309 (undfined): - The CoT scorer discarded the format score returned by the extractor. Roughly half of responses rely on fallback extraction, so the value distinguishes a wrong answer from one stated outside the requested format. Now recorded in output metadata, matching the omega_500 scorer. - Drop the hard-coded task count from the module docstring and describe the naming scheme and variants instead, so it does not go stale as more GPQA configurations are added. Scores are unchanged; the extractor already computed this value. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LMFjgUqHjQA3aCeB4QmEHZ
Stacked on #308 (uses the shared answer-extraction cascade; will retarget to main once #308 merges).
Registers
gpqa_{diamond,main,extended}:cotmatching oe-eval'sgpqa:0shot_cot::qwen3-instruct(the OLMO_3 suite entry): inline choices, boxed-letter instruction, temp 0.6 / top-p 0.95 / 131k tokens, OLMO_3 answer-regex templates. The regime's choice shuffle (seed 111 + index, oe-eval's list order) differs from the base gpqa tasks' shuffle, so this is a separate task class with its own doc processing — basegpqa_*numbers are unaffected.Verification (CPU, against oe-eval's own code):
Before undraft: accept the
Idavidrein/gpqaHF gate on the eval account, re-run parity on real docs, then GPU parity run.🤖 Generated with Claude Code
https://claude.ai/code/session_01B9VUctQuzfAtrdpk4wDjEx