ClarifySTL: An Interactive LLM Agent Framework for STL Transformation through Requirements Clarification
Yue Fang, Zhi Jin, Jie An, Hongshen Chen, Xiaohong Chen, Naijun Zhan

TL;DR
ClarifySTL is an interactive framework that improves the transformation of natural language requirements into STL specifications by actively clarifying vagueness and ambiguity with user feedback.
Contribution
It introduces an interactive LLM-agent system that detects and resolves vagueness and ambiguity in requirements before STL transformation, enhancing accuracy and user collaboration.
Findings
ClarifySTL outperforms baseline methods on benchmarks DeepSTL and STL-DivEn.
The framework effectively detects vagueness and ambiguity in requirements.
Experimental results demonstrate improved accuracy in STL transformation.
Abstract
Signal Temporal Logic (STL) is a formal language for specifying real-time behaviors of cyber-physical systems (CPS). Automatically transforming natural language requirements into STL specifications has received growing attention. Recent efforts leveraging large language models (LLMs) have demonstrated impressive performance, but some natural language requirements in practice contain vague or ambiguous information, which remains challenging for LLMs to handle. To address these challenges, we propose ClarifySTL, an interactive LLM-agent framework that enhances STL transformation through requirements clarification. ClarifySTL first detects vague expressions that indicate underspecified information in a requirement. If any vagueness is detected, it generates targeted clarification queries to guide users in supplementing the requirement until all necessary details are provided. Subsequently,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
