InstructFlow: Adaptive Symbolic Constraint-Guided Code Generation for Long-Horizon Planning
No official code found. Best implementation: chiht21/InstructFlow (7 stars, Python, last commit 2025-12-23).
Abstract
Long-horizon planning in robotic manipulation tasks requires translating under-specified, symbolic goals into executable control programs satisfying spatial, temporal, and physical constraints. However, language model-based planners often struggle with long-horizon task decomposition, robust constraint satisfaction, and adaptive failure recovery.
Show full abstractHide
We introduce InstructFlow , a multi-agent framework that establishes a symbolic, feedback-driven flow of information for code generation in robotic manipulation tasks. In-structFlow employs a InstructFlow Planner to construct and traverse a hierarchical instruction graph that decomposes goals into semantically meaningful subtasks, while a Code Generator generates executable code snippets conditioned on this graph. Crucially, when execution failures occur, a Constraint Generator analyzes feed-back and induces symbolic constraints, which are propagated back into the instruction graph to guide targeted code refinement without regenerating from scratch. This dynamic, graph-guided flow enables structured, interpretable, and failure-resilient planning, significantly improving task success rates and robustness across diverse manipulation benchmarks, especially in constraint-sensitive and long-horizon scenarios.