arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.07605cs.SEcs.AIcs.PL
收藏

大型语言模型的概念模型解释器

Conceptual Model Interpreter for Large Language Models

University of Fribourg(弗里堡大学)

Felix Härer

AI总结:

本文提出概念模型解释器,利用LLMs生成PlantUML和Graphviz文本语法并自动渲染,支持对话式迭代建模,实验验证了可行性。

摘要:

大型语言模型(LLMs)近期展示了生成常见编程语言源代码的能力。此外,诸如ChatGPT 4等商业产品开始提供代码解释器,允许自动执行生成的代码片段、即时反馈,并支持以对话方式开发和优化。本文采用探索性研究方法,将代码生成与解释应用于概念模型。我们探索了概念模型解释器的概念和原型,该解释器能够渲染由最先进的LLMs(如Llama 2和ChatGPT 4)以文本语法生成的视觉模型。具体而言,这些LLMs可以生成PlantUML和Graphviz建模软件的文本语法,并在对话式用户界面中自动渲染。第一个结果是描述通过API或本地与解释器和LLMs交互所需组件的架构,为众多商业和开源LLMs及解释器提供支持。其次,我们讨论了在两种情况下使用ChatGPT 4和Llama 2生成的模型的实验结果,涵盖UML以及基于自定义数据创建的实例级图。结果表明,以对话方式进行迭代建模是可行的。

英文摘要:

Large Language Models (LLMs) recently demonstrated capabilities for generating source code in common programming languages. Additionally, commercial products such as ChatGPT 4 started to provide code interpreters, allowing for the automatic execution of generated code fragments, instant feedback, and the possibility to develop and refine in a conversational fashion. With an exploratory research approach, this paper applies code generation and interpretation to conceptual models. The concept and prototype of a conceptual model interpreter is explored, capable of rendering visual models generated in textual syntax by state-of-the-art LLMs such as Llama~2 and ChatGPT 4. In particular, these LLMs can generate textual syntax for the PlantUML and Graphviz modeling software that is automatically rendered within a conversational user interface. The first result is an architecture describing the components necessary to interact with interpreters and LLMs through APIs or locally, providing support for many commercial and open source LLMs and interpreters. Secondly, experimental results for models generated with ChatGPT 4 and Llama 2 are discussed in two cases covering UML and, on an instance level, graphs created from custom data. The results indicate the possibility of modeling iteratively in a conversational fashion.

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

↑