user: text: Write a concise one-sentence TLDR summary of the scientific paper content below.

Title: A Hitchhiker's Guide to Statistical Comparisons of Reinforcement Learning Algorithms

Paper content:
Consistently checking the statistical significance of experimental results is the first mandatory step towards reproducible science.
This paper presents a hitchhiker's guide to rigorous comparisons of reinforcement learning algorithms.
After introducing the concepts of statistical testing, we review the relevant statistical tests and compare them empirically in terms of false positive rate and statistical power as a function of the sample size (number of seeds) and effect size.
We further investigate the robustness of these tests to violations of the most common hypotheses (normal distributions, same distributions, equal variances).
Beside simulations, we compare empirical distributions obtained by running Soft-Actor Critic and Twin-Delayed Deep Deterministic Policy Gradient on Half-Cheetah.
We conclude by providing guidelines and code to perform rigorous comparisons of RL algorithm performances.
Reproducibility in Machine Learning and Reinforcement Learning in particular (RL) has become a serious issue in the recent years.
As pointed out in Islam et al. BID0 and Henderson et al. BID1 , reproducing the results of an RL paper can turn out to be much more complicated than expected.
In a thorough investigation, Henderson et al. BID1 showed it can be caused by differences in codebases, hyperparameters (e.g. size of the network, activation functions) or the number of random seeds used by the original study.
Henderson et al. BID1 states the obvious: the claim that an algorithm performs better than another should be supported by evidence, which requires the use of statistical tests.
Building on these observations, this paper presents a hitchhiker's guide for statistical comparisons of RL algorithms.
The performances of RL algorithm have specific characteristics (they are independent of each other, they are not paired between algorithms etc.).
This paper reviews some statistical tests relevant in that context and compares them in terms of false positive rate and statistical power.
Beside simulations, it compares empirical distributions obtained by running Soft-Actor Critic (SAC) BID2 and Twin-Delayed DDPG (TD3) BID3 on Half-Cheetah BID4 .
We finally provide guidelines to perform robust difference testing in the context of RL.
A repository containing the raw results and the code to reproduce all experiments is available at https://github.com/ccolas/rl_stats.
No matter the distributions.
From the above results, it seems clear that the bootstrap test should never be used for sample sizes below N = 50 and the permutation test should never be used for sample sizes below N = 10.
The bootstrap test in particular, uses the sample as an estimate of the true performance distribution.
A small sample is a very noisy estimate, which leads to very high false positive rates.
The ranked t-test shows a false positive rate of 0 and a statistical power of 0 when N = 2 in all conditions.
As noted in BID12 , comparing two samples of size N = 2 can result in only four possible p-values (only 4 possible orders when ranked), none of which falls below α = 0.05.
Such quantization issues make this test unreliable for small sample sizes, see BID12 for further comments and references on this issue.When distributions do not meet assumptions.
In addition to the behaviors reported above, Section 4.2 shows that non-parametric tests (Mann-Whitney and ranked t-test) can demonstrate very high false positive rates when comparing a symmetric distribution with a skewed one (log-normal).
This effect gets worse linearly with the sample size.
When the sample size increases, the number of samples drawn in the skewed tail of the log-normal increases.
All these realizations will be ranked above any realizations from the other distribution.
Therefore, the larger the sample size, the more realization are ranked first in favor of the log-normal, which leads to a bias in the statistical test.
This problem does not occur when two log-normal are compared to one another.
Comparing a skewed distribution to a symmetric one violates the Mann-Whitney assumptions stating that distributions must have the same shape and spread.
The false positive rates of Mann-Whitney and ranked t-test are also above the confidence level whenever a bimodal distribution is compared to another distribution.
The traditional recommendation to use non-parametric tests when the distributions are not normal seems to be failing when the two distributions are different.Most robust tests.
The t-test and the Welch's t-test were found to be more robust than others to violations of their assumptions.
However, α * was found to be slightly above the required level (α * > α) when at least one of the two distributions is skewed (α * ≈ 0.1) no matter the sample size, and when one of the two distributions is bimodal, for small sample sizes N < 10.
Welch's α * is always a bit lower than the t-test's α * .Statistical
power. Except for
the anomalies in small sample size mentioned above due to overconfident tests like the bootstrap or the permutation tests, statistical powers stay qualitatively stable no matter the distributions compared, or the test used: = 0.5: N ≈ 100; = 1: N ≈ 20 and = 2: N ≈ 5, 10.
In conclusion, this paper advocates for the use of Welch's t-test with low confidence level (α < 0.05) to ensure a false positive rate below α * < 0.05.
The sample size must be selected carefully depending on the expected relative effect size.
It also warns against the use of other unreliable tests, such as the bootstrap test (for N < 50), the Mann-Whitney and the ranked t-test (unless assumptions are carefully checked), or the permutation test (for N < 10).
Using the t-test or the Welch's t-test with small sample sizes (<5) usually leads to high false positive rate and would require very large relative effect sizes (over = 2) to show good statistical power.
Sample sizes above N = 20 generally meet the requirement of a 0.8 statistical power for a relative effect size = 1.

assistant: text: This paper compares statistical tests for RL comparisons (false positive, statistical power), checks robustness to assumptions using simulated distributions and empirical distributions (SAC, TD3), provides guidelines for RL students and researchers.