Feedback Makes Perfect: A Closed-Loop Framework for NL-to-STL Translation

反馈使完美:NL 到 STL 翻译的闭环框架

Bowen Ye、Xiang Yin · arXiv:2609.33287 · 2026-09-27 · cs.AI

论文自动收录 · 未精读PDF ↗arXiv 原文 ↗
壹摘要

信号时态逻辑 (STL) 可以对网络物理系统进行严格的验证和控制,但编写正确的规范需要大多数需求负责人所缺乏的专业知识。大型语言模型可以将自然语言 (NL) 要求翻译成 STL,但仅靠更强大的翻译器就可以达到准确性上限。我们认为,这个上限源于任务的提出方式:一次性、开环翻译有点不明确。自然语言是模棱两可的,更根本的是,一个人所写的内容可能并不总是他们想要的,因此目标规范并不完全包含在输入文本中。因此我们改革

中文为机器翻译节选,以英文原文为准。

English abstract

Signal Temporal Logic (STL) enables rigorous verification and control of cyber-physical systems, but writing correct specifications requires expertise that most requirement holders lack. Large language models can translate natural-language (NL) requirements into STL, yet stronger translators alone approach an accuracy ceiling. We argue that this ceiling stems from how the task is posed: one-shot, open-loop translation is somewhat ill-defined. Natural language is ambiguous, and, more fundamentally, what a person writes may not always be what they intend, so the target specification is not fully contained in the input text. We therefore reformulate NL-to-STL translation as a closed-loop feedback process. Each generated formula is translated back into natural language for the user to check, and natural-language corrections drive revision until the user accepts the specification. Users…

贰引用
Bowen Ye、Xiang Yin. Feedback Makes Perfect: A Closed-Loop Framework for NL-to-STL Translation. arXiv:2609.33287 (2026-09-27). https://arxiv.org/abs/2609.33287v1
叁同分类新篇