End-to-End AI Generated Runtime Verification from Natural Language Specification

Itay Cohen, Doron Peled

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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 languageEnglish
Title of host publicationBridging the Gap Between AI and Reality - 1st International Conference, AISoLA 2023, Selected Papers
EditorsBernhard Steffen
PublisherSpringer Science and Business Media Deutschland GmbH
Pages362-384
Number of pages23
ISBN (Print)9783031737404
DOIs
StatePublished - 2025
Event1st International Symposium on Leveraging Applications of Formal Methods, AISoLA 2023 - Crete, Greece
Duration: 23 Oct 202328 Oct 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14129 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference1st International Symposium on Leveraging Applications of Formal Methods, AISoLA 2023
Country/TerritoryGreece
CityCrete
Period23/10/2328/10/23

Bibliographical note

Publisher Copyright:
© The Author(s) 2025.

Fingerprint

Dive into the research topics of 'End-to-End AI Generated Runtime Verification from Natural Language Specification'. Together they form a unique fingerprint.

Cite this