Skip to content

Large Language Models as Falsifiers for Cyber-Physical Systems

Sep 2026 · 0 citations
Engineering Computer Science

TL;DR

LLM-Falsifier is shown to outperform existing falsification tools based on a range of optimization paradigms, from surrogate-based and Bayesian optimization to search-based testing, on 14 of 21 specifications when measured by the average number of simulations required to find a counterexample.

Abstract

Falsification searches for counterexamples to formal specifications in cyber-physical systems (CPS). With specifications written in Signal Temporal Logic (STL), falsification can be formulated as a robustness optimization problem, traditionally tackled with black-box search algorithms. In parallel, large language models (LLMs) have recently emerged as surprisingly effective optimizers when coupled with iterative prompting. In this work, we connect these ideas and introduce LLM-Falsifier, an LLM-based approach that falsifies specifications by minimizing the STL robustness degree. Beyond generic prompt-based optimization, our key idea is to expose the LLM to semantic information that is natural for language models but absent from standard numerical optimizers, including natural-language input and output names, output trajectories, and critical-time witnesses for the minimum robustness value. These additions enable smarter and more sample-efficient robustness search. On the ARCH-COMP falsification benchmarks, LLM-Falsifier is shown to outperform existing falsification tools based on a range of optimization paradigms, from surrogate-based and Bayesian optimization to search-based testing, on 14 of 21 specifications when measured by the average number of simulations required to find a counterexample.

View source

Similar papers

Open access Oct 2026

On the Role of Large Language Models in Robustness-Guided Requirement Falsification

Robustness-guided falsification supports the validation of cyber-physical systems by searching for system traces that violate formal temporal requirements. Existing falsification methods typically treat candidate generation as a numerical search over the input space, guided by quantitative robustness feedback. This pap...

Ali Kaya, Ivan Porres · 0 citations
Conference Aug 2026

MCP-DT: LLM-Driven Algorithm Synthesis for Cyber-Physical Systems Through Digital Twin Safety Enforcement

Designing control algorithms for cyber-physical systems (CPS) requires balancing performance objectives against hard safety constraints. This design process currently relies on expert manual tuning or evolutionary optimization methods that treat the problem as a black-box search, requiring a very high number of evaluat...

Francesco Caracciolo, J. Vyskočil · 0 citations
#explainable ai Book Open access Oct 2026

Automated Modelica Model Repair Using Generative AI

This PhD contributes an agentic LLM-based framework for diagnosing and repairing Modelica models, together with the empirical foundations that make it feasible and reproducible.

Masoud Sadrnezhaad · 0 citations
#artificial intelligence Preprint Sep 2026

SOVER: Formal Certification of Optimization Reformulations via LLM-Assisted SMT Verification

SOVER, an LLM-assisted SMT framework that separates semantic mapping from formal certification, is introduced, and Z3 checks domain cross-feasibility and global objective-order preservation for mixed-integer linear formulations, while dReal provides tolerance-aware feasibility/range and $\epsilon$-argmin checks for con...

Swapnil Bhattacharyya, Mayank Baranwal · 0 citations
Preprint Aug 2026

Hype Meets Reality: Large Language Models as Mutators in Search-based Automated Program Repair of Simulink-Stateflow Models

This paper extends the state-of-the-art FlowRepair approach by replacing a subset of its mutation operators with LLM-generated mutations, enabling more flexible and expressive patch generation and highlighting fundamental limitations of naively integrating LLMs into search-based APR.

Ayesha Irshad, Pablo Valle, J. Ayerdi et al. · 0 citations
2026

Automated Discovery of Finite State Automata for the Control of Discrete Event Systems

In many industrial systems, control-related information is often opaque, undermining the ability to formally ensure safety, correctness, and performance. Representing such systems as Discrete Event Systems (DES) models enables rigorous analysis, synthesis, and correct-by-construction control, but modeling is typically...

Jhonnatan R. Semler, Rosaine F. Semler, M. Wehrmeister et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.