Abstract
We demonstrate how LLMs can be harnessed to synthesize runtime verification monitors from natural language specifications. We instruct the LLM through prompts to assemble the monitors through a sequence of stages. To start with, we employ the learned insights LLMs possess regarding linear temporal logic for translating natural language specifications into propositional past time LTL formulas. Next, we utilize a sequence of prompts to synthesize from the LTL specification a runtime verification monitor for the given formula. Part of these prompts enable the LLM to validate its own outputs, thereby significantly improving the probability of obtaining a correct monitor.
Original language | English |
---|---|
Title of host publication | Bridging the Gap Between AI and Reality - 1st International Conference, AISoLA 2023, Selected Papers |
Editors | Bernhard Steffen |
Publisher | Springer Science and Business Media Deutschland GmbH |
Pages | 362-384 |
Number of pages | 23 |
ISBN (Print) | 9783031737404 |
DOIs | |
State | Published - 2025 |
Event | 1st International Symposium on Leveraging Applications of Formal Methods, AISoLA 2023 - Crete, Greece Duration: 23 Oct 2023 → 28 Oct 2023 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 14129 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 1st International Symposium on Leveraging Applications of Formal Methods, AISoLA 2023 |
---|---|
Country/Territory | Greece |
City | Crete |
Period | 23/10/23 → 28/10/23 |
Bibliographical note
Publisher Copyright:© The Author(s) 2025.