Interactive and Expressive Code-Augmented Planning with Large Language Models
Anthony Zhe Liu, Xinhe Wang, Jacob Sansom, Yao Fu, Jongwook Choi, Sungryull Sohn, Jaekyeom Kim, Honglak Lee
摘要
Large Language Models (LLMs) demonstrate strong abilities in common-sense reasoning and interactive decision-making, but often struggle with complex, long-horizon planning tasks. Recent techniques have sought to structure LLM outputs using control flow and other code-adjacent techniques to improve planning performance. These techniques include using variables (to track important information) and functions (to divide complex tasks into smaller re-usable sub-tasks). However, purely code-based approaches can be error-prone and insufficient for handling ambiguous or unstructured data. To address these challenges, we propose REPL-Plan, an LLM planning approach that is fully code-expressive (it can utilize all the benefits of code) while also being dynamic (it can flexibly adapt from errors and use the LLM for fuzzy situations). In REPL-Plan, an LLM solves tasks by interacting with a Read-Eval-Print Loop (REPL), which iteratively executes and evaluates code, similar to language shells or interactive code notebooks, allowing the model to flexibly correct errors and handle tasks dynamically. We demonstrate that REPL-Plan achieves strong results across various planning domains compared to previous methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- WebArena: A Realistic Web Environment for Building Autonomous Agents 引用了 Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- WebArena: A Realistic Web Environment for Building Autonomous Agents 引用了 ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
- WebArena: A Realistic Web Environment for Building Autonomous Agents 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- ReCAP: Recursive Context-Aware Reasoning and Planning for Large Language Model Agents 引用了 Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- ReCAP: Recursive Context-Aware Reasoning and Planning for Large Language Model Agents 引用了 ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
- ReCAP: Recursive Context-Aware Reasoning and Planning for Large Language Model Agents 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models are Zero-Shot Reasoners 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Code Driven Planning with Domain-Adaptive Selector 引用了 ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
- Code Driven Planning with Domain-Adaptive Selector 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
引用它的顶会 Paper4
- ReCAP: Recursive Context-Aware Reasoning and Planning for Large Language Model AgentsZhenyu Zhang, Tianyi Chen, Weiran Xu, Alex Pentland 等NeurIPS 2025 · 12 次引用
- PEARL: Self-Evolving Assistant for Time Management with Reinforcement LearningBingxuan Li, Jeonghwan Kim, Cheng Qian, Xiusi Chen 等ACL 2026 · 2 次引用
- Hierarchical Procedural Meta-Reasoning for Generalizable Multimodal AgentsYao Fu, Shengyi Qian, Pierluca D'Oro, Fanyi Xiao 等ICML 2026
- Code Driven Planning with Domain-Adaptive SelectorZikang Tian, Shaohui Peng, Di Huang, Jiaming Guo 等ICLR 2026
它引用的 Paper8
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
- Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran 等NeurIPS 2023 · 5,068 次引用
- WebArena: A Realistic Web Environment for Building Autonomous AgentsShuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou 等ICLR 2024 · 1,197 次引用
- ALFWorld: Aligning Text and Embodied Environments for Interactive LearningMohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk 等ICLR 2021 · 819 次引用
相关 Paper
- AdaPlanner: Adaptive Planning from Feedback with Language ModelsHaotian Sun, Yuchen Zhuang, Lingkai Kong, Bo Dai 等NeurIPS 2023 · 257 次引用
- AutoPlan: Automatic Planning of Interactive Decision-Making Tasks With Large Language ModelsSiqi Ouyang, Lei LiEMNLP Findings 2023 · 9 次引用
- CodePlan: Unlocking Reasoning Potential in Large Language Models by Scaling Code-form PlanningJiaxin Wen, Jian Guan, Hongning Wang, Wei Wu 等ICLR 2025
- Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python CodeAugusto B. Corrêa, André Grahl Pereira, Jendrik SeippNeurIPS 2025 · 27 次引用
- Can LLMs Fix Issues with Reasoning Models? Towards More Likely Models for AI PlanningTurgay Caglar, Sirine Belhaj, Tathagata Chakraborti, Michael Katz 等AAAI 2024 · 11 次引用
