arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.02253cs.AI
收藏

扩展LLM规划:NL2FLOW用于参数化问题生成与严格评估

Scaling LLM Planning: NL2FLOW for Parametric Problem Generation and Rigorous Evaluation

IBM Research(IBM研究院);MIT-IBM Watson AI Lab(麻省理工-IBM沃森人工智能实验室)

Jungkoo Kang

AI总结:

本文提出NL2Flow,一种自动生成和评估工作流规划问题的流水线,通过参数化生成并转换为自然语言和PDDL,实验表明结构化表示可提升LLM规划成功率。

摘要:

稳健的工作流组合对于有效的智能体性能至关重要,然而大型语言模型(LLM)在规划与推理方面的进展受到可扩展评估数据稀缺的阻碍。本文介绍了NL2Flow,一个用于生成和评估工作流规划问题的全自动流水线。NL2Flow以结构化中间表示参数化地生成问题,并将其转换为自然语言和形式化PDDL。我在NL2Flow生成的2296个低难度问题数据集上评估了多个开源、指令微调的LLM。结果表明,表现最佳的模型在生成有效计划方面达到了86%的成功率,在生成最优计划(针对可解问题)方面达到了69%的成功率。回归分析显示,问题特征对计划生成的影响取决于模型和提示设计。重要的是,在符号规划之前将自然语言问题转换为结构化JSON表示显著提高了成功率,这表明神经符号集成具有益处。这些发现强调了随着系统扩展到更复杂的任务,理解LLM推理中错误来源的重要性。随着LLM推理扩展到日益复杂的问题,理解这些系统中不断变化的瓶颈和错误来源将至关重要。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑