atlas

Research map / Large language models / Agents, code and math

GenSim: Generating Robotic Simulation Tasks via Large Language Models

ICLR 2024 · Large language models › Agents, code and math · approach: LLM-driven embodied and driving agents · 8 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Uses GPT-4 prompting (goal-directed and exploratory modes) with a retrieval task library to generate over 100 Ravens-style simulation tasks with code and demonstrations, then trains CLIPort-style multitask policies and transfers them to real-world robots.

Problem

Simulation data for robot policies is limited in task-level diversity because creating and verifying novel simulation tasks requires substantial human effort, so policies trained in simulation generalize poorly across tasks.

Approach

Treat each robot simulation task as executable code and have an LLM propose, implement, validate (execution, LLM critic, policy training) and store tasks in a retrieval-augmented task library; the generated tasks then serve as demonstration data for multitask language-conditioned policy pretraining, followed by sim-to-real adaptation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
pretrain on 70 rather than 50 GPT4-generated simulation tasks (ablation)CLIPort policy · Real-world 12-task evaluationsuccess rate: 46.7% -> 62.5%Helped
pretrain on 70 GPT4-generated simulation tasks rather than CLIPort tasksCLIPort policy · Real-world 12-task evaluationsuccess rate: 39.2% -> 62.5%Helped
add GPT4-generated tasks to joint policy trainingCLIPort policy · Original CLIPort tasks, especially 5-demo few-shot settingpolicy performance: over 50%Helped
pretrain on more LLM-generated tasks (ablation)CLIPort policy · Unseen tasks in the original Ravens benchmarkzero-shot generalizationHelped
use a two-stage task-description/code prompt with few-shot examples and task-library references rather than a single prompt or zero-shot prompt (ablation)Exploratory LLM task generation · Robotic simulation task generationcode-generation success rateHelped
fine-tune GPT3.5 and Code Llama on GPT4-generated tasks (ablation)LLM task creator · Robotic simulation task generationcode-generation capabilityHelped
use simulation-pretrained weights rather than no pretraining (ablation)Real-world policy · Real-world 12-task evaluationsuccess rate: 0% -> 62.5%Helped
pretrain on GPT4-generated tasks rather than human-curated tasks (ablation)Single-task and multi-task policies · Generated simulation taskstask success rate: 75.8% vs. 76.6%; 74.1% vs. 76.1%No clear effect
provide per-step instructions rather than a high-level task goal (ablation)Real-world single-task policy · Real-world taskspolicy performanceNo clear effect
train on GPT4-generated tasks rather than only the 10 CLIPort tasks (ablation)Multi-task policy · GPT-generated taskssuccess rate: lower than 5%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Ravens benchmark (10 human-curated tasks) GPT-4-generated task library

Benchmarks: Ravens benchmark / CLIPort tasks GenSim generated tasks real-world XArm-7 tasks

Metrics: syntax-correct pass rate runtime-verified pass rate task completed pass rate task success score 0-100 real-world success rate

Baselines: CLIPort GPT-3.5 GPT-4 Code Llama-Instruct 7B Code Llama-Instruct 13B No Pretrain No Adaptation

Builds on: CLIPort Ravens benchmark Code Llama LoRA Codex

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy