arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.01315cs.LGcs.AI
收藏

强化学习中的实证设计

Empirical Design in Reinforcement Learning

University of Alberta(阿尔伯塔大学);Alberta Machine Intelligence Institute (Amii)(阿尔伯塔机器智能研究所)

Andrew Patterson, Samuel Neumann, Martha White, Adam White

AI总结:

针对强化学习实证设计规模扩张与统计证据不足的矛盾,本文梳理了实验全流程的统计方法与常见误区,为领域内开展严谨的实证研究提供综合参考和行动指引。

摘要:

强化学习中的实证设计绝非易事。开展高质量实验需要关注细节,有时还需要大量计算资源。尽管每美元可获得的计算资源持续快速增长,强化学习中典型实验的规模也在同步扩大。如今,用拥有数百万参数的智能体在数十项任务上进行基准测试已十分常见,每项任务消耗的经验相当于30天的交互数据。这些实验的规模往往与获取恰当统计证据的需求相冲突,尤其是在比较算法时。近期研究已指出,主流算法对超参数设置和实现细节高度敏感,且常见的实证操作会导致统计证据效力不足(Machado等人,2018;Henderson等人,2018)。本文在此基础上进一步展开研究。\n本手稿既是一份行动倡议,也是一份关于如何在强化学习中开展高质量实验的综合参考资料。具体而言,我们涵盖以下内容:常见性能指标背后的统计假设、如何恰当表征性能的变异性与稳定性、假设检验、多智能体比较的特殊注意事项、基线与说明性示例的构建,以及如何处理超参数和实验者偏差。全文中,我们列举了文献中常见的错误,并通过示例实验说明这些错误带来的统计层面的后果。本文的目标是解答如何利用我们前所未有的计算能力在强化学习领域开展严谨的科学研究,同时对实证设计中的潜在陷阱保持警惕。

英文摘要:

Empirical design in reinforcement learning is no small task. Running good experiments requires attention to detail and at times significant computational resources. While compute resources available per dollar have continued to grow rapidly, so have the scale of typical experiments in reinforcement learning. It is now common to benchmark agents with millions of parameters against dozens of tasks, each using the equivalent of 30 days of experience. The scale of these experiments often conflict with the need for proper statistical evidence, especially when comparing algorithms. Recent studies have highlighted how popular algorithms are sensitive to hyper-parameter settings and implementation details, and that common empirical practice leads to weak statistical evidence (Machado et al., 2018; Henderson et al., 2018). Here we take this one step further. This manuscript represents both a call to action, and a comprehensive resource for how to do good experiments in reinforcement learning. In particular, we cover: the statistical assumptions underlying common performance measures, how to properly characterize performance variation and stability, hypothesis testing, special considerations for comparing multiple agents, baseline and illustrative example construction, and how to deal with hyper-parameters and experimenter bias. Throughout we highlight common mistakes found in the literature and the statistical consequences of those in example experiments. The objective of this document is to provide answers on how we can use our unprecedented compute to do good science in reinforcement learning, as well as stay alert to potential pitfalls in our empirical design.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑