On the Use of LLMs to Explain Model Checking Counterexamples
摘要
Formal verification has the potential to play a central role in the development of interactive safety-critical systems by providing rigorous guarantees about system behavior. However, the effective use of verification results remains a challenge in practice, particularly when these results must be interpreted by designers and domain experts who will not be formal methods specialists. This paper explores the use of Large Language Models (LLMs) to generate natural language explanations of counterexamples produced by model checking. More specifically, we present a study evaluating how different LLMs handle counterexamples produced from a range of formal models. Our focus is on the potential of LLMs to serve as mediators between formal verification tools and the multidisciplinary teams that design, develop, and validate interactive systems. The goal is to bridge the gap between formal outputs and human understanding. By examining the limitations and opportunities of the use of LLMs, we contribute to a broader discussion on integrating AI technologies into the engineering of trustworthy interactive systems.