arXiv:2409.17652cs.AIcs.RO2024-09NeurIPS被引 10

用自然语言生成可训练智能体的完整仿真代码

FactorSim: Generative Simulation via Factorized Representation

  • 基于因子化表示降低生成时上下文依赖
  • 在零样本迁移任务中表现优于现有方法
  • 适合需要快速构建游戏与机器人任务的开发者

从自然语言输入生成可用于训练智能体的游戏或机器人仿真,仍是开放性挑战。现有方法多聚焦于奖励函数或超参数生成。本文提出 FACTORSIM,可从语言输入生成完整的仿真代码,支持智能体训练。利用编码仿真特有的结构模块性,我们引入因子化部分可观测马尔可夫决策过程表示,减少生成每一步时的上下文依赖。为评估,我们构建了一个生成仿真基准,衡量生成代码的准确性和在强化学习中实现零样本迁移的能力。实验表明,FACTORSIM 在提示对齐(如准确率)、零样本迁移能力及人工评估上均优于现有方法,并成功应用于机器人任务生成。

原文摘要 · Abstract (English)

Generating simulations to train intelligent agents in game-playing and robotics from natural language input, from user input or task documentation, remains an open-ended challenge. Existing approaches focus on parts of this challenge, such as generating reward functions or task hyperparameters. Unlike previous work, we introduce FACTORSIM that generates full simulations in code from language input that can be used to train agents. Exploiting the structural modularity specific to coded simulations, we propose to use a factored partially observable Markov decision process representation that allows us to reduce context dependence during each step of the generation. For evaluation, we introduce a generative simulation benchmark that assesses the generated simulation code's accuracy and effectiveness in facilitating zero-shot transfers in reinforcement learning settings. We show that FACTORSIM outperforms existing methods in generating simulations regarding prompt alignment (e.g., accuracy), zero-shot transfer abilities, and human evaluation. We also demonstrate its effectiveness in generating robotic tasks.

仿真生成自然语言强化学习机器人

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