paper-with-me

홈 › Papers

Generating Code World Models with Large Language Models Guided by Monte Carlo Tree Search

2024-05-24 · Nicola Dainese, Matteo Merler, Minttu Alakuijala, Pekka Marttinen

In this work we consider Code World Models, world models generated by a Large Language Model (LLM) in the form of Python code for model-based Reinforcement Learning (RL). Calling code instead of LLMs for planning has potential to be more precise, reliable, interpretable, and extremely efficient. However, writing appropriate Code World Models requires the ability to understand complex instructions, to generate exact code with non-trivial logic and to self-debug a long program with feedback from unit tests and environment trajectories. To address these challenges, we propose Generate, Improve and Fix with Monte Carlo Tree Search (GIF-MCTS), a new code generation strategy for LLMs. To test our approach in an offline RL setting, we introduce the Code World Models Benchmark (CWMB), a suite of program synthesis and planning tasks comprised of 18 diverse RL environments paired with corresponding textual descriptions and curated trajectories. GIF-MCTS surpasses all baselines on the CWMB and two other benchmarks, and we show that the Code World Models synthesized with it can be successfully used for planning, resulting in model-based RL agents with greatly improved sample efficiency and inference speed.

📄 PDF Abstract BibTeX arXiv:2405.15383

Code (1)

nicoladainese96/code-world-models 공식 구현 pytorch

Tasks

Code GenerationLanguage ModellingLarge Language ModelModel-based Reinforcement LearningOffline RLProgram SynthesisReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

LANCE: Stress-testing Visual Models by Generating Language-guided Counterfactual Images

2023-05-30 · NeurIPS 2023 11 · Viraj Prabhu, Sriram Yenamandra, Prithvijit Chattopadhyay, Judy Hoffman

We propose an automated algorithm to stress-test a trained visual model by generating language-guided counterfactual test images (LANCE). Our method leverages recent progress in large language modeling and text-based ima…

counterfactualLanguage ModelingLanguage ModellingSensitivity+1

Repeton: Structured Bug Repair with ReAct-Guided Patch-and-Test Cycles

2025-06-09 · Nguyen Phu Vinh, Anh Chung Hoang, Chris Ngo, Truong-Son Hy

Large Language Models (LLMs) have shown strong capabilities in code generation and comprehension, yet their application to complex software engineering tasks often suffers from low precision and limited interpretability.…

Code GenerationRAG

Growing a Twig to Accelerate Large Vision-Language Models

2025-03-18 · Zhenwei Shao, Mingyang Wang, Zhou Yu, Wenwen Pan 외

Large vision-language models (VLMs) have demonstrated remarkable capabilities in open-world multimodal understanding, yet their high computational overheads pose great challenges for practical deployment. Some recent wor…

GeneralVLA: Generalizable Vision-Language-Action Models with Knowledge-Guided Trajectory Planning

2026-02-04 · Guoqing Ma, Siheng Wang, Zeyu Zhang, Shan Yu 외 arxiv

Large foundation models have shown strong open-world generalization to complex problems in vision and language, but similar levels of generalization have yet to be achieved in robotics. One fundamental challenge is that …

Trajectory Planning

Multi-GraspLLM: A Multimodal LLM for Multi-Hand Semantic Guided Grasp Generation

2024-12-11 · Haosheng Li, Weixin Mao, Weipeng Deng, Chenyu Meng 외

Multi-hand semantic grasp generation aims to generate feasible and semantically appropriate grasp poses for different robotic hands based on natural language instructions. Although the task is highly valuable, due to the…

Grasp Generation