ITG: Trace Generation via Iterative Interaction between LLM Query and Trace Checking

1Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Due to the complexity of linear temporal logic (LTL) trace generation (PSPACE-Complete), existing neural network-based approaches will fail as the formula sizes increase. Recently, large language models (LLMs) have demonstrated remarkable reasoning capabilities, benefiting from efficient training on hyper-scale data. Inspired by this, we propose an iterative interaction framework for applying LLMs, exemplified by ChatGPT, to generate a trace satisfying a given LTL formula. The key insight behind it is to transfer the powerful reasoning capabilities of LLM to LTL trace generation via iterative interaction between LLM reasoning and logical reasoning. Preliminary results show that compared with the state-of-the-art approach, the accuracy is relatively improved by 9.7%-23.4%. Besides, we show that our framework is able to produce heuristics for new tasks, which provides a reference for other reasoning-heavy tasks requiring heuristics.

Cite

CITATION STYLE

APA

Luo, W., Fang, W., Qiu, J., Wan, H., Liu, Y., & Ye, R. (2024). ITG: Trace Generation via Iterative Interaction between LLM Query and Trace Checking. In Proceedings - International Conference on Software Engineering (pp. 11–15). IEEE Computer Society. https://doi.org/10.1145/3639476.3639779

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free