Comparing Runs Fairly

Fair comparison means the conclusion follows from the thing you intended to test. If Algorithm B beats Algorithm A, first ask what else changed. In RL, many hidden variables can change the answer: environment version, reward code, wrappers, budgets, seeds, evaluation mode, checkpoint selection, hardware, and rollout throughput.

This matters in real deployment because comparison claims become roadmap decisions. A team may choose a more complex algorithm, ship a policy, buy hardware, expand actor pools, or relax safety review based on a comparison. If the comparison is confounded, the organization makes the wrong engineering bet.

Comparison referee

What changed besides the algorithm?

Pick a comparison report. A deployment team needs to know whether a claimed improvement comes from the method or from an experimental advantage.

Run A

AlgorithmPPO
Budget1M env steps
Seedssame seeds
Evaluatorsame evaluator
Rewardsame reward

Run B

AlgorithmSAC
Budget5M env steps
Seedssame seeds
Evaluatorsame evaluator
Rewardsame reward

Unfair comparison

Match environment steps, wall-clock budget, or explicitly report sample-efficiency and compute-efficiency separately.

Fair comparison means changing one question at a time. Everything else becomes part of the contract.

Comparison contract

Fair comparison checklist

A fair RL comparison keeps the experimental contract matched across candidates.

matched areas

0/6

readiness

0%

comparison

Confounded

The cleaner the contract, the easier it is to attribute the result to the method being tested.

Because RL variance is high, experiments usually need multiple seeds. A practical starting point is n≥5n\ge 5 to 1010 seeds, confidence intervals over returns, controlled ablations for architecture and reward-shaping changes, and statistical tests over performance distributions when the decision depends on a claimed improvement.

Ablations should change one thing at a time: reward shaping, replay buffer size, network architecture, rollout length, actor count, or exploration schedule. If several knobs change together, the report may still be useful engineering telemetry, though it gives weak evidence for what caused the improvement.

Distributed RL adds another comparison trap. More actors can produce more trajectories per second and can also introduce off-policy drift if actors collect data using stale policy parameters. A faster wall-clock curve may reflect infrastructure gains more than algorithm quality.

Throughput:

throughput≈#actors×steps per second per actor\text{throughput}\approx \#\text{actors}\times\text{steps per second per actor}

A method that wins by using five times more experience should be reported differently from a method that learns more from the same experience budget.

⚠

The Comparison You Actually Need

For deployment, compare candidates under the constraints they will face: latency, memory, hardware, sensor noise, user mix, safety budget, monitoring coverage, and rollback path.

ℹ

Real Deployment Decision

When choosing between policies, decide what dominates: best average return, safest lower tail, lowest violation rate, fastest inference, easiest rollback, lowest compute cost, or best performance under stress. Write the priority order before looking at the final leaderboard.

Checkpoint

Two RL reports claim Algorithm B is better than Algorithm A. Which detail would most directly invalidate that conclusion?