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

NiceWebRL:一个用于强化学习环境人类受试者实验的Python库

NiceWebRL: a Python library for human subject experiments with reinforcement learning environments

Kempner Institute for the Study of Natural and Artificial Intelligence(肯普纳自然与人工智能研究 institute);Harvard University(哈佛大学);Harvard College(哈佛学院);University of Washington(华盛顿大学)

Wilka Carvalho, Vikram Goddla, Ishaan Sinha, Hoon Shin, Kunal Jha

AI总结:

NiceWebRL是一个将Jax强化学习环境转化为在线人类实验接口的Python库,支持单/多智能体,并通过三个案例展示了其在类人AI、人类兼容AI和人类辅助AI研究中的应用价值。

摘要:

我们提出NiceWebRL,这是一个研究工具,使研究人员能够使用机器强化学习(RL)环境进行在线人类受试者实验。NiceWebRL是一个Python库,允许任何基于Jax的环境被转换为在线接口,同时支持单智能体和多智能体环境。因此,NiceWebRL使AI研究人员能够将他们的算法与人类表现进行比较,使认知科学家能够测试机器学习算法作为人类认知的理论,并使多智能体研究人员能够开发用于人类-AI协作的算法。我们通过3个案例研究展示NiceWebRL,证明其帮助开发类人AI、人类兼容AI和人类辅助AI的潜力。在第一个案例研究(类人AI)中,NiceWebRL支持开发一种新颖的认知RL模型。在此,NiceWebRL有助于在网格世界和Craftax(一个2D Minecraft领域)中对该模型与人类参与者进行测试。在我们的第二个案例研究(人类兼容AI)中,NiceWebRL支持开发一种新颖的多智能体RL算法,该算法可以在Overcooked领域中泛化到人类伙伴。最后,在我们的第三个案例研究(人类辅助AI)中,我们展示了NiceWebRL如何允许研究人员研究LLM如何在XLand-Minigrid(一个包含数百万层次化任务的环境)中辅助人类完成复杂任务。该库可在https://github.com/KempnerInstitute/nicewebrl获取。

英文摘要:

We present NiceWebRL, a research tool that enables researchers to use machine reinforcement learning (RL) environments for online human subject experiments. NiceWebRL is a Python library that allows any Jax-based environment to be transformed into an online interface, supporting both single-agent and multi-agent environments. As such, NiceWebRL enables AI researchers to compare their algorithms to human performance, cognitive scientists to test ML algorithms as theories for human cognition, and multi-agent researchers to develop algorithms for human-AI collaboration. We showcase NiceWebRL with 3 case studies that demonstrate its potential to help develop Human-like AI, Human-compatible AI, and Human-assistive AI. In the first case study (Human-like AI), NiceWebRL enables the development of a novel RL model of cognition. Here, NiceWebRL facilitates testing this model against human participants in both a grid world and Craftax, a 2D Minecraft domain. In our second case study (Human-compatible AI), NiceWebRL enables the development of a novel multi-agent RL algorithm that can generalize to human partners in the Overcooked domain. Finally, in our third case study (Human-assistive AI), we show how NiceWebRL can allow researchers to study how an LLM can assist humans on complex tasks in XLand-Minigrid, an environment with millions of hierarchical tasks. The library is available at https://github.com/KempnerInstitute/nicewebrl.

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

↑