English

Bridging LLM Planning Agents and Formal Methods: A Case Study in Plan Verification

Artificial Intelligence 2025-11-25 v2 Logic in Computer Science

Abstract

We introduce a novel framework for evaluating the alignment between natural language plans and their expected behavior by converting them into Kripke structures and Linear Temporal Logic (LTL) using Large Language Models (LLMs) and performing model checking. We systematically evaluate this framework on a simplified version of the PlanBench plan verification dataset and report on metrics like Accuracy, Precision, Recall and F1 scores. Our experiments demonstrate that GPT-5 achieves excellent classification performance (F1 score of 96.3%) while almost always producing syntactically perfect formal representations that can act as guarantees. However, the synthesis of semantically perfect formal models remains an area for future exploration.

Keywords

Cite

@article{arxiv.2510.03469,
  title  = {Bridging LLM Planning Agents and Formal Methods: A Case Study in Plan Verification},
  author = {Keshav Ramani and Vali Tawosi and Salwa Alamir and Daniel Borrajo},
  journal= {arXiv preprint arXiv:2510.03469},
  year   = {2025}
}

Comments

Accepted to AgenticSE Workshop at ASE 2025

R2 v1 2026-07-01T06:16:15.466Z