arXiv:2508.15693cs.AI2025-08被引 4

将强化学习环境转为在线实验平台,支持人机对比与协作研究

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

  • 基于Jax环境构建网页接口,兼容单/多智能体场景
  • 在网格世界、Craftax等3个场景中验证人机表现差异
  • 适合AI算法评估、认知科学建模及人机协同研究者使用

我们提出NiceWebRL,一个用于在线人类受试者实验的Python库,可将任意基于Jax的强化学习(RL)环境转化为网络界面,支持单智能体与多智能体场景。该工具使AI研究者能对比算法与人类表现,认知科学家可将机器学习算法作为人类认知理论进行检验,多智能体研究者则可开发面向人机协作的算法。通过三个案例展示其潜力:(1)在网格世界和Craftax环境中构建新型认知RL模型并测试;(2)在Overcooked场景中开发可适配人类伙伴的多智能体算法;(3)在含数百万层级任务的XLand-Minigrid中研究大语言模型如何辅助人类完成复杂任务。代码开源于https://github.com/KempnerInstitute/nicewebrl。

原文摘要 · Abstract (English)

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.

人机协作强化学习在线实验认知建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。