AnyRank: Reliable Anytime Policy Ranking via Sequential Testing
Organizations: Princeton University · University of Pennsylvania · Toyota Research Institute
Abstract
Due to the high cost of hardware experiments, robot policies are predominantly evaluated by comparing their empirical performance on a limited number of hardware trials. However, finite-sample statistical uncertainty can lead to erroneous conclusions, especially when ranking multiple policies using a fixed batch of evaluation data. We propose AnyRank: a sequential method for multi-policy ranking that (i) adaptively allocates trials to hard-to-separate policies, (ii) provides (partial) rankings at any stopping time while bounding the probability of an incorrect ranking, and (iii) optionally exploits prior information to prioritize hardware evaluations more efficiently. This prior information could be informed from expert intuition, a small set of held-out hardware evaluations, or from policy rollouts in a simulator or an action-conditioned video world model. Notably, the prior can be imperfect; while a strong prior can provide efficiency gains on hardware, any inaccuracies in prior policy rankings do not invalidate the statistical assurances of AnyRank. We achieve the aforementioned properties through novel theoretical contributions that combine sequential testing with multiple-hypothesis graphical testing approaches. Experiments in simulation and real-world policy evaluation benchmarks show that AnyRank requires up to 50% fewer hardware evaluations compared to existing statistically rigorous approaches, while guarding against the incorrect rankings produced by heuristic methods used by state-of-the-art benchmarks.
Figures & tables
| Methods | RoboArena4 Sample complexity: 1200 | RoboArena7 Sample complexity: 5106 | RoboArena7 Sample complexity: 2450 | |
|---|---|---|---|---|
| Ours | AnyRank | , , | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}}>\textbf{F}>\textbf{G} | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\}}>\textbf{F}>\textbf{G},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{D}\textbf{E}\textbf{F}\}} |
| {\color[rgb]{1,0.5,0}\textsc{AnyRank}}_{0} | , , | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}}>\textbf{F}>\textbf{G} | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\}}>\textbf{F}>\textbf{G},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{D}\textbf{E}\textbf{F}\}} | |
| {\color[rgb]{1,0.5,0}\textsc{AnyRank}}_{\infty} | , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{F}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{E}\textbf{F}\}} | , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{F}\}} | , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{F}\}} | |
| Baselines | Bonferroni | , , | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}}>\textbf{F}>\textbf{G} | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\}}>\textbf{F}>\textbf{G},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{D}\textbf{E}\textbf{F}\}} |
| Weighted Bonferroni | , , | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}}>\textbf{F}>\textbf{G} | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\}}>\textbf{F}>\textbf{G},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}},{\color[rgb]{0.7227,0.5273,0.043}\{\textbf{D}\textbf{E}\textbf{F}\}} | |
| BT (Classical) | {\color[rgb]{1,0,0}\textbf{E}>\textbf{A}}>\textbf{F}>\textbf{G} | \textbf{A}>{\color[rgb]{1,0.5,0}\textbf{E}>\textbf{D}>\textbf{B}>\textbf{C}}>\textbf{F}>\textbf{G} | \textbf{A}>{\color[rgb]{1,0.5,0}\textbf{D}>\textbf{E}>\textbf{C}>\textbf{B}}>\textbf{F}>\textbf{G} |
| # of policies | 5 | 10 | 15 | 20 | |
|---|---|---|---|---|---|
| 500 | AnyRank | 1102 (9/10) | 2480 (44/45) | 6705 (98/105) | 9075 (182/190) |
| 500 | Bonferroni | 1170 (9/10) | 2855 (43/45) | 6742 (93/105) | 9220 (175/190) |
| 5,000 | AnyRank | 1554 (10/10) | 3259 (45/45) | 38k (102/105) | 57k (185/190) |
| 5,000 | Bonferroni | 1683 (10/10) | 5191 (45/45) | k (102/105) | k (185/190) |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Rank | Letter | Policy | BT score | Empirical mean | # comparisons |
|---|---|---|---|---|---|
| 1 | J | Dream-Zero | 0.606 | 58 | |
| 2 | I | 0.476 | 564 | ||
| 3 | A | -Fast | 0.455 | 739 | |
| 4 | K | FB-195k | 0.479 | 8 | |
| 5 | H | FB-525k | 0.380 | 33 | |
| 6 | D | PG-FSQ | 0.418 | 762 |
| Methods | RoboArena4 | RoboArena7 | |
|---|---|---|---|
| Ours | AnyRank | , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}} | |
| {\color[rgb]{1,0.5,0}\textsc{AnyRank}}_{0} | , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}} | ||
| {\color[rgb]{1,0.5,0}\textsc{AnyRank}}_{\infty} | , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}} , {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{B}\textbf{C}\textbf{D}\textbf{F}\}} | ||
| Baselines | Bonferroni | , , | |
| Weighted Bonferroni | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{E}\}}>\textbf{F}>\textbf{G} | {\color[rgb]{0.7227,0.5273,0.043}\{\textbf{A}\textbf{B}\textbf{C}\textbf{D}\textbf{E}\}}>\textbf{F}>\textbf{G} |
Robotic Policy Evaluation
Robotic policy evaluation measures whether learned controllers succeed reliably, generalize across conditions, recover from failures, and behave safely.
See all 125 papers