arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.08555cs.FL
收藏

RESTL:基于多方面奖励引导的强化学习用于信号时序逻辑转换

RESTL: Reinforcement Learning Guided by Multi-Aspect Rewards for Signal Temporal Logic Transformation

Peking University(北京大学);Key Laboratory of High Confidence Software Technologies (PKU), MOE, China(教育部高可信软件技术重点实验室(北大));National Key Laboratory of Space Integrated Information System(空间信息系统国家重点实验室);Institute of Software, Chinese Academy of Sciences, Beijing, China(中国科学院软件研究所);JD.com, Beijing, China(京东集团);East China Normal University, Shanghai, China(华东师范大学)

Yue Fang, Jin Zhi, Jie An, Hongshen Chen, Xiaohong Chen, Naijun Zhan

AI总结:

针对自然语言转STL公式的现有方法存在通用性差、语义对齐不足等问题,提出RESTL框架,通过多方面奖励模型(原子命题一致性等四维度)与PPO优化,显著提升转换效果。

摘要:

信号时序逻辑(STL)是一种强大的形式化语言,用于指定网络物理系统(CPS)的实时规范。将自然语言编写的规范自动转换为STL公式已引起越来越多的关注。现有基于规则的方法严重依赖刚性模式匹配和领域特定知识,限制了其通用性和可扩展性。最近,大型语言模型(LLMs)的监督微调(SFT)已成功应用于将自然语言转换为STL。然而,缺乏对原子命题正确性、语义保真度和公式可读性的细粒度监督,往往导致基于SFT的方法生成与预期含义不一致的公式。为解决这些问题,我们提出RESTL,一种基于强化学习(RL)的框架,用于自然语言到STL的转换。RESTL引入多个独立训练的奖励模型,从原子命题一致性、语义对齐、公式简洁性和符号匹配四个角度提供细粒度、多方面的反馈。这些奖励模型采用课程学习策略训练以提高反馈准确性,其输出被聚合为统一信号,通过近端策略优化(PPO)引导STL生成器的优化。实验结果表明,RESTL在自动指标和人类评估中均显著优于现有方法。

英文摘要:

Signal Temporal Logic (STL) is a powerful formal language for specifying real-time specifications of Cyber-Physical Systems (CPS). Transforming specifications written in natural language into STL formulas automatically has attracted increasing attention. Existing rule-based methods depend heavily on rigid pattern matching and domain-specific knowledge, limiting their generalizability and scalability. Recently, Supervised Fine-Tuning (SFT) of large language models (LLMs) has been successfully applied to transform natural language into STL. However, the lack of fine-grained supervision on atomic proposition correctness, semantic fidelity, and formula readability often leads SFT-based methods to produce formulas misaligned with the intended meaning. To address these issues, we propose RESTL, a reinforcement learning (RL)-based framework for the transformation from natural language to STL. RESTL introduces multiple independently trained reward models that provide fine-grained, multi-faceted feedback from four perspectives, i.e., atomic proposition consistency, semantic alignment, formula succinctness, and symbol matching. These reward models are trained with a curriculum learning strategy to improve their feedback accuracy, and their outputs are aggregated into a unified signal that guides the optimization of the STL generator via Proximal Policy Optimization (PPO). Experimental results demonstrate that RESTL significantly outperforms state-of-the-art methods in both automatic metrics and human evaluations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑