How Do I Evaluate an RL Agent Honestly?

November 26, 2026 · Guide
An honest evaluation is a claim about a distribution, not a number. Run several seeds, normalize scores so different tasks can be averaged, report the interquartile mean with a confidence interval instead of a cherry-picked best, fix the sample budget before you start, and test on levels the agent never trained on. That is the whole recipe, and it fits in one paragraph. Everything else in this post is why each piece matters — and what goes wrong when you skip one. The field's progress is only as real as its evaluations, and the cheapest way to do better science is to stop letting a lucky seed write your conclusion.

The single-seed lie

Deep RL results vary wildly across random seeds — same code, same hyperparameters, different seed, different outcome. Sometimes the difference is a few percent; sometimes it is the difference between a learning curve and a flat line. The reason is that a single training run is one sample from a distribution shaped by initialization, exploration noise, and the order of the data, and that distribution is wide. Reporting one seed is therefore reporting one draw and pretending it is the mean.

This is not a theoretical worry. Agarwal and colleagues showed it concretely in their NeurIPS 2021 Outstanding Paper, Deep Reinforcement Learning at the Edge of the Statistical Precipice: on the Atari 100k benchmark, conclusions drawn from point estimates alone — which method is better, by how much — flipped under a more thorough statistical analysis. The paper's argument is blunt: in the few-run regime that almost all of deep RL lives in (three to ten runs per task is the norm, because more is computationally prohibitive), ignoring uncertainty is not a minor sin. It is how the field ends up chasing noise and calling it progress.

The practical rule follows directly: never report a single seed, and never report the best seed as if it were typical. The maximum over five runs is not your method's performance; it is the luckiest draw your method had. If a paper reports one number with no spread, no seeds, and no interval, you have learned nothing about the method — only that one run, once, went well.

Normalize before you aggregate

A benchmark is a suite of tasks, and the first question is how to turn many scores into one number. Raw scores cannot be averaged: points in Pong and points in Breakout live on totally different scales, and one high-scoring game would swamp the rest. The field's answer, standard since Mnih et al. (2015), is the human-normalized score: (agent score − random-play score) / (human score − random-play score). A score of 1.0 means human level; 0 means random play. Only after this rescaling does an average across games mean anything.

The second question is which average, and here the usual choices both fail. The plain mean is dominated by outlier tasks — one game where your agent scores ten times human level hides nine mediocre ones. The median is robust to outliers but throws away almost all of your data and is noisy: with a handful of runs, its confidence interval is so wide that almost no comparison is significant. Agarwal et al.'s fix is the interquartile mean (IQM): the mean of the middle 50% of scores, discarding the bottom and top quarters. It is robust to lucky and catastrophic runs like the median, but it uses half your data, so it detects real improvements with far fewer runs. Pair it with a 95% stratified bootstrap confidence interval — resampling within each task, so a high-variance task cannot dominate the interval — and you have the current standard: IQM plus interval, computed for you by the open-source rliable library.

One more tool from the same paper is worth knowing: the performance profile, the fraction of runs scoring above each threshold, plotted as a curve. A single plot replaces five tables, because it shows the whole distribution — where your method wins, where it loses, and by how much — instead of compressing it into one number. If a paper gives you a profile, you can see whether its headline number comes from beating the baseline everywhere or from one lucky game.

The budget is the benchmark

Every benchmark number is meaningless without the budget it was achieved at. The Atari 100k benchmark makes this explicit: 100,000 environment interactions per game — 400,000 frames with the standard frame skip of 4 — about two hours of play, on 26 Atari games. It was introduced with SimPLe (Kaiser et al., 2019) as a data-efficiency test, and it is a different question from the classic 200-million-frame Atari benchmark. EfficientZero (2021) was the first method to beat the average human on the 100k budget, at 194.3% mean and 109% median human-normalized score. DQN, the original Atari breakthrough, reached comparable scores only after 200 million frames — 500 times more data.

That comparison is the point. Sample efficiency and asymptotic performance are different claims, and an agent that wins at 100k may lose at 200M and vice versa. So when you read a score, the first thing to check is the x-axis: how many environment steps, how many gradient updates, how much wall-clock compute. A method that replays each frame dozens of times, retrains a world model for many epochs, and runs thousands of imagined rollouts per real step has not beaten the budget — it has spent compute the budget does not measure, and compute is usually unconstrained and unreported. State your budget before you run, report it next to the score, and compare only against methods measured at the same budget. The benchmarks that defined RL all have a budget hidden inside them; the honest evaluations are the ones that print it.

Train and test must be different worlds

An agent that aces its training distribution and collapses on anything new has not learned the task; it has memorized the training set. The fix is the oldest idea in machine learning, applied with RL's particular traps in mind: evaluate on levels, tasks, or distributions the agent never saw in training, and never tune on the test set.

Procgen is the cleanest example. Each game trains on 200 levels and is tested on the full distribution of unseen levels, so a high score means the agent learned the game, not the level layout. If you tune your hyperparameters on those test levels — picking the learning rate or the architecture that scores best on the test distribution — you are fitting the benchmark, not learning, and your number is inflated by exactly the amount you tuned. The same rule applies everywhere: the test set is for measuring, once, at the end.

Two more protocol details separate honest evaluations from memorizers. In the Arcade Learning Environment, sticky actions — a 25% chance the previous action repeats, from Machado et al. (2018) — stop agents from succeeding by replaying a fixed action sequence recorded in training. And for offline RL, D4RL judges agents on fixed datasets with no extra environment interaction at all, which makes the train/test split absolute: there is no environment to overfit during evaluation. A related trap is evaluating with the same reward that trained the agent — a reward model the agent learned to game will happily report that the gaming worked. Our reward-model guide covers that failure mode; the short version is to keep the training reward and the evaluation metric separate wherever you can.

Evaluate the policy, not the training curve

Training returns are a bad evaluation metric. During training the policy is changing, exploration noise is on, and the returns you see are the returns of a moving target measured with noise injected. They are useful for debugging — a flat training curve means something is broken — but they are optimistic and noisy, and they are not the number to report.

The honest number comes from a separate evaluation phase: freeze the policy, turn exploration off (greedy or deterministic action selection, in most setups), and run fresh episodes the agent did not train on. Run enough of them that the standard error is small — a handful of episodes is not enough when returns vary by hundreds of points — and report the mean over those episodes with its spread. Evaluate at fixed intervals during training, not only at the end, and report the final policy's score, not the best checkpoint you cherry-picked along the way. If you do report the best checkpoint, say so, and say how many checkpoints you looked at: selecting the max over fifty evaluations is the same cherry-picking as selecting the best seed, wearing a different hat.

Finally, match the protocol of whatever you compare against: same number of evaluation episodes, same action-selection rule, same episode termination rules. A baseline evaluated greedily over 100 episodes and your method evaluated with exploration on over 10 episodes are not two numbers you can subtract. The first-timer's recipe uses the standard setup — deterministic evaluation, separate eval episodes, fixed intervals — because the defaults exist precisely so that two people's numbers mean the same thing.

The honest-evaluation checklist

If you remember nothing else, remember this table. It is the whole post in six rows, and it is also a reasonable checklist for reviewing anyone else's paper — including your own, before you submit it.

RuleThe numberWhy it matters
Run several seeds5 minimum; 10 to claim you beat a baselineOne seed is one draw from a wide distribution
Aggregate with IQM + intervalInterquartile mean, 95% stratified bootstrap CIMean is outlier-dominated; median wastes data
Publish per-task scoresEvery task, every seed, not just the aggregateA headline can hide that you won on one game
Fix the budget firstEnvironment steps, stated up frontSample efficiency and asymptotic skill differ
Test on unseen worldsHeld-out levels or tasks; never tune on testOtherwise you measured memorization
Evaluate separatelyFrozen policy, fresh episodes, fixed protocolTraining returns are optimistic and noisy

None of this is expensive. Five seeds instead of one costs compute you were going to spend anyway; IQM and a bootstrap interval are one library call in rliable; a held-out test set is a flag, not a project. What it costs is the temptation to report the best number you saw. That is exactly the cost worth paying — because a result that survives honest evaluation is a result you can build on, and a result that does not was never a result at all.

The takeEvaluation is where RL papers live or die, and the honest version is not complicated: five seeds, the interquartile mean with a confidence interval, a budget stated before you run, and a test set the agent never saw. The field spent years learning this the hard way — point estimates that flipped under proper statistics, benchmarks won by memorization, baselines beaten by a lucky seed. Do the six rows of the checklist and your numbers will be boring in the best way: reproducible, comparable, and believed.

How to try it yourself

Frequently asked questions

How many seeds should I run when evaluating an RL agent?

Five is the floor; ten if you want to claim you beat a baseline. Three to ten runs per task is the norm in published deep RL (Agarwal et al., 2021) because more is often computationally prohibitive — but a claim built on one seed is a single sample from a distribution, not a result. Report the spread across seeds, never just the best one, and never report the maximum as if it were typical.

What is the interquartile mean (IQM), and why use it instead of the mean?

The IQM is the mean of the middle 50% of scores: discard the bottom and top quarters of all runs, then average the rest. The plain mean is dominated by a few outlier tasks — one game where your agent scores ten times human swamps nine mediocre ones — while the median throws away most of your data and is noisy. The IQM sits between the two: robust to lucky and catastrophic runs, but still uses half your data, so it detects real improvements with fewer runs. Report it with a 95% stratified bootstrap confidence interval; the rliable library (google-research/rliable) computes both.

What is a human-normalized score?

A score rescaled so that different games can be averaged together: (agent score minus random-play score) divided by (human score minus random-play score). A score of 1.0 means human level, 0 means random play. It is the convention from Mnih et al. (2015) that makes a single number across 26 Atari games meaningful at all — raw points in Pong and raw points in Breakout live on totally different scales, so averaging raw scores is nonsense.

What is the Atari 100k benchmark?

A data-efficiency test: 100,000 environment interactions per game — 400,000 frames with the standard frame skip of 4 — about two hours of play, on 26 Atari games. It was introduced with SimPLe (Kaiser et al., 2019). EfficientZero (2021) was the first method to beat the average human on that budget, at 194.3% mean and 109% median human-normalized score — while DQN needed 200 million frames, 500 times more data, for comparable scores. The lesson: always compare methods at the same budget, because sample efficiency and asymptotic performance are different claims.

How do I test whether my agent actually generalizes?

Evaluate it on levels, tasks, or distributions it never saw in training. Procgen trains on 200 levels per game and tests on the full distribution of unseen levels; if you tune hyperparameters on the test set, you are fitting the benchmark, not learning. For offline RL, D4RL judges agents on fixed datasets with no extra environment interaction at all. And in the Arcade Learning Environment, sticky actions — a 25% chance the previous action repeats (Machado et al., 2018) — stop agents from memorizing a fixed action sequence instead of learning to play.

Tagged: evals agents PPO reward models
Anil Tiwari — MS CS student building rlenvlab, a directory of RL environments. About the author · GitHub

What do you think?

Have you ever watched a result flip when you ran more seeds — or caught a benchmark win that turned out to be a lucky draw? Tell us the task, how many seeds it took for the truth to show up, and what you report now; the best answers get featured in a future briefing.

Reply by email → · Subscribe via RSS →

The lab notebook is rlenvlab’s blog — guides and the daily RL Briefing on the environments ecosystem. More from the lab notebook →