Bounded PCTL Model Checking of Large Language Model Outputs
Not on the map. Why?
Abstract (arXiv)
In this paper, we introduce LLMCHECKER, a model-checking-based verification method to verify the probabilistic computation tree logic (PCTL) properties of an LLM text generation process. We empirically show that only a limited number of tokens are typically chosen during text generation, which are not always the same. This insight drives the creation of α-k-bounded text generation, narrowing the focus to the α maximal cumulative probability on the top-k tokens at every step of the text generation process. Our verification method considers an initial string and the subsequent top-k tokens while accommodating diverse text quantification methods, such as evaluating text quality and biases. The threshold α further reduces the selected tokens, only choosing those that exceed or meet it in cumulative probability. LLMCHECKER then allows us to formally verify the PCTL properties of α-k-bounded LLMs. We demonstrate the applicability of our method in several LLMs, including Llama, Gemma, Mistral, Genstruct, and BERT. To our knowledge, this is the first time PCTL-based model checking has been used to check the consistency of the LLM text generation process.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 30 of its 53 references that are in the map. First posted on arXiv 23 Sep 2025.
Builds on
30 of 53 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Mistral 7Bcited by 3,164
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2024Sora: A Review on Background, Technology, Limitations, and Opportunities of Large Vision Modelscited by 477
- 2017Formal Verification of Piece-Wise Linear Feed-Forward Neural Networkscited by 242
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2023Copyright Violations and Large Language Modelscited by 108
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 93
18 more
- 2023Exploring the Use of Large Language Models for Reference-Free Text Quality Evaluation: An Empirical Studycited by 85
- 2020Robustness Verification for Transformerscited by 76
- 2020The Probabilistic Model Checker Stormcited by 66
- 2023nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Modelscited by 60
- 2023Large Language Models to Identify Social Determinants of Health in Electronic Health Recordscited by 55
- 2024Hallucination Detection: Robustly Discerning Reliable Answers in Large Language Modelscited by 44
- 2019Natural Language Adversarial Defense through Synonym Encodingcited by 40
- 2023Provably safe systems: the only path to controllable AGIcited by 29
- 2025Exploring the Roles of Large Language Models in Reshaping Transportation Systems: A Survey, Framework, and Roadmapcited by 26
- 2021The King is Naked: on the Notion of Robustness for Natural Language Processingcited by 16
- 2020Statistically Model Checking PCTL Specifications on Markov Decision Processes via Reinforcement Learningcited by 12
- 2023Generating Valid and Natural Adversarial Examples with Large Language Modelscited by 12
- 2023LEAP: Efficient and Automated Test Method for NLP Softwarecited by 6
- 2022Are Transformers More Robust? Towards Exact Robustness Verification for Transformerscited by 5
- 2024MeTMaP: Metamorphic Testing for Detecting False Vector Matching Problems in LLM Augmented Generationcited by 4
- 2024RITFIS: Robust input testing framework for LLMs-based intelligent softwarecited by 3
- 2024The Role of Language Models in Modern Healthcare: A Comprehensive Reviewcited by 1
- 2025Prompting for Performance: Exploring LLMs for Configuring Softwarecited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.