Model Checking Using Large Language Models—Evaluation and Future Directions
Open Access
- 20 January 2025
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 14 (2) , 401
Abstract
Large language models (LLMs) such as ChatGPT have risen in prominence recently, leading to the need to analyze their strengths and limitations for various tasks. The objective of this work was to evaluate the performance of large language models for model checking, which is used extensively in various critical tasks such as software and hardware verification. A set of problems were proposed as a benchmark in this work and three LLMs (GPT-4, Claude, and Gemini) were evaluated with respect to their ability to solve these problems. The evaluation was conducted by comparing the responses of the three LLMs with the gold standard provided by model checking tools. The results illustrate the limitations of LLMs in these tasks, identifying directions for future research. Specifically, the best overall performance (ratio of problems solved correctly) was 60%, indicating a high probability of reasoning errors by the LLMs, especially when dealing with more complex scenarios requiring many reasoning steps, and the LLMs typically performed better when generating scripts for solving the problems rather than solving them directly.Keywords
This publication has 21 references indexed in Scilit:
- Knowledge Graph Reasoning via Dynamic Subgraph Attention with Low Resource ComputationNeurocomputing, 2024
- Hierarchical Knowledge-Enhancement Framework for multi-hop knowledge graph reasoningNeurocomputing, 2024
- On the Dangers of Stochastic Parrots2021
- The nuXmv Symbolic Model Checker2014
- Linear Temporal Logic Symbolic Model CheckingComputer Science Review, 2011
- ProB: A Model Checker for B2003
- NuSMV 2: An OpenSource Tool for Symbolic Model Checking2002
- Measuring with jugsTheoretical Computer Science, 2002
- On the complexity of blocks-world planningArtificial Intelligence, 1992
- Seventy-five problems for testing automatic theorem proversJournal of Automated Reasoning, 1986