TLDR: NL2FLOW is an automated system that generates diverse planning problems and rigorously evaluates LLM planning capabilities. It found that LLMs can directly generate effective plans, and surprisingly, breaking down tasks into intermediate translation steps can hinder performance. The study emphasizes the importance of prompt design and problem characteristics for LLM planning success.
In the rapidly evolving field of Artificial Intelligence, particularly with Large Language Models (LLMs), a significant challenge has been the reliable creation and evaluation of planning and reasoning capabilities. A new research paper introduces NL2FLOW, an innovative automated system designed to tackle this very issue. This system offers a fresh approach to generating planning problems and rigorously assessing how well LLMs can solve them.
Traditionally, improving LLM planning has been bottlenecked by the difficulty in generating diverse and verifiable data, as well as evaluating the quality of the plans produced. NL2FLOW addresses this by automating the creation of planning problems. These problems are generated parametrically, meaning their complexity and characteristics can be controlled, making the datasets highly scalable and adaptable. The system generates problems in multiple formats: natural language (what we humans understand), a structured intermediate representation, and a formal language called PDDL (Planning Domain Definition Language), which is used by classical AI planners.
How NL2FLOW Works
The core of NL2FLOW lies in its ability to generate a wide array of planning scenarios, particularly focusing on workflow automation. Imagine a system that needs to figure out a sequence of actions to achieve a goal, like submitting an expense report. NL2FLOW creates these scenarios by defining actions, their inputs and outputs, and dependencies between them. A crucial aspect is its “slot-filling” mechanism, where the system can identify missing information and simulate asking for it, much like a conversational AI would.
What makes NL2FLOW powerful is its multi-format data generation and symbolic evaluation. By providing problems in PDDL, the system can use classical planners to find optimal solutions. This allows for a mathematically guaranteed way to evaluate LLM-generated plans for their soundness (executability), validity (achieving the goal), and optimality (efficiency). This automated and verifiable evaluation process is a major leap forward, as it doesn’t require human intervention for data creation or inspection.
Key Findings and Implications
The research used NL2FLOW to generate a dataset of 2,296 problems and evaluated several open-source, instruct-tuned LLMs. The results were quite insightful. The best-performing models achieved an impressive 86% success rate in generating valid plans and 69% in generating optimal plans for problems with feasible solutions. This demonstrates a surprising inherent capacity for direct plan generation in current LLMs.
Interestingly, the study found that attempting to break down the reasoning task into intermediate translation steps (like translating natural language into a JSON representation before planning) actually led to lower success rates compared to models that reasoned directly from natural language to action. This suggests that for complex reasoning, a more direct approach by LLMs might be more effective, avoiding unnecessary intermediate steps that could introduce errors.
Another significant finding was the impact of prompt design and problem characteristics. The study revealed that the effectiveness of an LLM’s planning ability is highly dependent on how it’s prompted (e.g., verbose vs. concise prompts) and the specific features of the problem itself. This highlights the need for tailored prompting strategies for different LLMs and problem types.
Also Read:
- Bridging the Understanding Gap: How Structured Context Boosts AI Reasoning in Theorem Proving
- Unlocking Expert AI: Introducing Knowledge Protocol Engineering (KPE)
Looking Ahead
NL2FLOW provides a robust, automated pipeline for generating and evaluating reasoning data, which is crucial for advancing LLMs with sophisticated planning capabilities. As LLMs are pushed to solve increasingly complex problems, understanding their dynamic limitations and having tools like NL2FLOW to systematically uncover them will be vital. This research paves the way for developing more capable and reliable AI systems that can reason and plan effectively in real-world scenarios. You can read the full research paper here.


