KIT | KIT-Bibliothek | Impressum | Datenschutz

Can Large Language Models Autoformalize Kinematics?

Kabra, Aditi; Laurent, Jonathan 1; Bharadwaj, Sagar; Martins, Ruben; Mitsch, Stefan; Platzer, André ORCID iD icon 1; TU Wien; TU Wien; Irfan, Ahmed [Hrsg.]; Kaufmann, Daniela [Hrsg.]
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract:

Autonomous cyber-physical systems like robots and
self-driving cars could greatly benefit from using formal methods
to reason reliably about their control decisions. However, before a
problem can be solved it needs to be stated. This requires writing
a formal physics model of the cyber-physical system, which is a
complex task that traditionally requires human expertise and
becomes a bottleneck.
This paper experimentally studies whether Large Language
Models (LLMs) can automate the formalization process. A 20
problem benchmark suite is designed drawing from undergrad-
uate level physics kinematics problems. In each problem, the
LLM is provided with a natural language description of the
objects’ motion and must produce a model in differential game
logic (dGL). The model is (1) syntax checked and iteratively
refined based on parser feedback, and (2) semantically evaluated
by checking whether symbolically executing the dGL formula
recovers the solution to the original physics problem. A success
rate of 70% (best over 5 samples) is achieved. We analyze
failing cases, identifying directions for future improvement. This
provides a first quantitative baseline for LLM-based autofor-
... mehr


Verlagsausgabe §
DOI: 10.5445/IR/1000188274
Veröffentlicht am 10.12.2025
Originalveröffentlichung
DOI: 10.34727/2025/isbn.978-3-85448-084-6_13
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Proceedingsbeitrag
Publikationsjahr 2025
Sprache Englisch
Identifikator ISBN: 978-3-85448-084-6
KITopen-ID: 1000188274
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Erschienen in Proceedings of the 25th Conference on Formal Methods in Computer-Aided Design – FMCAD 2025, Menlo Park, 6th-10th October 2025
Veranstaltung Conference on Formal Methods in Computer-Aided Design (FMCAD 2025), Menlo Park, CA, USA, 06.10.2025 – 10.10.2025
Verlag TU Wien
Serie Conference Series: Formal Methods in Computer-Aided Design
Schlagwörter formal methods, computer-aided system design, hardware and system verification
Nachgewiesen in OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page