Scaling LLM Planning: NL2FLOW for Parametric Problem Generation and Rigorous Evaluation
Jungkoo Kang
TL;DR
This work presents NL2Flow, a fully automated, parametric data-generation and evaluation pipeline for LLM-based workflow planning that translates natural-language problems into a structured JSON intermediate representation and formal PDDL for symbolic planning. On a dataset of $2,296$ low-difficulty problems, open-source instruct-tuned LLMs demonstrated nontrivial planning capabilities, with the best model achieving $86\%$ sound plans and $69\%$ optimal plans, and the NL-to-JSON translation providing clear performance gains. The study reveals that plan quality is highly sensitive to model and prompting strategy, while highlighting the benefits of neuro-symbolic integration and scalable, programmatic evaluation to diagnose bottlenecks and error sources as planning tasks grow in complexity. NL2Flow therefore offers a reproducible framework to evaluate and guide the development of robust, natural-language-grounded planning in agentic systems, with implications for scalable workflow automation and AI planning research.
Abstract
Robust workflow composition is critical for effective agent performance, yet progress in Large Language Model (LLM) planning and reasoning is hindered by a scarcity of scalable evaluation data. This work introduces NL2Flow, a fully automated pipeline for generating and evaluating workflow planning problems. NL2Flow generates problems parametrically in a structured intermediate representation, translating them into both natural language and formal PDDL. I evaluate several open-source, instruct-tuned LLMs on a dataset of 2296 low-difficulty problems generated by NL2Flow. Results demonstrate that the best-performing model achieved 86% success in generating valid plans and 69% in generating optimal plans (for solvable problems). Regression analysis shows that the influence of problem characteristics on plan generation is contingent on both model and prompt design. Importantly, translating natural language problems into a structured JSON representation prior to symbolic planning significantly improved success rates, suggesting a benefit from neuro-symbolic integration. These findings underscore the importance of understanding error sources within LLM reasoning as systems scale to more complex tasks. As LLM reasoning scales to increasingly complex problems, understanding the shifting bottlenecks and sources of error within these systems will be crucial.
