Skip to content

Suite aggregation: add an instance-weighted (micro) average strategy #384

Closed

Description

@gregorybchris

Problem

AggregationStrategy in src/olmo_eval/evals/suites/registry.py offers NONE, AVERAGE, AVERAGE_OF_AVERAGES, and DISPLAY_ONLY. AVERAGE is an unweighted mean over the suite's leaf tasks. oe-eval's suite configs also support "primary_metric": "micro", an instance-count-weighted mean across tasks, and several benchmarks are reported that way.

MMLU-Pro (#383) is the first port where this matters: its 14 category tasks range from 381 to 1,351 questions, and oe-eval's mmlu_pro:mc::none suite is micro-averaged. On OLMo-2-1124-7B the unweighted suite average is 33.02 while the micro average is 30.77 (model card: 31.0). Per-task scores match oe-eval; only the roll-up differs.

What is needed

  • A new AggregationStrategy value (for example WEIGHTED_AVERAGE) that weights each leaf task by its instance count.
  • Instance counts plumbed to where suite scores are computed. compute_scope_score in src/olmo_eval/analysis/scope_scores.py currently receives only per-task aggregate floats, so the count has to come along from results storage and the viewer, and the CLI suite commands need to display the strategy.
  • Switch mmlu_pro, mmlu_pro:bpb, and mmlu_pro:cot to the weighted strategy once it exists, and audit other ported suites whose oe-eval counterparts are micro-averaged.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions