arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.01324cs.LG
收藏

强化学习中的超参数及其调优方法

Hyperparameters in Reinforcement Learning and How To Tune Them

Leibniz University Hannover(汉诺威莱布尼茨大学);Meta AI

Theresa Eimer, Marius Lindauer, Roberta Raileanu

AI总结:

本文针对强化学习超参数调优不一致导致公平比较困难的问题,评估多种 HPO 工具并提出分离调优/测试种子等最佳实践,证明其可提升性能、降低计算成本并改善可复现性。

摘要:

为了提升可复现性,深度强化学习(RL)一直在采用更完善的科学实践,例如标准化的评估指标和报告方式。然而,不同论文中的超参数优化过程仍存在很大差异,这使得公平比较 RL 算法颇具挑战。本文表明,RL 中的超参数选择会显著影响智能体的最终性能和样本效率,而且超参数图景可能强烈依赖于调优种子,从而可能导致过拟合。因此,我们建议采用 AutoML 中已确立的最佳实践,例如将调优种子与测试种子分离,以及在广泛搜索空间中进行有原则的超参数优化(HPO)。为支持这一观点,我们在一系列 RL 算法和环境上比较了多种最先进的 HPO 工具及其手动调优对应方案,证明 HPO 方法往往具有更高性能和更低计算开销。基于这些发现,我们向 RL 社区推荐了一套最佳实践,其应能以更少计算成本带来更可靠的实证结果、更好的可复现性,从而加快进展。为鼓励采用这些实践,我们在 https://github.com/facebookresearch/how-to-autorl 提供了本文所用调优算法的即插即用实现。

英文摘要:

In order to improve reproducibility, deep reinforcement learning (RL) has been adopting better scientific practices such as standardized evaluation metrics and reporting. However, the process of hyperparameter optimization still varies widely across papers, which makes it challenging to compare RL algorithms fairly. In this paper, we show that hyperparameter choices in RL can significantly affect the agent's final performance and sample efficiency, and that the hyperparameter landscape can strongly depend on the tuning seed which may lead to overfitting. We therefore propose adopting established best practices from AutoML, such as the separation of tuning and testing seeds, as well as principled hyperparameter optimization (HPO) across a broad search space. We support this by comparing multiple state-of-the-art HPO tools on a range of RL algorithms and environments to their hand-tuned counterparts, demonstrating that HPO approaches often have higher performance and lower compute overhead. As a result of our findings, we recommend a set of best practices for the RL community, which should result in stronger empirical results with fewer computational costs, better reproducibility, and thus faster progress. In order to encourage the adoption of these practices, we provide plug-and-play implementations of the tuning algorithms used in this paper at https://github.com/facebookresearch/how-to-autorl.

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

↑