Same pairs, different objectives
A candidate can score a 2× geometric mean and still take longer to finish the workload you care about. Here is a two-task synthetic example with both pairs left visible.[4]
Task A takes 1000 milliseconds in the reference and 2000 in the candidate. Task B takes 1 millisecond in the reference and 0.125 in the candidate. The reference-over-candidate ratios are 0.5× and 8×. Their geometric mean is the square root of 0.5 × 8: exactly 2×.[3]
Synthetic paired durations in milliseconds. The declared sequential workload runs each task once.
| Task | Invented shape | Reference (ms) | Candidate (ms) | Reference / candidate | Count |
|---|---|---|---|---|---|
| A | 1024 × 1024 | 1000 | 2000 | 0.5× | 1 |
| B | 32 × 32 | 1 | 0.125 | 8× | 1 |
- Shapes are identifiers, not executed kernels or evidence explaining the fictional timing values.
- All pairs are declared correct and complete; correctness is not measured.
- Equal-task geometric mean: 2×. One-each totals: 1001 ms versus 2000.125 ms, approximately 0.50047× reference/candidate.
Name the objective
Now define the workload: run A once, then B once. Assume the declared durations add, with no overlap or extra overhead. The reference total is 1001 milliseconds. The candidate total is 2000.125 milliseconds. The workload ratio is 1001 / 2000.125, approximately 0.50047×. The candidate takes almost twice as long for this stated workload.[3]
Both calculations use the same task pairs. The geometric mean gives each task's log-ratio equal weight. It summarizes relative changes across tasks without letting a long task dominate merely because it is long. The sequential total answers a different question: how much time does this particular mix take? Here the candidate adds 1000 milliseconds on A and saves only 0.875 on B.[3]
That does not make the geometric mean a bad metric. It makes the objective part of the result. If the goal is balanced relative performance across a declared task suite, report that score. If the goal is elapsed time for a known sequential workload, publish its task frequencies and the corresponding totals. Changing those frequencies changes the objective. Do not select weights after seeing the winner.[4]
- An equal-task score and the time for a stated workload can disagree without either calculation being wrong.
Keep the task pairs
The worksheet keeps both task identities, invented shape dimensions, matched target labels, duration units and one-each counts. All four outcomes are declared correct and complete; no kernel is executed or checked. Its input validator refuses a pair marked incorrect or unfinished, mismatched dimensions or profiles, mixed units and missing tasks or weights. Those checks prevent silent changes to this example's denominator. They are not a correctness grader.[4]
- Publish each pair, the workload counts and the failed-attempt policy. A single aggregate cannot supply those details.
An external example of aggregation
SPEC CPU 2017 provides a concrete external example of geometric-mean aggregation: its overview describes per-benchmark reference/system ratios, repeated-run selection, and a geometric mean of selected ratios. This worksheet implements none of its workloads or run rules and is not a SPEC result.[1]
Reproduce the illustration
One reviewed local standard-library invocation retained the complete fixture, exact rational sums and ratios, and all thirteen authored controls. All controls passed. The exact workload ratio is 8008/16001; the displayed decimal is rounded, not a measurement uncertainty interval.[3][2]
A real comparison still needs qualified correctness, matched inputs and hardware, repeated timing evidence, a declared treatment of failed attempts, and a defensible workload mix. These invented durations establish no hardware speedup, production saving, cost advantage or model-training benefit.[4][5]
- For an evaluation, state whether the target is a balanced task score or the elapsed time of a particular workload, then retain the individual pairs.
Sources
- SPEC CPU 2017 Overview, Q15 www.spec.org
- Python 3.9 rational arithmetic docs.python.org
- Exact saved synthetic result data.nodus-compute.ai
- Original source, fixture and complete proof package data.nodus-compute.ai
- Source and saved-result provenance data.nodus-compute.ai
- Vector figure data.nodus-compute.ai
