mlsanityData to 7 Oct 2026

ClarifySTL: An Interactive LLM Agent Framework for STL Transformation through Requirements Clarification

arXiv 2605.01209 ↗First posted 2 May 2026cs.SE cs.FLcited by 2

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

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, if ClarifySTL detects ambiguities, it formulates focused ambiguity clarification queries and updates the requirements based on user feedback until all ambiguities are resolved. Finally, the requirements with vagueness and ambiguity clarified are transformed into STL specifications using LLMs. This interactive framework ensures that the resulting STL formulas faithfully capture user intent while reducing the burden on the user. We evaluate ClarifySTL on the representative benchmarks DeepSTL and STL-DivEn, as well as our newly introduced AmbiEval benchmark, which is specifically designed to assess the performance of the agents in handling vagueness and ambiguity, including both detection and query generation. The experimental results show that ClarifySTL is effective.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 20 of its 59 references that are in the map. First posted on arXiv 2 May 2026.

Builds on

20 of 59 references.

References · 20

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2025Qwen3 Technical Reportcited by 8,195
  5. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  6. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
  7. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  8. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  9. 2014Deep metric learning using Triplet networkcited by 421
  10. 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 46
  11. 2021DeepSTL -- From English Requirements to Signal Temporal Logiccited by 22
  12. 2020A Smooth Robustness Measure of Signal Temporal Logic for Symbolic Controlcited by 21
8 more
  1. 2024Distinguishing LLM-generated from Human-written Code by Contrastive Learningcited by 16
  2. 2025CodeSteer: Symbolic-Augmented Language Models via Code/Text Guidancecited by 11
  3. 2022Learning Signal Temporal Logic through Neural Network for Interpretable Classificationcited by 10
  4. 2023Improving Requirements Completeness: Automated Assistance through Large Language Modelscited by 10
  5. 2018Metrics for Signal Temporal Logic Formulaecited by 9
  6. 2025Enhancing Transformation from Natural Language to Signal Temporal Logic Using LLMs with Diverse External Knowledgecited by 9
  7. 2025Grammar-Forced Translation of Natural Language to Temporal Logic using LLMscited by 6
  8. 2022An STL-based Approach to Resilient Control for Cyber-Physical Systemscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ReasonSTL: Bridging Natural Language and Signal Temporal Logic via Tool-Augmented Process-Rewarded Learning
  2. 2026Automatic Translation of Unstructured Requirements into Linear Temporal Logic through Large Language Models ↗
  3. 2026Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specifications
  4. 2024Retrieval-Augmented Mining of Temporal Logic Specifications from Data
  5. 2025Inference-Time Intervention in Large Language Models for Reliable Requirement Verification
  6. 2025Enforcing Temporal Constraints for LLM Agents
  7. 2026Symbolic Temporal Supervision of LLM Agents Using Contracts
  8. 2026From Natural Language Policies to Executable Obligations: A Verification Harness for Dependable In-Car LLM Agents