English

FactorSim: Generative Simulation via Factorized Representation

Artificial Intelligence 2024-11-12 v2 Robotics

Abstract

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.

Keywords

Cite

@article{arxiv.2409.17652,
  title  = {FactorSim: Generative Simulation via Factorized Representation},
  author = {Fan-Yun Sun and S. I. Harini and Angela Yi and Yihan Zhou and Alex Zook and Jonathan Tremblay and Logan Cross and Jiajun Wu and Nick Haber},
  journal= {arXiv preprint arXiv:2409.17652},
  year   = {2024}
}

Comments

neurips 2024, project website: https://cs.stanford.edu/~sunfanyun/factorsim/

R2 v1 2026-06-28T18:57:50.799Z