Skip to content

Add MultiChallenge and share judge orchestration with HLE - #475

Merged
gregorybchris merged 3 commits into
mainfrom
chrisg/multichallenge
Oct 16, 2026
Merged

gregorybchris merged 3 commits into
mainfrom
chrisg/multichallenge

Conversation

@gregorybchris

@gregorybchris gregorybchris commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Adds MultiChallenge as multichallenge. It also moves the judge orchestration that HLE carried into a shared JudgedTask base, which both tasks now use.

MultiChallenge

Reference: the paper and the official repository at 5ccefcc (judge prompt, judge model, and per-axis macro average).

Each item is a multi-turn conversation that ends in a user turn. The model writes the next assistant turn. A model judge then answers a YES/NO rubric question written for that conversation, and the response passes when the answer matches the item's expected verdict. Items cover four axes: inference memory, instruction retention, self-coherence, and reliable version editing.

Setting Value
Data ScaleAI/MultiChallenge, pinned to 670fd81f, 266 conversations
Judge gpt-4o-2024-08-06 (the paper's judge), with the paper's prompt verbatim
Primary metric macro_accuracy: mean of the four per-axis pass rates (the paper's overall score)
Other metrics accuracy (all conversations), accuracy_<axis>, truncation_rate
Generation temperature 0.6, top_p 0.95, up to the context limit

Choices worth reviewing:

  • Dataset version. Scale's official Hub copy is the revised set from their 2026 update: 54 rubrics tightened, 7 ambiguous items removed. Scores are not comparable with the paper's 273-item set.
  • Judge. Scale's leaderboard now judges with Gemini 2.5 Pro. The repo's judge client is OpenAI-only, so the default stays with the paper's dated GPT-4o snapshot. -o judge_model=... and OLMO_EVAL_JUDGE override it as for HLE. The judge settings are part of the task hash.
  • Verdict parsing. Upstream asks for structured JSON output. Here the verdict is read from plain text, so any chat model can judge. A Verdict: YES/NO label counts only at the start of a line. Without one, the last uppercase YES or NO is taken. Prose such as "I cannot give a verdict; no information." does not parse and is retried.
  • Unfinished responses. As in HLE, an unclosed <think> block or a response cut off at the token limit fails without calling the judge. Judge API failures and unparseable replies are recorded as incomplete scores and left out of the metrics. Upstream counts a judge error as a fail.
  • Temperature. Generation samples at 0.6, as this repo's other post-training tasks do. The upstream example generates at temperature 0.
  • Multiple samples. Each conversation scores the mean over its samples. The paper's --attempts instead passes a conversation if any attempt passes; -o output_score_aggregation=max reproduces that.

Shared judge base

src/olmo_eval/evals/tasks/common/judge.py now holds HLE's judge orchestration as JudgedTask:

  • judge configuration, including the OLMO_EVAL_JUDGE override
  • a run-wide judge limiter on the scoring context
  • retries for API errors and unparseable replies
  • per-output scoring-error handling

The same module has the metrics that skip unjudged instances: JudgedScoreMetric, JudgedMacroScoreMetric, and TruncationRateMetric. HLE now subclasses JudgedTask.

At review's request, the base also supports judged tasks that come next, such as Arena-Hard and MT-Bench:

  • judge_score_key names the score a task produces, so it doesn't have to be accuracy.
  • The judged metrics take a display of percentage or raw, so a 1–10 rating or a win rate renders in its own units.
  • _judge_output accepts a system_prompt, and a raw_key so that an output judged twice keeps both raw replies.

No task in this PR uses these yet. Tests cover them.

parse_judge_spec now lives in llm_judge.py. build_default_judge_fn, the judged-task base, and FrontierScience share it. FrontierScience keeps its own judge orchestration: its failure semantics differ (unparseable replies score 0.0 and stay in the denominator), so moving it onto the base would change its scores.

Affected results

None. No existing spec measures anything differently.

  • The serialized task configs of hle:text, hle:text:verified, frontierscience_olympiad, frontierscience_olympiad:verified, frontierscience_research, and simpleqa:judge are byte-identical to main, so their task hashes are unchanged. A test pins the serialized form of HLE's metrics.
  • HLE's only visible differences are diagnostic. A parse failure's scoring-error type is now JudgeParseError instead of HLEJudgeParseError, and log lines name the task.
  • No docs/result-compatibility.md entry is needed.

Type of Change

  • Bug fix
  • New task, variant, or suite
  • New feature
  • Breaking change or change to existing results
  • Dependency or image update
  • Documentation update
  • Refactoring (no functional changes)

Validation

Run on the rebased head:

  • uv run ruff check src/ tests/ and uv run ruff format --check src/ tests/: clean
  • uv run ty check src/: one warning, the same one main has (harness/sandbox/executor.py:816)
  • uv run pytest tests/ --ignore=tests/integration -v: 3696 passed, 37 skipped
  • Integration tests: not applicable, since storage, providers, and sandboxes are unchanged
  • New tests: tests/evals/tasks/test_judge.py (24) and tests/evals/tasks/test_multichallenge.py (25). The HLE tests pass with only their patch targets moved to the shared module.

Hash check: get_task(<spec>).config.to_dict() was dumped for the six judged specs above on main and on this branch. The two dumps are identical.

Local pipeline:

uv run olmo-eval task inspect multichallenge --request -n 1
OLMO_EVAL_UPLOAD=0 uv run --extra clients olmo-eval run -m mock -t multichallenge -o limit=5 --output-dir /tmp/mock-mc

The mock run judged all 5 outputs with the real judge: 5 NO verdicts, each parsed, and no scoring errors. The judge needs openai, which comes with the clients extra.

Beaker runs

uv run olmo-eval beaker launch -m allenai/Olmo-3-7B-Instruct -m Qwen/Qwen3-8B -t multichallenge \
    -w ai2/olmo-instruct -c ai2/saturn -p urgent --min-runtime 2h --no-upload -y --no-follow

Both runs used one A100 on ai2/saturn, with the default judge (gpt-4o-2024-08-06) and one sample per conversation at temperature 0.6. They ran from commit d1b42a9. That commit predates the verdict-parser fix, so I re-parsed all 530 saved judge replies with the fixed parser. No verdict changed, so these scores also hold for the current head. The task hash is unchanged too.

Model macro_accuracy accuracy Inference memory Instruction retention Self-coherence Version editing Truncated
Qwen3-8B (thinking) 36.7% 36.1% 36.7% 29.0% 43.8% 37.5% 1/266
OLMo 3 7B Instruct 25.4% 24.8% 25.7% 18.8% 27.1% 30.0% 1/266
  • All 266 conversations were judged in both runs, with no scoring errors. The one truncated output per model was a runaway generation that filled the context (32,768 and 39,224 tokens). It scored as a fail without a judge call.
  • 68–75% of the judge replies used a line-start Verdict: label. The rest ended in a bare YES/NO or in "the verdict is "NO"". I spot-checked the bare ones and all parsed correctly.
  • Each run took about 15 minutes end to end. A runaway generation dominates the time, since generation runs up to the context limit.
  • An earlier attempt used a team OpenAI key that turned out to be dead. Every judge call failed with a 401, and both runs were flagged incomplete with no scores reported. That exercised the judge-failure path end to end.

Remaining work

Judge consolidation is tracked in #486, which covers @mgmorgan23's review comment and the gaps deferred here:

  • OLMO_EVAL_JUDGE changes the judge model of every judged task but keeps each task's judge_max_tokens. A high-effort reasoning judge may spend MultiChallenge's 4096-token budget before giving a verdict.
  • An explicit -o judge_model=<the task default> still loses to OLMO_EVAL_JUDGE, because the override is detected by comparing against the default. This is inherited from HLE.
  • MacroSubsetAccuracyMetric reads the scorer channel and counts unjudged instances as 0, so the judged tasks use their own macro metric. Merging the metrics is part of Merge the two LLM-judge implementations into one judge base #486.
  • A judge API failure is reported as "failed due to sandbox infrastructure". That wording comes from the shared runner, and Mark unavailable sandbox scoring incomplete #469 pins it in tests.

🤖 Generated with Claude Code

@mgmorgan23 mgmorgan23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me!

Non-blocking comment: I think we should look at merging llm_judge.py and judge.py. There's some larger differences in implementation method, but I think we will probably want a strong base judge class-type that can serve all of the purposes the two do. In general, the judge.py scoring storage is neater I think, but the llm_judge.py has more flexible types of judges. Merging would also let us merge some of the metrics (subset accuracy and parsing errors specifically), and set a standard for what llm judge tasks should be required to support.

gregorybchris and others added 3 commits October 16, 2026 12:44
MultiChallenge (arXiv 2501.17399) is a multi-turn conversation benchmark:
the model writes the next assistant turn and a model judge answers a
per-conversation YES/NO rubric question about it. The task loads Scale's
revised 266-conversation set from ScaleAI/MultiChallenge at a pinned
revision, sends the paper's judge prompt verbatim to gpt-4o-2024-08-06 by
default, and reports the paper's overall score (the mean of the four
per-axis pass rates) as the primary metric.

The judge orchestration that HLE carried (judge configuration and the
OLMO_EVAL_JUDGE override, a run-wide judge limiter, retries for API errors
and unparseable replies, and keeping judge failures out of the score) now
lives in evals/tasks/common/judge.py as JudgedTask, with metrics that skip
unjudged instances. HLE and MultiChallenge both build on it. HLE's
serialized task config, and so its task hash, is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Read a MultiChallenge verdict label only at the start of a line, so prose
  such as "merits a YES verdict. No issues remain." is not read as NO, and
  "I cannot give a verdict; no information." fails to parse and is retried.
- Let judged tasks pass a system prompt to the judge, keep each judge call's
  raw reply under its own key, and name their score with judge_score_key
  instead of assuming accuracy.
- Give judged metrics a display format, so non-proportion scores render in
  their own units, and reject a macro metric with no key or groups.
- Share judge spec parsing across llm_judge, the judged-task base and
  FrontierScience.

HLE's and FrontierScience's serialized task configs are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@gregorybchris
gregorybchris merged commit 1ef5963 into main Oct 16, 2026
8 checks passed
@gregorybchris
gregorybchris deleted the chrisg/multichallenge branch October 16, 2026 19:51
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.

2 participants