arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02872cs.AI
收藏

将解释整合到从演示中学习 LTL 规约中

Integrating Explanations in Learning LTL Specifications from Demonstrations

Indian Institute of Technology Bombay(印度理工学院孟买分校);University of Colorado Boulder(科罗拉多大学博尔德分校)

Ashutosh Gupta, John Komp, Abhay Singh Rajput, Krishna Shankaranarayanan, Ashutosh Trivedi, Namrita Varshney

AI总结:

本文提出结合 LLM 与基于优化方法的 Janaka 工具,将人类自然语言解释和演示共同转换为具有形式化保证的 LTL 规约。

摘要:

本文研究大语言模型(LLM)的最新进展是否能够帮助将人类解释转换成一种可稳健支持从演示中学习线性时序逻辑(LTL)的格式。LLM 和基于优化的方法都能够从演示中提取 LTL 规约,但二者具有明显不同的局限。LLM 可以快速生成解决方案并纳入人类解释,但其缺乏一致性和可靠性,妨碍了其在安全关键领域中的适用性。另一方面,基于优化的方法确实能够提供形式化保证,却无法处理自然语言解释,并且面临可扩展性挑战。我们提出一种有原则的方法,将 LLM 与基于优化的方法相结合,以忠实地把人类解释和演示转换为 LTL 规约。我们已基于该方法实现了名为 Janaka 的工具。我们的实验通过若干案例研究证明了在学习 LTL 规约时将解释与演示相结合的有效性。

英文摘要:

This paper investigates whether recent advances in Large Language Models (LLMs) can assist in translating human explanations into a format that can robustly support learning Linear Temporal Logic (LTL) from demonstrations. Both LLMs and optimization-based methods can extract LTL specifications from demonstrations; however, they have distinct limitations. LLMs can quickly generate solutions and incorporate human explanations, but their lack of consistency and reliability hampers their applicability in safety-critical domains. On the other hand, optimization-based methods do provide formal guarantees but cannot process natural language explanations and face scalability challenges. We present a principled approach to combining LLMs and optimization-based methods to faithfully translate human explanations and demonstrations into LTL specifications. We have implemented a tool called Janaka based on our approach. Our experiments demonstrate the effectiveness of combining explanations with demonstrations in learning LTL specifications through several case studies.

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

↑